1 2014-06-20 Roland McGrath <roland@hack.frob.com>
3 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4 * nptl/smp.h: ... here.
6 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13 * nptl/allocatestack.c: Include <stack-aliasing.h>.
14 * nptl/stack-aliasing.h: New file.
15 * sysdeps/i386/i686/stack-aliasing.h: New file.
16 * sysdeps/i386/i686/nptl/Makefile: File removed.
17 * sysdeps/x86_64/stack-aliasing.h: New file.
18 * sysdeps/x86_64/nptl/Makefile
19 (CFLAGS-pthread_create.c): Variable removed.
21 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28 2014-06-21 Joseph Myers <joseph@codesourcery.com>
30 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31 (__ASSUME_SIGFRAME_V2): Remove macro.
32 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
37 Declare as function. Remove conditional macro definitions.
38 (__default_rt_sa_restorer): Likewise.
39 (__default_sa_restorer_v1): Remove declaration.
40 (__default_sa_restorer_v2): Likewise.
41 (__default_rt_sa_restorer_v1): Likewise.
42 (__default_rt_sa_restorer_v2): Likewise.
43 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
45 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
47 2014-06-20 Roland McGrath <roland@hack.frob.com>
49 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
50 (libpthread-routines): Add sysdep.
51 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
52 * sysdeps/unix/sysv/linux/sparc/Versions
53 (libpthread: GLIBC_2.3.3): New version set.
54 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
55 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
56 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
57 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
58 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
59 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
61 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
62 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
63 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
64 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
65 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
66 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
67 * sysdeps/sparc/nptl/sem_init.c: ... here.
68 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
69 * sysdeps/sparc/nptl/sem_post.c: ... here.
70 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
71 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
72 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
73 * sysdeps/sparc/nptl/sem_wait.c: ... here.
74 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
75 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
76 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
77 (libpthread-routines): Add cpu_relax.
78 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
80 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
81 (librt: GLIBC_2.3.3): New version set.
82 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
83 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
84 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
85 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
86 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
87 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
88 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
89 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
91 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
92 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
93 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
94 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
95 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
96 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
97 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
98 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
99 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
102 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
110 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
114 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
118 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
122 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
125 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
131 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
133 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
136 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
138 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
140 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
142 2014-06-20 Joseph Myers <joseph@codesourcery.com>
144 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
145 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
146 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
147 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
148 * nscd/nscd.c: Likewise.
149 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
150 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
151 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
152 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
154 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
156 (init_mq_netlink): Remove conditional have_sock_cloexec
157 definitions. Remove code conditional on have_sock_cloexec < 0.
158 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
159 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
160 * sysdeps/unix/sysv/linux/opensock.c: Do not include
162 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
163 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
165 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
168 Add tests for memset_chk and memset.
170 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
173 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
176 * elf/tst-dl-iter-static.c: New file.
177 * elf/Makefile (tests-static): Add tst-dl-iter-static.
179 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
182 2014-06-20 Joseph Myers <joseph@codesourcery.com>
184 * sysdeps/unix/sysv/linux/kernel-features.h
185 (__ASSUME_F_GETOWN_EX): Remove macro.
186 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
188 (miss_F_GETOWN_EX): Remove variable or macro.
189 (do_fcntl): Do not check miss_F_GETOWN_EX.
190 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
195 [!__ASSUME_AT_RANDOM]: Remove conditional code.
196 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
198 * sysdeps/unix/sysv/linux/kernel-features.h
199 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
200 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
201 [ADJ_OFFSET_SS_READ]: Make code unconditional.
202 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
204 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
207 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
208 Fix calculation of the symbol's value.
209 * sysdeps/arm/tst-armtlsdescloc.c: New file.
210 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
211 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
212 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
213 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
214 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
215 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
216 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
217 (modules-names): Add `tst-armtlsdescmod',
218 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
219 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
220 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
221 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
222 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
223 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
224 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
225 ($(objpfx)tst-armtlsdescloc): New dependency.
226 ($(objpfx)tst-armtlsdescextnow): Likewise.
227 ($(objpfx)tst-armtlsdescextlazy): Likewise.
228 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
230 * sysdeps/arm/configure: Regenerate.
232 2014-06-20 Joseph Myers <joseph@codesourcery.com>
234 * include/fcntl.h (__atfct_seterrno): Remove prototype.
235 (__atfct_seterrno_2): Likewise.
236 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
238 (__ASSUME_ATFCTS): Do not undefine and redefine.
239 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
240 (__have_atfcts): Remove conditional definition.
241 (__fxstatat([__NR_fstatat64]: Make code unconditional.
242 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
243 unreachable if [__ASSUME_ATFCTS].
244 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
245 not undefine and redefine.
246 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
248 (faccessat) [__NR_faccessat]: Make code unconditional.
249 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
250 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
252 (fchmodat) [__NR_fchmodat]: Make code unconditional.
253 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
254 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
256 (fchownat) [__NR_fchownat]: Make code unconditional.
257 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
258 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
260 (futimesat) [__NR_futimesat]: Make code unconditional.
261 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
262 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
264 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
265 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
266 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
268 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
269 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
270 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
271 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
273 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
274 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
275 * sysdeps/unix/sysv/linux/linkat.c: Do not include
277 (linkat) [__NR_linkat]: Make code unconditional.
278 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
279 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
280 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
282 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
283 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
284 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
286 (mkdirat) [__NR_mkdirat]: Make code unconditional.
287 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
288 * sysdeps/unix/sysv/linux/openat.c: Do not include
290 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
291 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
292 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
293 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
294 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
295 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
297 (readlinkat) [__NR_readlinkat]: Make code unconditional.
298 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
299 result of INLINE_SYSCALL directly, not via int variable.
300 * sysdeps/unix/sysv/linux/renameat.c: Do not include
302 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
303 (renameat) [__NR_renameat]: Make code unconditional.
304 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
305 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
306 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
307 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
308 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
309 (__ASSUME_ATFCTS): Do not undefine and redefine.
310 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
312 (symlinkat) [__NR_symlinkat]: Make code unconditional.
313 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
314 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
316 (unlinkat) [__NR_unlinkat]: Make code unconditional.
317 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
318 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
319 (__ASSUME_ATFCTS): Do not undefine and redefine.
320 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
322 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
323 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
326 (__xmknodat) [__NR_mknodat]: Make code unconditional.
327 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
329 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
331 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
333 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
336 * posix/regcomp.c (parse_reg_exp): Deallocate partially
337 constructed tree before returning error.
338 * posix/bug-regexp36.c: Expand test case.
340 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
343 * math/libm-test.inc (scalbln_test_date):
344 Add errno expectations.
345 * math/w_scalblnf.c: New File.
346 Add wrapper which checks for setting errno to ERANGE.
347 Add weak_alias for corresponding scalbln function.
348 * math/w_scalbln.c: Likewise.
349 * math/w_scalblnl.c: Likewise.
350 * math/Makefile (libm-calls): Add w_scalbln.
351 * sysdeps/ieee754/flt-32/s_scalblnf.c:
352 Remove weak_alias for corresponding scalbln function.
353 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
354 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
355 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
357 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
358 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
359 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
360 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
361 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
362 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
363 Remove long_double_symbol for scalblnl function in libm, libc.
364 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
365 Add wrapper which checks for setting errno to ERANGE.
366 Add long_double_symbol for scalblnl function in libm, libc.
367 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
368 Remove long_double_symbol for scalblnl in libm.
369 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
370 Add wrapper which checks for setting errno to ERANGE.
371 Add long_double_symbol for scalblnl function in libm.
372 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
373 Do not use wrapper because of own implementation.
375 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
377 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
378 3 bytes for __pad1 for x32.
379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
381 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
382 H.J. Lu <hongjiu.lu@intel.com>
384 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
385 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
386 * sysdeps/x86_64/multiarch/memset.S: Likewise.
387 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
388 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
390 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
393 * posix/regcomp.c (parse_expression): Deallocate partially
394 constructed tree before returning error.
395 * posix/Makefile.c (tests): Add bug-regex36.
396 (generated): Add bug-regex36.mtrace.
397 (tests-special): Add $(objpfx)bug-regex36-mem.out
398 (bug-regex36-ENV): New variable.
399 ($(objpfx)bug-regex36-mem.out): New rule.
400 * posix/bug-regex36.c: New file.
402 2014-06-19 Will Newton <will.newton@linaro.org>
404 * malloc/malloc.c (systrim): If extra is zero then return
407 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
409 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
411 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
413 * sysdeps/aarch64/strchr.S: New file.
415 2014-06-18 Joseph Myers <joseph@codesourcery.com>
418 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
419 from arguments -2 or below.
420 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
421 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
423 2014-06-18 Andreas Schwab <schwab@suse.de>
426 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
427 of a bracket expr not to run off the end of the string.
428 * posix/Makefile (tests): Add tst-fnmatch3.
429 * posix/tst-fnmatch3.c: New file.
431 2014-06-18 Joseph Myers <joseph@codesourcery.com>
433 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
434 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
435 [$(cross-compiling) = no]: Likewise.
436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
437 [$(cross-compiling) = no]: Likewise.
439 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
442 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
443 double, adjusted for any remainder from the high double.
444 * math/libm-test.inc (nearbyint): Add tests.
447 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449 * nptl/sysdeps/powerpc/Makefile: Moved ...
450 * sysdeps/powerpc/nptl/Makefile: ... here.
451 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
452 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
453 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
454 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
455 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
456 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
457 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
458 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
459 * nptl/sysdeps/powerpc/tls.h: Moved ...
460 * sysdeps/powerpc/nptl/tls.h: ... here.
462 2014-06-16 Joseph Myers <joseph@codesourcery.com>
465 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
466 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
467 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
468 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
469 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
470 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
471 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
472 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
473 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
475 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
477 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
479 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
481 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
484 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
487 2014-06-16 Florian Weimer <fweimer@redhat.com>
490 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
491 non-executed part of the test.
493 2014-06-16 Andreas Schwab <schwab@suse.de>
495 * string/bits/string2.h (strdup, strndup): Update feature guard.
497 2014-06-14 David S. Miller <davem@davemloft.net>
499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
501 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
503 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
504 that was previously under [RESET_PID].
505 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
507 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
508 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
509 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
510 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
511 (__libc_vfork): New strong alias.
512 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
514 2014-06-14 Andi Kleen <ak@linux.intel.com>
516 * sysdeps/generic/elide.h: New file.
518 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
520 * Makefile (installed-headers): Adjust path of pthread.h header.
522 2014-06-13 Roland McGrath <roland@hack.frob.com>
524 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
525 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
526 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
527 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
529 * nptl/sysdeps/s390/Makefile: Moved ...
530 * sysdeps/s390/nptl/Makefile: ... here.
531 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
532 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
533 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
534 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
535 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
536 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
537 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
538 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
539 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
540 * sysdeps/s390/nptl/pthreaddef.h: ... here.
541 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
542 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
543 * nptl/sysdeps/s390/tls.h: Moved ...
544 * sysdeps/s390/nptl/tls.h: ... here.
546 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
547 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
549 2014-06-13 David S. Miller <davem@davemloft.net>
551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
554 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
557 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
558 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
559 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
560 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
561 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
562 Remove RESET_PID cpp guards.
563 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
564 Remove RESET_PID cpp guards.
565 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
567 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
569 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
572 2014-06-13 Andi Kleen <ak@linux.intel.com>
574 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
575 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
576 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
577 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
578 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
579 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
580 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
581 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
582 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
583 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
585 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
586 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
587 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
590 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
591 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
592 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
593 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
595 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
596 (pthread_rwlock_rdlock): Add elision.
597 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
598 (pthread_rwlock_wrlock): Add elision.
599 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
600 (pthread_rwlock_trywrlock): Add elision.
601 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
602 (pthread_rwlock_tryrdlock): Add elision.
603 * nptl/pthread_rwlock_unlock.c: Include elide.h.
604 (pthread_rwlock_tryrdlock): Add elision unlock.
605 * nptl/sysdeps/pthread/pthread.h:
606 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
607 (PTHREAD_RWLOCK_INITIALIZER,
608 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
609 Handle new elision field.
610 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
611 * sysdeps/arm/nptl/bits/pthreadtypes.h
612 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
613 * sysdeps/sh/nptl/bits/pthreadtypes.h
614 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
615 * sysdeps/tile/nptl/bits/pthreadtypes.h
616 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
617 * sysdeps/a/nptl/bits/pthreadtypes.h
618 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
619 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
620 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
621 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
622 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
623 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
624 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
625 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
626 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
627 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
628 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
629 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
630 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
631 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
633 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
635 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
636 (elision_init): Set try_xbegin to zero when no RTM.
637 * sysdeps/x86/nptl/bits/pthreadtypes.h
638 (pthread_rwlock_t): Change __pad1 to __rwelision.
639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
641 2014-06-13 Andi Kleen <ak@linux.intel.com>
643 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
644 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
645 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
646 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
648 2014-06-13 Meador Inge <meadori@codesourcery.com>
651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
652 that the cached result has been set before returning it.
654 2014-06-12 Roland McGrath <roland@hack.frob.com>
656 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
657 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
658 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
659 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
660 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
661 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
663 * nptl/sysdeps/sparc/Makefile: Moved ...
664 * sysdeps/sparc/nptl/Makefile: ... here.
665 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
666 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
667 * nptl/sysdeps/sparc/tls.h: Moved ...
668 * sysdeps/sparc/nptl/tls.h: ... here.
669 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
670 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
671 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
672 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
673 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
674 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
675 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
676 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
677 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
678 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
679 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
680 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
681 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
682 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
683 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
684 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
685 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
686 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
688 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
689 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
691 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
692 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
694 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
698 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
700 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
701 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
703 * sysdeps/pthread/posix-timer.h: Include <list.h>.
704 (struct list_links): Type removed.
705 (struct thread_node, struct timer_node): Replace struct list_links
706 with struct list_head.
707 (list_unlink_ip): Likewise.
708 * sysdeps/pthread/timer_routines.c
709 (timer_free_list, thread_free_list, thread_active_list): Likewise.
710 (list_append, list_insbefore): Likewise.
711 (list_init): Function removed.
712 (thread_init, init_module): Use INIT_LIST_HEAD instead.
713 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
714 * sysdeps/pthread/Makefile: ... here, new file.
716 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
717 * sysdeps/nptl/Implies: ... here.
718 * sysdeps/unix/sysv/linux/Implies: Add nptl.
719 * nptl/sysdeps/pthread/list.h: Moved ...
720 * include/list.h: ... here.
721 * nptl/sysdeps/pthread/createthread.c: Moved ...
722 * nptl/createthread.c: ... here.
723 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
724 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
725 * nptl/pt-longjmp.c: ... here.
726 * nptl/sysdeps/pthread/Makefile: Moved ...
727 * sysdeps/nptl/Makefile: ... here.
728 * nptl/sysdeps/pthread/Subdirs: Moved ...
729 * sysdeps/nptl/Subdirs: ... here.
730 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
731 * sysdeps/nptl/aio_misc.h: ... here.
732 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
733 * sysdeps/nptl/bits/libc-lock.h: ... here.
734 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
735 * sysdeps/nptl/bits/libc-lockP.h: ... here.
736 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
737 * sysdeps/nptl/bits/stdio-lock.h: ... here.
738 * nptl/sysdeps/pthread/configure: Moved ...
739 * sysdeps/nptl/configure: ... here.
740 * nptl/sysdeps/pthread/configure.ac: Moved ...
741 * sysdeps/nptl/configure.ac: ... here.
742 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
743 * sysdeps/nptl/gai_misc.h: ... here.
744 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
745 * sysdeps/nptl/librt-cancellation.c: ... here.
746 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
747 * sysdeps/nptl/malloc-machine.h: ... here.
748 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
749 * sysdeps/nptl/pthread-functions.h: ... here.
750 * nptl/sysdeps/pthread/pthread.h: Moved ...
751 * sysdeps/nptl/pthread.h: ... here.
752 * nptl/sysdeps/pthread/setxid.h: Moved ...
753 * sysdeps/nptl/setxid.h: ... here.
754 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
755 * sysdeps/nptl/sigfillset.c: ... here.
756 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
757 * sysdeps/nptl/tcb-offsets.h: ... here.
758 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
759 * sysdeps/nptl/tst-mqueue8x.c: ... here.
760 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
761 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
762 * nptl/sysdeps/pthread/allocalim.h: Moved ...
763 * sysdeps/pthread/allocalim.h: ... here.
764 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
765 * sysdeps/pthread/bits/sigthread.h: ... here.
766 * nptl/sysdeps/pthread/flockfile.c: Moved ...
767 * sysdeps/pthread/flockfile.c: ... here.
768 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
769 * sysdeps/pthread/ftrylockfile.c: ... here.
770 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
771 * sysdeps/pthread/funlockfile.c: ... here.
772 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
773 * sysdeps/pthread/posix-timer.h: ... here.
774 * nptl/sysdeps/pthread/timer_create.c: Moved ...
775 * sysdeps/pthread/timer_create.c: ... here.
776 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
777 * sysdeps/pthread/timer_delete.c: ... here.
778 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
779 * sysdeps/pthread/timer_getoverr.c: ... here.
780 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
781 * sysdeps/pthread/timer_gettime.c: ... here.
782 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
783 * sysdeps/pthread/timer_routines.c: ... here.
784 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
785 * sysdeps/pthread/timer_settime.c: ... here.
786 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
787 * sysdeps/pthread/tst-timer.c: ... here.
788 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
789 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
791 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
792 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
794 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
795 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
796 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
797 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
798 Update #include target.
799 * nptl/sysdeps/i386/i686/Makefile: Moved ...
800 * sysdeps/i386/i686/nptl/Makefile: ... here.
801 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
802 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
803 Update #include target.
804 * nptl/sysdeps/i386/i686/tls.h: Moved ...
805 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
806 * nptl/sysdeps/i386/Makefile: Moved ...
807 * sysdeps/i386/nptl/Makefile: ... here.
808 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
809 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
810 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
811 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
812 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
813 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
814 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
815 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
816 * sysdeps/i386/nptl/pthreaddef.h: ... here.
817 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
818 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
819 * nptl/sysdeps/i386/tls.h: Moved ...
820 * sysdeps/i386/nptl/tls.h: ... here.
822 * sysdeps/sh/Makefile [$(subdir) = csu]
823 (gen-as-const-headers): Add tcb-offsets.sym.
824 * nptl/sysdeps/sh/Makefile: File removed.
825 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
826 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
827 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
828 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
829 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
830 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
831 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
832 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
833 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
834 * sysdeps/sh/nptl/pthreaddef.h: ... here.
835 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
836 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
837 * nptl/sysdeps/sh/tls.h: Moved ...
838 * sysdeps/sh/nptl/tls.h: ... here.
839 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
840 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
841 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
842 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
843 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
844 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
845 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
846 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
847 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
848 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
849 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
850 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
851 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
852 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
853 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
854 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
855 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
856 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
857 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
858 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
859 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
860 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
861 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
862 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
865 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
866 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
868 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
869 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
870 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
871 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
872 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
874 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
876 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
878 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
880 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
882 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
884 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
886 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
888 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
890 * posix/spawn_faction_addopen.c: Include string.h.
892 2014-06-11 Roland McGrath <roland@hack.frob.com>
894 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
895 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
896 * nptl/sysdeps/x86_64/Makefile: Moved ...
897 * sysdeps/x86_64/nptl/Makefile: ... here.
898 * nptl/sysdeps/x86_64/configure: Moved ...
899 * sysdeps/x86_64/nptl/configure: ... here.
900 * nptl/sysdeps/x86_64/configure.ac: Moved ...
901 * sysdeps/x86_64/nptl/configure.ac: ... here.
902 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
903 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
904 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
905 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
906 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
907 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
908 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
909 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
910 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
911 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
912 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
913 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
914 * nptl/sysdeps/x86_64/tls.h: Moved ...
915 * sysdeps/x86_64/nptl/tls.h: ... here.
916 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
917 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
918 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
919 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
921 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
923 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
927 2014-06-11 Joseph Myers <joseph@codesourcery.com>
929 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
931 [POSIX] (off_t): Likewise.
932 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
933 [POSIX] (S_ISBLK): Require macro.
934 [POSIX] (S_ISCHR): Likewise.
935 [POSIX] (S_ISDIR): Likewise.
936 [POSIX] (S_ISFIFO): Likewise.
937 [POSIX] (S_ISREG): Likewise.
938 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
940 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
942 [POSIX] (time_t): Likewise.
943 [POSIX] (timer_t): Likewise.
945 2014-06-11 Florian Weimer <fweimer@redhat.com>
948 * posix/spawn_int.h (struct __spawn_action): Make the path string
949 non-const to support deallocation.
950 * posix/spawn_faction_addopen.c
951 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
952 * posix/spawn_faction_destroy.c
953 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
954 path in all spawn_do_open actions.
955 * posix/tst-spawn.c (do_test): Exercise the copy operation in
956 posix_spawn_file_actions_addopen.
958 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
960 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
961 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
962 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
963 conditional code always true.
964 (__libc_vfork): New alias.
966 2014-06-11 Roland McGrath <roland@hack.frob.com>
968 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
969 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
971 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
973 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
974 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
976 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
977 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
979 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
980 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
982 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
984 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
985 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
986 multiarch strcmp for PPC64.
987 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
988 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
990 multiarch optimizations.
991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
992 (__libc_ifunc_impl_list): Likewise.
994 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
996 * benchtests/scripts/validate_benchout.py: New script.
997 * benchtests/Makefile (bench-func): Call it.
998 * benchtests/scripts/benchout.schema.json: New file.
1000 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1002 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1003 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1004 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1005 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1006 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1007 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1008 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1009 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1010 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1011 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1012 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1013 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1014 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1015 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1016 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1017 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1121 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1122 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1123 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1124 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1125 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1127 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1129 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1130 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1131 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1132 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1134 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1143 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1146 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1151 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1152 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1153 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1154 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1155 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1156 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1157 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1159 2014-06-10 Wilco <wdijkstr@arm.com>
1161 * math/test-fenv-return.c: New file.
1162 * math/Makefile: Add new test test-fenv-return.
1164 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1167 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1169 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1170 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1171 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1172 0.0L for an argument of 1.0L.
1173 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1175 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1176 value when x - 1 is zero.
1177 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1178 * sysdeps/i386/fpu/libm-test-ulps: Update.
1179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1181 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1184 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1186 2014-06-09 Roland McGrath <roland@hack.frob.com>
1188 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1189 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1191 2014-06-09 Roland McGrath <roland@hack.frob.com>
1193 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1194 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1196 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1197 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1199 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1200 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1202 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1203 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1205 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1206 if not already defined.
1207 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1208 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1209 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1210 (TLS_INIT_TP): Use it.
1211 (TLS_DEFINE_INIT_TP): New macro.
1212 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1214 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1216 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1218 [POSIX] (IXANY): Likewise.
1219 [POSIX] (OLCUC): Likewise.
1220 [POSIX || POSIX2008] (CBAUD): Do not allow.
1221 [POSIX || POSIX2008] (DEFECHO): Likewise.
1222 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1223 [POSIX || POSIX2008] (ECHOKE): Likewise.
1224 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1225 [POSIX || POSIX2008] (EXTA): Likewise.
1226 [POSIX || POSIX2008] (EXTB): Likewise.
1227 [POSIX || POSIX2008] (FLUSHO): Likewise.
1228 [POSIX || POSIX2008] (LOBLK): Likewise.
1229 [POSIX || POSIX2008] (PENDIN): Likewise.
1230 [POSIX || POSIX2008] (SWTCH): Likewise.
1231 [POSIX || POSIX2008] (VDISCARD): Likewise.
1232 [POSIX || POSIX2008] (VDSUSP): Likewise.
1233 [POSIX || POSIX2008] (VLNEXT): Likewise.
1234 [POSIX || POSIX2008] (VREPRINT): Likewise.
1235 [POSIX || POSIX2008] (VSTATUS): Likewise.
1236 [POSIX || POSIX2008] (VWERASE): Likewise.
1237 (B*): Change to B[0123456789]*.
1238 * conform/data/time.h-data [POSIX || UNIX98]
1239 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1240 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1241 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1242 [POSIX] (tm_*): Do not allow.
1244 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1246 * Makefile (install): Don't set LANGUAGE.
1247 * Makefile.in (install): Likewise.
1248 * assert/Makefile (test-assert-ENV): Remove variable.
1249 (test-assert-perr-ENV): Likewise.
1250 * elf/Makefile (neededtest4-ENV): Likewise.
1251 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1252 [$(cross-compiling) = no]: Don't set LANGUAGE.
1253 * io/ftwtest-sh (LANG): Remove variable.
1254 * libio/Makefile (tst-widetext-ENV): Likewise.
1255 * manual/install.texi (Running make install): Don't refer to
1256 environment settings for make install.
1257 * INSTALL: Regenerated.
1258 * nptl/tst-tls6.sh: Don't set LANG.
1259 * posix/globtest.sh (LANG): Remove variable.
1260 * string/Makefile (tester-ENV): Likewise.
1261 (inl-tester-ENV): Likewise.
1262 (noinl-tester-ENV): Likewise.
1263 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1264 [$(cross-compiling) = no]: Don't set LANGUAGE.
1265 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1266 without explicit environment settings.
1268 2014-06-06 Roland McGrath <roland@hack.frob.com>
1270 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1271 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1273 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1275 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1277 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1278 other files in the crypt directory.
1279 * crypt/crypt.c: Remove duplicate includes.
1280 * crypt/crypt-entry.c: Likewise.
1281 * crypt/crypt_util.c: Likewise.
1283 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1285 * Makeconfig (run-program-env): New variable.
1286 (run-program-prefix-before-env): Likewise.
1287 (run-program-prefix-after-env): Likewise.
1288 (run-program-prefix): Define in terms of new variables.
1289 (built-program-cmd-before-env): New variable.
1290 (built-program-cmd-after-env): Likewise.
1291 (built-program-cmd): Define in terms of new variables.
1292 (test-program-prefix-before-env): New variable.
1293 (test-program-prefix-after-env): Likewise.
1294 (test-program-prefix): Define in terms of new variables.
1295 (test-program-cmd-before-env): New variable.
1296 (test-program-cmd-after-env): Likewise.
1297 (test-program-cmd): Define in terms of new variables.
1298 * Rules (make-test-out): Use $(run-program-env).
1299 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1300 (help): Do not mention environment variables. Mention
1301 --timeoutfactor option.
1302 (timeoutfactor): New variable.
1303 (blacklist_exports): Remove function.
1304 (exports): Remove variable.
1305 (command): Do not include ${exports}.
1306 * manual/install.texi (Configuring and compiling): Do not mention
1307 test wrappers preserving environment variables. Mention that last
1308 assignment to a variable must take precedence.
1309 * INSTALL: Regenerated.
1310 * benchtests/Makefile (run-bench): Use $(run-program-env).
1311 * catgets/Makefile ($(objpfx)test1.cat): Use
1312 $(built-program-cmd-before-env), $(run-program-env) and
1313 $(built-program-cmd-after-env).
1314 ($(objpfx)test2.cat): Do not specify environment variables
1316 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1317 $(run-program-env) and $(built-program-cmd-after-env).
1318 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1319 $(run-program-env) and $(test-program-cmd-after-env).
1320 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1322 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1323 run_program_env and test_program_cmd_after_env arguments.
1324 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1325 * elf/tst-pathopt.sh: Use run_program_env argument.
1326 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1327 $(test-wrapper-env) and $(run-program-env).
1328 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1329 run_program_env arguments.
1330 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1331 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1332 $(test-program-prefix-before-env), $(run-program-env) and
1333 $(test-program-prefix-after-env).
1334 ($(objpfx)tst-gettext2.out): Likewise.
1335 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1336 run_program_env and test_program_prefix_after_env arguments.
1337 * intl/tst-gettext2.sh: Likewise.
1338 * intl/tst-gettext4.sh: Do not set environment variables
1340 * intl/tst-gettext6.sh: Likewise.
1341 * intl/tst-translit.sh: Likewise.
1342 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1343 $(test-program-prefix-before-env), $(run-program-env) and
1344 $(test-program-prefix-after-env).
1345 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1346 run_program_env and test_program_prefix_after_env arguments.
1347 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1348 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1349 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1350 explicitly with each use of ${test_wrapper_env}.
1351 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1352 $(test-program-prefix-before-env), $(run-program-env) and
1353 $(test-program-prefix-after-env).
1354 * posix/tst-getconf.sh: Do not set environment variables
1356 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1357 run_program_env and test_program_prefix_after_env arguments.
1358 * stdio-common/tst-printf.sh: Do not set environment variables
1360 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1361 $(test-program-prefix-before-env), $(run-program-env) and
1362 $(test-program-prefix-after-env).
1363 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1364 run_program_env and test_program_prefix_after_env arguments.
1365 Split $test calls into $test_pre and $test.
1366 * timezone/Makefile (build-testdata): Use
1367 $(built-program-cmd-before-env), $(run-program-env) and
1368 $(built-program-cmd-after-env).
1370 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1373 strlen for non SHARED builds.
1375 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1377 * nptl/allocatestack.c (check_list): Inlined function...
1378 (__reclaim_stacks): ... here.
1380 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1383 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1386 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1388 * Rules (make-test-out): Include
1389 LOCPATH=$(common-objpfx)localedata in default environment.
1390 * debug/Makefile (tst-chk1-ENV): Remove variable.
1391 (tst-chk2-ENV): Likewise.
1392 (tst-chk3-ENV): Likewise.
1393 (tst-chk4-ENV): Likewise.
1394 (tst-chk5-ENV): Likewise.
1395 (tst-chk6-ENV): Likewise.
1396 (tst-lfschk1-ENV): Likewise.
1397 (tst-lfschk2-ENV): Likewise.
1398 (tst-lfschk3-ENV): Likewise.
1399 (tst-lfschk4-ENV): Likewise.
1400 (tst-lfschk5-ENV): Likewise.
1401 (tst-lfschk6-ENV): Likewise.
1402 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1403 (tst-iconv7-ENV): Likewise.
1404 * intl/Makefile (LOCPATH-ENV): Likewise.
1405 (tst-codeset-ENV): Likewise.
1406 (tst-gettext3-ENV): Likewise.
1407 (tst-gettext5-ENV): Likewise.
1408 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1409 (tst-fopenloc-ENV): Likewise.
1410 (tst-fgetws-ENV): Remove variable.
1411 (tst-ungetwc1-ENV): Likewise.
1412 (tst-ungetwc2-ENV): Likewise.
1413 (bug-ungetwc2-ENV): Likewise.
1414 (tst-swscanf-ENV): Likewise.
1415 (bug-ftell-ENV): Likewise.
1416 (tst-fgetwc-ENV): Likewise.
1417 (tst-fseek-ENV): Likewise.
1418 (tst-ftell-partial-wide-ENV): Likewise.
1419 (tst-ftell-active-handler-ENV): Likewise.
1420 (tst-ftell-append-ENV): Likewise.
1421 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1422 (tst-regexloc-ENV): Likewise.
1423 (bug-regex1-ENV): Likewise.
1424 (tst-regex-ENV): Likewise.
1425 (tst-regex2-ENV): Likewise.
1426 (bug-regex5-ENV): Likewise.
1427 (bug-regex6-ENV): Likewise.
1428 (bug-regex17-ENV): Likewise.
1429 (bug-regex18-ENV): Likewise.
1430 (bug-regex19-ENV): Likewise.
1431 (bug-regex20-ENV): Likewise.
1432 (bug-regex22-ENV): Likewise.
1433 (bug-regex23-ENV): Likewise.
1434 (bug-regex25-ENV): Likewise.
1435 (bug-regex26-ENV): Likewise.
1436 (bug-regex30-ENV): Likewise.
1437 (bug-regex32-ENV): Likewise.
1438 (bug-regex33-ENV): Likewise.
1439 (bug-regex34-ENV): Likewise.
1440 (bug-regex35-ENV): Likewise.
1441 (tst-rxspencer-ENV): Likewise.
1442 (tst-rxspencer-no-utf8-ENV): Likewise.
1443 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1444 (tst-sscanf-ENV): Likewise.
1445 (tst-swprintf-ENV): Likewise.
1446 (tst-swscanf-ENV): Likewise.
1447 (test-vfprintf-ENV): Likewise.
1448 (scanf13-ENV): Likewise.
1449 (bug14-ENV): Likewise.
1450 (tst-grouping-ENV): Likewise.
1451 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1452 (tst-strtod3-ENV): Likewise.
1453 (tst-strtod4-ENV): Likewise.
1454 (tst-strtod5-ENV): Likewise.
1455 (testmb2-ENV): Likewise./
1456 * string/Makefile (tst-strxfrm-ENV): Likewise.
1457 (tst-strxfrm2-ENV): Likewise.
1458 (bug-strcoll1-ENV): Likewise.
1459 (test-strcasecmp-ENV): Likewise.
1460 (test-strncasecmp-ENV): Likewise.
1461 * time/Makefile (tst-strptime-ENV): Likewise.
1462 (tst-ftime_l-ENV): Likewise.
1463 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1464 (tst-mbrtowc-ENV): Likewise.
1465 (tst-wcrtomb-ENV): Likewise.
1466 (tst-mbrtowc2-ENV): Likewise.
1467 (tst-c16c32-1-ENV): Likewise.
1468 (tst-mbsnrtowcs-ENV): Likewise.
1470 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1472 * manual/resource.texi (How to get information about the memory
1473 subsystem?): Fix typo.
1474 Reported by Peon de la Parra Ivan <peon@keba.com>
1476 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1479 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1480 (pthread_spin_lock): Branch out of spin loop to proper location.
1481 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1482 (pthread_spin_lock): Likewise.
1484 * nptl/tst-spin4.c: New test.
1485 * nptl/Makefile (tests): Add tst-spin4.
1487 2014-06-03 Andreas Schwab <schwab@suse.de>
1490 * resolv/res_send.c (send_dg): Reload file descriptor after
1493 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1495 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1497 2014-06-03 Richard Henderson <rth@redhat.com>
1499 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1500 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1501 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1502 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1503 in the SAVE_PID block.
1504 (__libc_vfork): New alias.
1505 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1507 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1508 child in registers, not on the stack. Remove RESET_PID conditionals.
1509 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1511 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1513 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1515 2014-06-03 Wilco <wdijkstr@arm.com>
1517 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1518 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1519 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1520 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1521 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1524 2014-06-03 Wilco <wdijkstr@arm.com>
1526 * sysdeps/aarch64/fpu/math_private.h
1527 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1528 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1529 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1530 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1533 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1535 * crypt/crypt-private.h: Include ufc-crypt.h.
1536 (__b64_from_24bit): Declare extern.
1537 * crypt/crypt_util.c(__b64_from_24bit): New function.
1538 (b64t): New static const variable.
1539 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1540 (b64t): Remove variable.
1541 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1542 * crypt/sha256-crypt.c: Include crypt-private.h.
1543 (b64t): Remove variable.
1544 (__sha256_crypt_r): Remove b64_from_24bit and replace
1545 with __b64_from_24bit.
1546 * crypt/sha512-crypt.c: Likewise.
1548 2014-06-02 Roland McGrath <roland@hack.frob.com>
1550 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1551 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1552 Label the code __libc_vfork rather than __vfork.
1553 [!NOT_IN_libc] (vfork): Define as weak alias.
1554 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1555 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1556 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1558 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1560 * malloc/malloc.c (malloc_info): Fix format specifier for
1563 2014-06-02 Wilco <wdijkstr@arm.com>
1565 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1568 2014-06-02 Wilco <wdijkstr@arm.com>
1571 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1572 Rewrite to reduce FPCR/FPSR accesses.
1574 2014-06-01 David S. Miller <davem@davemloft.net>
1576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1578 2014-05-31 David S. Miller <davem@davemloft.net>
1580 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1581 to occur in round to nearest mode when |x| >= 2.0
1583 2014-05-30 Richard Henderson <rth@twiddle.net>
1585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1586 (PSEUDO_RET_NOERRNO): Remove.
1587 (ret): Don't redefine.
1588 (ret_NOERRNO): Define in terms of ret.
1589 (ret_ERRVAL): Likewise.
1591 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1592 use of PSEUDO_RET; perform the error check directly.
1594 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1596 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1599 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1601 * malloc/malloc (malloc_info): Fix formatting.
1603 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1604 Roland McGrath <roland@hack.frob.com>
1606 * malloc/malloc (malloc_info): Also print mmapped statistics.
1608 2014-05-30 Roland McGrath <roland@hack.frob.com>
1610 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1611 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1613 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1615 * malloc/malloc.c (malloc_info): Inline mi_arena.
1617 2014-05-29 Richard Henderson <rth@twiddle.net>
1619 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1620 Remove comma before expanding ASM_ARGS_##nr.
1621 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1622 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1624 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1625 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1626 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1627 (ASM_ARGS_1): Add leading comma.
1629 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1630 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1631 to __errno_location.
1632 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1633 Remove the expected plt for __errno_location.
1635 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1636 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1639 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1640 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1641 it and break it down.
1642 (DOCARGS_0, DOCARGS_1): Do nothing.
1643 (DOCARGS_2): Update to store into the new stack frame.
1644 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1645 (UNDOCARGS_1): Update to restore from the new stack frame.
1646 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1647 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1649 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1650 (SINGLE_THREAD_P): New parameter for result regno.
1651 (PSEUDO): Update to match; use cbz instead of beq.
1653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1654 Use ENTRY to define the _nocancel entry point. Share the syscall
1655 and syscall error check paths with the cancel path.
1658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1659 whitespace; tabs before and after asm mnemonics.
1661 2014-05-29 Eric Wong <normalperson@yhbt.net>
1664 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1665 Call fstat64 or stat64 internally, depending on arguments passed.
1666 Replace stat buffer argument with file descriptor argument.
1667 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1668 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1669 Pass fd to __internal_statvfs instead of calling fstat64.
1670 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1671 Pass fd to __internal_statvfs64 instead of calling fstat64.
1672 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1673 Pass -1 to __internal_statvfs instead of calling stat64.
1674 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1675 Pass -1 to __internal_statvfs64 instead of calling stat64.
1677 2014-05-28 Roland McGrath <roland@hack.frob.com>
1679 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1680 that was previously under [RESET_PID].
1681 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1683 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1684 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1686 2014-05-27 Roland McGrath <roland@hack.frob.com>
1688 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1690 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1691 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1693 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1695 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1697 2014-05-27 Andreas Schwab <schwab@suse.de>
1699 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1701 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1702 * elf/rtld.c (init_tls, dl_main): Likewise.
1703 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1704 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1705 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1706 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1707 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1708 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1709 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1710 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1711 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1712 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1713 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1714 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1715 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1716 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1717 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1718 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1719 * sysdeps/generic/tls.h: Update description.
1721 2014-05-27 Will Newton <will.newton@linaro.org>
1724 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1725 and restore r2 rather than just restoring.
1727 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1730 * libio/tst-ftell-append.c: New test case.
1731 * libio/Makefile (tests): Add test case.
1732 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1734 * libio/wfileops.c (do_ftell_wide): Likewise.
1736 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1740 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1744 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1745 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1747 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1749 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1757 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1758 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1759 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1762 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1765 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1767 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1769 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1771 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1773 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1774 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1775 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1776 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1781 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1791 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1799 conditional [RESET_PID].
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1801 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1808 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1809 (__libc_vfork): New strong alias.
1810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1817 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1818 (__libc_vfork): New strong alias.
1819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1824 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1826 * malloc/malloc.c (mi_arena): New function.
1827 (malloc_info): Remove nested function mi_arena. Call non-nosted
1830 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1832 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1834 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1835 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1836 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1837 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1838 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1839 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1840 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1842 2014-05-26 Andreas Schwab <schwab@suse.de>
1845 * locale/programs/repertoire.c (repertoire_read): Add slash
1846 between I18NPATH element and file name.
1847 * locale/programs/locfile.c (locfile_read): Likewise.
1849 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1851 * nptl/pthread_mutexattr_settype.c
1852 (__pthread_mutexattr_settype):
1853 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1855 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1857 * nptl/tst-mutex5 (do_test):
1858 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1860 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1862 * benchtests/README: Document 'init' directive.
1863 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1865 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1866 (parse_file): Recognize 'init' directive.
1868 2014-05-26 Kyle McMartin <kyle@redhat.com>
1871 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1872 alignment of struct pthread.
1874 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1877 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1878 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1879 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1880 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1882 2014-05-25 Richard Henderson <rth@twiddle.net>
1884 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1885 (SINGLE_THREAD_P_PIC): Remove.
1886 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1887 (SINGLE_THREAD_P_PIC): Remove.
1889 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1890 branch to syscall error ...
1892 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1893 from __local_syscall_error to .Lsyscall_error.
1894 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1895 (SYSCALL_ERROR): Update label name.
1897 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1898 Do not use DOARGS/UNDOARGS.
1899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1900 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1901 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1902 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1903 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1905 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1908 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1909 define if !NOT_IN_libc.
1910 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1911 define with non-default symbol versions.
1913 2014-05-23 Richard Henderson <rth@twiddle.net>
1915 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1916 (vfork, __vfork): Define via compat_symbol.
1918 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1919 [!HAVE_IFUNC] (vfork_compat): Remove.
1920 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1922 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1925 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1926 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1929 2014-05-23 Richard Henderson <rth@twiddle.net>
1931 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1932 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1933 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1934 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1936 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1937 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1938 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1939 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1940 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1941 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1942 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1943 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1944 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1945 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1946 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1947 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1948 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1949 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1950 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1951 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1952 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1953 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1961 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1962 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1963 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1964 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1965 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1969 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1970 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1975 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1993 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1995 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1996 before exiting on error.
1997 (__libc_vfork): New strong alias.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1999 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2001 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2002 that was previously under [RESET_PID].
2003 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2005 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2007 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2010 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2011 value when x - 1 is zero.
2012 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2013 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2014 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2015 0.0L for an argument of 1.0L.
2016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2018 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2019 value when x - 1 is zero.
2020 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2021 * sysdeps/i386/fpu/libm-test-ulps: Update.
2022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2024 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2026 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2027 alphasort and versionsort.
2029 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2033 [copysignf]: Likewise.
2035 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2037 * crypt/md5-crypt.c: Fix formatting.
2039 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2041 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2042 (b64_from_24bit): New function.
2044 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2047 libc_hidden_builtin_def to ifunc.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2049 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2051 2014-05-21 Roland McGrath <roland@hack.frob.com>
2053 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2054 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2056 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2058 * nscd/Depend (linuxthreads): Remove.
2060 * resolv/Depend (linuxthreads): Remove.
2061 * rt/Depend (linuxthreads): Remove.
2063 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2064 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2065 $(common-objpfx)elf/.
2066 (link-libc-before-gnulib): Likewise.
2067 (elfobjdir): Remove variable.
2068 * Makefile (install): Use $(elf-objpfx) instead of
2069 $(common-objpfx)elf/.
2070 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2072 (link-libc-deps): Likewise.
2073 ($(common-objpfx)libc.so): Likewise.
2074 ($(common-objpfx)linkobj/libc.so): Likewise.
2075 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2076 instead of $(common-objpfx)elf/.
2077 (symbolic-link-list): Likewise.
2078 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2079 [$(cross-compiling) = no]: Likewise.
2080 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2082 (static-gnulib-arch): Likewise.
2083 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2084 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2085 $(common-objpfx)elf/.
2087 2014-05-21 Richard Henderson <rth@redhat.com>
2089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2090 (SINGLE_THREAD_P): Use the correct width load. Fold
2091 into the ldr offset.
2093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2094 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2096 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2098 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2099 (libgcc_s_resume): Use __attribute_used__.
2100 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2103 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2106 optimization when used with float constants.
2108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2110 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2113 * locale/nl_langinfo_l.c: Make direct reference to every
2114 _nl_current_CATEGORY symbol.
2115 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2116 (tests-static): Add tst-langinfo-static.
2117 (tests-special): Add tst-langinfo-static.out.
2118 ($(objpfx)tst-langinfo.out): Redirect output.
2119 ($(objpfx)tst-langinfo-static.out): New.
2120 * localedata/tst-langinfo.sh: Send output to stdout.
2121 * localedata/tst-langinfo-static.c: New file.
2124 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2125 when the shift amount is modulo the limb size.
2127 2014-05-20 Richard Henderson <rth@redhat.com>
2130 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2131 Change type of sa_flags from unsigned int to int.
2134 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2136 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2138 2014-05-20 Will Newton <will.newton@linaro.org>
2140 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2141 Test the return value of the system call in the nocancel case.
2143 2014-05-20 Will Newton <will.newton@linaro.org>
2144 Yvan Roux <yvan.roux@linaro.org>
2146 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2147 #include of asm/ptrace.h.
2148 (PTRACE_GET_THREAD_AREA): Remove #undef.
2149 (PTRACE_GETHBPREGS): Likewise.
2150 (PTRACE_SETHBPREGS): Likewise.
2151 (struct user_regs_struct): New structure.
2152 (struct user_fpsimd_struct): New structure.
2153 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2154 #include of asm/ptrace.h and second #include of sys/user.h.
2155 (PTRACE_GET_THREAD_AREA): Remove #undef.
2156 (PTRACE_GETHBPREGS): Likewise.
2157 (PTRACE_SETHBPREGS): Likewise.
2158 (ELF_NGREG): Use new struct user_regs_struct.
2159 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2161 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2166 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2169 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2170 membar to avoid block loads/stores to overlap previous stores.
2172 2014-05-17 Richard Henderson <rth@redhat.com>
2174 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2175 Create the __##syscall_name##_nocancel entry point.
2176 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2177 Remove; let the sysdep-cancel.h code create it.
2179 2014-05-17 David S. Miller <davem@davemloft.net>
2181 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2182 Protect with __USE_GNU.
2183 (TIOCSET_TEMPT): Likewise.
2184 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2185 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2186 these are already provided in bits/ioctl-types.h
2188 2014-05-16 Roland McGrath <roland@hack.frob.com>
2190 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2191 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2193 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2194 Use wait4 regardless of [__NR_waitpid].
2196 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2199 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2200 (_FP_NANSIGN_Q): Set the quiet bit.
2202 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2204 * benchtests/Makefile
2205 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2206 not $(common-objpfx)math/libm.so.
2207 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2208 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2209 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2210 $(common-objpfx)dlfcn/libdl.so.
2211 ($(objpfx)tst-audit8): Depend on $(libm), not
2212 $(common-objpfx)math/libm.so.
2213 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2214 not $(common-objpfx)dlfcn/libdl.so.
2216 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2217 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2218 [$(build-shared) = yes].
2219 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2220 $(common-objpfx)nptl/libpthread.so.
2221 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2222 $(common-objpfx)math/libm.so$(libm.so-version) or
2223 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2224 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2225 $(common-objpfx)dlfcn/libdl.so.
2226 * setjmp/Makefile (link-libm): Remove variable.
2227 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2228 * stdio-common/Makefile (link-libm): Remove variable.
2229 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2230 * stdlib/Makefile (link-libm): Remove variable.
2231 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2232 ($(objpfx)tst-strtod-round): Likewise.
2233 ($(objpfx)tst-tininess): Likewise.
2234 ($(objpfx)tst-strtod-underflow): Likewise.
2235 ($(objpfx)tst-strtod6): Likewise.
2236 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2237 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2238 $(common-objpfx)dlfcn/libdl.so.
2240 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2243 BSD terminal modes definitions.
2245 2014-05-16 Roland McGrath <roland@hack.frob.com>
2247 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2248 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2250 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2251 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2252 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2253 Don't do #include_next.
2254 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2255 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2256 Don't do #include_next.
2257 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2258 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2259 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2260 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2262 2014-05-16 Allan McRae <allan@archlinux.org>
2264 * po/sv.po: Update Swedish translation from translation project.
2266 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2269 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2272 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2273 errno if the TIOCGPTN ioctl fails with an error different than
2275 * login/tst-ptsname.c: New file.
2276 * login/Makefile (tests): Add tst-ptsname.
2279 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2282 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2286 herrno to return EAI_AGAIN.
2288 2014-05-14 Roland McGrath <roland@hack.frob.com>
2290 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2291 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2292 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2297 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2299 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2300 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2301 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2302 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2303 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2304 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2305 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2306 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2307 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2308 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2309 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2310 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2311 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2312 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2313 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2314 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2319 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2321 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2326 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2328 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2330 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2332 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2334 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2336 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2338 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2340 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2342 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2344 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2346 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2348 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2350 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2355 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2357 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2359 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2361 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2363 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2376 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2381 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2382 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2383 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2384 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2386 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2388 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2389 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2390 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2391 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2392 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2393 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2394 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2395 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2396 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2397 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2398 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2399 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2400 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2402 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2404 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2405 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2406 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2408 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2410 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2412 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2413 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2415 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2416 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2417 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2419 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2425 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2428 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2433 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2436 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2438 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2440 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2442 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2445 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2448 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2450 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2451 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2453 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2456 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2460 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2462 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2464 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2467 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2470 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2473 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2477 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2478 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2479 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2481 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2485 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2486 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2487 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2490 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2491 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2493 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2495 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2496 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2497 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2498 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2501 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2505 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2507 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2509 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2511 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2513 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2516 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2519 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2522 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2527 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2529 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2532 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2534 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2535 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2536 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2538 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2541 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2546 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2547 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2549 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2552 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2554 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2556 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2558 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2560 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2562 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2564 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2566 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2568 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2569 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2571 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2572 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2574 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2575 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2576 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2577 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2578 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2580 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2582 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2584 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2586 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2588 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2590 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2593 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2594 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2595 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2596 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2598 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2600 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2602 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2604 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2607 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2610 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2612 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2614 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2616 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2618 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2620 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2622 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2624 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2626 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2629 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2630 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2631 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2632 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2634 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2635 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2636 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2637 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2638 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2640 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2641 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2642 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2643 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2648 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2649 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2651 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2652 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2653 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2654 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2655 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2656 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2657 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2658 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2659 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2660 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2661 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2668 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2672 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2678 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2680 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2683 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2685 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2687 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2688 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2689 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2690 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2691 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2693 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2694 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2695 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2696 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2698 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2699 that was previously under [RESET_PID].
2700 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2701 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2702 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2704 * sysdeps/i386/nptl/Implies: New file.
2705 * sysdeps/x86_64/nptl/Implies: New file.
2706 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2707 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2708 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2709 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2711 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2712 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2713 (__libc_vfork): New strong alias.
2714 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2715 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2717 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2718 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2719 (__libc_vfork): New strong alias.
2720 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2721 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2723 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2724 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2725 (__libc_vfork): New strong alias.
2726 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2727 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2728 * nptl/pt-vfork.c: New file.
2729 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2730 (libpthread: GLIBC_2.20): New version set (empty).
2732 2014-05-14 Will Newton <will.newton@linaro.org>
2734 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2737 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2740 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2741 arguments with exponent 65 or above.
2742 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2743 arguments 0x1p113L or above.
2744 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2745 to arguments 0x1p107L or above.
2746 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2747 positive arguments with exponent 65 or above.
2748 * math/auto-libm-test-in: Add more tests of log1p.
2749 * math/auto-libm-test-out: Regenerated.
2752 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2753 non-finite arguments is +0.
2754 * math/s_cacosf.c (__cacosf): Likewise.
2755 * math/s_cacosl.c (__cacosl): Likewise.
2756 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2761 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2763 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2764 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2765 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2766 for explicit high bit of mantissa when testing for argument equal
2768 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2769 * sysdeps/i386/fpu/libm-test-ulps: Update.
2770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2774 (__erf): Scale by 16 instead of 8 in potentially underflowing
2775 case. Ensure exception if result actually underflows.
2776 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2777 (__erff): Scale by 16 instead of 8 in potentially underflowing
2778 case. Ensure exception if result actually underflows.
2779 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2780 (efx8): Remove variable.
2781 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2782 case. Ensure exception if result actually underflows.
2783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2784 (efx8): Remove variable.
2785 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2786 case. Ensure exception if result actually underflows.
2787 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2788 (efx8): Remove variable.
2789 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2790 case. Ensure exception if result actually underflows.
2791 * math/auto-libm-test-in: Add more tests of erf.
2792 * math/auto-libm-test-out: Regenerated.
2794 2014-05-14 Andreas Schwab <schwab@suse.de>
2796 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2797 Remove code conditionalized on USE___THREAD.
2799 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2800 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2803 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2806 Define unconditionally.
2807 (__ASSUME_O_CLOEXEC): Likewise.
2808 (__ASSUME_SOCK_CLOEXEC): Likewise.
2809 (__ASSUME_IN_NONBLOCK): Likewise.
2810 (__ASSUME_PIPE2): Likewise.
2811 (__ASSUME_EVENTFD2): Likewise.
2812 (__ASSUME_SIGNALFD4): Likewise.
2813 (__ASSUME_DUP3): Likewise.
2814 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2815 (__ASSUME_DUP3): Do not define.
2816 (__ASSUME_EVENTFD2): Likewise.
2817 (__ASSUME_IN_NONBLOCK): Likewise.
2818 (__ASSUME_O_CLOEXEC): Likewise.
2819 (__ASSUME_PIPE2): Likewise.
2820 (__ASSUME_SIGNALFD4): Likewise.
2821 (__ASSUME_SOCK_CLOEXEC): Likewise.
2822 (__ASSUME_UTIMES): Undefine.
2823 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2824 (__ASSUME_UTIMES): Do not define.
2825 (__ASSUME_O_CLOEXEC): Likewise.
2826 (__ASSUME_SOCK_CLOEXEC): Likewise.
2827 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2828 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2830 (__ASSUME_PIPE2): Likewise.
2831 (__ASSUME_EVENTFD2): Likewise.
2832 (__ASSUME_SIGNALFD4): Likewise.
2833 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2834 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2836 (__ASSUME_EVENTFD2): Likewise.
2837 (__ASSUME_SIGNALFD4): Likewise.
2838 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2839 (__ASSUME_32BITUIDS): Likewise.
2840 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2841 (__ASSUME_IPC64): Likewise.
2842 (__ASSUME_ST_INO_64_BIT): Likewise.
2843 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2844 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2846 (__ASSUME_UTIMES): Do not define.
2847 (__ASSUME_PSELECT): Likewise.
2848 (__ASSUME_PPOLL): 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/m68k/kernel-features.h
2857 (__ASSUME_UTIMES): Likewise.
2858 (__ASSUME_O_CLOEXEC): Likewise.
2859 (__ASSUME_SOCK_CLOEXEC): Likewise.
2860 (__ASSUME_IN_NONBLOCK): Likewise.
2861 (__ASSUME_PIPE2): Likewise.
2862 (__ASSUME_EVENTFD2): Likewise.
2863 (__ASSUME_SIGNALFD4): Likewise.
2864 (__ASSUME_DUP3): Likewise.
2865 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2866 (__ASSUME_UTIMES): Likewise.
2867 (__ASSUME_O_CLOEXEC): Likewise.
2868 (__ASSUME_SOCK_CLOEXEC): Likewise.
2869 (__ASSUME_IN_NONBLOCK): Likewise.
2870 (__ASSUME_PIPE2): Likewise.
2871 (__ASSUME_EVENTFD2): Likewise.
2872 (__ASSUME_SIGNALFD4): Likewise.
2873 (__ASSUME_DUP3): Likewise.
2874 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2876 (__ASSUME_UTIMES): Likewise.
2877 (__ASSUME_EVENTFD2): Likewise.
2878 (__ASSUME_SIGNALFD4): Likewise.
2879 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2880 (__ASSUME_O_CLOEXEC): Likewise.
2881 (__ASSUME_SOCK_CLOEXEC): Likewise.
2882 (__ASSUME_IN_NONBLOCK): Likewise.
2883 (__ASSUME_PIPE2): Likewise.
2884 (__ASSUME_EVENTFD2): Likewise.
2885 (__ASSUME_SIGNALFD4): Likewise.
2886 (__ASSUME_DUP3): Likewise.
2887 (__ASSUME_UTIMES): Undefine.
2889 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2890 feclearexcept. Remove symbol versioning code.
2891 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2892 symbol versioning code.
2893 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2894 symbol versioning code.
2895 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2896 feupdateenv. Remove symbol versioning code.
2897 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2898 fegetexceptflag. Remove symbol versioning code.
2899 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2900 fesetexceptflag. Remove symbol versioning code.
2901 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2902 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2903 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2904 (__posix_fadvise64_l32): Remove prototype.
2905 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2908 2014-05-13 Roland McGrath <roland@hack.frob.com>
2910 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2911 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2912 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2913 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2915 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2917 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2918 current working directory
2920 2014-05-13 Roland McGrath <roland@hack.frob.com>
2922 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2923 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2924 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2925 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2926 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2927 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2928 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2929 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2930 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2931 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2932 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2933 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2934 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2935 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2936 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2937 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2938 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2939 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2940 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2941 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2942 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2943 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2944 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2945 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2947 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2948 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2949 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2950 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2951 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2952 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2955 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2956 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2957 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2958 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2959 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2960 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2961 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2962 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2965 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2966 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2968 * sysdeps/unix/sysv/linux/arm/Makefile
2969 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2970 Add rt-aeabi_unwind_cpp_pr1.
2971 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2972 Add nptl-aeabi_unwind_cpp_pr1.
2973 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2974 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2975 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2976 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2977 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2978 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2980 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2981 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2982 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2983 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2985 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2986 Deconditionalize the code that was previously under [RESET_PID].
2987 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2989 * sysdeps/generic/exit-thread.h: New file.
2990 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2991 * include/unistd.h (__exit_thread): Remove declaration.
2992 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2993 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2994 * csu/libc-start.c: Include <exit-thread.h>.
2995 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2996 * nptl/pthread_create.c: Include <exit-thread.h>.
2997 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2998 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2999 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3000 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3001 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3002 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3003 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3004 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3005 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3006 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3007 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3008 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3009 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3010 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3011 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3012 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3013 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3015 2014-05-13 Andreas Schwab <schwab@suse.de>
3017 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3019 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3021 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3022 (__ASSUME_UTIMES): Do not condition on kernel version.
3023 (__ASSUME_PSELECT): Define unconditionally.
3024 (__ASSUME_PPOLL): Likewise.
3025 (__ASSUME_ATFCTS): Likewise.
3026 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3027 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3028 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3029 (__ASSUME_UTIMENSAT): Define unconditionally.
3030 (__ASSUME_PRIVATE_FUTEX): Likewise.
3031 (__ASSUME_FALLOCATE): Likewise.
3032 (__ASSUME_O_CLOEXEC): Likewise.
3033 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3034 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3035 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3036 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3037 (__ASSUME_IN_NONBLOCK): Likewise.
3038 (__ASSUME_PIPE2): Likewise.
3039 (__ASSUME_EVENTFD2): Likewise.
3040 (__ASSUME_SIGNALFD4): Likewise.
3041 (__ASSUME_DUP3): Likewise.
3042 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3043 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3044 (__ASSUME_AT_RANDOM): Likewise.
3045 (__ASSUME_PREADV): Likewise.
3046 (__ASSUME_PWRITEV): Likewise.
3047 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3048 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3049 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3050 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3051 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3052 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3053 (__ASSUME_O_CLOEXEC): Define unconditionally.
3054 (__ASSUME_PSELECT): Do not undefine conditionally.
3055 (__ASSUME_PPOLL): Likewise.
3056 (__ASSUME_ATFCTS): Likewise.
3057 (__ASSUME_SET_ROBUST_LIST): Likewise.
3058 (__ASSUME_UTIMENSAT): Likewise.
3059 (__ASSUME_FDATASYNC): Define unconditionally.
3060 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3061 (__ASSUME_SIGFRAME_V2): Likewise.
3062 )__ASSUME_EVENTFD2): Likewise.
3063 (__ASSUME_SIGNALFD4): Likewise.
3064 (__ASSUME_PSELECT): Do not undefine conditionally.
3065 (__ASSUME_PPOLL): Likewise.
3066 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3067 (__ASSUME_PSELECT): Define unconditionally.
3068 (__ASSUME_PPOLL): Likewise.
3069 (__ASSUME_O_CLOEXEC): Likewise.
3070 (__ASSUME_SOCK_CLOEXEC): Likewise.
3071 (__ASSUME_IN_NONBLOCK): Likewise.
3072 (__ASSUME_PIPE2): Likewise.
3073 (__ASSUME_EVENTFD2): Likewise.
3074 (__ASSUME_SIGNALFD4): Likewise.
3075 (__ASSUME_DUP3): Likewise.
3076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3077 (__ASSUME_O_CLOEXEC): Likewise.
3078 (__ASSUME_SOCK_CLOEXEC): Likewise.
3079 (__ASSUME_IN_NONBLOCK): Likewise.
3080 (__ASSUME_PIPE2): Likewise.
3081 (__ASSUME_EVENTFD2): Likewise.
3082 (__ASSUME_SIGNALFD4): Likewise.
3083 (__ASSUME_DUP3): Likewise.
3084 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3085 (__ASSUME_EVENTFD2): Likewise.
3086 (__ASSUME_SIGNALFD4): Likewise.
3087 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3089 2014-05-12 Andreas Schwab <schwab@suse.de>
3092 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3093 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3094 than maximum RPC packet size.
3095 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3096 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3097 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3098 (_nss_nis_getservbyport_r): Likewise.
3100 2014-05-12 Will Newton <will.newton@linaro.org>
3102 * malloc/Makefile (tests): Add tst-mallopt.
3103 * malloc/tst-mallopt.c: New file.
3105 2014-05-09 Roland McGrath <roland@hack.frob.com>
3107 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3108 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3110 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3112 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3113 (tst-tlsmod6.so): Likewise.
3115 2014-05-09 Roland McGrath <roland@hack.frob.com>
3117 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3119 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3122 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3123 and <dl-procinfo.h>.
3124 (__fegetenv): Save SSE state in envp->__eip if supported.
3125 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3126 envp->__eip if supported.
3127 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3128 and <dl-procinfo.h>.
3129 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3130 __data_offset and __data_selector in environment to 0. Set SSE
3132 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3134 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3136 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3138 2014-05-09 Will Newton <will.newton@linaro.org>
3140 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3141 and libc_relro_required for ARM.
3142 * sysdeps/arm/preconfigure: Regenerate.
3144 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3145 Stefan Liebler <stli@linux.vnet.ibm.com>
3147 * config.make.in (enable-lock-elision): New Makefile variable.
3148 * configure.ac: Likewise.
3149 * configure: Regenerate.
3150 * sysdeps/s390/configure.ac:
3151 Add check for gcc transactions support.
3152 * sysdeps/s390/configure: Regenerate.
3153 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3154 Build elision files if enabled.
3155 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3156 Add lock elision support for s390.
3157 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3158 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3159 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3160 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3161 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3162 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3163 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3165 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3167 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3169 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3171 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3172 (__lll_timedlock_elision, __lll_lock_elision)
3173 (__lll_unlock_elision, __lll_trylock_elision)
3174 (lll_timedlock_elision, lll_lock_elision)
3175 (lll_unlock_elision, lll_trylock_elision): Add.
3176 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3177 (pthread_mutex_t): Add lock elision support for s390.
3179 2014-05-14 Wilco <wdijkstr@arm.com>
3181 * sysdeps/arm/fclrexcpt.c: Cleanup.
3182 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3183 * sysdeps/arm/feenablxcpt.c: Cleanup.
3184 * sysdeps/arm/fegetenv.c: Cleanup.
3185 * sysdeps/arm/fegetexcept.c: Cleanup.
3186 * sysdeps/arm/fegetround.c: Cleanup.
3187 * sysdeps/arm/feholdexcpt.c: Cleanup.
3188 * sysdeps/arm/fesetenv.c: Cleanup.
3189 * sysdeps/arm/fesetround.c: Cleanup.
3190 * sysdeps/arm/feupdateenv.c: Cleanup.
3191 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3192 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3193 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3194 * sysdeps/arm/ftestexcept.c: Cleanup.
3195 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3196 * sysdeps/arm/setfpucw.c: Cleanup.
3198 2014-05-09 Will Newton <will.newton@linaro.org>
3200 * sysdeps/arm/armv7/strcmp.S: New file.
3201 * NEWS: Mention addition of ARMv7 optimized strcmp.
3203 2014-05-08 Roland McGrath <roland@hack.frob.com>
3205 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3206 look for %.ac rather than %.in.
3208 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3209 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3210 * sysdeps/mach/hurd/configure: Regenerated.
3211 * sysdeps/unix/sysv/linux/configure: Regenerated.
3213 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3215 2014-05-07 Steve Ellcey <sellcey@mips.com>
3218 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3222 2014-05-07 Andreas Schwab <schwab@suse.de>
3224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3225 when skipping over non-matching result from nscd.
3227 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3230 * nptl/sockperf.c (client): Check socket return value.
3233 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3234 nscd security class.
3236 2014-05-06 Roland McGrath <roland@hack.frob.com>
3238 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3239 * sysdeps/arm/unwind.h: ... here.
3241 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3244 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3247 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3249 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3250 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3251 multiarch strncpy for PPC64.
3252 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3253 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3255 multiarch optimizations.
3256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3257 (__libc_ifunc_impl_list): Likewise.
3258 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3259 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3260 multiarch stpncpy for PPC64.
3261 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3262 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3264 2014-05-06 Andreas Schwab <schwab@suse.de>
3267 * gmon/mcount.c (_MCOUNT_DECL): Use
3268 atomic_compare_and_exchange_bool_acq instead of
3269 catomic_compare_and_exchange_bool_acq.
3271 2014-05-05 Roland McGrath <roland@hack.frob.com>
3273 * elf/Makefile (others, install-bin): Remove pldd.
3274 (pldd-modules): Variable removed.
3275 ($(objpfx)pldd): Target removed.
3276 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3277 (others, install-bin): Append pldd here.
3278 ($(objpfx)pldd): New target.
3280 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3281 to 0, so the first #if test emitted later doesn't see it undefined.
3282 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3283 * sysdeps/gnu/errlist.c: Regenerated.
3285 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3287 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3288 [libc_hidden_builtin_def]: Define to empty value.
3289 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3290 [libc_hidden_builtin_def]: Likewise.
3291 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3292 [libc_hidden_builtin_def]: Likewise.
3293 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3294 [libc_hidden_builtin_def]: Likewise.
3295 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3296 __redirect_memcpy and define ifunc as default hidden symbol.
3297 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3298 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3300 2014-05-04 Adam Conrad <adconrad@0c3.net>
3302 * locale/iso-4217.def: Reintroduce XDR currency.
3304 2014-05-04 Allan McRae <allan@archlinux.org>
3306 * po/eo.po: Update Esperanto translation from translation project.
3308 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3310 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3311 and FEATURE_INDEX_MAX to 1.
3312 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3314 2014-05-01 Steve Ellcey <sellcey@mips.com>
3316 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3317 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3318 * iconvdata/big5.c (ONE_DIRECTION): Define.
3319 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3320 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3321 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3322 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3323 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3324 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3325 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3326 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3327 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3328 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3329 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3330 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3331 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3332 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3333 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3334 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3335 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3336 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3337 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3338 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3339 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3340 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3341 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3342 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3343 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3344 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3345 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3346 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3347 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3348 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3349 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3350 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3351 * iconvdata/johab.c (ONE_DIRECTION): Define.
3352 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3353 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3354 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3355 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3356 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3357 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3358 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3359 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3360 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3361 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3363 2014-05-01 Roland McGrath <roland@hack.frob.com>
3365 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3366 (_IO_JUMPS_OFFSET): Define to 0.
3368 * nptl/sysdeps/pthread/bits/libc-lock.h
3369 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3370 (__libc_lock_define_initialized_recursive): Always define using
3371 initializer. Modern compilers treat uninitialized (implicit zero) and
3372 explicit zero initializers the same (i.e. put the datum in bss).
3374 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3376 * nscd/nscd-client.h: Include <string.h>.
3378 2014-05-01 David S. Miller <davem@davemloft.net>
3381 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3382 multiple zero bytes exist at the end of a string.
3383 Reported by Aurelien Jarno <aurelien@aurel32.net>
3385 * string/test-strcmp.c (check): Add explicit test for situations where
3386 there are multiple zero bytes after the first.
3388 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3391 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3392 when compiling wprintf.
3393 * stdio-common/tstdiomisc.c (t3): New function.
3396 2014-05-01 Steve Ellcey <sellcey@mips.com>
3398 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3399 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3400 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3401 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3403 2014-05-01 Steve Ellcey <sellcey@mips.com>
3405 * stdlib/longlong.h: Updated from GCC.
3407 2014-05-01 Will Newton <will.newton@linaro.org>
3408 Bernard Ogden <bernie.ogden@linaro.org>
3410 * NEWS: Update fixed bug list.
3413 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3415 2014-04-30 David S. Miller <davem@davemloft.net>
3417 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3418 (libc_feholdexcept_setround_sparc_ctx): New function.
3419 (libc_fesetenv_sparc_ctx): Likewise.
3420 (libc_feupdateenv_sparc_ctx): Likewise.
3421 (libc_feholdsetround_sparc_ctx): Likewise.
3422 (libc_feholdexcept_setround_ctx): Define.
3423 (libc_feholdexcept_setroundf_ctx): Likewise.
3424 (libc_feholdexcept_setroundl_ctx): Likewise.
3425 (libc_fesetenv_ctx): Likewise.
3426 (libc_fesetenvf_ctx): Likewise.
3427 (libc_fesetenvl_ctx): Likewise.
3428 (libc_feupdateenv_ctx): Likewise.
3429 (libc_feupdateenvf_ctx): Likewise.
3430 (libc_feupdateenvl_ctx): Likewise.
3431 (libc_feresetround_ctx): Likewise.
3432 (libc_feresetroundf_ctx): Likewise.
3433 (libc_feresetroundl_ctx): Likewise.
3434 (libc_feholdsetround_ctx): Likewise.
3435 (libc_feholdsetroundf_ctx): Likewise.
3436 (libc_feholdsetroundl_ctx): Likewise.
3438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3439 with __USE_GNU instead of XOPEN cpp guards.
3441 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3444 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3445 with XOPEN cpp guards.
3447 2014-04-30 Julian Brown <julian@codesourcery.com>
3450 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3453 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3456 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3458 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3459 * sysdeps/unix/sysv/linux/configure: Regenerated.
3460 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3461 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3462 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3463 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3464 * README: Update reference to required Linux kernel version.
3465 * manual/install.texi (Linux): Update reference to required Linux
3466 kernel headers version.
3467 * INSTALL: Regenerated.
3469 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3471 [POSIX] (limits.h): Likewise.
3472 [POSIX] (math.h): Likewise.
3473 [POSIX] (sys/wait.h): Likewise.
3474 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3476 [POSIX] (stddef.h): Do not allow header inclusion.
3478 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3482 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3484 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3485 Return immediately after lll_futex_wake.
3487 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3490 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3492 (datahead_init_pos): Call datahead_init_common early.
3493 (datahead_init_neg): Likewise.
3495 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3496 datahead_init_neg): New functions.
3497 * nscd/aicache.c (addhstaiX): Use them.
3498 * nscd/grpcache.c (cache_addgr): Likewise.
3499 * nscd/hstcache.c (cache_addhst): Likewise.
3500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3501 * nscd/netgroupcache.c (do_notfound): Likewise.
3502 (addgetnetgrentX): Likewise.
3503 (addinnetgrX): Likewise.
3504 * nscd/pwdcache.c (cache_addpw): Likewise.
3505 * nscd/servicescache.c (cache_addserv): Likewise.
3507 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3508 Atsushi Onoe <atsushi@onoe.org>
3513 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3514 one response is valid.
3515 * resolv/res_send.c (send_dg): Check for validity of other
3516 response if the current response is a referral.
3518 2014-04-29 Steve Ellcey <sellcey@mips.com>
3520 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3522 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3525 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3526 Always divide by positive zero when computing -Inf result.
3527 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3528 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3530 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3533 FPSCR if value do not change.
3534 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3535 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3536 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3537 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3538 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3539 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3542 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3544 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3545 * sysdeps/unix/sysv/linux/hppa: Move directory from
3546 ports/systeps/unix/sysv/linux/hppa.
3547 * README: Update listing for hppa-*-linux-gnu.
3549 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3552 * manual/stdio.texi (Hook functions): Fix types of stream hook
3555 * socket/sys/socket.h: Fix typo in comment.
3557 2014-04-28 Wilco <wdijkstr@arm.com>
3559 * sysdeps/arm/fenv_private.h: New file.
3560 * sysdeps/arm/math_private.h: New file.
3561 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3563 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3565 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3567 (La_x86_64_retval): Likewise.
3569 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3571 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3572 fpsr if value didn't change.
3573 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3574 to fpcr if value didn't change.
3575 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3576 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3577 fpsr or fpcr if value didn't change.
3578 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3579 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3580 fpcr if value didn't change.
3581 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3582 to fpsr if value didn't change.
3584 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3586 * nptl/tst-sem3.c: Use test-skeleton.c
3587 (main): Rename to do_test. Use return instead of
3589 * nptl/tst-sem4.c: Use test-skeleton.c
3590 (main): Rename to do_test.
3592 2014-04-22 David S. Miller <davem@davemloft.net>
3594 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3595 (struct sigaction): New struct member __glibc_reserved0, change
3596 type of sa_flags to int.
3598 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3600 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3601 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3603 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3605 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3606 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3608 2014-04-22 Will Newton <will.newton@linaro.org>
3609 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3611 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3612 (__longjmp): Add longjmp and longjmp_target SystemTap
3614 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3615 (__sigsetjmp): Add setjmp SystemTap probe.
3617 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3619 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3622 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3626 * sysdeps/powerpc/fpu/fenv_private.h
3627 (libc_feholdexcept_setroundl_ctx): Define to
3628 libc_feholdexcept_setround_ppc_ctx.
3629 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3630 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3631 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3632 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3634 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3636 * sysdeps/aarch64/math-tests.h: New file.
3638 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3640 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3643 Check and set bit_AVX2_Usable.
3644 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3646 (bit_AVX2): Likewise.
3647 (index_AVX2_Usable): Likewise.
3648 (CPUID_AVX2): Likewise.
3649 (HAS_AVX2): Likewise.
3651 2014-04-17 Will Newton <will.newton@linaro.org>
3653 * manual/setjmp.texi (System V contexts): Add note that
3654 calling setcontext on a context created by a call to a
3655 signal handler is undefined. Update text to note that
3656 setcontext from a signal handler is possible but not
3660 * stdlib/tst-setcontext.c: Include signal.h.
3661 (main): Check that the signal stack before and
3662 after swapcontext is the same.
3664 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3665 Re-implement to restore registers in user code and avoid
3666 rt_sigreturn system call.
3668 2014-04-17 Wilco <wdijkstr@arm.com>
3670 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3671 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3672 * math/test-fenv.c: Skip exception trap tests on targets which only
3673 support non-stop mode.
3675 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3676 Wilco Dijkstra <wilco.dijkstra@arm.com>
3678 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3679 (libc_feholdsetround_aarch64_ctx)
3680 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3681 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3682 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3683 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3684 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3685 (libc_feresetround_noexl_ctx): Define.
3687 2014-04-16 Richard Henderson <rth@redhat.com>
3689 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3691 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3694 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3695 const from the non-libc, non-ldso copy.
3697 * sysdeps/alpha/libm-test-ulps: Regenerate.
3699 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3700 Wilco Dijkstra <wilco.dijkstra@arm.com>
3702 * sysdeps/aarch64/fpu/math_private.h: New file.
3704 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3706 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3708 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3710 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3711 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3713 Intel MPX bound registers before _dl_profile_fixup.
3714 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3715 registers after _dl_profile_fixup. Save and restore bound
3716 registers bnd0/bnd1 when calling _dl_call_pltexit.
3717 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3718 (LR_BND_OFFSET): Likewise.
3719 (LRV_BND0_OFFSET): Likewise.
3720 (LRV_BND1_OFFSET): Likewise.
3722 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3724 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3726 * sysdeps/mach/hurd/i386/tls.h: ... here.
3727 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3728 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3731 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3733 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3735 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3737 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3739 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3742 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3743 * sysdeps/s390/configure: Regenerate.
3746 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3747 Set round-to-nearest internally to reduce error accumulation.
3749 2014-04-16 Alan Modra <amodra@gmail.com>
3753 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3754 * math/libm-test.inc (frexp_test_data): Add tests.
3755 * NEWS: Update fixed bug list.
3757 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3759 * benchtests/Makefile: Depend on libraries in build directory.
3760 (bench-math): Separate out math tests.
3761 (bench-pthread): Separate out pthread tests.
3762 (bench): Include math and pthread tests.
3764 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3767 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3768 _dl_debug_initialize.
3770 * configure.ac: Remove SELinux header check.
3771 * configure: Regenerate.
3772 * nscd/selinux.c (perms): Array of const char* to permission names.
3773 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3774 default policy. Call string_to_security_class and string_to_av_perm to
3775 translate strings. Enforce default policy and call avs_has_perm with
3776 results of translated strings.
3778 2014-04-13 David S. Miller <davem@davemloft.net>
3780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782 2014-04-12 Allan McRae <allan@archlinux.org>
3785 * manual/string.texi (Collation Functions): Fix qsort argument
3787 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3789 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3791 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3792 Make the test a no-op if there are no exceptions defined.
3794 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3796 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3797 enable-hardcoded-path-in-tests
3799 2014-04-11 Will Newton <will.newton@linaro.org>
3801 * benchtests/Makefile (extra-objs): Add json-lib.o.
3802 (bench-func): Tidy up JSON output.
3803 * benchtests/bench-skeleton.c: Include json-lib.h.
3804 (main): Use JSON library functions to do output of
3806 * benchtests/bench-timing-type.c (main): Output the
3807 timing type simply, leaving formatting to the user.
3808 * benchtests/json-lib.c: New file.
3809 * benchtests/json-lib.h: Likewise.
3811 2014-04-11 Torvald Riegel <triegel@redhat.com>
3814 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3815 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3816 memory barriers. Add comments.
3817 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3818 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3819 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3820 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3821 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3822 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3824 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3826 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3827 * sysdeps/s390/s390-64/configure.ac: ... this ...
3828 * sysdeps/s390/configure.ac: ... to here.
3829 * sysdeps/s390/s390-32/configure: Delete file.
3830 * sysdeps/s390/s390-64/configure: Delete file.
3831 * sysdeps/s390/configure: Regenerate.
3833 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3835 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3837 2014-04-11 Will Newton <will.newton@linaro.org>
3839 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3840 to zero if it is not defined elsewhere. (mtrim): Test
3841 the value of MALLOC_DEBUG with #if rather than #ifdef.
3843 2014-04-10 Torvald Riegel <triegel@redhat.com>
3845 * benchtests/pthread_once-inputs: New file.
3846 * benchtests/pthread_once-source.c: New file.
3847 * benchtests/README: Update documentation.
3849 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3850 H.J. Lu <hongjiu.lu@intel.com>
3852 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3853 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3854 * sysdeps/x86_64/configure: Regenerated.
3855 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3857 (REGISTER_SAVE_RAX): Likewise.
3858 (REGISTER_SAVE_RCX): Likewise.
3859 (REGISTER_SAVE_RDX): Likewise.
3860 (REGISTER_SAVE_RSI): Likewise.
3861 (REGISTER_SAVE_RDI): Likewise.
3862 (REGISTER_SAVE_R8): Likewise.
3863 (REGISTER_SAVE_R9): Likewise.
3864 (REGISTER_SAVE_BND0): Likewise.
3865 (REGISTER_SAVE_BND1): Likewise.
3866 (REGISTER_SAVE_BND2): Likewise.
3867 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3868 bound registers when calling _dl_fixup.
3870 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3872 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3873 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3875 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3876 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3877 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3878 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3879 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3880 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3881 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3883 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3886 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3887 pathconf(_PC_NAME_MAX).
3889 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3891 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3893 (__PTHREAD_SPINS): Move definition to ...
3894 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3895 (__PTHREAD_SPINS): ... here.
3896 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3897 (__PTHREAD_SPIN): Likewise.
3898 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3899 (__PTHREAD_SPIN): Likewise.
3900 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3901 (__PTHREAD_SPIN): Likewise.
3902 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3903 (__PTHREAD_SPIN): Likewise.
3904 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3905 (__PTHREAD_SPIN): Likewise.
3906 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3907 (__PTHREAD_SPIN): Likewise.
3908 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3909 (__PTHREAD_SPIN): Likewise.
3910 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3911 (__PTHREAD_SPIN): Likewise.
3912 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3913 (__PTHREAD_SPIN): Likewise.
3914 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3915 (__PTHREAD_SPIN): Likewise.
3916 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3917 (__PTHREAD_SPIN): Likewise.
3918 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3919 (__PTHREAD_SPIN): Likewise.
3921 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3922 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3923 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3924 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3926 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3927 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3928 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3929 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3931 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3932 strlen symbol for non multi-arch builds.
3933 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3934 missing hidden_def and weak_alias.
3936 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3938 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3940 2014-04-07 Will Newton <will.newton@linaro.org>
3942 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3943 and contents. [!_LIBC] Remove #ifndef and contents.
3944 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3945 * string/memccpy.c (__memccpy): Use ANSI prototype.
3946 * string/memfrob.c (memfrob): Likewise.
3947 * string/strcoll.c (STRCOLL): Likewise.
3948 * string/strlen.c (strlen): Likewise.
3949 * string/strtok.c (STRTOK): Likewise.
3950 * string/strcat.c: Remove unused #include of memcopy.h.
3951 (strcat): Use ANSI prototype.
3952 * string/strchr.c: Remove unused #include of memcopy.h.
3953 (strchr): Use ANSI prototype.
3954 * string/strcmp.c: Remove unused #include of memcopy.h.
3955 (strcmp): Use ANSI prototype.
3956 * string/strcpy.c: Remove unused #include of memcopy.h.
3957 (strcpy): Use ANSI prototype.
3959 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3961 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3962 * config.make.in (config-extra-cppflags): Set it from
3963 libc_extra_cppflags.
3964 * configure.ac (libc_extra_cflags): Make it accumulate over
3965 configure fragments.
3966 (libc_extra_cppflags): New flag.
3967 * configure. Regenerate.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3969 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3970 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3974 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3975 result for FE_DOWNWARD rounding mode.
3976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3980 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3982 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3983 in function argument name.
3985 2014-04-03 David Svoboda <svoboda@cert.org>
3988 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3991 2014-04-03 Roland McGrath <roland@hack.frob.com>
3993 * elf/dl-unmap-segments.h: New file.
3994 * sysdeps/generic/ldsodefs.h
3995 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3996 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3997 * elf/dl-fptr.c: Likewise.
3998 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3999 * sysdeps/aarch64/tlsdesc.c: Likewise.
4000 * sysdeps/arm/tlsdesc.c: Likewise.
4001 * sysdeps/i386/tlsdesc.c: Likewise.
4002 * sysdeps/tile/dl-runtime.c: Likewise.
4003 * sysdeps/x86_64/tlsdesc.c: Likewise.
4004 * elf/dl-load.h: New file.
4005 * elf/dl-load.c: Include it.
4006 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4007 Macros moved to dl-load.h.
4008 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4009 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4010 Use _dl_unmap_segments in place of __munmap.
4011 Break out segment-mapping loop into ...
4012 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4014 2014-04-03 Will Newton <will.newton@linaro.org>
4016 * elf/dl-lookup.c (do_lookup_x): Remove comment
4017 referring to nested function and move variable
4018 declarations down to before first use.
4020 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4024 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4026 * math/s_catanf.c (__catanf): Likewise.
4027 * math/s_catanh.c (__catanh): Likewise.
4028 * math/s_catanhf.c (__catanhf): Likewise.
4029 * math/s_catanhl.c (__catanhl): Likewise.
4030 * math/s_catanl.c (__catanl): Likewise.
4031 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4032 by positive zero when computing -Inf result.
4033 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4034 (catanh_test): Likewise.
4035 * sysdeps/i386/fpu/libm-test-ulps: Update.
4036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4039 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4040 instead of using underflowing value in computing result.
4041 * math/s_clog10.c (__clog10): Likewise.
4042 * math/s_clog10f.c (__clog10f): Likewise.
4043 * math/s_clog10l.c (__clog10l): Likewise.
4044 * math/s_clogf.c (__clogf): Likewise.
4045 * math/s_clogl.c (__clogl): Likewise.
4046 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4047 (clog10_test): Likewise.
4048 * sysdeps/i386/fpu/libm-test-ulps: Update.
4049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4051 2014-04-02 Alan Modra <amodra@gmail.com>
4054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4055 output when value is near a power of two. Use int64_t for lx and
4056 remove casts. Use decimal rather than hex exponent constants.
4057 Don't use long double multiplication when double will suffice.
4058 * math/libm-test.inc (nextafter_test_data): Add tests.
4059 * NEWS: Add 16739 and 16786 to bug list.
4061 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4063 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4065 2014-04-01 Will Newton <will.newton@linaro.org>
4067 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4068 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4070 2014-04-01 Florian Weimer <fweimer@redhat.com>
4073 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4074 * nptl/tst-setuid2.c: New file.
4075 * nptl/Makefile (xtests): Add tst-setuid2.
4077 2014-04-01 Alan Modra <amodra@gmail.com>
4080 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4082 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4086 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4087 set errno as appropriate.
4088 * math/w_scalbf.c (__scalbf): Likewise.
4089 * math/w_scalbl.c (__scalbl): Likewise.
4090 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4091 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4092 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4096 * math/w_atan2.c: Include <errno.h>.
4097 (__atan2): Set errno for result underflowing to zero.
4098 * math/w_atan2f.c: Include <errno.h>.
4099 (__atan2f): Set errno for result underflowing to zero.
4100 * math/w_atan2l.c: Include <errno.h>.
4101 (__atan2l): Set errno for result underflowing to zero.
4102 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4104 * math/auto-libm-test-out: Regenerated.
4106 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4108 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4109 Encode instruction correctly in little endian.
4110 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4112 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4114 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4116 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4119 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4122 * sysdeps/unix/sysv/linux/kernel-features.h
4123 [__sparc__ && !__arch64__ && !__sparc_v9__]
4124 (__ASSUME_SET_ROBUST_LIST): Do not define.
4125 [__sparc__ && !__arch64__ && !__sparc_v9__]
4126 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4127 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4129 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4130 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4131 (__ASSUME_REQUEUE_PI): Likewise.
4132 (__ASSUME_SET_ROBUST_LIST): Likewise.
4133 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4134 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4136 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4137 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4139 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4141 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4143 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4144 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4146 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4147 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4151 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4152 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4153 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4155 2014-03-31 Will Newton <will.newton@linaro.org>
4157 * benchtests/Makefile (bench): Add ffs and ffsll to list
4159 * benchtests/ffs-inputs: New file.
4160 * benchtests/ffsll-inputs: Likewise.
4162 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4165 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4166 too large before casting to int.
4167 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4168 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4169 * math/libm-test.inc (scalb_test_data): Add more tests.
4171 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4173 * benchtests/Makefile (DETAILED_OPT): New make option.
4174 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4176 * benchtests/bench-skeleton.c: Include stdbool.h.
4177 (main): Store and print timings per input.
4178 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4179 member to each argument value.
4180 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4181 (_print_arg_data): Initialize per-input timing to 0.
4183 * benchtests/Makefile (timing-type): New binary.
4184 (bench-clean): Also remove bench-timing-type.
4185 (bench): New target for timing-type.
4186 (bench-func): Print output in JSON format.
4187 * benchtests/bench-skeleton.c (main): Print output in JSON
4189 * benchtests/bench-timing-type.c: New file.
4190 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4191 (TIMING_PRINT_STATS): Remove.
4192 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4195 * benchtests/bench-modf.c: Remove.
4196 * benchtests/modf-inputs: New inputs file.
4198 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4201 * math/s_clog10.c (M_PI_LOG10E): New macro.
4202 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4203 imaginary parts are 0.
4204 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4205 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4206 imaginary parts are 0.
4207 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4208 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4209 imaginary parts are 0.
4210 * math/libm-test.inc (clog10_test_data): Update expected results
4211 for when real and imaginary parts are 0.
4213 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4215 * elf/dl-load.c: Finish conversion of __builtin_expect into
4218 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4222 1+x for argument with exponent below -67.
4223 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4225 * math/auto-libm-test-in: Add more tests of exp.
4226 * math/auto-libm-test-out: Regenerated.
4228 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4231 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4232 (nscd_getnetgrent): Use it.
4235 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4238 2014-03-27 Andi Kleen <ak@linux.intel.com>
4240 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4241 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4242 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4243 (lll_robust_unlock): Remove out of line section. Use cfi
4245 (LLL_STUB_UNWIND_INFO*): Remove.
4246 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4247 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4248 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4249 (lll_robust_unlock): Remove out of line section. Use cfi
4251 (LLL_STUB_UNWIND_INFO*): Remove.
4253 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4256 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4259 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4261 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4263 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4266 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4268 * math/test-fenv-preserve.c: New file.
4269 * math/Makefile (tests): Add test-fenv-preserve.
4271 2014-03-26 Will Newton <will.newton@linaro.org>
4273 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4275 2014-03-25 Roland McGrath <roland@hack.frob.com>
4277 * scripts/versionlist.awk: Partition the version sets and emit all
4278 GLIBC_* (sorted) before all others (sorted).
4280 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4282 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4283 GLIBC_2.2.5 version.
4285 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4287 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4290 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4295 2014-03-25 Andreas Schwab <schwab@suse.de>
4297 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4298 label to be used after in6ailist is initialized.
4300 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4302 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4303 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4305 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4309 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4311 (fp_formats): Update initializers.
4312 (init_fp_formats): Initialize new field.
4313 (output_for_one_input_case): Allow underflow for results up to
4315 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4316 * math/auto-libm-test-in: Don't mark some underflows from asin and
4318 * math/auto-libm-test-out: Regenerated.
4319 * sysdeps/i386/fpu/libm-test-ulps: Update.
4320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4322 2014-03-25 Andreas Schwab <schwab@suse.de>
4324 * libio/Makefile (tst-ftell-partial-wide-ENV)
4325 (tst-ftell-active-handler-ENV): Define.
4327 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4329 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4331 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4333 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4335 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4337 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4338 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4339 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4341 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4344 * elf/dl-load.c (open_verify): Add mode parameter.
4345 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4346 (open_path): Change from boolean 'secure' to complete flag 'mode'
4347 (_dl_map_object): Adjust.
4348 * elf/Makefile (tests): Add tst-dlopen-aout.
4349 * elf/tst-dlopen-aout.c: New test.
4351 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4354 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4355 (struct stat): Rename member pad0 to __glibc_reserved0.
4358 * sysdeps/s390/s390-32/bits/wordsize.h
4359 (__WORDSIZE32_SIZE_ULONG): New define.
4360 * sysdeps/s390/s390-64/bits/wordsize.h
4361 (__WORDSIZE32_SIZE_ULONG): Likewise.
4362 * sysdeps/generic/stdint.h (SIZE_MAX):
4363 Define as UL if __WORDSIZE32_SIZE_ULONG.
4366 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4367 (__glibc_reserved0): New variable.
4368 (sa_flags): Change type to int.
4370 * posix/Makefile (before-compile): Use += before-compile instead
4373 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4374 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4376 2014-03-20 Andreas Schwab <schwab@suse.de>
4379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4380 non-matching result from nscd.
4382 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4384 * scripts/bench.py: Moved to ...
4385 * benchtests/scripts/bench.py: ... here.
4386 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4388 2014-03-24 Andreas Schwab <schwab@suse.de>
4391 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4392 alloca_account and account alloca use for struct in6ailist.
4394 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4397 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4398 rounding mode to recompute results that overflow to infinity or
4400 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4402 * math/auto-libm-test-out: Regenerated.
4403 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4404 (ccosh_test): Likewise.
4405 (csin_test_data): Use plus_oflow.
4406 (csin_test): Use ALL_RM_TEST.
4407 (csinh_test_data): Use plus_oflow.
4408 (csinh_test): Use ALL_RM_TEST.
4409 * sysdeps/i386/fpu/libm-test-ulps: Update.
4410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4412 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4414 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4415 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4416 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4419 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4421 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4422 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4423 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4426 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4427 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4429 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4430 * sysdeps/i386/fpu/libm-test-ulps: Update.
4431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4433 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4435 * scripts/bench.pl: Remove file.
4436 * scripts/bench.py: New benchmark script.
4437 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4438 * benchtests/README: Mention python dependency.
4439 * scripts/pylintrc: New file.
4440 * scripts/pylint: New file.
4442 * bits/mathdef.h: Use #ifdef instead of #if.
4443 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4444 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4445 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4446 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4447 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4448 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4450 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4451 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4453 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4455 and strpbrk-ppc64 objects.
4456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4457 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4458 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4459 multiarch strpbrk for POWER7.
4460 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4461 multiarch strpbrk for PPC64.
4462 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4464 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4467 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4469 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4470 (atan_test): Likewise.
4471 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4472 (atanh_test): Use ALL_RM_TEST.
4473 (atan2_test_data): Likewise.
4474 (cabs_test): Likewise.
4475 (cacosh_test): Likewise.
4476 (carg_test): Likewise.
4477 (casin_test): Likewise.
4478 (casinh_test): Likewise.
4479 (cbrt_test): Likewise.
4480 (csqrt_test): Likewise.
4481 (erf_test): Likewise.
4482 (erfc_test): Likewise.
4483 (pow10_test): Likewise.
4484 (exp2_test): Likewise.
4485 (hypot_test): Likewise.
4486 (j0_test): Likewise.
4487 (j1_test): Likewise.
4488 (lgamma_test): Likewise.
4489 (gamma_test): Likewise.
4490 (sincos_test): Likewise.
4491 (tanh_test): Likewise.
4492 (y0_test): Likewise.
4493 (y1_test): Likewise.
4494 * sysdeps/i386/fpu/libm-test-ulps: Update.
4495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4497 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4499 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4501 and strcspn-ppc64 objects.
4502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4503 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4504 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4505 multiarch strcspn for POWER7.
4506 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4507 multiarch strcspn for PPC64.
4508 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4510 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4513 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4515 * math/gen-libm-test.pl (generate_testfile): Expect only function
4516 name as argument to AUTO_TESTS_* and pass results for all rounding
4517 modes to parse_args.
4518 (parse_auto_input): Separate inputs of automatic tests from
4519 outputs before storing in %auto_tests.
4520 * math/libm-test.inc (acos_test_data): Update call to
4522 (acos_test): Use ALL_RM_TEST.
4523 (acos_tonearest_test_data): Remove.
4524 (acos_test_tonearest): Likewise.
4525 (acos_towardzero_test_data): Likewise.
4526 (acos_test_towardzero): Likewise.
4527 (acos_downward_test_data): Likewise.
4528 (acos_test_downward): Likewise.
4529 (acos_upward_test_data): Likewise.
4530 (acos_test_upward): Likewise.
4531 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4532 (asin_test_data): Likewise.
4533 (asin_test): Use ALL_RM_TEST.
4534 (asin_tonearest_test_data): Remove.
4535 (asin_test_tonearest): Likewise.
4536 (asin_towardzero_test_data): Likewise.
4537 (asin_test_towardzero): Likewise.
4538 (asin_downward_test_data): Likewise.
4539 (asin_test_downward): Likewise.
4540 (asin_upward_test_data): Likewise.
4541 (asin_test_upward): Likewise.
4542 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4543 (atan_test_data): Likewise.
4544 (atanh_test_data): Likewise.
4545 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4546 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4547 (carg_test_data): Likewise.
4548 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4549 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4550 (ccosh_test_data): Likewise.
4551 (cexp_test_data): Likewise.
4552 (clog_test_data): Likewise.
4553 (clog10_test_data): Likewise.
4554 (cos_test_data): Update call to AUTO_TESTS_f_f.
4555 (cos_test): Use ALL_RM_TEST.
4556 (cos_tonearest_test_data): Remove.
4557 (cos_test_tonearest): Likewise.
4558 (cos_towardzero_test_data): Likewise.
4559 (cos_test_towardzero): Likewise.
4560 (cos_downward_test_data): Likewise.
4561 (cos_test_downward): Likewise.
4562 (cos_upward_test_data): Likewise.
4563 (cos_test_upward): Likewise.
4564 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4565 (cosh_test): Use ALL_RM_TEST.
4566 (cosh_tonearest_test_data): Remove.
4567 (cosh_test_tonearest): Likewise.
4568 (cosh_towardzero_test_data): Likewise.
4569 (cosh_test_towardzero): Likewise.
4570 (cosh_downward_test_data): Likewise.
4571 (cosh_test_downward): Likewise.
4572 (cosh_upward_test_data): Likewise.
4573 (cosh_test_upward): Likewise.
4574 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4575 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4576 (ctan_test_data): Likewise.
4577 (ctan_test): Use ALL_RM_TEST.
4578 (ctan_tonearest_test_data): Remove.
4579 (ctan_test_tonearest): Likewise.
4580 (ctan_towardzero_test_data): Likewise.
4581 (ctan_test_towardzero): Likewise.
4582 (ctan_downward_test_data): Likewise.
4583 (ctan_test_downward): Likewise.
4584 (ctan_upward_test_data): Likewise.
4585 (ctan_test_upward): Likewise.
4586 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4587 (ctanh_test): Use ALL_RM_TEST.
4588 (ctanh_tonearest_test_data): Remove.
4589 (ctanh_test_tonearest): Likewise.
4590 (ctanh_towardzero_test_data): Likewise.
4591 (ctanh_test_towardzero): Likewise.
4592 (ctanh_downward_test_data): Likewise.
4593 (ctanh_test_downward): Likewise.
4594 (ctanh_upward_test_data): Likewise.
4595 (ctanh_test_upward): Likewise.
4596 (erf_test_data): Update call to AUTO_TESTS_f_f.
4597 (erfc_test_data): Likewise.
4598 (exp_test_data): Likewise.
4599 (exp_test): Use ALL_RM_TEST.
4600 (exp_tonearest_test_data): Remove.
4601 (exp_test_tonearest): Likewise.
4602 (exp_towardzero_test_data): Likewise.
4603 (exp_test_towardzero): Likewise.
4604 (exp_downward_test_data): Likewise.
4605 (exp_test_downward): Likewise.
4606 (exp_upward_test_data): Likewise.
4607 (exp_test_upward): Likewise.
4608 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4609 (exp10_test): Use ALL_RM_TEST.
4610 (exp10_tonearest_test_data): Remove.
4611 (exp10_test_tonearest): Likewise.
4612 (exp10_towardzero_test_data): Likewise.
4613 (exp10_test_towardzero): Likewise.
4614 (exp10_downward_test_data): Likewise.
4615 (exp10_test_downward): Likewise.
4616 (exp10_upward_test_data): Likewise.
4617 (exp10_test_upward): Likewise.
4618 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4619 (expm1_test_data): Likewise.
4620 (expm1_test): Use ALL_RM_TEST.
4621 (expm1_tonearest_test_data): Remove.
4622 (expm1_test_tonearest): Likewise.
4623 (expm1_towardzero_test_data): Likewise.
4624 (expm1_test_towardzero): Likewise.
4625 (expm1_downward_test_data): Likewise.
4626 (expm1_test_downward): Likewise.
4627 (expm1_upward_test_data): Likewise.
4628 (expm1_test_upward): Likewise.
4629 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4630 (fma_test): Use ALL_RM_TEST.
4631 (fma_towardzero_test_data): Remove.
4632 (fma_test_towardzero): Likewise.
4633 (fma_downward_test_data): Likewise.
4634 (fma_test_downward): Likewise.
4635 (fma_upward_test_data): Likewise.
4636 (fma_test_upward): Likewise.
4637 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4638 (j0_test_data): Update call to AUTO_TESTS_f_f.
4639 (j1_test_data): Likewise.
4640 (jn_test_data): Update call to AUTO_TESTS_if_f.
4641 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4642 (log_test_data): Update call to AUTO_TESTS_f_f.
4643 (log10_test_data): Likewise.
4644 (log1p_test_data): Likewise.
4645 (log2_test_data): Likewise.
4646 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4647 (pow_tonearest_test_data): Likewise.
4648 (sin_test_data): Update call to AUTO_TESTS_f_f.
4649 (sin_test): Use ALL_RM_TEST.
4650 (sin_tonearest_test_data): Remove.
4651 (sin_test_tonearest): Likewise.
4652 (sin_towardzero_test_data): Likewise.
4653 (sin_test_towardzero): Likewise.
4654 (sin_downward_test_data): Likewise.
4655 (sin_test_downward): Likewise.
4656 (sin_upward_test_data): Likewise.
4657 (sin_test_upward): Likewise.
4658 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4659 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4660 (sinh_test): Use ALL_RM_TEST.
4661 (sinh_tonearest_test_data): Remove.
4662 (sinh_test_tonearest): Likewise.
4663 (sinh_towardzero_test_data): Likewise.
4664 (sinh_test_towardzero): Likewise.
4665 (sinh_downward_test_data): Likewise.
4666 (sinh_test_downward): Likewise.
4667 (sinh_upward_test_data): Likewise.
4668 (sinh_test_upward): Likewise.
4669 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4670 (sqrt_test): Use ALL_RM_TEST.
4671 (sqrt_tonearest_test_data): Remove.
4672 (sqrt_test_tonearest): Likewise.
4673 (sqrt_towardzero_test_data): Likewise.
4674 (sqrt_test_towardzero): Likewise.
4675 (sqrt_downward_test_data): Likewise.
4676 (sqrt_test_downward): Likewise.
4677 (sqrt_upward_test_data): Likewise.
4678 (sqrt_test_upward): Likewise.
4679 (tan_test_data): Update call to AUTO_TESTS_f_f.
4680 (tan_test): Use ALL_RM_TEST.
4681 (tan_tonearest_test_data): Remove.
4682 (tan_test_tonearest): Likewise.
4683 (tan_towardzero_test_data): Likewise.
4684 (tan_test_towardzero): Likewise.
4685 (tan_downward_test_data): Likewise.
4686 (tan_test_downward): Likewise.
4687 (tan_upward_test_data): Likewise.
4688 (tan_test_upward): Likewise.
4689 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4690 (tgamma_test_data): Likewise.
4691 (y0_test_data): Likewise.
4692 (y1_test_data): Likewise.
4693 (yn_test_data): Update call to AUTO_TESTS_if_f.
4694 (main): Do not call removed functions.
4696 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4698 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4699 (ldexp_test_data): Remove.
4700 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4702 (scalb_test): Use ALL_RM_TEST.
4704 2014-03-19 Andreas Schwab <schwab@suse.de>
4706 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4708 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4712 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4713 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4715 (__ASSUME_PREADV): Undefine.
4716 (__ASSUME_PWRITEV): Likewise.
4718 2014-03-18 Roland McGrath <roland@hack.frob.com>
4720 * bits/mman-linux.h: Add comment about non-Linux use.
4721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4722 bits/mman-linux.h resting place.
4724 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4725 * bits/mman-linux.h: ... here.
4727 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4729 * conform/conformtest.pl: Add standard definition when calling C
4730 preprocessor on data files.
4731 (checknamespace): Remove unused variable.
4733 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4735 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4736 minus_oflow, plus_uflow and minus_uflow in expected results.
4737 * math/libm-test.inc (scalbn_test_data): Add more tests of
4738 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4740 (scalbn_test): Use ALL_RM_TEST.
4741 (scalbln_test_data): Add more tests of negative arguments. Use
4742 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4743 (scalbln_test): Use ALL_RM_TEST.
4745 2014-03-18 Roland McGrath <roland@hack.frob.com>
4747 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4749 2014-03-18 Will Newton <will.newton@linaro.org>
4751 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4754 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4756 * Makerules [!subdir] (check-abi): Exit with error status if a
4759 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4761 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4762 for rint. Include results for all rounding modes.
4763 (nearbyint_test): Use ALL_RM_TEST.
4764 (rint_test_data): Include all tests used for nearbyint.
4766 2014-03-17 Will Newton <will.newton@linaro.org>
4768 * nptl/sysdeps/pthread/pthread.h: Revert previous
4771 * sysdeps/generic/ldsodefs.h: Revert previous
4774 * libio/genops.c: Revert previous change.
4775 * libio/libioP.h: Likewise.
4776 * stdio-common/vfprintf.c: Likewise.
4778 * sysdeps/generic/math_private.h: Revert previous
4781 * sysdeps/generic/math_private.h: Check whether
4782 HAVE_RM_CTX is defined with #ifdef rather
4785 * argp/argp-fmtstream.h: Check whether
4786 __STRICT_ANSI__ is defined with #ifdef rather
4788 * argp/argp.h: Likewise.
4790 * libio/genops.c: Check whether
4791 _IO_JUMPS_OFFSET is defined with #ifdef rather
4793 * libio/libioP.h: Likewise.
4794 * stdio-common/vfprintf.c: Likewise.
4796 * sysdeps/generic/ldsodefs.h: Check whether
4797 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4800 * nptl/sysdeps/pthread/pthread.h: Check
4801 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4804 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4806 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4808 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4812 * libio/fileops.c (_IO_file_open): Seek to end of file but
4813 don't cache the offset.
4814 (get_file_offset): Remove function.
4815 (do_ftell): Use cached offset when available.
4816 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4817 don't cache the offset.
4818 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4820 (do_one_test): Call it.
4821 (do_ftell_test): Fix up expected old offset for a+ mode.
4822 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4825 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4826 up test status with function return status.
4827 (do_write_test): Likewise.
4828 (do_append_test): Likewise.
4830 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4831 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4834 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4836 * math/gen-libm-test.pl (parse_args): Handle results specified for
4837 each rounding mode separately.
4838 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4839 tests and results from lrint_tonearest_test_data,
4840 lrint_towardzero_test_data, lrint_downward_test_data and
4841 lrint_upward_test_data.
4842 (lrint_test): Use ALL_RM_TEST.
4843 (lrint_tonearest_test_data): Remove.
4844 (lrint_test_tonearest): Likewise.
4845 (lrint_towardzero_test_data): Likewise.
4846 (lrint_test_towardzero): Likewise.
4847 (lrint_downward_test_data): Likewise.
4848 (lrint_test_downward): Likewise.
4849 (lrint_upward_test_data): Likewise.
4850 (lrint_test_upward): Likewise.
4851 (llrint_test_data): Merge in per-rounding-mode tests and results
4852 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4853 llrint_downward_test_data and llrint_upward_test_data.
4854 (llrint_test): Use ALL_RM_TEST.
4855 (llrint_tonearest_test_data): Remove.
4856 (llrint_test_tonearest): Likewise.
4857 (llrint_towardzero_test_data): Likewise.
4858 (llrint_test_towardzero): Likewise.
4859 (llrint_downward_test_data): Likewise.
4860 (llrint_test_downward): Likewise.
4861 (llrint_upward_test_data): Likewise.
4862 (llrint_test_upward): Likewise.
4863 (rint_test_data): Merge in per-rounding-mode tests and results
4864 from rint_tonearest_test_data, rint_towardzero_test_data,
4865 rint_downward_test_data and rint_upward_test_data. Add
4866 per-rounding-mode results for tests not in those arrays.
4867 (rint_test): Use ALL_RM_TEST.
4868 (rint_tonearest_test_data): Remove.
4869 (rint_test_tonearest): Likewise.
4870 (rint_towardzero_test_data): Likewise.
4871 (rint_test_towardzero): Likewise.
4872 (rint_downward_test_data): Likewise.
4873 (rint_test_downward): Likewise.
4874 (rint_upward_test_data): Likewise.
4875 (rint_test_upward): Likewise.
4876 (main): Don't call removed functions.
4878 2014-03-14 Roland McGrath <roland@hack.frob.com>
4880 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4881 "Compiled on ..." crapola. It is anti-useful.
4883 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4885 * scripts/evaluate-test.sh: Handle fourth argument to determine
4886 whether test run should stop on failure.
4887 * Makeconfig (stop-on-test-failure): New variable.
4888 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4889 $(stop-on-test-failure).
4890 * Makefile (tests): Give a summary of results from testing and
4891 exit with failure status if they include an ERROR or FAIL.
4893 * manual/install.texi (Configuring and compiling): Mention
4894 stop-on-test-failure=y.
4895 * INSTALL: Regenerated.
4897 2014-03-14 Roland McGrath <roland@hack.frob.com>
4899 * scripts/versionlist.awk: New file.
4900 * Makerules [$(build-shared) = yes]
4901 (postclean-generated): Add Versions.def, not Versions.def.v and
4903 ($(common-objpfx)Versions.def.v.i): Target removed.
4904 ($(common-objpfx)Versions.def): New target.
4905 ($(common-objpfx)Versions.all): Depend on that rather that
4906 $(common-objpfx)Versions.def.v.
4907 * Versions.def: File removed.
4909 * Makeconfig (+gccwarn): Add -Wundef.
4910 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4911 a dl-sysdep.h breaking its contract.
4912 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4913 * include/stackinfo.h: New file.
4914 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4915 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4916 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4917 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4918 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4919 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4920 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4921 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4922 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4923 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4924 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4925 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4926 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4927 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4928 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4930 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4935 * math/libm-test.inc (round_test_data): Add more tests.
4938 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4940 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4943 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4945 * math/libm-test.inc (ceil_test_data): Add more tests.
4947 * math/libm-test.inc (trunc_test_data): Add more tests related to
4950 2014-03-14 Roland McGrath <roland@hack.frob.com>
4952 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4953 with #if rather than #ifdef.
4954 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4956 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4958 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4959 first. Disable AVX-512 GCC support if assembler doesn't support
4961 * sysdeps/x86_64/configure: Regenerated.
4963 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4965 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4966 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4967 (__old_pthread_attr_setstack): Likewise.
4968 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4969 [!_STACK_GROWS_DOWN]: Likewise.
4971 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4973 * config.make.in (have-bash2): Delete.
4974 * configure.ac (libc_cv_have_bash2): Delete.
4975 * configure: Regenerate.
4976 * elf/Makefile (common-ldd-rewrite): Rename to ...
4977 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4978 (sh-ldd-rewrite): Delete.
4979 (bash-ldd-rewrite): Delete.
4980 (have-bash2): Delete checks.
4981 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4984 * config.make.in (have-ksh): Delete.
4986 * configure.ac (libc_cv_have_ksh): Delete.
4987 * configure: Regenerate.
4989 * elf/Makefile: Delete $(have-ksh) check.
4990 ($(objpfx)sotruss): Change KSH to BASH.
4991 * elf/sotruss.ksh: Rename to ...
4992 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4993 function style to match POSIX. Drop ksh vim mode setting.
4995 * manual/time.texi (Specifying the Time Zone with TZ): Change
4996 Tuesday to Thursday.
4998 * debug/tst-longjmp_chk2.c: Update header comment.
4999 (stackoverflow_handler): Add comment. Call assert on pass value.
5001 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5003 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5004 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5005 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5006 (La_x86_64_vector): Add zmm.
5007 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5008 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5009 ($(objpfx)tst-audit10): New target.
5010 ($(objpfx)tst-audit10.out): Likewise.
5011 (tst-audit10-ENV): New.
5012 (AVX512-CFLAGS): Likewise.
5013 (CFLAGS-tst-audit10.c): Likewise.
5014 (CFLAGS-tst-auditmod10a.c): Likewise.
5015 (CFLAGS-tst-auditmod10b.c): Likewise.
5016 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5017 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5018 * sysdeps/x86_64/configure: Regenerated.
5019 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5020 AVX-512 zmm register support.
5021 (_dl_x86_64_save_sse): Likewise.
5022 (_dl_x86_64_restore_sse): Likewise.
5023 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5024 size vector registers.
5025 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5026 (ZMM_SIZE): Likewise.
5027 * sysdeps/x86_64/tst-audit10.c: New file.
5028 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5029 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5031 2014-03-13 Roland McGrath <roland@hack.frob.com>
5033 * configure.ac (HAVE_EHDR_START): New check.
5034 * configure: Regenerated.
5035 * config.h.in (HAVE_EHDR_START): New #undef.
5036 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5037 assuming the lowest-addressed segment maps the start of the file.
5039 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5041 * INSTALL: Regenerated.
5043 2014-03-13 Will Newton <will.newton@linaro.org>
5045 * manual/setjmp.texi (System V contexts): Improve
5046 clarity and grammar of documentation.
5048 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5051 * elf/Makefile (tests): Add tst-pie2.
5052 (tests-pie): Add tst-pie2.
5053 * elf/tst-pie2.c: New file.
5054 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5056 * elf/rtld.c (map_doit): Load executable as lt_executable.
5057 (dl_main): Likewise.
5059 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5063 (__ASSUME_PSELECT): Undefine.
5065 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5068 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5069 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5072 selector for static builds.
5074 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5077 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5080 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5083 IFUNC selector for static builds.
5085 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5087 * sysdeps/mips/math_private.h [__mips_hard_float]
5088 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5089 libc_feresetround_mips_ctx.
5090 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5091 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5092 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5095 * math/s_nextafter.c (__nextafter): Do not return value from
5096 overflowing computation.
5097 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5098 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5103 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5104 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5106 2014-03-11 Roland McGrath <roland@hack.frob.com>
5108 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5109 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5110 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5111 the new mov targetting sp.
5113 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5116 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5117 Define it for static builds as well.
5118 (NO_BZERO_IMPL): Likewise.
5120 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5122 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5123 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5124 multiarch strspn for PPC64.
5125 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5126 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5128 (__libc_ifunc_impl_list): Likewise.
5129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5130 multiarch optimizations
5131 * string/strspn.c (strspn): Using macro to redefine symbol name.
5133 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5134 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5136 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5137 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5138 multiarch strncat for PPC64.
5139 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5140 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5142 (__libc_ifunc_impl_list): Likewise.
5143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5144 multiarch optimizations
5146 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5149 * nscd/nscd.service: Make service type forking.
5151 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5153 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5154 sign in non default rounding modes.
5155 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5157 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5159 * math/libm-test.inc (ALL_RM_TEST): New macro.
5160 (ceil_test): Use ALL_RM_TEST.
5161 (cimag_test): Likewise.
5162 (conj_test): Likewise.
5163 (copysign_test): Likewise.
5164 (cproj_test): Likewise.
5165 (creal_test): Likewise.
5166 (fabs_test): Likewise.
5167 (floor_test): Likewise.
5168 (fmax_test): Likewise.
5169 (fmin_test): Likewise.
5170 (fmod_test): Likewise.
5171 (fpclassify_test): Likewise.
5172 (frexp_test): Likewise.
5173 (ilogb_test): Likewise.
5174 (isfinite_test): Likewise.
5175 (finite_test): Likewise.
5176 (isgreater_test): Likewise.
5177 (isgreaterequal_test): Likewise.
5178 (isinf_test): Likewise.
5179 (isless_test): Likewise.
5180 (islessequal_test): Likewise.
5181 (islessgreater_test): Likewise.
5182 (isnan_test): Likewise.
5183 (isnormal_test): Likewise.
5184 (issignaling_test): Likewise.
5185 (isunordered_test): Likewise.
5186 (logb_test): Likewise.
5187 (logb_downward_test_data): Remove.
5188 (logb_test_downward): Likewise.
5189 (lround_test): Use ALL_RM_TEST.
5190 (llround_test): Likewise.
5191 (modf_test): Likewise.
5192 (nexttoward_test): Likewise.
5193 (remainder_test): Likewise.
5194 (drem_test): Likewise.
5195 (remainder_tonearest_test_data): Likewise.
5196 (remainder_test_tonearest): Likewise.
5197 (drem_test_tonearest): Likewise.
5198 (remainder_towardzero_test_data): Likewise.
5199 (remainder_test_towardzero): Likewise.
5200 (drem_test_towardzero): Likewise.
5201 (remainder_downward_test_data): Likewise.
5202 (remainder_test_downward): Likewise.
5203 (drem_test_downward): Likewise.
5204 (remainder_upward_test_data): Likewise.
5205 (remainder_test_upward): Likewise.
5206 (drem_test_upward): Likewise.
5207 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5208 (round_test): Use ALL_RM_TEST.
5209 (signbit_test): Likewise.
5210 (trunc_test): Likewise.
5211 (significand_test): Likewise.
5212 (main): Don't call removed functions.
5214 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5217 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5219 (ILL_ILLOPN): Likewise.
5220 (ILL_ILLADR): Likewise.
5221 (ILL_ILLTRP): Likewise.
5222 (ILL_PRVOPC): Likewise.
5223 (ILL_PRVREG): Likewise.
5224 (ILL_COPROC): Likewise.
5225 (ILL_BADSTK): Likewise.
5226 (FPE_INTDIV): Likewise.
5227 (FPE_INTOVF): Likewise.
5228 (FPE_FLTDIV): Likewise.
5229 (FPE_FLTOVF): Likewise.
5230 (FPE_FLTUND): Likewise.
5231 (FPE_FLTRES): Likewise.
5232 (FPE_FLTINV): Likewise.
5233 (FPE_FLTSUB): Likewise.
5234 (SEGV_MAPERR): Likewise.
5235 (SEGV_ACCERR): Likewise.
5236 (BUS_ADRALN): Likewise.
5237 (BUS_ADRERR): Likewise.
5238 (BUS_OBJERR): Likewise.
5239 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5240 (TRAP_TRACE): Likewise.
5241 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5243 (CLD_KILLED): Likewise.
5244 (CLD_DUMPED): Likewise.
5245 (CLD_TRAPPED): Likewise.
5246 (CLD_STOPPED): Likewise.
5247 (CLD_CONTINUED): Likewise.
5248 (POLL_IN): Likewise.
5249 (POLL_OUT): Likewise.
5250 (POLL_MSG): Likewise.
5251 (POLL_ERR): Likewise.
5252 (POLL_PRI): Likewise.
5253 (POLL_HUP): Likewise.
5254 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5256 (ILL_ILLOPN): Likewise.
5257 (ILL_ILLADR): Likewise.
5258 (ILL_ILLTRP): Likewise.
5259 (ILL_PRVOPC): Likewise.
5260 (ILL_PRVREG): Likewise.
5261 (ILL_COPROC): Likewise.
5262 (ILL_BADSTK): Likewise.
5263 (FPE_INTDIV): Likewise.
5264 (FPE_INTOVF): Likewise.
5265 (FPE_FLTDIV): Likewise.
5266 (FPE_FLTOVF): Likewise.
5267 (FPE_FLTUND): Likewise.
5268 (FPE_FLTRES): Likewise.
5269 (FPE_FLTINV): Likewise.
5270 (FPE_FLTSUB): Likewise.
5271 (SEGV_MAPERR): Likewise.
5272 (SEGV_ACCERR): Likewise.
5273 (BUS_ADRALN): Likewise.
5274 (BUS_ADRERR): Likewise.
5275 (BUS_OBJERR): Likewise.
5276 (BUS_MCEERR_AR): Likewise.
5277 (BUS_MCEERR_AO): Likewise.
5278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5279 (TRAP_TRACE): Likewise.
5280 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5282 (CLD_KILLED): Likewise.
5283 (CLD_DUMPED): Likewise.
5284 (CLD_TRAPPED): Likewise.
5285 (CLD_STOPPED): Likewise.
5286 (CLD_CONTINUED): Likewise.
5287 (POLL_IN): Likewise.
5288 (POLL_OUT): Likewise.
5289 (POLL_MSG): Likewise.
5290 (POLL_ERR): Likewise.
5291 (POLL_PRI): Likewise.
5292 (POLL_HUP): Likewise.
5293 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5294 (ILL_ILLOPN): Likewise.
5295 (ILL_ILLADR): Likewise.
5296 (ILL_ILLTRP): Likewise.
5297 (ILL_PRVOPC): Likewise.
5298 (ILL_PRVREG): Likewise.
5299 (ILL_COPROC): Likewise.
5300 (ILL_BADSTK): Likewise.
5301 (FPE_INTDIV): Likewise.
5302 (FPE_INTOVF): Likewise.
5303 (FPE_FLTDIV): Likewise.
5304 (FPE_FLTOVF): Likewise.
5305 (FPE_FLTUND): Likewise.
5306 (FPE_FLTRES): Likewise.
5307 (FPE_FLTINV): Likewise.
5308 (FPE_FLTSUB): Likewise.
5309 (SEGV_MAPERR): Likewise.
5310 (SEGV_ACCERR): Likewise.
5311 (BUS_ADRALN): Likewise.
5312 (BUS_ADRERR): Likewise.
5313 (BUS_OBJERR): Likewise.
5314 (BUS_MCEERR_AR): Likewise.
5315 (BUS_MCEERR_AO): Likewise.
5316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5317 (TRAP_TRACE): Likewise.
5318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5320 (CLD_KILLED): Likewise.
5321 (CLD_DUMPED): Likewise.
5322 (CLD_TRAPPED): Likewise.
5323 (CLD_STOPPED): Likewise.
5324 (CLD_CONTINUED): Likewise.
5325 (POLL_IN): Likewise.
5326 (POLL_OUT): Likewise.
5327 (POLL_MSG): Likewise.
5328 (POLL_ERR): Likewise.
5329 (POLL_PRI): Likewise.
5330 (POLL_HUP): Likewise.
5331 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5333 (ILL_ILLOPN): Likewise.
5334 (ILL_ILLADR): Likewise.
5335 (ILL_ILLTRP): Likewise.
5336 (ILL_PRVOPC): Likewise.
5337 (ILL_PRVREG): Likewise.
5338 (ILL_COPROC): Likewise.
5339 (ILL_BADSTK): Likewise.
5340 (ILL_BADIADDR): Likewise.
5341 (ILL_BREAK): Likewise.
5342 (FPE_INTDIV): Likewise.
5343 (FPE_INTOVF): Likewise.
5344 (FPE_FLTDIV): Likewise.
5345 (FPE_FLTOVF): Likewise.
5346 (FPE_FLTUND): Likewise.
5347 (FPE_FLTRES): Likewise.
5348 (FPE_FLTINV): Likewise.
5349 (FPE_FLTSUB): Likewise.
5350 (FPE_DECOVF): Likewise.
5351 (FPE_DECDIV): Likewise.
5352 (FPE_DECERR): Likewise.
5353 (FPE_INVASC): Likewise.
5354 (FPE_INVDEC): Likewise.
5355 (SEGV_MAPERR): Likewise.
5356 (SEGV_ACCERR): Likewise.
5357 (SEGV_PSTKOVF): Likewise.
5358 (BUS_ADRALN): Likewise.
5359 (BUS_ADRERR): Likewise.
5360 (BUS_OBJERR): Likewise.
5361 (BUS_MCEERR_AR): Likewise.
5362 (BUS_MCEERR_AO): Likewise.
5363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5364 (TRAP_TRACE): Likewise.
5365 (TRAP_BRANCH): Likewise.
5366 (TRAP_HWBKPT): Likewise.
5367 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5369 (CLD_KILLED): Likewise.
5370 (CLD_DUMPED): Likewise.
5371 (CLD_TRAPPED): Likewise.
5372 (CLD_STOPPED): Likewise.
5373 (CLD_CONTINUED): Likewise.
5374 (POLL_IN): Likewise.
5375 (POLL_OUT): Likewise.
5376 (POLL_MSG): Likewise.
5377 (POLL_ERR): Likewise.
5378 (POLL_PRI): Likewise.
5379 (POLL_HUP): Likewise.
5380 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5381 (ILL_ILLOPN): Likewise.
5382 (ILL_ILLADR): Likewise.
5383 (ILL_ILLTRP): Likewise.
5384 (ILL_PRVOPC): Likewise.
5385 (ILL_PRVREG): Likewise.
5386 (ILL_COPROC): Likewise.
5387 (ILL_BADSTK): Likewise.
5388 (FPE_INTDIV): Likewise.
5389 (FPE_INTOVF): Likewise.
5390 (FPE_FLTDIV): Likewise.
5391 (FPE_FLTOVF): Likewise.
5392 (FPE_FLTUND): Likewise.
5393 (FPE_FLTRES): Likewise.
5394 (FPE_FLTINV): Likewise.
5395 (FPE_FLTSUB): Likewise.
5396 (SEGV_MAPERR): Likewise.
5397 (SEGV_ACCERR): Likewise.
5398 (BUS_ADRALN): Likewise.
5399 (BUS_ADRERR): Likewise.
5400 (BUS_OBJERR): Likewise.
5401 (BUS_MCEERR_AR): Likewise.
5402 (BUS_MCEERR_AO): Likewise.
5403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5404 (TRAP_TRACE): Likewise.
5405 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5407 (CLD_KILLED): Likewise.
5408 (CLD_DUMPED): Likewise.
5409 (CLD_TRAPPED): Likewise.
5410 (CLD_STOPPED): Likewise.
5411 (CLD_CONTINUED): Likewise.
5412 (POLL_IN): Likewise.
5413 (POLL_OUT): Likewise.
5414 (POLL_MSG): Likewise.
5415 (POLL_ERR): Likewise.
5416 (POLL_PRI): Likewise.
5417 (POLL_HUP): Likewise.
5418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5419 (ILL_ILLOPN): Likewise.
5420 (ILL_ILLADR): Likewise.
5421 (ILL_ILLTRP): Likewise.
5422 (ILL_PRVOPC): Likewise.
5423 (ILL_PRVREG): Likewise.
5424 (ILL_COPROC): Likewise.
5425 (ILL_BADSTK): Likewise.
5426 (FPE_INTDIV): Likewise.
5427 (FPE_INTOVF): Likewise.
5428 (FPE_FLTDIV): Likewise.
5429 (FPE_FLTOVF): Likewise.
5430 (FPE_FLTUND): Likewise.
5431 (FPE_FLTRES): Likewise.
5432 (FPE_FLTINV): Likewise.
5433 (FPE_FLTSUB): Likewise.
5434 (SEGV_MAPERR): Likewise.
5435 (SEGV_ACCERR): Likewise.
5436 (BUS_ADRALN): Likewise.
5437 (BUS_ADRERR): Likewise.
5438 (BUS_OBJERR): Likewise.
5439 (BUS_MCEERR_AR): Likewise.
5440 (BUS_MCEERR_AO): Likewise.
5441 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5442 (TRAP_TRACE): Likewise.
5443 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5445 (CLD_KILLED): Likewise.
5446 (CLD_DUMPED): Likewise.
5447 (CLD_TRAPPED): Likewise.
5448 (CLD_STOPPED): Likewise.
5449 (CLD_CONTINUED): Likewise.
5450 (POLL_IN): Likewise.
5451 (POLL_OUT): Likewise.
5452 (POLL_MSG): Likewise.
5453 (POLL_ERR): Likewise.
5454 (POLL_PRI): Likewise.
5455 (POLL_HUP): Likewise.
5456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5457 (ILL_ILLOPN): Likewise.
5458 (ILL_ILLADR): Likewise.
5459 (ILL_ILLTRP): Likewise.
5460 (ILL_PRVOPC): Likewise.
5461 (ILL_PRVREG): Likewise.
5462 (ILL_COPROC): Likewise.
5463 (ILL_BADSTK): Likewise.
5464 (FPE_INTDIV): Likewise.
5465 (FPE_INTOVF): Likewise.
5466 (FPE_FLTDIV): Likewise.
5467 (FPE_FLTOVF): Likewise.
5468 (FPE_FLTUND): Likewise.
5469 (FPE_FLTRES): Likewise.
5470 (FPE_FLTINV): Likewise.
5471 (FPE_FLTSUB): Likewise.
5472 (SEGV_MAPERR): Likewise.
5473 (SEGV_ACCERR): Likewise.
5474 (BUS_ADRALN): Likewise.
5475 (BUS_ADRERR): Likewise.
5476 (BUS_OBJERR): Likewise.
5477 (BUS_MCEERR_AR): Likewise.
5478 (BUS_MCEERR_AO): Likewise.
5479 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5480 (TRAP_TRACE): Likewise.
5481 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5483 (CLD_KILLED): Likewise.
5484 (CLD_DUMPED): Likewise.
5485 (CLD_TRAPPED): Likewise.
5486 (CLD_STOPPED): Likewise.
5487 (CLD_CONTINUED): Likewise.
5488 (POLL_IN): Likewise.
5489 (POLL_OUT): Likewise.
5490 (POLL_MSG): Likewise.
5491 (POLL_ERR): Likewise.
5492 (POLL_PRI): Likewise.
5493 (POLL_HUP): Likewise.
5494 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5495 (ILL_ILLOPN): Likewise.
5496 (ILL_ILLADR): Likewise.
5497 (ILL_ILLTRP): Likewise.
5498 (ILL_PRVOPC): Likewise.
5499 (ILL_PRVREG): Likewise.
5500 (ILL_COPROC): Likewise.
5501 (ILL_BADSTK): Likewise.
5502 (ILL_DBLFLT): Likewise.
5503 (ILL_HARDWALL): Likewise.
5504 (FPE_INTDIV): Likewise.
5505 (FPE_INTOVF): Likewise.
5506 (FPE_FLTDIV): Likewise.
5507 (FPE_FLTOVF): Likewise.
5508 (FPE_FLTUND): Likewise.
5509 (FPE_FLTRES): Likewise.
5510 (FPE_FLTINV): Likewise.
5511 (FPE_FLTSUB): Likewise.
5512 (SEGV_MAPERR): Likewise.
5513 (SEGV_ACCERR): Likewise.
5514 (BUS_ADRALN): Likewise.
5515 (BUS_ADRERR): Likewise.
5516 (BUS_OBJERR): Likewise.
5517 (BUS_MCEERR_AR): Likewise.
5518 (BUS_MCEERR_AO): Likewise.
5519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5520 (TRAP_TRACE): Likewise.
5521 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5523 (CLD_KILLED): Likewise.
5524 (CLD_DUMPED): Likewise.
5525 (CLD_TRAPPED): Likewise.
5526 (CLD_STOPPED): Likewise.
5527 (CLD_CONTINUED): Likewise.
5528 (POLL_IN): Likewise.
5529 (POLL_OUT): Likewise.
5530 (POLL_MSG): Likewise.
5531 (POLL_ERR): Likewise.
5532 (POLL_PRI): Likewise.
5533 (POLL_HUP): Likewise.
5534 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5535 (ILL_ILLOPN): Likewise.
5536 (ILL_ILLADR): Likewise.
5537 (ILL_ILLTRP): Likewise.
5538 (ILL_PRVOPC): Likewise.
5539 (ILL_PRVREG): Likewise.
5540 (ILL_COPROC): Likewise.
5541 (ILL_BADSTK): Likewise.
5542 (FPE_INTDIV): Likewise.
5543 (FPE_INTOVF): Likewise.
5544 (FPE_FLTDIV): Likewise.
5545 (FPE_FLTOVF): Likewise.
5546 (FPE_FLTUND): Likewise.
5547 (FPE_FLTRES): Likewise.
5548 (FPE_FLTINV): Likewise.
5549 (FPE_FLTSUB): Likewise.
5550 (SEGV_MAPERR): Likewise.
5551 (SEGV_ACCERR): Likewise.
5552 (BUS_ADRALN): Likewise.
5553 (BUS_ADRERR): Likewise.
5554 (BUS_OBJERR): Likewise.
5555 (BUS_MCEERR_AR): Likewise.
5556 (BUS_MCEERR_AO): Likewise.
5557 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5558 (TRAP_TRACE): Likewise.
5559 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5561 (CLD_KILLED): Likewise.
5562 (CLD_DUMPED): Likewise.
5563 (CLD_TRAPPED): Likewise.
5564 (CLD_STOPPED): Likewise.
5565 (CLD_CONTINUED): Likewise.
5566 (POLL_IN): Likewise.
5567 (POLL_OUT): Likewise.
5568 (POLL_MSG): Likewise.
5569 (POLL_ERR): Likewise.
5570 (POLL_PRI): Likewise.
5571 (POLL_HUP): Likewise.
5572 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5573 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5576 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5577 before #include of <time.h>.
5578 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5579 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5580 (test-xfail-UNIX98/sched.h/conform): Likewise.
5582 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5584 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5585 error absence of trapping exception support.
5586 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5588 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5590 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5591 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5592 * timezone/Makefile (testdata): Move definition above include of
5594 (test-zones): New variable.
5595 (tests-special): Add zone files.
5596 (build-testdata): Use $(evaluate-test).
5598 * elf/Makefile (tests-special): Rename tests to end with .out.
5599 ($(objpfx)noload-mem): Likewise.
5600 ($(objpfx)tst-leaks1-mem): Likewise.
5601 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5602 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5603 $(objpfx)test-iconvconfig.out.
5604 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5605 set -e inside subshell and redirect output to file.
5606 * iconvdata/Makefile (generated): Rename tests to end with .out.
5608 (tests-special): Rename tests to end with .out.
5609 ($(objpfx)mtrace-tst-loading): Likewise.
5610 * intl/Makefile (generated): Likewise.
5611 (tests-special): Likewise.
5612 ($(objpfx)mtrace-tst-gettext): Likewise.
5613 * misc/Makefile (generated): Likewise.
5614 (tests-special): Likewise.
5615 ($(objpfx)tst-error1-mem): Likewise.
5616 * nptl/Makefile (tests-special): Likewise.
5617 ($(objpfx)tst-stack3-mem): Likewise.
5618 (generated): Likewise.
5619 * posix/Makefile (generated): Likewise.
5620 (tests-special): Likewise.
5621 (xtests-special): Likewise.
5622 ($(objpfx)tst-fnmatch-mem): Likewise.
5623 ($(objpfx)bug-regex2-mem): Likewise.
5624 ($(objpfx)bug-regex14-mem): Likewise.
5625 ($(objpfx)bug-regex21-mem): Likewise.
5626 ($(objpfx)bug-regex31-mem): Likewise.
5627 ($(objpfx)tst-vfork3-mem): Likewise.
5628 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5629 ($(objpfx)tst-pcre-mem): Likewise.
5630 ($(objpfx)tst-boost-mem): Likewise.
5631 ($(objpfx)bug-ga2-mem): Likewise.
5632 ($(objpfx)bug-glob2-mem): Likewise.
5633 * resolv/Makefile (generate): Likewise.
5634 (tests-special): Likewise.
5635 (xtests-special): Likewise.
5636 (generated): Likewise.
5637 ($(objpfx)mtrace-tst-leaks): Likewise.
5638 ($(objpfx)mtrace-tst-leaks2): Likewise.
5640 * scripts/merge-test-results.sh: New file.
5641 * Makefile (tests-special-notdir): New variable.
5642 (tests): Run merge-test-results.sh.
5644 * Rules (tests-special-notdir): New variable.
5645 (xtests-special-notdir): Likewise.
5646 (tests): Run merge-test-results.sh
5649 * Makeconfig (test-xfail-name): New variable.
5650 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5651 compute variable name for expected failures.
5652 * conform/Makefile (conformtest-headers-data): New variable.
5653 (conformtest-standards): Likewise.
5654 (conformtest-headers-ISO): Likewise.
5655 (conformtest-headers-ISO99): Likewise.
5656 (conformtest-headers-ISO11): Likewise.
5657 (conformtest-headers-POSIX): Likewise.
5658 (conformtest-headers-XPG3): Likewise.
5659 (conformtest-headers-XPG4): Likewise.
5660 (conformtest-headers-UNIX98): Likewise.
5661 (conformtest-headers-XOPEN2K): Likewise.
5662 (conformtest-headers-POSIX2008): Likewise.
5663 (conformtest-headers-XOPEN2K8): Likewise.
5664 (conformtest-header-list-base): Likewise.
5665 (conformtest-header-list-tests): Likewise.
5666 (conformtest-header-base): Likewise.
5667 (conformtest-header-tests): Likewise.
5668 (tests-special): Add $(conformtest-header-list-tests). If
5669 [$(fast-check) && !$(cross-compiling)], add
5670 $(conformtest-header-tests) instead of
5671 $(objpfx)run-conformtest.out.
5672 (generated): Add $(conformtest-header-list-base). If
5673 [$(fast-check) && !$(cross-compiling)], add
5674 $(conformtest-header-base). Remove previous setting.
5675 ($(conformtest-header-list-tests)): New target.
5676 (test-xfail-run-conformtest): Remove variable.
5677 ($(objpfx)run-conformtest.out): Remove target.
5678 (test-xfail-ISO11/complex.h/conform): New variable.
5679 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5680 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5681 (test-xfail-XPG3/varargs.h/conform): Likewise.
5682 (test-xfail-XPG4/varargs.h/conform): Likewise.
5683 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5684 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5685 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5686 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5687 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5688 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5689 (test-xfail-XPG3/ftw.h/conform): Likewise.
5690 (test-xfail-XPG3/grp.h/conform): Likewise.
5691 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5692 (test-xfail-XPG3/limits.h/conform): Likewise.
5693 (test-xfail-XPG3/pwd.h/conform): Likewise.
5694 (test-xfail-XPG3/search.h/conform): Likewise.
5695 (test-xfail-XPG3/signal.h/conform): Likewise.
5696 (test-xfail-XPG3/stdio.h/conform): Likewise.
5697 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5698 (test-xfail-XPG3/string.h/conform): Likewise.
5699 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5700 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5701 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5702 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5703 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5704 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5705 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5706 (test-xfail-XPG3/termios.h/conform): Likewise.
5707 (test-xfail-XPG3/time.h/conform): Likewise.
5708 (test-xfail-XPG3/unistd.h/conform): Likewise.
5709 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5710 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5711 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5712 (test-xfail-XPG4/netdb.h/conform): Likewise.
5713 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5714 (test-xfail-XPG4/signal.h/conform): Likewise.
5715 (test-xfail-XPG4/stdio.h/conform): Likewise.
5716 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5717 (test-xfail-XPG4/stropts.h/conform): Likewise.
5718 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5719 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5720 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5721 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5722 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5723 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5724 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5725 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5726 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5727 (test-xfail-XPG4/termios.h/conform): Likewise.
5728 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5729 (test-xfail-XPG4/unistd.h/conform): Likewise.
5730 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5731 (test-xfail-POSIX/sched.h/conform): Likewise.
5732 (test-xfail-POSIX/signal.h/conform): Likewise.
5733 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5734 (test-xfail-POSIX/tar.h/conform): Likewise.
5735 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5736 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5737 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5738 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5739 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5740 (test-xfail-UNIX98/sched.h/conform): Likewise.
5741 (test-xfail-UNIX98/signal.h/conform): Likewise.
5742 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5743 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5744 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5745 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5746 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5747 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5748 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5749 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5750 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5751 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5752 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5753 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5754 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5755 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5756 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5757 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5758 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5759 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5760 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5761 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5762 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5763 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5764 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5765 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5766 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5767 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5768 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5769 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5770 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5771 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5772 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5773 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5774 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5775 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5776 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5777 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5778 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5779 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5780 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5781 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5782 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5783 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5784 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5785 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5786 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5787 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5788 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5789 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5790 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5791 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5792 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5793 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5794 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5795 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5796 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5797 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5798 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5799 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5800 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5801 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5802 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5803 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5804 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5805 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5806 (conformtest-cc-flags): Likewise.
5807 ($(conformtest-header-tests): New target.
5808 * conform/check-header-lists.sh: New file.
5809 * conform/run-conformtest.sh: Remove.
5811 * conform/conformtest.pl: Allow ' and \ in values given for
5813 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5815 [POSIX] (sys/types.h): Likewise.
5816 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5818 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5820 * conform/data/signal.h-data (SIGIO): Remove expectation.
5821 [XPG3] (SIGBUS): Do not expect.
5822 [POSIX || XPG3] (SIGPOLL): Likewise.
5823 [POSIX || XPG3] (SIGPROF): Likewise.
5824 [POSIX || XPG3] (SIGSYS): Likewise.
5825 [XPG3] (SIGTRAP): Likewise.
5826 [POSIX || XPG3] (SIGURG): Likewise.
5827 [POSIX || XPG3] (SIGVTALRM): Likewise.
5828 [POSIX || XPG3] (SIGXCPU): Likewise.
5829 [POSIX || XPG3] (SIGXFSZ): Likewise.
5830 [POSIX] (SA_SIGINFO): Expect.
5831 [XPG3] (siginfo_t): Do not expect type or contents.
5832 [POSIX] (si_pid): Do not expect element.
5833 [POSIX] (si_uid): Likewise.
5834 [POSIX] (si_addr): Likewise.
5835 [POSIX] (si_status): Likewise.
5836 [POSIX] (si_band): Likewise.
5837 [XPG4] (si_value): Likewise.
5838 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5839 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5840 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5841 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5842 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5843 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5844 [POSIX || XPG3] (ILL_COPROC): Likewise.
5845 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5846 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5847 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5848 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5849 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5850 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5851 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5852 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5853 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5854 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5855 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5856 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5857 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5858 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5859 [POSIX || XPG3] (CLD_EXITED): Likewise.
5860 [POSIX || XPG3] (CLD_KILLED): Likewise.
5861 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5862 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5863 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5864 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5865 [POSIX || XPG3] (POLL_IN): Likewise.
5866 [POSIX || XPG3] (POLL_OUT): Likewise.
5867 [POSIX || XPG3] (POLL_MSG): Likewise.
5868 [POSIX || XPG3] (POLL_ERR): Likewise.
5869 [POSIX || XPG3] (POLL_PRI): Likewise.
5870 [POSIX || XPG3] (POLL_HUP): Likewise.
5871 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5872 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5873 (SIG*): Do not allow.
5874 [XPG3] (si_*): Likewise.
5875 [XPG3] (SI_*): Likewise.
5876 [XPG3 || XPG4] (sigev_*): Likewise.
5877 [XPG3 || XPG4] (SIGEV_*): Likewise.
5878 [XPG3 || XPG4] (sival_*): Likewise.
5879 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5880 [POSIX || XPG3] (BUS_*): Likewise.
5881 [POSIX || XPG3] (CLD_*): Likewise.
5882 [POSIX || XPG3] (FPE_*): Likewise.
5883 [POSIX || XPG3] (ILL_*): Likewise.
5884 [POSIX || XPG3] (POLL_*): Likewise.
5885 [POSIX || XPG3] (SEGV_*): Likewise.
5886 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5887 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5888 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5889 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5890 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5891 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5892 Specify type and value.
5893 (TVERSLEN): Likewise.
5894 (REGTYPE): Likewise.
5895 (AREGTYPE): Likewise.
5896 (LNKTYPE): Likewise.
5897 (SYMTYPE): Likewise.
5898 (CHRTYPE): Likewise.
5899 (BLKTYPE): Likewise.
5900 (DIRTYPE): Likewise.
5901 (FIFOTYPE): Likewise.
5902 (CONTTYPE): Likewise.
5907 (TUWRITE): Likewise.
5910 (TGWRITE): Likewise.
5913 (TOWRITE): Likewise.
5915 [POSIX] (TSVTX): Expect constant.
5917 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5919 * Makefile (tests): Change dependencies to ....
5920 (tests-special): ... additions to this variable.
5921 (tests): Depend on $(tests-special).
5922 * Makerules (check-abi-list): New variable.
5923 (check-abi): Depend on $(check-abi-list).
5924 [$(subdir) = elf] (tests-special): Add
5925 $(objpfx)check-abi-libc.out.
5926 [$(build-shared) = yes && subdir] (tests-special): Add
5928 [$(build-shared) = yes && subdir] (tests): Do not depend on
5930 * Rules (tests): Depend on $(tests-special).
5931 (xtests): Depend on $(xtests-special).
5932 * catgets/Makefile (tests): Change dependencies to ....
5933 (tests-special): ... additions to this variable.
5934 * conform/Makefile (tests): Change dependencies to ....
5935 (tests-special): ... additions to this variable.
5936 * elf/Makefile (tests): Change dependencies to ....
5937 (tests-special): ... additions to this variable.
5938 * grp/Makefile (tests): Change dependencies to ....
5939 (tests-special): ... additions to this variable.
5940 * iconv/Makefile (xtests): Change dependencies to ....
5941 (xtests-special): ... additions to this variable.
5942 * iconvdata/Makefile (tests): Change dependencies to ....
5943 (tests-special): ... additions to this variable.
5944 * intl/Makefile (tests): Change dependencies to ....
5945 (tests-special): ... additions to this variable. Also add
5946 $(objpfx)tst-gettext.out.
5947 * io/Makefile (tests): Change dependencies to ....
5948 (tests-special): ... additions to this variable.
5949 * libio/Makefile (tests): Change dependencies to ....
5950 (tests-special): ... additions to this variable.
5951 * malloc/Makefile (tests): Change dependencies to ....
5952 (tests-special): ... additions to this variable.
5953 * misc/Makefile (tests): Change dependencies to ....
5954 (tests-special): ... additions to this variable.
5955 * nptl/Makefile (tests): Change dependencies to ....
5956 (tests-special): ... additions to this variable.
5957 * nptl_db/Makefile (tests): Change dependencies to ....
5958 (tests-special): ... additions to this variable.
5959 * posix/Makefile (tests): Change dependencies to ....
5960 (tests-special): ... additions to this variable.
5961 (xtests): Change dependencies to ....
5962 (xtests-special): ... additions to this variable.
5963 * resolv/Makefile (tests): Change dependencies to ....
5964 (tests-special): ... additions to this variable.
5965 (xtests): Change dependencies to ....
5966 (xtests-special): ... additions to this variable.
5967 * stdio-common/Makefile (tests): Change dependencies to ....
5968 (tests-special): ... additions to this variable.
5969 (do-tst-unbputc): Remove target.
5970 (do-tst-printf): Likewise.
5971 * stdlib/Makefile (tests): Change dependencies to ....
5972 (tests-special): ... additions to this variable.
5973 * string/Makefile (tests): Change dependencies to ....
5974 (tests-special): ... additions to this variable.
5975 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5976 (tests-special): ... additions to this variable.
5978 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5980 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5982 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5983 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5985 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5986 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5987 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5988 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5989 * conform/data/libgen.h-data [XPG3]: Likewise.
5990 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5991 * conform/data/ndbm.h-data [XPG3]: Likewise.
5992 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5993 * conform/data/netdb.h-data [XPG3]: Likewise.
5994 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5995 * conform/data/poll.h-data [XPG3]: Likewise.
5996 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5997 * conform/data/strings.h-data [XPG3]: Likewise.
5998 * conform/data/stropts.h-data [XPG3]: Likewise.
5999 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6000 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6001 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6003 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6004 * conform/data/sys/time.h-data [XPG3]: Likewise.
6005 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6006 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6007 * conform/data/sys/un.h-data [XPG3]: Likewise.
6008 * conform/data/syslog.h-data [XPG3]: Likewise.
6009 * conform/data/ucontext.h-data [XPG3]: Likewise.
6010 * conform/data/utmpx.h-data [XPG3]: Likewise.
6011 * conform/data/varargs.h-data [UNIX98]: Enable file.
6013 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6015 * math/libm-test.inc (struct test_f_f_data): Move expected results
6016 into structure for each rounding mode.
6017 (struct test_ff_f_data): Likewise.
6018 (struct test_ff_f_data_nexttoward): Likewise.
6019 (struct test_fi_f_data): Likewise.
6020 (struct test_fl_f_data): Likewise.
6021 (struct test_if_f_data): Likewise.
6022 (struct test_fff_f_data): Likewise.
6023 (struct test_c_f_data): Likewise.
6024 (struct test_f_f1_data): Likewise.
6025 (struct test_fF_f1_data): Likewise.
6026 (struct test_ffI_f1_data): Likewise.
6027 (struct test_c_c_data): Likewise.
6028 (struct test_cc_c_data): Likewise.
6029 (struct test_f_i_data): Likewise.
6030 (struct test_ff_i_data): Likewise.
6031 (struct test_f_l_data): Likewise.
6032 (struct test_f_L_data): Likewise.
6033 (struct test_fFF_11_data): Likewise.
6035 (RM_FE_DOWNWARD): Likewise.
6036 (RM_FE_TONEAREST): Likewise.
6037 (RM_FE_TOWARDZERO): Likewise.
6038 (RM_FE_UPWARD): Likewise.
6039 (RUN_TEST_LOOP_f_f): Update references to expected results.
6040 (RUN_TEST_LOOP_2_f): Likewise.
6041 (RUN_TEST_LOOP_fff_f): Likewise.
6042 (RUN_TEST_LOOP_c_f): Likewise.
6043 (RUN_TEST_LOOP_f_f1): Likewise.
6044 (RUN_TEST_LOOP_fF_f1): Likewise.
6045 (RUN_TEST_LOOP_fI_f1): Likewise.
6046 (RUN_TEST_LOOP_ffI_f1): Likewise.
6047 (RUN_TEST_LOOP_c_c): Likewise.
6048 (RUN_TEST_LOOP_cc_c): Likewise.
6049 (RUN_TEST_LOOP_f_i): Likewise.
6050 (RUN_TEST_LOOP_f_i_tg): Likewise.
6051 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6052 (RUN_TEST_LOOP_f_b): Likewise.
6053 (RUN_TEST_LOOP_f_b_tg): Likewise.
6054 (RUN_TEST_LOOP_f_l): Likewise.
6055 (RUN_TEST_LOOP_f_L): Likewise.
6056 (RUN_TEST_LOOP_fFF_11): Likewise.
6057 * math/gen-libm-test.pl (parse_args): Output four copies of
6058 expected results for each test.
6060 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6061 (__ASSUME_UTIMES): Remove.
6062 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6063 (__ASSUME_UTIMES): Likewise.
6065 * math/gen-auto-libm-tests.c: Update comment on output format.
6066 (output_for_one_input_case): Generate before-rounding and
6067 after-rounding information as conditions on output flags not
6068 floating-point format.
6069 * math/auto-libm-test-out: Regenerated.
6070 * math/gen-libm-test.pl (cond_value): New function.
6071 (or_cond_value): Use cond_value.
6072 (generate_testfile): Handle conditional exceptions.
6074 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6076 * math/libm-test.inc (max_valid_error): New variable.
6077 (init_max_error): Take new argument specifying whether function
6078 results are exactly determined. Set max_valid_error and bound
6079 other variables for errors based on this argument.
6080 (set_max_error): Do not record results above max_valid_error.
6081 (check_float_internal): Only accept errors of up to 0.5ulps if
6082 also at most max_valid_error.
6083 (START): Take new argument EXACT and pass it to init_max_error.
6084 (acos_test): Update call to START.
6085 (acos_test_tonearest): Likewise.
6086 (acos_test_towardzero): Likewise.
6087 (acos_test_downward): Likewise.
6088 (acos_test_upward): Likewise.
6089 (acosh_test): Likewise.
6090 (asin_test): Likewise.
6091 (asin_test_tonearest): Likewise.
6092 (asin_test_towardzero): Likewise.
6093 (asin_test_downward): Likewise.
6094 (asin_test_upward): Likewise.
6095 (asinh_test): Likewise.
6096 (atan_test): Likewise.
6097 (atanh_test): Likewise.
6098 (atan2_test): Likewise.
6099 (cabs_test): Likewise.
6100 (cacos_test): Likewise.
6101 (cacosh_test): Likewise.
6102 (carg_test): Likewise.
6103 (casin_test): Likewise.
6104 (casinh_test): Likewise.
6105 (catan_test): Likewise.
6106 (catanh_test): Likewise.
6107 (cbrt_test): Likewise.
6108 (ccos_test): Likewise.
6109 (ccosh_test): Likewise.
6110 (ceil_test): Likewise.
6111 (cexp_test): Likewise.
6112 (cimag_test): Likewise.
6113 (clog_test): Likewise.
6114 (clog10_test): Likewise.
6115 (conj_test): Likewise.
6116 (copysign_test): Likewise.
6117 (cos_test): Likewise.
6118 (cos_test_tonearest): Likewise.
6119 (cos_test_towardzero): Likewise.
6120 (cos_test_downward): Likewise.
6121 (cos_test_upward): Likewise.
6122 (cosh_test): Likewise.
6123 (cosh_test_tonearest): Likewise.
6124 (cosh_test_towardzero): Likewise.
6125 (cosh_test_downward): Likewise.
6126 (cosh_test_upward): Likewise.
6127 (cpow_test): Likewise.
6128 (cproj_test): Likewise.
6129 (creal_test): Likewise.
6130 (csin_test): Likewise.
6131 (csinh_test): Likewise.
6132 (csqrt_test): Likewise.
6133 (ctan_test): Likewise.
6134 (ctan_test_tonearest): Likewise.
6135 (ctan_test_towardzero): Likewise.
6136 (ctan_test_downward): Likewise.
6137 (ctan_test_upward): Likewise.
6138 (ctanh_test): Likewise.
6139 (ctanh_test_tonearest): Likewise.
6140 (ctanh_test_towardzero): Likewise.
6141 (ctanh_test_downward): Likewise.
6142 (ctanh_test_upward): Likewise.
6143 (erf_test): Likewise.
6144 (erfc_test): Likewise.
6145 (exp_test): Likewise.
6146 (exp_test_tonearest): Likewise.
6147 (exp_test_towardzero): Likewise.
6148 (exp_test_downward): Likewise.
6149 (exp_test_upward): Likewise.
6150 (exp10_test): Likewise.
6151 (exp10_test_tonearest): Likewise.
6152 (exp10_test_towardzero): Likewise.
6153 (exp10_test_downward): Likewise.
6154 (exp10_test_upward): Likewise.
6155 (pow10_test): Likewise.
6156 (exp2_test): Likewise.
6157 (expm1_test): Likewise.
6158 (expm1_test_tonearest): Likewise.
6159 (expm1_test_towardzero): Likewise.
6160 (expm1_test_downward): Likewise.
6161 (expm1_test_upward): Likewise.
6162 (fabs_test): Likewise.
6163 (fdim_test): Likewise.
6164 (floor_test): Likewise.
6165 (fma_test): Likewise.
6166 (fma_test_towardzero): Likewise.
6167 (fma_test_downward): Likewise.
6168 (fma_test_upward): Likewise.
6169 (fmax_test): Likewise.
6170 (fmin_test): Likewise.
6171 (fmod_test): Likewise.
6172 (fpclassify_test): Likewise.
6173 (frexp_test): Likewise.
6174 (hypot_test): Likewise.
6175 (ilogb_test): Likewise.
6176 (isfinite_test): Likewise.
6177 (finite_test): Likewise.
6178 (isgreater_test): Likewise.
6179 (isgreaterequal_test): Likewise.
6180 (isinf_test): Likewise.
6181 (isless_test): Likewise.
6182 (islessequal_test): Likewise.
6183 (islessgreater_test): Likewise.
6184 (isnan_test): Likewise.
6185 (isnormal_test): Likewise.
6186 (issignaling_test): Likewise.
6187 (isunordered_test): Likewise.
6188 (j0_test): Likewise.
6189 (j1_test): Likewise.
6190 (jn_test): Likewise.
6191 (ldexp_test): Likewise.
6192 (lgamma_test): Likewise.
6193 (gamma_test): Likewise.
6194 (lrint_test): Likewise.
6195 (lrint_test_tonearest): Likewise.
6196 (lrint_test_towardzero): Likewise.
6197 (lrint_test_downward): Likewise.
6198 (lrint_test_upward): Likewise.
6199 (llrint_test): Likewise.
6200 (llrint_test_tonearest): Likewise.
6201 (llrint_test_towardzero): Likewise.
6202 (llrint_test_downward): Likewise.
6203 (llrint_test_upward): Likewise.
6204 (log_test): Likewise.
6205 (log10_test): Likewise.
6206 (log1p_test): Likewise.
6207 (log2_test): Likewise.
6208 (logb_test): Likewise.
6209 (logb_test_downward): Likewise.
6210 (lround_test): Likewise.
6211 (llround_test): Likewise.
6212 (modf_test): Likewise.
6213 (nearbyint_test): Likewise.
6214 (nextafter_test): Likewise.
6215 (nexttoward_test): Likewise.
6216 (pow_test): Likewise.
6217 (pow_test_tonearest): Likewise.
6218 (pow_test_towardzero): Likewise.
6219 (pow_test_downward): Likewise.
6220 (pow_test_upward): Likewise.
6221 (remainder_test): Likewise.
6222 (drem_test): Likewise.
6223 (remainder_test_tonearest): Likewise.
6224 (drem_test_tonearest): Likewise.
6225 (remainder_test_towardzero): Likewise.
6226 (drem_test_towardzero): Likewise.
6227 (remainder_test_downward): Likewise.
6228 (drem_test_downward): Likewise.
6229 (remainder_test_upward): Likewise.
6230 (drem_test_upward): Likewise.
6231 (remquo_test): Likewise.
6232 (rint_test): Likewise.
6233 (rint_test_tonearest): Likewise.
6234 (rint_test_towardzero): Likewise.
6235 (rint_test_downward): Likewise.
6236 (rint_test_upward): Likewise.
6237 (round_test): Likewise.
6238 (scalb_test): Likewise.
6239 (scalbn_test): Likewise.
6240 (scalbln_test): Likewise.
6241 (signbit_test): Likewise.
6242 (sin_test): Likewise.
6243 (sin_test_tonearest): Likewise.
6244 (sin_test_towardzero): Likewise.
6245 (sin_test_downward): Likewise.
6246 (sin_test_upward): Likewise.
6247 (sincos_test): Likewise.
6248 (sinh_test): Likewise.
6249 (sinh_test_tonearest): Likewise.
6250 (sinh_test_towardzero): Likewise.
6251 (sinh_test_downward): Likewise.
6252 (sinh_test_upward): Likewise.
6253 (sqrt_test): Likewise.
6254 (sqrt_test_tonearest): Likewise.
6255 (sqrt_test_towardzero): Likewise.
6256 (sqrt_test_downward): Likewise.
6257 (sqrt_test_upward): Likewise.
6258 (tan_test): Likewise.
6259 (tan_test_tonearest): Likewise.
6260 (tan_test_towardzero): Likewise.
6261 (tan_test_downward): Likewise.
6262 (tan_test_upward): Likewise.
6263 (tanh_test): Likewise.
6264 (tgamma_test): Likewise.
6265 (trunc_test): Likewise.
6266 (y0_test): Likewise.
6267 (y1_test): Likewise.
6268 (yn_test): Likewise.
6269 (significand_test): Likewise.
6271 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6272 individual tests in comment.
6273 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6274 (prev_max_error): New variable.
6275 (prev_real_max_error): Likewise.
6276 (prev_imag_max_error): Likewise.
6277 (compare_ulp_data): Don't refer to test names in comment.
6278 (find_test_ulps): Remove function.
6279 (find_function_ulps): Likewise.
6280 (find_complex_function_ulps): Likewise.
6281 (init_max_error): Take function name as argument. Look up ulps
6283 (print_ulps): Remove function.
6284 (print_max_error): Use prev_max_error instead of calling
6286 (print_complex_max_error): Use prev_real_max_error and
6287 prev_imag_max_error instead of calling find_complex_function_ulps.
6288 (check_float_internal): Take max_ulp parameter instead of calling
6289 find_test_ulps. Don't call print_ulps.
6290 (check_float): Update call to check_float_internal.
6291 (check_complex): Update calls to check_float_internal.
6292 (START): Pass argument to init_max_error.
6293 * math/gen-libm-test.pl (%results): Don't include "kind"
6295 (parse_ulps): Don't handle ulps of individual tests.
6296 (print_ulps_file): Likewise.
6297 (output_ulps): Likewise.
6298 * math/README.libm-test: Update.
6299 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6301 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6302 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6303 * sysdeps/arm/libm-test-ulps: Likewise.
6304 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6305 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6306 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6307 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6308 * sysdeps/microblaze/libm-test-ulps: Likewise.
6309 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6310 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6312 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6313 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6314 * sysdeps/sh/libm-test-ulps: Likewise.
6315 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6316 * sysdeps/tile/libm-test-ulps: Likewise.
6317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6321 * math/libm-test.inc (print_complex_max_error): Check separately
6322 whether real and imaginary errors are within allowed range and
6323 pass 0 to print_complex_function_ulps instead of value within
6326 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6328 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6330 (get_handles_fopen): Likewise.
6331 (do_write_test): Likewise.
6333 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6335 * libio/fileops.c (do_ftell): Use cached offset when
6337 * libio/iofwide.c (do_ftell_wide): Likewise.
6338 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6340 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6343 * libio/libioP.h (get_file_offset): New function.
6344 * libio/fileops.c (get_file_offset): Likewise.
6345 (do_ftell): Likewise.
6346 (_IO_new_file_seekoff): Split out ftell logic.
6347 * libio/wfileops.c (do_ftell_wide): Likewise.
6348 (_IO_wfile_seekoff): Split out ftell logic.
6349 * libio/tst-ftell-active-handler.c: New test case.
6350 * libio/Makefile (tests): Add it.
6352 2014-03-03 Roland McGrath <roland@hack.frob.com>
6354 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6355 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6357 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6360 * nscd/connections.c (nscd_init): Call do_exit.
6361 (start_threads): Call do_exit and notify_parent.
6362 (begin_drop_privileges): Call do_exit.
6363 (finish_drop_privileges): Likewise.
6364 * nscd/selinux.c (preserve_capabilities): Likewise.
6365 (install_real_capabilities): Likewise.
6366 (nscd_selinux_enabled): Likewise.
6367 (avc_create_thread): Likewise.
6368 (avc_alloc_lock): Likewise.
6369 (nscd_avc_init): Likewise.
6370 * nscd/nscd.c (parent_fd): New static variable.
6371 (main): Create a pipe between parent and child processes.
6372 Skip closing parent_fd.
6373 (monitor_child): New function.
6374 (do_exit): Likewise.
6375 (notify_parent): Likewise.
6376 * nscd/nscd.h (notify_parent): Likewise.
6377 (do_exit): Likewise.
6379 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6381 * malloc/malloc.c (__libc_calloc): Revert last change.
6383 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6387 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6389 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6393 (__libc_ifunc_impl_list): Likewise.
6394 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6395 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6396 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6397 * string/strrchr.c: Define STRRCHR.
6399 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6401 * benchtest/bench-strtok.c (simple_strtok): Delete.
6402 (strtok_string): Use as benchmark.
6403 * string/strtok (STRTOK): New macro.
6405 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6407 * manual/threads.texi: Add header and standard comments to all
6410 * elf/dl-lookup.c (check_match): New function.
6411 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6412 (do_lookup_x): Remove nested function check_match. Use non-nested
6413 function check_match.
6415 2014-02-28 Roland McGrath <roland@hack.frob.com>
6417 * csu/Makefile (generated, before-compile): Use += rather than =.
6418 * catgets/Makefile (generated, generated-dirs): Likewise.
6419 * debug/Makefile (generated): Likewise.
6420 * dlfcn/Makefile (generated): Likewise.
6421 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6422 * iconvdata/Makefile (before-compile, generated): Likewise.
6423 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6424 * libio/Makefile (generated): Likewise.
6425 * malloc/Makefile (generated): Likewise.
6426 * manual/Makefile (generated, generated-dirs): Likewise.
6427 * misc/Makefile (generated): Likewise.
6428 * posix/Makefile (generated): Likewise.
6429 * resolv/Makefile (generated): Likewise.
6430 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6431 * timezone/Makefile (generated, generated-dirs): Likewise.
6433 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6435 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6438 power8 implementation.
6439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6440 file: POWER8 llround ifunc implementation.
6441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6442 (__lllround): Add POWER8 implementation.
6443 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6444 POWER8 llround implementation.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6447 power8 implementation.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6449 file: POWER8 llrint ifunc implementation.
6450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6451 Add POWER8 implementation.
6452 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6453 POWER8 llrint implementation.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6456 power8 implementation.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6458 file: POWER8 finite ifunc implementation.
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6460 Add POWER8 implementation.
6461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6463 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6464 POWER8 finite implementation.
6465 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6468 power8 implementation.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6470 file: POWER8 isinf ifunc implementation.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6472 POWER8 implementation.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6475 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6476 isinf implementation.
6477 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6479 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6480 (INIT_ARCH): Add hwcap2 initialization.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6482 power8 implementation.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6484 file: POWER8 isnan ifunc implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6486 POWER8 implementation.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6489 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6490 isnan implementation.
6491 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6493 2014-02-27 Joey Ye <joey.ye@arm.com>
6495 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6496 (_FP_NANFRAC_Q): Set to zero.
6498 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6501 * math/auto-libm-test-in: New test inputs.
6502 * math/auto-libm-test-out: Regenerate.
6503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6506 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6508 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6510 * scripts/evaluate-test.sh: Take new argument indicating whether
6511 failure is expected.
6512 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6513 indicating whether failure is expected.
6514 * conform/Makefile (test-xfail-run-conformtest): New variable.
6515 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6517 * posix/Makefile (test-xfail-annexc): New variable.
6518 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6520 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6522 * argp/Makefile: Include Makeconfig immediately after defining
6524 * assert/Makefile: Likewise.
6525 * benchtests/Makefile: Likewise.
6526 * catgets/Makefile: Likewise.
6527 * conform/Makefile: Likewise.
6528 * crypt/Makefile: Likewise.
6529 * csu/Makefile: Likewise.
6530 (all): Remove target.
6531 * ctype/Makefile: Include Makeconfig immediately after defining
6533 * debug/Makefile: Likewise.
6534 * dirent/Makefile: Likewise.
6535 * dlfcn/Makefile: Likewise.
6536 * gmon/Makefile: Likewise.
6537 * gnulib/Makefile: Likewise.
6538 * grp/Makefile: Likewise.
6539 * gshadow/Makefile: Likewise.
6540 * hesiod/Makefile: Likewise.
6541 * hurd/Makefile: Likewise.
6542 (all): Remove target.
6543 * iconvdata/Makefile: Include Makeconfig immediately after
6545 * inet/Makefile: Likewise.
6546 * intl/Makefile: Likewise.
6547 * io/Makefile: Likewise.
6548 * libio/Makefile: Likewise.
6549 (all): Remove target.
6550 * locale/Makefile: Include Makeconfig immediately after defining
6552 * login/Makefile: Likewise.
6553 * mach/Makefile: Likewise.
6554 (all): Remove target.
6555 * malloc/Makefile: Include Makeconfig immediately after defining
6557 (all): Remove target.
6558 * manual/Makefile: Include Makeconfig immediately after defining
6560 * math/Makefile: Likewise.
6561 * misc/Makefile: Likewise.
6562 * nis/Makefile: Likewise.
6563 * nss/Makefile: Likewise.
6564 * po/Makefile: Likewise.
6565 (all): Remove target.
6566 * posix/Makefile: Include Makeconfig immediately after defining
6568 * pwd/Makefile: Likewise.
6569 * resolv/Makefile: Likewise.
6570 * resource/Makefile: Likewise.
6571 * rt/Makefile: Likewise.
6572 * setjmp/Makefile: Likewise.
6573 * shadow/Makefile: Likewise.
6574 * signal/Makefile: Likewise.
6575 * socket/Makefile: Likewise.
6576 * soft-fp/Makefile: Likewise.
6577 * stdio-common/Makefile: Likewise.
6578 * stdlib/Makefile: Likewise.
6579 * streams/Makefile: Likewise.
6580 * string/Makefile: Likewise.
6581 * sunrpc/Makefile: Likewise.
6582 (all): Remove target.
6583 * sysvipc/Makefile: Include Makeconfig immediately after defining
6585 * termios/Makefile: Likewise.
6586 * time/Makefile: Likewise.
6587 * timezone/Makefile: Likewise.
6588 (all): Remove target.
6589 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6591 * wctype/Makefile: Likewise.
6593 2014-02-26 Steve Ellcey <sellcey@mips.com>
6595 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6596 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6597 (libc_feholdexcept_setround_mips): Ditto.
6598 (libc_feholdsetround): New.
6599 (libc_feholdsetroundf): New.
6600 (libc_feholdsetroundl): New.
6601 (libc_feupdateenv_test_mips): New.
6602 (libc_feupdateenv_test): New.
6603 (libc_feupdateenv_testf): New.
6604 (libc_feupdateenv_testl): New.
6605 (libc_feresetround): New.
6606 (libc_feresetroundf): New.
6607 (libc_feresetroundl): New.
6608 (libc_fetestexcept_mips): New.
6609 (libc_fetestexcept): New.
6610 (libc_fetestexceptf): New.
6611 (libc_fetestexceptl): New.
6613 (libc_feholdexcept_setround_mips_ctx): New.
6614 (libc_feholdexcept_setround_ctx): New.
6615 (libc_feholdexcept_setroundf_ctx): New.
6616 (libc_feholdexcept_setroundl_ctx): New.
6617 (libc_fesetenv_mips_ctx): New.
6618 (libc_fesetenv_ctx): New.
6619 (libc_fesetenv_ctxf): New.
6620 (libc_fesetenv_ctxl): New.
6621 (libc_feupdateenv_mips_ctx): New.
6622 (libc_feupdateenv_ctx): New.
6623 (libc_feupdateenvf_ctx): New.
6624 (libc_feupdateenvl_ctx): New.
6625 (libc_feholdsetround_mips_ctx): New.
6626 (libc_feholdsetround_ctx): New.
6627 (libc_feholdsetroundf_ctx): New.
6628 (libc_feholdsetroundl_ctx): New.
6629 (libc_feresetround_mips_ctx): New.
6630 (libc_feresetround_ctx): New.
6631 (libc_feresetroundf_ctx): New.
6632 (libc_feresetroundl_ctx): New.
6634 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6636 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6638 * manual/ipc.texi: New file.
6639 * manual/Makefile (chapters): Add ipc.
6640 * manual/job.texi: Add "Inter-Process Communication" to next.
6641 * manual/process.texi: Add "Inter-Process Communication" to prev.
6643 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6647 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6649 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6651 * manual/arith.texi: Fix spaces after sentences.
6652 * manual/charset.texi: Likewise.
6653 * manual/errno.texi: Likewise.
6654 * manual/install.texi: Likewise.
6655 * manual/llio.texi: Likewise.
6656 * manual/locale.texi: Likewise.
6657 * manual/maint.texi: Likewise.
6658 * manual/math.texi: Likewise.
6659 * manual/memory.texi: Likewise.
6660 * manual/message.texi: Likewise.
6661 * manual/probes.texi: Likewise.
6662 * manual/resource.texi: Likewise.
6663 * manual/signal.texi: Likewise.
6664 * manual/socket.texi: Likewise.
6665 * manual/stdio.texi: Likewise.
6666 * manual/string.texi: Likewise.
6667 * manual/time.texi: Likewise.
6668 * manual/users.texi: Likewise.
6670 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6673 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6674 _DEFAULT_SOURCE is defined.
6676 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6677 Carlos O'Donell <carlos@redhat.com>
6680 * elf/dl-tls.c (_dl_count_modids): New function.
6681 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6682 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6683 audit library and increment generation counter.
6684 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6685 * elf/tst-audit9.c: New file.
6686 * elf/tst-auditmod9a.c: New file.
6687 * elf/tst-auditmod9b.c: New file.
6688 * elf/Makefile: Add rules to build and run tst-audit9.
6690 2014-02-25 Florian Weimer <fweimer@redhat.com>
6693 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6695 2014-02-25 Will Newton <will.newton@linaro.org>
6697 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6698 (__longjmp): Restore sp and lr before restoring callee
6699 saved registers. Add longjmp and longjmp_target
6700 SystemTap probe point.
6701 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6702 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6703 Define to zero to match jmpbuf layout.
6704 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6705 (__sigsetjmp): Save sp and lr before saving callee
6706 saved registers. Add setjmp SystemTap probe point.
6708 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6710 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6712 2014-02-24 Andreas Schwab <schwab@suse.de>
6715 * elf/pldd.c (wait_for_ptrace_stop): New function.
6716 (main): Call it after attaching.
6718 2014-02-22 Roland McGrath <roland@hack.frob.com>
6720 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6721 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6722 Versions files is now verboten.
6723 * hurd/Versions (libc: GLIBC_2.0):
6724 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6725 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6726 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6727 * mach/Versions: Likewise.
6729 * csu/Versions: Remove unused %include.
6730 * resolv/Versions: Likewise.
6732 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6734 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6735 ($(objpfx)check-local-headers.out): Likewise.
6736 ($(objpfx)begin-end-check.out): Likewise.
6737 * Makerules (check-abi-%.out): Likewise.
6738 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6739 ($(objpfx)test2.cat): Likewise.
6740 ($(objpfx)de/libc.cat): Likewise.
6741 ($(objpfx)test-gencat.out): Likewise.
6742 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6743 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6744 ($(objpfx)noload-mem): Likewise.
6745 ($(objpfx)tst-pathopt.out): Likewise.
6746 ($(objpfx)tst-rtld-load-self.out): Likewise.
6747 ($(objpfx)tst-array1-cmp.out): Likewise.
6748 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6749 ($(objpfx)tst-array2-cmp.out): Likewise.
6750 ($(objpfx)tst-array3-cmp.out): Likewise.
6751 ($(objpfx)tst-array4-cmp.out): Likewise.
6752 ($(objpfx)tst-array5-cmp.out): Likewise.
6753 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6754 ($(objpfx)check-textrel.out): Likewise.
6755 ($(objpfx)check-execstack.out): Likewise.
6756 ($(objpfx)check-localplt.out): Likewise.
6757 ($(objpfx)order2-cmp.out): Likewise.
6758 ($(objpfx)tst-leaks1-mem): Likewise.
6759 ($(objpfx)tst-leaks1-static-mem): Likewise.
6760 ($(objpfx)tst-initorder-cmp.out): Likewise.
6761 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6762 ($(objpfx)tst-unused-dep.out): Likewise.
6763 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6764 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6765 * iconv/Makefile (test-iconvconfig): Likewise.
6766 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6767 ($(objpfx)iconv-test.out): Likewise.
6768 ($(objpfx)tst-tables.out): Likewise.
6769 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6770 ($(objpfx)tst-gettext.out): Likewise.
6771 ($(objpfx)tst-translit.out): Likewise.
6772 ($(objpfx)tst-gettext2.out): Likewise.
6773 ($(objpfx)tst-gettext4.out): Likewise.
6774 ($(objpfx)tst-gettext6.out): Likewise.
6775 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6776 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6777 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6778 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6779 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6780 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6781 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6782 ($(objpfx)wordexp-tst.out): Likewise.
6783 ($(objpfx)annexc.out): Likewise.
6784 ($(objpfx)tst-fnmatch-mem): Likewise.
6785 ($(objpfx)bug-regex2-mem): Likewise.
6786 ($(objpfx)bug-regex14-mem): Likewise.
6787 ($(objpfx)bug-regex21-mem): Likewise.
6788 ($(objpfx)bug-regex31-mem): Likewise.
6789 ($(objpfx)tst-vfork3-mem): Likewise.
6790 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6791 ($(objpfx)tst-pcre-mem): Likewise.
6792 ($(objpfx)tst-boost-mem): Likewise.
6793 ($(objpfx)tst-getconf.out): Likewise.
6794 ($(objpfx)bug-ga2-mem): Likewise.
6795 ($(objpfx)bug-glob2-mem): Likewise.
6796 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6797 ($(objpfx)mtrace-tst-leaks2): Likewise.
6798 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6799 ($(objpfx)tst-printf.out): Likewise.
6800 ($(objpfx)tst-setvbuf1.out): Likewise.
6801 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6802 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6803 ($(objpfx)tst-fmtmsg.out): Likewise.
6804 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6805 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6807 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6808 * bits/sigaction.h [__USE_MISC]: Likewise.
6809 * bits/waitstatus.h: Update #endif comments.
6810 * ctype/ctype.h: Likewise.
6811 * dirent/dirent.h: Likewise.
6812 [__USE_MISC]: Remove redundant conditionals.
6813 * grp/grp.h: Update #endif comments.
6814 [__USE_GNU]: Remove redundant conditionals.
6815 [__USE_MISC]: Likewise.
6816 * inet/netinet/in.h [__USE_GNU]: Likewise.
6817 * io/sys/stat.h [__USE_MISC]: Likewise.
6818 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6819 * libio/bits/stdio.h: Update #endif comments.
6820 [__USE_MISC]: Remove redundant conditionals.
6821 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6822 * libio/stdio.h: Update #endif comments.
6823 [__USE_MISC]: Remove redundant conditionals.
6824 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6825 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6826 * math/math.h: Update #else and #endif comments.
6827 [__USE_MISC]: Remove redundant conditionals.
6828 * misc/sys/uio.h: Update #endif comments.
6829 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6830 * posix/glob.h [__USE_MISC]: Likewise.
6831 * posix/sys/types.h: Update #endif comments.
6832 [__USE_MISC]: Remove redundant conditionals.
6833 * posix/sys/wait.h: Update #endif comments.
6834 [__USE_MISC]: Remove redundant conditionals.
6835 * posix/unistd.h: Update #endif comments.
6836 [__USE_MISC]: Remove redundant conditionals.
6837 * pwd/pwd.h [__USE_GNU]: Likewise.
6838 [__USE_MISC]: Likewise.
6839 * resolv/netdb.h [__USE_GNU]: Likewise.
6840 * signal/signal.h: Update #endif comments.
6841 [__USE_MISC]: Remove redundant conditionals.
6842 * stdlib/stdlib.h: Update #else and #endif comments.
6843 [__USE_MISC]: Remove redundant conditionals.
6844 [__USE_GNU]: Likewise.
6845 * string/bits/string2.h [__USE_MISC]: Likewise.
6846 * string/string.h: Update #endif comments.
6847 [__USE_MISC]: Remove redundant conditionals.
6848 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6850 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6851 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6852 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6854 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6856 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6858 [__USE_MISC]: Remove redundant conditionals.
6859 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6860 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6861 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6862 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6863 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6865 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6866 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6868 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6869 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6871 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6873 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6876 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6878 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6879 * sysdeps/x86/bits/string.h: Update #endif comments.
6880 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6882 * time/sys/time.h: Update #endif comments.
6883 * time/time.h: Likewise.
6884 [__USE_MISC]: Remove redundant conditionals.
6886 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6889 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6891 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6893 * Versions.def (librt): Add GLIBC_2.17.
6895 2014-02-21 Adam Conrad <adconrad@0c3.net>
6897 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6898 synonym for _SYS_AUXV_H to allow direct inclusion.
6899 * sysdeps/sparc/bits/hwcap.h: Likewise.
6900 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6901 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6902 * sysdeps/sparc/sysdep.h: Likewise.
6904 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6906 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6908 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6910 * benchtests/bench-strrchr.c: Print length instead of position.
6912 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/unix/sysv/linux/kernel-features.h
6916 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6917 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6918 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6919 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6921 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6922 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6923 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6924 (__ASSUME_SENDMMSG): Define instead of using previous
6925 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6927 (__ASSUME_SENDMMSG_SYSCALL): Define.
6928 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6929 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6931 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6934 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6935 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6937 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6938 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6939 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6940 [__ASSUME_SENDMMSG]: Change conditionals to
6941 [__ASSUME_SENDMMSG_SOCKETCALL].
6942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6943 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6946 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6948 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6949 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6950 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6951 [!__ASSUME_SENDMMSG]: Change conditional to
6952 [!__ASSUME_SENDMMSG_SOCKETCALL].
6953 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6958 * sysdeps/unix/sysv/linux/kernel-features.h
6959 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6960 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6961 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6962 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6963 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6964 [__i386__ || __sparc__]
6965 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6966 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6967 (__ASSUME_RECVMMSG): Define instead of using previous
6968 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6969 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6970 (__ASSUME_RECVMMSG_SYSCALL): Define.
6971 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6972 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6975 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6977 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6978 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6980 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6981 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6982 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6983 [__ASSUME_RECVMMSG]: Change condition to
6984 [__ASSUME_RECVMMSG_SOCKETCALL].
6985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6986 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6988 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6989 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6992 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6993 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6994 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6995 [!__ASSUME_RECVMMSG]: Change condition to
6996 [!__ASSUME_RECVMMSG_SOCKETCALL].
6997 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6998 (__ASSUME_RECVMMSG_SYSCALL): Define.
7001 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7002 __powerpc__ || __s390__ || __sh__ || __sparc__]
7003 (__ASSUME_SOCKETCALL): Define.
7004 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7005 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7006 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7007 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7008 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7009 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7010 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7011 (__ASSUME_ACCEPT4): Define instead of using previous
7012 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7013 __powerpc__ || __sparc__ || __s390__)] condition.
7014 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7015 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7016 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7017 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7018 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7019 [!__ASSUME_ACCEPT4]: Change condition to
7020 [!__ASSUME_ACCEPT4_SOCKETCALL].
7021 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7022 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7023 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7024 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7025 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7026 __ASSUME_ACCEPT4_SYSCALL.
7027 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7028 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7029 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7030 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7031 __ASSUME_ACCEPT4_SYSCALL.
7032 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7033 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7034 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7035 [__ASSUME_ACCEPT4]: Change condition to
7036 [__ASSUME_ACCEPT4_SOCKETCALL].
7037 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7038 (__ASSUME_SOCKETCALL): Define.
7039 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7041 (__ASSUME_SOCKETCALL): Define.
7042 (__ASSUME_ACCEPT4): Remove.
7043 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7046 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7048 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7049 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7051 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7053 (HWCAP_ARM_LPAE): Likewise.
7054 (HWCAP_ARM_EVTSTRM): Likewise.
7055 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7056 Add vpfd32, lpae and evtstrm.
7057 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7060 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7062 * math/auto-libm-test-in: Add tests of clog10.
7063 * math/auto-libm-test-out: Regenerated.
7064 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7065 * sysdeps/i386/fpu/libm-test-ulps: Update.
7066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7068 2014-02-18 Andreas Schwab <schwab@suse.de>
7071 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7072 Store non-zero if the second buffer was newly allocated.
7073 (send_dg): Likewise.
7074 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7075 to send_vc and send_dg.
7076 (res_nsend): Pass NULL for ansp2_malloced.
7077 * resolv/res_query.c (__libc_res_nquery): Add parameter
7078 answerp2_malloced and pass it down to __libc_res_nsend.
7079 (res_nquery): Pass additional NULL to __libc_res_nquery.
7080 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7081 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7082 second answer buffer if answerp2_malloced was set.
7083 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7084 (__libc_res_nquerydomain): Add parameter
7085 answerp2_malloced and pass it down to __libc_res_nquery.
7086 (res_nquerydomain): Pass additional NULL to
7087 __libc_res_nquerydomain.
7088 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7089 additional NULL to __libc_res_nsend and __libc_res_nquery.
7090 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7091 additional NULL to __libc_res_nsearch.
7092 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7093 parameter of __libc_res_nsearch to check for separately allocated
7095 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7097 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7098 additional NULL to __libc_res_nquery.
7099 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7101 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7102 * include/resolv.h: Update prototypes of __libc_res_nquery,
7103 __libc_res_nsearch, __libc_res_nsend.
7105 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7107 * math/auto-libm-test-in: Add tests of fma.
7108 * math/auto-libm-test-out: Regenerated.
7109 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7110 (fma_towardzero_test_data): Likewise.
7111 (fma_downward_test_data): Likewise.
7112 (fma_upward_test_data): Likewise.
7113 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7115 (rounding_modes): Add values for new field.
7116 (func_calc_method): Add value mpfr_fff_f.
7117 (func_calc_desc): Add mpfr_fff_f union field.
7118 (test_function): Add field exact_args.
7119 (FUNC): Add macro argument EXACT_ARGS.
7120 (FUNC_mpfr_f_f): Update call to FUNC.
7121 (FUNC_mpfr_f_f): Likewise.
7122 (FUNC_mpfr_ff_f): Likewise.
7123 (FUNC_mpfr_if_f): Likewise.
7124 (FUNC_mpc_c_f): Likewise.
7125 (FUNC_mpc_c_c): Likewise.
7126 (test_functions): Add fma. Update calls to FUNC.
7127 (handle_input_arg): Add argument exact_args.
7128 (add_test): Update call to handle_input_arg.
7129 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7130 (output_for_one_input_case): Update call to calc_generic_results.
7131 Recalculate exact zero results in each rounding mode.
7133 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7134 non-negative before setting low bit.
7135 * math/auto-libm-test-in: Mark one asin test possibly having
7137 * math/auto-libm-test-out: Regenerated.
7138 * sysdeps/i386/fpu/libm-test-ulps: Update.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7141 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7143 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7144 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7145 ports/sysdeps/unix/sysv/linux/microblaze.
7146 * README: Add missing listing for microblaze*-*-linux-gnu.
7148 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7150 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7151 * sysdeps/unix/sysv/linux/ia64: Move directory from
7152 ports/sysdeps/unix/sysv/linux/ia64.
7153 * README: Update listing for ia64-*-linux-gnu.
7155 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7156 Joseph Myers <joseph@codesourcery.com>
7158 * Makeconfig (test-name): New variable.
7159 (evaluate-test): Likewise.
7160 * Makerules (do-test-clean): Remove .test-result files.
7161 (common-mostlyclean): Likewise.
7162 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7163 * scripts/evaluate-test.sh: New file.
7165 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7167 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7168 separate $(objpfx)tst-fopenloc-cmp.out and
7169 $(objpfx)tst-fopenloc-mem.out targets.
7170 (tests): Update dependencies.
7171 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7172 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7173 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7174 (tst-rxspencer-no-utf8-ARGS): New variable.
7175 (tst-rxspencer-no-utf8-ENV): Likewise.
7176 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7177 instead of $(objpfx)tst-rxspencer-mem.
7178 ($(objpfx)tst-rxspencer-mem): Change target to
7179 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7180 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7181 * posix/tst-rxspencer-no-utf8.c: New file.
7183 * elf/Makefile ($(objpfx)order.out): Remove rule.
7184 [$(run-built-tests) = yes] (tests): Depend on
7185 $(objpfx)order-cmp.out.
7186 ($(objpfx)order-cmp.out): New rule.
7187 [$(run-built-tests) = yes] (tests): Depend on
7188 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7189 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7190 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7191 $(objpfx)tst-array5-static-cmp.out.
7192 ($(objpfx)tst-array1.out): Remove rule.
7193 ($(objpfx)tst-array1-cmp.out): New rule.
7194 ($(objpfx)tst-array1-static.out): Remove rule.
7195 ($(objpfx)tst-array1-static-cmp.out): New rule.
7196 ($(objpfx)tst-array2.out): Remove rule.
7197 ($(objpfx)tst-array2-cmp.out): New rule.
7198 ($(objpfx)tst-array3.out): Remove rule.
7199 ($(objpfx)tst-array3-cmp.out): New rule.
7200 ($(objpfx)tst-array4.out): Remove rule.
7201 ($(objpfx)tst-array4-cmp.out): New rule.
7202 ($(objpfx)tst-array5.out): Remove rule.
7203 ($(objpfx)tst-array5-cmp.out): New rule.
7204 ($(objpfx)tst-array5-static.out): Remove rule.
7205 ($(objpfx)tst-array5-static-cmp.out): New rule.
7206 [$(run-built-tests) = yes] (tests): Depend on
7207 $(objpfx)order2-cmp.out.
7208 ($(objpfx)order2.out): Remove rule.
7209 ($(objpfx)order2-cmp.out): New rule.
7210 ($(objpfx)tst-initorder.out): Remove rule.
7211 [$(run-built-tests) = yes] (tests): Depend on
7212 $(objpfx)tst-initorder-cmp.out.
7213 ($(objpfx)tst-initorder-cmp.out): New rule.
7214 ($(objpfx)tst-initorder2.out): Remove rule.
7215 [$(run-built-tests) = yes] (tests): Depend on
7216 $(objpfx)tst-initorder2-cmp.out.
7217 ($(objpfx)tst-initorder2-cmp.out): New rule.
7218 [$(run-built-tests) = yes] (tests): Depend on
7219 $(objpfx)tst-unused-dep-cmp.out.
7220 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7221 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7222 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7223 on $(objpfx)tst-setvbuf1-cmp.out.
7224 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7225 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7226 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7227 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7228 ($(objpfx)tst-svc.out): Remove rule.
7229 ($(objpfx)tst-svc-cmp.out): New rule.
7231 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7233 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7234 * ctype/ctype.h [__USE_MISC]: Likewise.
7235 * dirent/dirent.h [__USE_MISC]: Likewise.
7236 * grp/grp.h [__USE_MISC]: Likewise.
7237 * io/fcntl.h [__USE_MISC]: Likewise.
7238 * io/sys/stat.h [__USE_MISC]: Likewise.
7239 * libio/stdio.h [__USE_MISC]: Likewise.
7240 * posix/unistd.h [__USE_MISC]: Likewise.
7241 * pwd/pwd.h [__USE_MISC]: Likewise.
7242 * stdlib.h [__USE_MISC]: Likewise.
7243 * string/bits/string2.h [__USE_MISC]: Likewise.
7244 * string/string.h [__USE_MISC]: Likewise.
7245 * time/time.h [__USE_MISC]: Likewise.
7247 2014-02-13 Andreas Schwab <schwab@suse.de>
7250 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7251 second answer buffer if it was separately allocated.
7253 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7255 * sysdeps/mips/math-tests.h: Include <features.h>.
7256 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7257 (ROUNDING_TESTS_long_double): Do not define.
7258 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7259 (EXCEPTION_TESTS_long_double): Likewise.
7260 * sysdeps/mips/mips64/libm-test-ulps: Update.
7262 * include/features.h (__USE_BSD): Remove macro definitions.
7263 (__USE_SVID): Likewise.
7264 (_BSD_SOURCE): Likewise.
7265 (_SVID_SOURCE): Likewise.
7266 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7267 from definition of _DEFAULT_SOURCE.
7268 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7270 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7271 * bits/mman.h [__USE_BSD]: Likewise.
7272 * bits/termios.h [__USE_BSD]: Likewise.
7273 * bits/waitstatus.h [__USE_BSD]: Likewise.
7274 * ctype/ctype.h [__USE_SVID]: Likewise.
7275 * dirent/dirent.h [__USE_BSD]: Likewise.
7276 * grp/grp.h [__USE_SVID]: Likewise.
7277 [__USE_BSD]: Likewise.
7278 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7279 * io/fcntl.h [__USE_BSD]: Likewise.
7280 * io/ftw.h [__USE_BSD]: Likewise.
7281 * io/sys/stat.h [__USE_BSD]: Likewise.
7282 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7283 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7284 * libio/stdio.h [__USE_SVID]: Likewise.
7285 [__USE_BSD]: Likewise.
7286 * math/math.h [__USE_SVID]: Likewise.
7287 [__USE_BSD]: Likewise.
7288 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7289 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7290 * misc/search.h [__USE_SVID]: Likewise.
7291 * misc/sys/mman.h [__USE_BSD]: Likewise.
7292 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7293 * misc/sys/uio.h [__USE_BSD]: Likewise.
7294 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7295 * posix/glob.h [__USE_BSD]: Likewise.
7296 * posix/regex.h [__USE_BSD]: Likewise.
7297 * posix/sys/types.h [__USE_BSD]: Likewise.
7298 [__USE_SVID]: Likewise.
7299 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7300 * posix/sys/wait.h [__USE_BSD]: Likewise.
7301 [__USE_SVID]: Likewise.
7302 * posix/unistd.h [__USE_BSD]: Likewise.
7303 [__USE_SVID]: Likewise.
7304 * pwd/pwd.h [__USE_SVID]: Likewise.
7305 * resolv/netdb.h [__USE_BSD]: Likewise.
7306 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7307 * signal/signal.h [__USE_BSD]: Likewise.
7308 [__USE_SVID]: Likewise.
7309 * socket/sys/socket.h [__USE_BSD]: Likewise.
7310 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7311 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7312 [__USE_SVID]: Likewise.
7313 * string/bits/string2.h [__USE_BSD]: Likewise.
7314 [__USE_SVID]: Likewise.
7315 * string/bits/string3.h [__USE_BSD]: Likewise.
7316 * string/endian.h [__USE_BSD]: Likewise.
7317 * string/string.h [__USE_SVID]: Likewise.
7318 [__USE_BSD]: Likewise.
7319 * string/strings.h [__USE_BSD]: Likewise.
7320 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7321 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7322 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7323 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7324 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7325 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7329 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7330 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7332 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7333 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7335 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7337 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7338 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7339 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7341 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7343 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7344 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7345 * termios/termios.h [__USE_BSD]: Likewise.
7346 * time/sys/time.h [__USE_BSD]: Likewise.
7347 * time/time.h [__USE_BSD]: Likewise.
7348 [__USE_SVID]: Likewise.
7350 * Makefile (subdir_targets): Remove subdir_lint.out.
7352 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7353 (do-tst-printf): Likewise.
7354 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7355 $(objpfx)tst-printf.out.
7357 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7359 * Makerules (check-abi-%): Change target to
7360 $(objpfx)check-abi-%.out.
7361 (check-abi target): Update dependencies.
7362 (check-abi-pattern variable): Redirect output of diff to $@.
7363 (check-abi variable): Likewise.
7364 * elf/Makefile (check-abi): Update dependencies.
7366 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7368 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7369 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7371 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7372 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7373 value has largest subnormal exponent.
7374 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7375 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7376 * sysdeps/aarch64/soft-fp/sfp-machine.h
7377 (_FP_TININESS_AFTER_ROUNDING): New macro.
7378 * sysdeps/alpha/soft-fp/sfp-machine.h
7379 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7380 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7382 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7383 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7384 * sysdeps/mips/soft-fp/sfp-machine.h
7385 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7386 * sysdeps/powerpc/soft-fp/sfp-machine.h
7387 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7388 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7390 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7391 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7392 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7393 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7394 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7397 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7400 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7403 2014-02-12 Richard Henderson <rth@redhat.com>
7405 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7406 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7407 * sysdeps/unix/sysv/linux/alpha: Move directory from
7408 ports/sysdeps/unix/sysv/linux/alpha.
7409 * README: Update listing for alpha-*-linux-gnu.
7411 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7413 * include/features.h: Update comment documenting feature test
7415 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7417 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7418 (_SVID_SOURCE): Likewise.
7419 (_DEFAULT_SOURCE): Update description of default features.
7420 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7422 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7423 (S_ISVTX): Likewise.
7424 * manual/math.texi (Mathematical Constants): Likewise.
7425 * manual/signal.texi (Interrupted Primitives): Likewise.
7426 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7427 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7428 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7429 Don't refer to _SVID_SOURCE in warning text.
7431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7433 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7435 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7436 * sysdeps/mips/dl-lookup.c: Remove.
7437 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7439 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7442 * math/auto-libm-test-in: Add testcase for expl.
7443 * math/auto-libm-test-out: Regenerate.
7444 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7445 calculation of unsafe.
7446 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7448 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7450 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7451 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7452 ports/sysdeps/unix/sysv/linux/aarch64.
7453 * README: Update listing for aarch64*-*-linux-gnu.
7455 2014-02-11 Will Newton <will.newton@linaro.org>
7457 * manual/probes.texi (Mathematical Function Probes): Use
7458 "triggered" instead of "hit".
7460 * manual/probes.texi (Internal Probes): Add documentation
7461 of setjmp, longjmp and longjmp_target probes.
7463 * include/stap-probe.h: Add comment about probe argument
7466 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7467 definition. (tr_where, tr_freehook, tr_mallochook,
7468 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7470 2014-02-11 David S. Miller <davem@davemloft.net>
7472 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7473 processing int_tests.
7475 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7477 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7478 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7479 * sysdeps/unix/sysv/linux/mips: Move directory from
7480 ports/sysdeps/unix/sysv/linux/mips.
7481 * README: Update listing for mips-*-linux-gnu and
7484 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7486 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7487 * sysdeps/unix/sysv/linux/m68k: Move directory from
7488 ports/sysdeps/unix/sysv/linux/m68k.
7489 * README: Update listing for m68k-*-linux-gnu.
7491 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7493 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7494 * sysdeps/unix/sysv/linux/generic: Move directory from
7495 ports/sysdeps/unix/sysv/linux/generic.
7496 * sysdeps/unix/sysv/linux/tile: Move directory from
7497 ports/sysdeps/unix/sysv/linux/tile.
7498 * README: Update listing for tile*-*-linux-gnu.
7500 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7502 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7504 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7505 * catgets/open_catalog.c (__open_catalog): Likewise.
7506 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7507 * debug/confstr_chk.c: Likewise.
7508 * debug/fread_chk.c (__fread_chk): Likewise.
7509 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7510 * debug/getgroups_chk.c: Likewise.
7511 * debug/mbsnrtowcs_chk.c: Likewise.
7512 * debug/mbsrtowcs_chk.c: Likewise.
7513 * debug/mbstowcs_chk.c: Likewise.
7514 * debug/memcpy_chk.c: Likewise.
7515 * debug/memmove_chk.c: Likewise.
7516 * debug/mempcpy_chk.c: Likewise.
7517 * debug/memset_chk.c: Likewise.
7518 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7519 * debug/strcat_chk.c (__strcat_chk): Likewise.
7520 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7521 * debug/strncat_chk.c (__strncat_chk): Likewise.
7522 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7523 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7524 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7525 * debug/wcpncpy_chk.c: Likewise.
7526 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7527 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7528 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7529 * debug/wcsncpy_chk.c: Likewise.
7530 * debug/wcsnrtombs_chk.c: Likewise.
7531 * debug/wcsrtombs_chk.c: Likewise.
7532 * debug/wcstombs_chk.c: Likewise.
7533 * debug/wmemcpy_chk.c: Likewise.
7534 * debug/wmemmove_chk.c: Likewise.
7535 * debug/wmempcpy_chk.c: Likewise.
7536 * debug/wmemset_chk.c: Likewise.
7537 * dirent/scandirat.c (SCANDIRAT): Likewise.
7538 * dlfcn/dladdr1.c (dladdr1): Likewise.
7539 * dlfcn/dladdr.c (dladdr): Likewise.
7540 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7541 * dlfcn/dlerror.c (__dlerror): Likewise.
7542 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7543 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7544 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7545 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7546 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7547 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7548 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7549 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7551 * elf/dl-conflict.c: Likewise.
7552 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7553 * elf/dl-dst.h: Likewise.
7554 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7555 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7556 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7557 * elf/dl-init.c (call_init, _dl_init): Likewise.
7558 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7559 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7560 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7562 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7564 * elf/dl-minimal.c (__libc_memalign): Likewise.
7565 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7566 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7567 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7568 * elf/dl-sym.c (do_sym): Likewise.
7569 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7570 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7571 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7572 * elf/dl-writev.h (_dl_writev): Likewise.
7573 * elf/ldconfig.c (search_dir): Likewise.
7574 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7575 (dl_main): Likewise.
7576 * elf/setup-vdso.h (setup_vdso): Likewise.
7577 * grp/compat-initgroups.c (compat_call): Likewise.
7578 * grp/fgetgrent.c (fgetgrent): Likewise.
7579 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7580 * grp/putgrent.c (putgrent): Likewise.
7581 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7583 * hurd/hurdinit.c: Likewise.
7584 * iconvdata/8bit-gap.c (struct): Likewise.
7585 * iconvdata/ansi_x3.110.c : Likewise.
7586 * iconvdata/big5.c : Likewise.
7587 * iconvdata/big5hkscs.c : Likewise.
7588 * iconvdata/cp1255.c: Likewise.
7589 * iconvdata/cp1258.c : Likewise.
7590 * iconvdata/cp932.c : Likewise.
7591 * iconvdata/euc-cn.c: Likewise.
7592 * iconvdata/euc-jisx0213.c : Likewise.
7593 * iconvdata/euc-jp.c: Likewise.
7594 * iconvdata/euc-jp-ms.c : Likewise.
7595 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7596 * iconvdata/gb18030.c : Likewise.
7597 * iconvdata/gbbig5.c (const): Likewise.
7598 * iconvdata/gbgbk.c: Likewise.
7599 * iconvdata/gbk.c : Likewise.
7600 * iconvdata/ibm1364.c : Likewise.
7601 * iconvdata/ibm930.c : Likewise.
7602 * iconvdata/ibm932.c: Likewise.
7603 * iconvdata/ibm933.c : Likewise.
7604 * iconvdata/ibm935.c : Likewise.
7605 * iconvdata/ibm937.c : Likewise.
7606 * iconvdata/ibm939.c : Likewise.
7607 * iconvdata/ibm943.c: Likewise.
7608 * iconvdata/iso_11548-1.c: Likewise.
7609 * iconvdata/iso-2022-cn.c : Likewise.
7610 * iconvdata/iso-2022-cn-ext.c : Likewise.
7611 * iconvdata/iso-2022-jp-3.c: Likewise.
7612 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7613 * iconvdata/iso-2022-kr.c : Likewise.
7614 * iconvdata/iso646.c (gconv_end): Likewise.
7615 * iconvdata/iso_6937-2.c : Likewise.
7616 * iconvdata/iso_6937.c : Likewise.
7617 * iconvdata/iso8859-1.c: Likewise.
7618 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7619 * iconvdata/shift_jisx0213.c : Likewise.
7620 * iconvdata/sjis.c : Likewise.
7621 * iconvdata/t.61.c : Likewise.
7622 * iconvdata/tcvn5712-1.c : Likewise.
7623 * iconvdata/tscii.c: Likewise.
7624 * iconvdata/uhc.c : Likewise.
7625 * iconvdata/unicode.c (gconv_end): Likewise.
7626 * iconvdata/utf-16.c (gconv_end): Likewise.
7627 * iconvdata/utf-32.c (gconv_end): Likewise.
7628 * iconvdata/utf-7.c (base64): Likewise.
7629 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7630 * iconv/gconv_close.c (__gconv_close): Likewise.
7631 * iconv/gconv_open.c (__gconv_open): Likewise.
7632 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7633 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7634 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7635 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7636 (ucs4le_internal_loop_single): Likewise.
7637 * iconv/iconv.c (iconv): Likewise.
7638 * iconv/iconv_close.c: Likewise.
7639 * iconv/loop.c (SINGLE): Likewise.
7640 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7641 * include/atomic.h: Likewise.
7642 * inet/inet6_option.c (option_alloc): Likewise.
7643 * intl/bindtextdom.c (set_binding_values): Likewise.
7644 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7645 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7646 * intl/localealias.c (read_alias_file): Likewise.
7647 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7648 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7649 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7650 * libio/fmemopen.c (fmemopen): Likewise.
7651 * libio/iofgets.c (_IO_fgets): Likewise.
7652 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7653 * libio/iofgetws.c (fgetws): Likewise.
7654 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7655 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7656 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7657 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7658 * locale/findlocale.c (_nl_find_locale): Likewise.
7659 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7660 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7662 * locale/setlocale.c (setlocale): Likewise.
7663 * login/programs/pt_chown.c (main): Likewise.
7664 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7665 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7666 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7667 (mmap, mmap64, mremap, munmap): Likewise.
7668 * math/e_exp2l.c: Likewise.
7669 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7670 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7671 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7672 * math/s_catan.c (__catan): Likewise.
7673 * math/s_catanf.c (__catanf): Likewise.
7674 * math/s_catanh.c (__catanh): Likewise.
7675 * math/s_catanhf.c (__catanhf): Likewise.
7676 * math/s_catanhl.c (__catanhl): Likewise.
7677 * math/s_catanl.c (__catanl): Likewise.
7678 * math/s_ccosh.c (__ccosh): Likewise.
7679 * math/s_ccoshf.c (__ccoshf): Likewise.
7680 * math/s_ccoshl.c (__ccoshl): Likewise.
7681 * math/s_cexp.c (__cexp): Likewise.
7682 * math/s_cexpf.c (__cexpf): Likewise.
7683 * math/s_cexpl.c (__cexpl): Likewise.
7684 * math/s_clog10.c (__clog10): Likewise.
7685 * math/s_clog10f.c (__clog10f): Likewise.
7686 * math/s_clog10l.c (__clog10l): Likewise.
7687 * math/s_clog.c (__clog): Likewise.
7688 * math/s_clogf.c (__clogf): Likewise.
7689 * math/s_clogl.c (__clogl): Likewise.
7690 * math/s_csin.c (__csin): Likewise.
7691 * math/s_csinf.c (__csinf): Likewise.
7692 * math/s_csinh.c (__csinh): Likewise.
7693 * math/s_csinhf.c (__csinhf): Likewise.
7694 * math/s_csinhl.c (__csinhl): Likewise.
7695 * math/s_csinl.c (__csinl): Likewise.
7696 * math/s_csqrt.c (__csqrt): Likewise.
7697 * math/s_csqrtf.c (__csqrtf): Likewise.
7698 * math/s_csqrtl.c (__csqrtl): Likewise.
7699 * math/s_ctan.c (__ctan): Likewise.
7700 * math/s_ctanf.c (__ctanf): Likewise.
7701 * math/s_ctanh.c (__ctanh): Likewise.
7702 * math/s_ctanhf.c (__ctanhf): Likewise.
7703 * math/s_ctanhl.c (__ctanhl): Likewise.
7704 * math/s_ctanl.c (__ctanl): Likewise.
7705 * math/w_pow.c: Likewise.
7706 * math/w_powf.c: Likewise.
7707 * math/w_powl.c: Likewise.
7708 * math/w_scalb.c (sysv_scalb): Likewise.
7709 * math/w_scalbf.c (sysv_scalbf): Likewise.
7710 * math/w_scalbl.c (sysv_scalbl): Likewise.
7711 * misc/error.c (error_tail): Likewise.
7712 * misc/pselect.c (__pselect): Likewise.
7713 * nis/nis_callback.c (__nis_create_callback): Likewise.
7714 * nis/nis_call.c (__nisfind_server): Likewise.
7715 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7716 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7717 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7718 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7719 * nis/nis_lookup.c (nis_lookup): Likewise.
7720 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7721 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7722 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7723 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7724 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7725 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7726 * nis/nss_compat/compat-initgroups.c (add_group)
7727 (internal_getgrent_r): Likewise.
7728 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7729 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7730 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7731 (internal_getspnam_r): Likewise.
7732 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7733 (_nss_nis_getaliasbyname_r): Likewise.
7734 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7735 (_nss_nis_getntohost_r): Likewise.
7736 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7737 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7738 (_nss_nis_getgrgid_r): Likewise.
7739 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7740 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7741 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7742 (_nss_nis_gethostbyname4_r): Likewise.
7743 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7744 (initgroups_netid): Likewise.
7745 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7746 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7747 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7748 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7749 (_nss_nis_getprotobynumber_r): Likewise.
7750 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7751 (_nss_nis_getsecretkey): Likewise.
7752 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7753 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7754 (_nss_nis_getpwuid_r): Likewise.
7755 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7756 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7757 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7758 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7759 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7760 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7761 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7763 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7764 (_nss_nisplus_getntohost_r): Likewise.
7765 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7766 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7767 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7768 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7770 * nis/nss_nisplus/nisplus-initgroups.c
7771 (_nss_nisplus_initgroups_dyn): Likewise.
7772 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7773 (_nss_nisplus_getnetbyaddr_r): Likewise.
7774 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7775 (_nss_nisplus_getprotobynumber_r): Likewise.
7776 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7777 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7778 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7780 * nis/nss_nisplus/nisplus-service.c
7781 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7782 (_nss_nisplus_getservbyport_r): Likewise.
7783 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7784 (_nss_nisplus_getspnam_r): Likewise.
7785 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7787 * nscd/aicache.c (addhstaiX): Likewise.
7788 * nscd/cache.c (cache_search, prune_cache): Likewise.
7789 * nscd/connections.c (register_traced_file, send_ro_fd)
7790 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7791 (main_loop_epoll): Likewise.
7792 * nscd/grpcache.c (addgrbyX): Likewise.
7793 * nscd/hstcache.c (addhstbyX): Likewise.
7794 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7795 * nscd/mem.c (gc, mempool_alloc): Likewise.
7796 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7797 (addinnetgrX): Likewise.
7798 * nscd/nscd-client.h (__nscd_acquire_maplock)
7799 (__nscd_drop_map_ref): Likewise.
7800 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7801 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7802 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7804 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7806 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7807 (__nscd_get_map_ref): Likewise.
7808 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7809 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7811 * nscd/pwdcache.c (addpwbyX): Likewise.
7812 * nscd/selinux.c (preserve_capabilities): Likewise.
7813 * nscd/servicescache.c (addservbyX): Likewise.
7814 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7815 * posix/fnmatch.c (fnmatch): Likewise.
7816 * posix/getopt.c (_getopt_internal_r): Likewise.
7817 * posix/glob.c (glob, glob_in_dir): Likewise.
7818 * posix/wordexp.c (exec_comm_child): Likewise.
7819 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7820 (getanswer_r, gaih_getanswer_slice): Likewise.
7821 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7822 * resolv/res_init.c: Likewise.
7823 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7824 * resolv/res_query.c (__libc_res_nquery): Likewise.
7825 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7827 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7828 * stdio-common/perror.c (perror): Likewise.
7829 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7830 * stdio-common/tmpnam.c (tmpnam): Likewise.
7831 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7832 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7833 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7835 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7836 * stdlib/putenv.c (putenv): Likewise.
7837 * stdlib/setenv.c (__add_to_environ): Likewise.
7838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7839 * stdlib/strtol_l.c (INTERNAL): Likewise.
7840 * string/memmem.c (memmem): Likewise.
7841 * string/strerror.c (strerror): Likewise.
7842 * string/strnlen.c (__strnlen): Likewise.
7843 * string/test-memmem.c (simple_memmem): Likewise.
7844 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7845 * sunrpc/pm_getport.c (__get_socket): Likewise.
7846 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7847 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7848 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7849 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7851 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7853 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7854 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7855 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7856 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7858 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7860 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7861 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7862 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7863 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7864 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7866 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7867 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7868 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7869 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7870 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7873 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7877 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7878 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7881 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7882 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7883 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7892 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7894 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7896 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7898 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7900 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7902 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7904 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7905 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7906 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7907 * sysdeps/posix/sleep.c: Likewise.
7908 * sysdeps/posix/tempname.c: Likewise.
7909 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7910 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7912 * sysdeps/powerpc/powerpc32/dl-machine.h
7913 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7914 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7916 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7917 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7919 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7920 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7921 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7922 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7923 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7924 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7925 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7926 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7927 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7928 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7930 (elf_machine_lazy_rel): Likewise.
7931 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7932 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7933 (elf_machine_lazy_rel): Likewise.
7934 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7935 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7936 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7937 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7938 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7939 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7940 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7941 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7943 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7944 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7945 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7946 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7947 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7948 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7949 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7950 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7951 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7953 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7955 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7956 (__posix_fallocate64_l64): Likewise.
7957 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7958 (posix_fallocate): Likewise.
7959 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7962 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7963 (getifaddrs_internal): Likewise.
7964 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7965 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7966 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7967 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7968 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7969 (__posix_fallocate64_l64): Likewise.
7970 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7972 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7973 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7974 (__get_clockfreq): Likewise.
7975 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7976 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7977 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7980 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7981 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7982 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7984 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7985 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7986 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7987 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7988 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7989 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7990 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7992 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7993 (posix_fallocate): Likewise.
7994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7995 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7996 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7997 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7998 (elf_machine_rela, elf_machine_rela_relative)
7999 (elf_machine_lazy_rel): Likewise.
8000 * time/asctime.c (asctime_internal): Likewise.
8001 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8002 * time/tzset.c (__tzset_parse_tz): Likewise.
8003 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8004 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8005 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8006 * wcsmbs/wcsmbsload.h: Likewise.
8009 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8011 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8012 (arena_get2): Remove THREAD_STATS conditionals.
8013 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8014 (__malloc_stats, int): Likewise.
8016 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8018 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8019 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8021 * manual/setjmp.texi: Fix typos/grammar errors.
8023 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8024 Only return early when n is <= 0. Delete unused return statement.
8026 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8027 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8028 * debug/tst-longjmp_chk3.c: New file.
8030 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8031 (test_main): Replace code with set_fortify_handler call.
8032 * debug/test-strcpy_chk.c: Likewise.
8033 * debug/tst-chk1.c: Likewise.
8034 * debug/tst-longjmp_chk.c: Likewise.
8035 * test-skeleton.c: Include fcntl.h & paths.h
8036 (set_fortify_handler): Define.
8038 * debug/tst-longjmp_chk.c: Add header comment and include
8040 (do_test): Mark static.
8041 (TEST_FUNCTION): Define.
8043 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8044 (IP_PMTUDISC_INTERFACE): Likewise.
8045 (IP_MULTICAST_IF): Likewise.
8046 (IP_MULTICAST_TTL): Likewise.
8047 (IP_MULTICAST_LOOP): Likewise.
8048 (IP_ADD_MEMBERSHIP): Likewise.
8049 (IP_DROP_MEMBERSHIP): Likewise.
8050 (IP_UNBLOCK_SOURCE): Likewise.
8051 (IP_BLOCK_SOURCE): Likewise.
8052 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8053 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8054 (IP_MSFILTER): Likewise.
8055 (MCAST_JOIN_GROUP): Likewise.
8056 (MCAST_BLOCK_SOURCE): Likewise.
8057 (MCAST_UNBLOCK_SOURCE): Likewise.
8058 (MCAST_LEAVE_GROUP): Likewise.
8059 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8060 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8061 (MCAST_MSFILTER): Likewise.
8062 (IP_MULTICAST_ALL): Likewise.
8063 (IP_UNICAST_IF): Likewise.
8065 * timezone/Makefile: Delete $(have-ksh) check.
8066 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8067 * timezone/tzselect.ksh: Add +x mode bits.
8069 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8070 (ANON_INODE_FS_MAGIC): Likewise.
8071 (BDEVFS_MAGIC): Likewise.
8072 (BINFMTFS_MAGIC): Likewise.
8073 (BTRFS_TEST_MAGIC): Likewise.
8074 (CRAMFS_MAGIC_WEND): Likewise.
8075 (DEBUGFS_MAGIC): Likewise.
8076 (ECRYPTFS_SUPER_MAGIC): Likewise.
8077 (EXT3_SUPER_MAGIC): Likewise.
8078 (EXT4_SUPER_MAGIC): Likewise.
8079 (FUTEXFS_SUPER_MAGIC): Likewise.
8080 (HOSTFS_SUPER_MAGIC): Likewise.
8081 (HUGETLBFS_MAGIC): Likewise.
8082 (MINIX3_SUPER_MAGIC): Likewise.
8083 (MTD_INODE_FS_MAGIC): Likewise.
8084 (NILFS_SUPER_MAGIC): Likewise.
8085 (OPENPROM_SUPER_MAGIC): Likewise.
8086 (PIPEFS_MAGIC): Likewise.
8087 (PSTOREFS_MAGIC): Likewise.
8088 (QNX6_SUPER_MAGIC): Likewise.
8089 (RAMFS_MAGIC): Likewise.
8090 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8091 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8092 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8093 (SECURITYFS_MAGIC): Likewise.
8094 (SELINUX_MAGIC): Likewise.
8095 (SMACK_MAGIC): Likewise.
8096 (SOCKFS_MAGIC): Likewise.
8097 (SQUASHFS_MAGIC): Likewise.
8098 (STACK_END_MAGIC): Likewise.
8099 (TMPFS_MAGIC): Likewise.
8100 (USBDEVICE_SUPER_MAGIC): Likewise.
8101 (V9FS_MAGIC): Likewise.
8102 (XENFS_SUPER_MAGIC): Likewise.
8103 (CRAMFS_MAGIC): Fix typo in comment.
8104 (EXT2_SUPER_MAGIC): Update comment.
8105 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8107 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8109 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8110 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8111 * sysdeps/unix/sysv/linux/arm: Move directory from
8112 ports/sysdeps/unix/sysv/linux/arm.
8113 * README: Update listing for arm-*-linux-gnueabi.
8115 * README: Remove mention of am33.
8117 2014-02-07 Roland McGrath <roland@hack.frob.com>
8119 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8120 than the comma operator, to avoid "rhs of comma has no effect"
8122 (__sigfillset, __sigandset, __sigorset): Likewise.
8123 * include/signal.h (__sigemptyset): Likewise.
8124 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8126 2014-02-07 Allan McRae <allan@archlinux.org>
8128 * version.h (RELEASE): Set to "development".
8129 (VERSION): Set to "2.19.90"
8130 * NEWS: Add 2.20 section.
8132 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8135 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8137 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8139 * manual/contrib.texi: Update entry for Carlos O'Donell,
8140 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8142 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8144 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8146 * sysdeps/unix/sysv/linux/kernel-features.h
8147 [__LINUX_KERNEL_VERSION >= 0x020621]
8148 (__ASSUME_PROC_PID_TASK_COMM): Define.
8150 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8153 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8154 conversion when destination buffer does not have enough space.
8155 * libio/tst-ftell-partial-wide.c: New test case.
8156 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8158 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8159 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8160 Leonard and Allan McRae.
8162 2014-02-04 David S. Miller <davem@davemloft.net>
8164 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8167 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8196 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8199 * shlib-versions: Likewise.
8201 2014-02-04 Roland McGrath <roland@hack.frob.com>
8202 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8204 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8205 (abilist-pattern): New variable, set to %-le.abilist.
8207 * Makerules (abilist-pattern): New variable.
8208 (vpath): Use $(abilist-pattern) in place of %.abilist.
8209 (check-abi-% pattern rule): Likewise.
8210 (check-abi, update-abi): Likewise.
8212 2014-02-04 Eric Wong <normalperson@yhbt.net>
8214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8216 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8218 * manual/startup.texi: Add next, previous, and top entries for
8219 the `Program Arguments' and `Environment Variables' nodes.
8221 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8223 * manual/macros.texi: Add comments before MTASC-safety macros.
8225 * manual/users.texi: Document MTASC-safety properties.
8227 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8228 (pthread_getspecific, pthread_setspecific): Format with
8229 @deftypefun, and add @safety note.
8230 * manual/signal.texi: Move comments that analyze the above
8231 functions to their home place.
8233 2014-02-03 Allan McRae <allan@archlinux.org>
8235 * po/sl.po: Update Slovenian translation from translation project.
8237 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8239 * manual/time.texi (timegm): Add missing blank after @c.
8240 Reported by Joseph Myers <joseph@codesourcery.com>.
8242 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8244 * manual/check-safety.sh: New.
8245 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8247 * manual/terminal.texi: Document MTASC-safety properties.
8249 * manual/filesys.texi: Document MTASC-safety properties.
8251 * manual/errno.texi: Document MTASC-safety properties.
8253 * manual/intro.texi: Document safety identifiers and
8256 * manual/string.texi (wcstok): Fix prototype.
8257 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8259 * manual/time.texi: Document MTASC-safety properties.
8261 * manual/string.texi: Document MTASC-safety properties.
8263 * manual/threads.texi: Document MTASC-safety properties.
8265 * manual/stdio.texi: Document MTASC-safety properties.
8267 * manual/syslog.texi: Document MTASC-safety properties.
8269 * manual/sysinfo.texi: Document MTASC-safety properties.
8271 * manual/startup.texi: Document MTASC-safety properties.
8273 * manual/socket.texi: Document MTASC-safety properties.
8275 * manual/signal.texi: Document MTASC-safety properties.
8277 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8279 * manual/setjmp.texi: Document MTASC-safety properties.
8281 * manual/search.texi: Document MTASC-safety properties.
8283 * manual/resource.texi: Document MTASC-safety properties.
8285 * manual/process.texi: Document MTASC-safety properties.
8287 * manual/platform.texi: Document MTASC-safety properties.
8289 * manual/pipe.texi: Document MTASC-safety properties.
8291 * manual/pattern.texi: Document MTASC-safety properties.
8293 * manual/message.texi: Document MTASC-safety properties.
8296 * manual/memory.texi: Document MTASC-safety properties.
8298 * manual/math.texi: Document MTASC-safety properties.
8300 * manual/locale.texi: Document MTASC-safety properties.
8302 * manual/llio.texi: Document MTASC-safety properties.
8304 * manual/libdl.texi: New.
8306 * manual/lang.texi: Document MTASC-safety properties.
8308 * manual/job.texi: Document MTASC-safety properties.
8310 * manual/getopt.texi: Document MTASC-safety properties.
8312 * manual/ctype.texi: Document MTASC-safety properties.
8314 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8317 * csu/libc-tls.c (static_map): Remove variable.
8318 (__libc_setup_tls): Use main executable's link map for TLS data.
8319 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8320 casing for LM_ID_BASE and GL(dl_nns).
8321 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8322 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8323 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8324 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8325 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8327 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8330 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8332 * manual/debug.texi: Document MTASC-safety properties.
8334 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8337 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8338 of __x86_64__ when disabling x87 inline functions.
8340 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8342 * manual/charset.texi: Document MTASC-safety properties.
8344 * manual/crypt.texi: Document MTASC-safety properties.
8346 * manual/conf.texi: Document MTASC-safety properties.
8348 * manual/arith.texi: Document MTASC-safety properties.
8350 * manual/argp.texi: Document MTASC-safety properties.
8352 * manual/macros.texi: Introduce macros to document multi
8353 thread, asynchronous signal and asynchronous cancellation
8355 * manual/intro.texi: Introduce the properties themselves.
8357 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8359 * sysdeps/sh/sh4/Makefile: New file.
8361 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8363 * math/gen-libm-test.pl ($srcdir): New variable.
8364 ($auto_input): Use it.
8366 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8369 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8370 access beyond array bounds when parsing netgroups file.
8372 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8373 the old buffer before realloc.
8375 2014-01-27 Allan McRae <allan@archlinux.org>
8377 * po/fr.po: Update French translation from translation project.
8379 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8381 * sysdeps/sh/libm-test-ulps: Regenerate.
8383 2014-01-24 David S. Miller <davem@davemloft.net>
8385 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8387 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8389 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8390 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8392 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8395 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8396 string pointers after reallocation.
8398 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8400 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8401 __SH4A__ instead of __SH_FPU_ANY__.
8403 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8405 * sysdeps/sh/fpu_control.h: New file.
8406 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8407 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8408 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8409 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8410 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8411 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8412 * sysdeps/sh/sys/ucontext.h: Remove.
8413 * sysdeps/sh/sys: Remove directory.
8415 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8417 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8418 s390/sys/ucontext.h.
8419 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8420 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8422 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8425 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8427 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8430 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8431 Adjust the vDSO correctly for internal calls.
8432 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8434 2014-01-20 Allan McRae <allan@archlinux.org>
8436 * po/ca.po: Update Catalan translation from translation project.
8438 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8440 * sysdeps/s390/sotruss-lib.c: New file.
8442 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8445 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8446 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8447 local calls issues by not having a PLT stub required for IFUNC calls.
8448 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8450 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8452 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8453 * math/test-fpucw-static.c: Likewise.
8455 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8458 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8460 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8463 implementation for powerpc.
8465 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8468 * sysdeps/posix/system.c (__libc_system): Do not enable
8469 asynchronous cancellation.
8471 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8474 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8475 handling only for numbers special also in the IEEE case.
8477 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8479 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8481 2014-01-11 Allan McRae <allan@archlinux.org>
8483 * po/bg.po: Update Bulgarian translation from translation project.
8485 * po/de.po: Update German translation from translation project.
8487 2014-01-10 Roland McGrath <roland@hack.frob.com>
8489 * sysdeps/generic/gcc-compat.h: New file.
8491 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8493 * benchtests/asin-inputs: Correct slow inputs.
8494 * benchtests/acos-inputs: Likewise.
8496 2014-01-10 Allan McRae <allan@archlinux.org>
8498 * po:sv.po: Update Swedish translation from translation project.
8500 * po/vi.po: Update Vietnamese translation from translation project.
8502 * po/eo.po: Update Esperanto translation from translation project.
8504 * po/cs.po: Update Czech translation from translation project.
8506 * po/nl.po: Update Dutch translation from translation project.
8508 * po/pl.po: Update Polish translation from translation project.
8510 * po/ru.po: Update Russian translation from translation project.
8512 * po/uk.po: Update Ukrainian translation from translation project.
8514 2014-01-08 Brooks Moses <bmoses@google.com>
8516 * elf/dl-load.c: Fix comment typo.
8518 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8520 * po/header.pot: Rename to...
8521 * po/pot.header: ... this.
8522 * po/Makefile: Use pot.header.
8524 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8525 Maxim Kuvyrkov <maxim@kugelworks.com>
8528 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8529 SRC and DEST against LEN.
8531 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8534 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8536 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8538 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8542 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8545 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8546 for large positive arguments.
8548 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8550 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8552 * math/auto-libm-test-in: Mark various tests with
8553 xfail-rounding:ldbl-128ibm.
8554 * math/auto-libm-test-out: Regenerated.
8557 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8558 Increase overflow threshold.
8560 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8563 * stdio-common/vfprintf.c: Check for integer overflow.
8565 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8567 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8568 the first argument and return value of __tls_get_addr_internal.
8570 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8572 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8573 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8575 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8577 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8578 * sysdeps/s390/rtld-global-offsets.sym: New file.
8579 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8581 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8582 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8583 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8585 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8586 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8592 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8593 halfs of GPRs for high_gprs contexts.
8594 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8595 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8597 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8599 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8601 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8602 for high GPRs (uc_high_gprs) and for future extensions
8604 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8605 for future extensions (__reserved).
8606 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8608 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8609 SC_HIGHGPRS offset definition.
8610 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8611 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8613 * Versions.def: Add GLIBC_2.19 for libpthread.
8614 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8615 siglongjmp for libpthread with GLIBC_2.19 symver.
8616 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8617 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8618 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8619 * sysdeps/s390/__longjmp.c: New file.
8620 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8621 * sysdeps/s390/longjmp.c: New file.
8622 * sysdeps/s390/setjmp.S: New file.
8623 * sysdeps/s390/sigjmp.S: New file.
8624 * sysdeps/s390/v1-longjmp.c: New file.
8625 * sysdeps/s390/v1-setjmp.h: New file.
8626 * sysdeps/s390/v1-sigjmp.c: New file.
8627 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8628 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8630 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8631 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8632 versioned symbols for ____longjmp_chk.
8633 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8643 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8644 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8645 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8646 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8647 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8648 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8649 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8650 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8651 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8652 * sysdeps/s390/rtld-__longjmp.c: New file.
8653 * sysdeps/s390/rtld-setjmp.S: New file.
8655 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8659 Return -__logl (x) for small positive arguments without evaluating
8662 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8664 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8666 (__ptrace_peeksiginfo_args): ... this.
8667 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8668 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8669 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8671 2014-01-06 Allan McRae <allan@archlinux.org>
8673 * inet/netinet/in.h: Fix typo in comment.
8675 2014-01-05 Andreas Jaeger <aj@suse.de>
8677 * sysdeps/i386/fpu/libm-test-ulps: Update.
8679 2014-01-05 Allan McRae <allan@archlinux.org>
8681 * po/libc.pot: Regenerated.
8683 * malloc/memusagestat.c: Fix gettext call formatting.
8685 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8687 * nscd/nscd.c: Improve usage() output.
8689 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8691 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8692 * sysdeps/unix/sysv/linux/configure: Regenerated.
8693 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8694 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8696 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8699 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8700 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8702 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8704 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8705 extra tokens at end of #undef directive.
8706 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8707 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8708 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8710 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8712 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8714 * math/auto-libm-test-in: Mark various tests with
8715 xfail-rounding:ldbl-128ibm.
8716 * math/auto-libm-test-out: Regenerated.
8718 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8722 numbers with subnormal high part when calculating exponent.
8725 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8731 (__ieee754_acoshl): Use __log1pl not __log1p.
8733 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8735 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8736 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8737 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8738 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8739 (reused_arena, arena_get2): Convert to GNU style.
8740 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8741 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8742 (memalign_check, __malloc_set_state): Likewise.
8743 * malloc/mallocbug.c (main): Likewise.
8744 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8745 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8746 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8747 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8748 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8749 (__posix_memalign, malloc_info): Likewise.
8750 * malloc/malloc.h: Likewise.
8751 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8752 (mallochook, memalignhook, reallochook, mabort): Likewise.
8753 * malloc/mcheck.h: Likewise.
8754 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8755 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8756 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8757 * malloc/morecore.c (__default_morecore): Likewise.
8758 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8759 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8760 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8761 (print_and_abort): Likewise.
8762 * malloc/obstack.h: Likewise.
8763 * malloc/set-freeres.c (__libc_freeres): Likewise.
8764 * malloc/tst-mallocstate.c (main): Likewise.
8765 * malloc/tst-mtrace.c (main): Likewise.
8766 * malloc/tst-realloc.c (do_test): Likewise.
8768 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8771 * nscd/netgroupcache.c (do_notfound): New function.
8772 (addgetnetgrentX): Use it.
8775 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8776 NSS_STATUS_NOTFOUND.
8778 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8780 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8783 2014-01-01 Allan McRae <allan@archlinux.org>
8785 * scripts/update-copyrights: Update configure input file suffix.
8787 * NEWS: Update copyright year.
8788 * catgets/gencat.c: Likewise.
8789 * csu/version.c: Likewise.
8790 * debug/catchsegv.sh: Likewise.
8791 * debug/pcprofiledump.c: Likewise.
8792 * debug/xtrace.sh: Likewise.
8793 * elf/ldconfig.c: Likewise.
8794 * elf/ldd.bash.in: Likewise.
8795 * elf/pldd.c: Likewise.
8796 * elf/sotruss.ksh: Likewise.
8797 * elf/sprof.c: Likewise.
8798 * iconv/iconv_prog.c: Likewise.
8799 * iconv/iconvconfig.c: Likewise.
8800 * locale/programs/locale.c: Likewise.
8801 * locale/programs/localedef.c: Likewise.
8802 * login/programs/pt_chown.c: Likewise.
8803 * malloc/memusage.sh: Likewise.
8804 * malloc/memusagestat.c: Likewise.
8805 * malloc/mtrace.pl: Likewise.
8806 * manual/libc.texinfo: Likewise.
8807 * nscd/nscd.c: Likewise.
8808 * nss/getent.c: Likewise.
8809 * nss/makedb.c: Likewise.
8810 * posix/getconf.c: Likewise.
8811 * scripts/test-installation.pl: Likewise.
8813 * All files with FSF copyright notices: Update copyright dates
8814 using scripts/update-copyrights.
8815 * intl/plural.c: Regenerated.
8816 * locale/programs/charmap-kw.h: Likewise.
8817 * locale/programs/locfile-kw.h: Likewise.
8819 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8821 * sysdeps/unix/sysv/linux/configure: Regenerated.
8822 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8823 the linux/fanotify.h header.
8824 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8825 HAVE_LINUX_FANOTIFY_H is defined.
8827 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * benchtests/cos-inputs: New inputs.
8830 * benchtests/sin-inputs: Likewise.
8832 * benchtests/atan-inputs: New inputs. Fix name of multiple
8833 precision fallback inputs.
8835 * benchtests/atanh-inputs: New inputs.
8836 * benchtests/tanh-inputs: Likewise.
8838 * benchtests/acosh-inputs: New inputs.
8839 * benchtests/asinh-inputs: Likewise.
8841 * benchtests/cosh-inputs: New inputs.
8842 * benchtests/sinh-inputs: Likewise.
8844 * benchtests/acos-inputs: Add more inputs.
8845 * benchtests/asin-inputs: Likewise.
8847 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8850 * manual/arith.texi: Fix spelling.
8851 * manual/charset.texi: Likewise.
8852 * manual/errno.texi: Likewise.
8853 * manual/filesys.texi: Likewise.
8854 * manual/lang.texi: Likewise.
8855 * manual/llio.texi: Likewise.
8856 * manual/locale.texi: Likewise.
8857 * manual/message.texi: Likewise.
8858 * manual/resource.texi: Likewise.
8859 * manual/search.texi: Likewise.
8860 * manual/setjmp.texi: Likewise.
8861 * manual/stdio.texi: Likewise.
8862 * manual/string.texi: Likewise.
8863 * manual/sysinfo.texi: Likewise.
8864 * manual/time.texi: Likewise.
8866 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8868 * po/sl.po: New file.
8870 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8872 * .gitignore: Add core/.gdbinit/.gdb_history.
8874 2013-12-27 Allan McRae <allan@archlinux.org>
8877 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8878 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8880 2013-12-24 Brooks Moses <bmoses@google.com>
8882 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8883 all compilers that claim C++98 compliance, not just GCC.
8884 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8887 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8889 * NEWS: Restore accidentally deleted bug-fix entries.
8891 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8892 Ondřej Bílka <neleai@seznam.cz>
8895 * malloc/malloc.c (_int_free): Perform sanity check only if we
8898 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8901 * manual/stdio.texi (String Input Conversions): Clarify that character
8902 classes are not supported.
8904 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8908 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8911 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8912 Calculate results for small negative arguments directly rather
8913 than using reflection formula with special underflow handling.
8915 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8916 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8917 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8918 (fchflags): Likewise.
8920 (setlogin): Likewise.
8921 (sigaltstack): Likewise.
8924 (sigsetmask): Likewise.
8926 (waitpid): Likewise.
8927 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8928 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8930 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8931 * sysdeps/unix/bsd/Makefile: ... here.
8932 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8933 * sysdeps/unix/bsd/Versions: ... here.
8934 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8935 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8936 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8937 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8938 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8939 * sysdeps/unix/bsd/sigblock.c: ... here.
8940 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8941 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8942 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8943 * sysdeps/unix/bsd/sigvec.c: ... here.
8944 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8945 * sysdeps/unix/bsd/tcdrain.c: ... here.
8946 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8947 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8948 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8949 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8950 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8951 * sysdeps/unix/bsd/wait.c: ... here.
8952 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8953 * sysdeps/unix/bsd/wait3.c: ... here.
8954 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8955 * sysdeps/unix/bsd/waitpid.c: ... here.
8957 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8960 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8961 round-to-nearest for [!USE_AS_EXPM1L].
8962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8963 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8964 more tests of exp and exp10. Expect some exp10 tests to miss
8965 exceptions or fail in directed rounding modes.
8966 * math/auto-libm-test-out: Regenerated.
8967 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8968 (exp10_test_tonearest): New function.
8969 (exp10_towardzero_test_data): New array.
8970 (exp10_test_towardzero): New function.
8971 (exp10_downward_test_data): New array.
8972 (exp10_test_downward): New function.
8973 (exp10_upward_test_data): New array.
8974 (exp10_test_upward): New function.
8975 (main): Call the new functions.
8976 * sysdeps/i386/fpu/libm-test-ulps: Update.
8977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8979 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8981 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8982 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8983 * math/auto-libm-test-out: Regenerated.
8984 * math/libm-test.inc (acosh_test_data): Add more tests.
8985 (atanh_test_data): Likewise.
8986 (ceil_test_data): Likewise.
8987 (copysign_test_data): Likewise.
8988 * sysdeps/i386/fpu/libm-test-ulps: Update.
8989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8991 * timezone/checktab.awk: Update from tzcode 2013i.
8992 * timezone/private.h: Likewise.
8993 * timezone/scheck.c: Likewise.
8994 * timezone/tzfile.h: Likewise.
8995 * timezone/tzselect.ksh: Likewise.
8996 * timezone/zdump.c: Likewise.
8997 * timezone/zic.c: Likewise.
8999 * math/auto-libm-test-in: Add tests of cpow.
9000 * math/auto-libm-test-out: Regenerated.
9001 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9002 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9004 (func_calc_desc): Add mpc_cc_c union field.
9005 (test_functions): Add cpow.
9006 (special_fill_2pi): New function.
9007 (special_real_inputs): Add 2pi.
9008 (calc_generic_results): Handle mpc_cc_c.
9009 * sysdeps/i386/fpu/libm-test-ulps: Update.
9010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9012 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9013 csqrt, ctan and ctanh.
9014 * math/auto-libm-test-out: Regenerated.
9015 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9016 (TEST_COND_x86): Likewise.
9017 (ccos_test_data): Use AUTO_TESTS_c_c.
9018 (ccosh_test_data): Likewise.
9019 (cexp_test_data): Likewise.
9020 (clog_test_data): Likewise.
9021 (csqrt_test_data): Likewise.
9022 (ctan_test_data): Likewise.
9023 (ctan_tonearest_test_data): Likewise.
9024 (ctan_towardzero_test_data): Likewise.
9025 (ctan_downward_test_data): Likewise.
9026 (ctan_upward_test_data): Likewise.
9027 (ctanh_test_data): Likewise.
9028 (ctanh_tonearest_test_data): Likewise.
9029 (ctanh_towardzero_test_data): Likewise.
9030 (ctanh_downward_test_data): Likewise.
9031 (ctanh_upward_test_data): Likewise.
9032 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9034 (func_calc_desc): Add mpc_c_c union field.
9035 (FUNC_mpc_c_c): New macro.
9036 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9037 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9039 (special_fill_min_subnorm_p120): New function.
9040 (special_real_inputs): Add min_subnorm_p120.
9041 (calc_generic_results): Handle mpc_c_c.
9042 * sysdeps/i386/fpu/libm-test-ulps: Update.
9043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9045 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9047 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9048 (do_sin_slow): New functions.
9049 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9050 (cslow2, csloww1, csloww2): Use the new functions.
9052 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9053 Use M to change sign of result instead of X. Assume X is
9055 (csloww1): Likewise.
9059 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9064 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9066 (sloww1): Don't adjust sign of DX.
9067 (csloww1): Likewise.
9068 (sloww2): Use X directly and don't adjust sign of DX.
9069 (csloww2): Likewise.
9071 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9073 * math/auto-libm-test-in: Add tests of cabs and carg.
9074 * math/auto-libm-test-out: Regenerated.
9075 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9076 (carg_test_data): Likewise.
9077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9079 (func_calc_desc): Add mpc_c_f union field.
9080 (test_functions): Add cabs and carg.
9081 (calc_generic_results): Handle mpc_c_f.
9083 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9084 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9085 as a macro and a compat symbol.
9086 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9087 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9088 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9089 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9090 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9091 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9093 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9095 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9097 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9099 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9101 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9103 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9104 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9107 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9111 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9113 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9114 trailing whitespace removed.
9115 * scripts/config.guess: Update to version 2013-11-29.
9116 * scripts/config.sub: Update to version 2013-10-01.
9118 * math/auto-libm-test-in: Add tests of sincos.
9119 * math/auto-libm-test-out: Regenerated.
9120 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9121 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9123 (func_calc_desc): Add mpfr_f_11 union field.
9124 (test_functions): Add sincos.
9125 (calc_generic_results): Handle mpfr_f_11.
9126 * sysdeps/i386/fpu/libm-test-ulps: Update.
9127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9129 2013-12-19 Andreas Schwab <schwab@suse.de>
9131 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9133 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9134 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9135 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9137 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9139 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9140 * sysdeps/i386/fpu/libm-test-ulps: Update.
9141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9144 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9145 round-to-nearest mode when using frndint.
9146 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9147 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9148 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9150 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9152 * math/auto-libm-test-out: Regenerated.
9153 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9154 (TEST_COND_x86): Likewise.
9155 (expm1_tonearest_test_data): New array.
9156 (expm1_test_tonearest): New function.
9157 (expm1_towardzero_test_data): New array.
9158 (expm1_test_towardzero): New function.
9159 (expm1_downward_test_data): New array.
9160 (expm1_test_downward): New function.
9161 (expm1_upward_test_data): New array.
9162 (expm1_test_upward): New function.
9163 (main): Run the new test functions.
9164 * sysdeps/i386/fpu/libm-test-ulps: Update.
9165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9167 * include/features.h: Update comment documenting feature test
9168 macros. Mention _DEFAULT_SOURCE in comment.
9169 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9170 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9171 _BSD_SOURCE and _SVID_SOURCE.
9172 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9173 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9174 !_SVID_SOURCE]: Likewise.
9175 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9176 (__USE_POSIX_IMPLICITLY): Define.
9177 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9178 (_POSIX_SOURCE): Undefine and redefine.
9179 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9180 (_POSIX_C_SOURCE): Likewise.
9181 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9182 (Feature Test Macros): Update documentation of default features.
9184 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9186 * benchtests/Makefile: Add bench-strtok.
9187 * benchtests/bench-strtok.c: New file: strtok benchtest.
9189 2013-12-19 Allan McRae <allan@archlinux.org>
9191 * manual/install.texi: Suppress menu for plain text output.
9192 * INSTALL: Regenerated.
9194 2013-12-18 Brooks Moses <bmoses@google.com>
9197 * misc/getauxval.c: Include errno.h.
9198 (__getauxval): Set errno to ENOENT if the requested type is not
9200 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9201 don't declare with __attribute_const__.
9202 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9203 * manual/startup.texi: Document that getauxval sets errno.
9205 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9207 * math/auto-libm-test-in: Add tests of jn and yn.
9208 * math/auto-libm-test-out: Regenerated.
9209 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9210 (yn_test_data): Likewise.
9211 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9213 (func_calc_desc): Add mpfr_if_f union field.
9214 (FUNC_mpfr_if_f): New macro.
9215 (test_functions): Add jn and yn.
9216 (calc_generic_results): Assert type of second input for
9217 mpfr_ff_f. Handle mpfr_if_f.
9218 (output_for_one_input_case): Disable all checking for arguments
9219 fitting floating-point types in case of an integer argument.
9220 * sysdeps/i386/fpu/libm-test-ulps: Update.
9221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9224 Don't expect fegetround reference in libm.so.
9226 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9228 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9229 $(config-cflags-nofma).
9231 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9233 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9234 * math/auto-libm-test-out: Regenerated.
9237 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9238 to determine exponent and adjust argument to have exponent of -1.
9239 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9241 * math/auto-libm-test-out: Regenerated.
9242 * sysdeps/i386/fpu/libm-test-ulps: Update.
9243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9245 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9247 * manual/probes.texi: Remove cases when per-thread arenas are
9250 2013-12-18 Andreas Schwab <schwab@suse.de>
9252 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9253 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9254 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9255 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9256 * sysdeps/i386/i686/multiarch/Makefile: Update.
9257 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9259 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9261 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9262 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9264 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9267 Support TZ transition times < 00:00:00.
9268 This is needed for version-3 tz-format files; it supports time
9269 stamps past 2037 for America/Godthab (the only entry in the tz
9270 database for which this change is relevant).
9271 * manual/time.texi (TZ Variable): Document transition times
9272 from -167:59:59 through -00:00:01.
9273 * time/tzset.c (tz_rule): Time of day is now signed.
9274 (__tzset_parse_tz): Parse negative time of day.
9276 Document TZ transition times >= 25:00:00.
9277 * manual/time.texi (TZ Variable): Document transition times from
9278 25:00:00 through 167:59:59. These are already supported, and this
9279 support will help with version-3 tz-format files.
9281 * manual/time.texi (TZ Variable): Modernize North America example
9282 to reflect current (i.e., 2007-and-later) daylight saving rules.
9284 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9286 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9288 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9289 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9292 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9293 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9294 * sysdeps/unix/bsd/clock.c: Likewise.
9295 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9296 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9297 * sysdeps/unix/bsd/init-posix.c: Likewise.
9298 * sysdeps/unix/bsd/poll.c: Likewise.
9299 * sysdeps/unix/bsd/ptsname.c: Likewise.
9300 * sysdeps/unix/bsd/seekdir.c: Likewise.
9301 * sysdeps/unix/bsd/setegid.c: Likewise.
9302 * sysdeps/unix/bsd/seteuid.c: Likewise.
9303 * sysdeps/unix/bsd/setgid.c: Likewise.
9304 * sysdeps/unix/bsd/setrgid.c: Likewise.
9305 * sysdeps/unix/bsd/setruid.c: Likewise.
9306 * sysdeps/unix/bsd/setsid.c: Likewise.
9307 * sysdeps/unix/bsd/setuid.c: Likewise.
9308 * sysdeps/unix/bsd/sigaction.c: Likewise.
9309 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9310 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9311 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9312 * sysdeps/unix/bsd/telldir.c: Likewise.
9313 * sysdeps/unix/bsd/times.c: Likewise.
9314 * sysdeps/unix/bsd/usleep.c: Likewise.
9316 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9317 ($(objpfx)libbsd-compat.a): Remove rule.
9319 * include/features.h (__FAVOR_BSD): Do not define.
9320 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9321 features conflicting with POSIX.
9322 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9323 (_BSD_SOURCE): Remove description of not being a subset of other
9324 feature test macros.
9325 * manual/job.texi (getpgrp): Do not document BSD version.
9326 (getpgid): Do not document by reference to BSD getpgrp.
9327 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9328 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9329 * signal/signal.h [__FAVOR_BSD]: Likewise.
9330 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9331 instead of making contents conditional on [__FAVOR_BSD].
9332 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9334 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9338 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9341 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9342 values below 2**-450, not 2**-500.
9343 * math/auto-libm-test-in: Don't allow spurious underflow from
9345 * math/auto-libm-test-out: Regenerated.
9349 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9350 values of ha and hb and sort them after adjusting subnormal
9352 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9354 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9355 values of ea and eb and sort them after adjusting subnormal
9357 * math/auto-libm-test-in: Do not expect some hypot tests of
9358 subnormals to fail. Add more hypot tests.
9359 * math/auto-libm-test-out: Regenerated.
9361 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9364 * sysdeps/sh/s_fma.c: New file.
9365 * sysdeps/sh/s_fmaf.c: New file.
9366 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9368 * sysdeps/sh/Implies: Add sh/soft-fp.
9370 2013-12-16 Roland McGrath <roland@hack.frob.com>
9372 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9373 level of indirection to members `objname', `errstring', `malloced'.
9374 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9375 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9376 it as the __longjmp argument (just pass 1 instead).
9377 (_dl_catch_error): Initialize C with argument pointers and address of
9378 volatile local ERRCODE rather than copying values out of C at return.
9380 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9382 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9383 * math/auto-libm-test-out: Regenerated.
9384 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9385 (hypot_test_data): Likewise.
9386 (pow_test_data): Likewise.
9387 (pow_tonearest_test_data): Likewise.
9388 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9390 (func_calc_desc): Add mpfr_ff_f union field.
9391 (FUNC_mpfr_ff_f): New macro.
9392 (test_functions): Add atan2, hypot and pow.
9393 (special_fill_min): New function.
9394 (special_fill_minus_min): Likewise.
9395 (special_fill_min_subnorm): Likewise.
9396 (special_fill_minus_min_subnorm): Likewise.
9397 (special_real_inputs): Add min, -min, min_subnorm and
9399 (calc_generic_results): Handle mpfr_ff_f.
9400 * sysdeps/i386/fpu/libm-test-ulps: Update.
9401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9403 2013-12-16 Will Newton <will.newton@linaro.org>
9405 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9406 (Aligned Memory Blocks): Add documentation for aligned_alloc
9407 and suggest it as an alternative to posix_memalign.
9408 (Hooks for Malloc): Document __memalign_hook is also called
9409 for aligned_alloc. (Summary of Malloc): Add summary for
9410 aligned alloc. Document __memalign_hook is also called
9413 2013-12-16 Will Newton <will.newton@linaro.org>
9415 * manual/memory.texi (Malloc Examples): Clarify default
9416 alignment documentation. Suggest posix_memalign rather
9417 than memalign or valloc.
9418 (Aligned Memory Blocks): Remove suggestion to use memalign
9419 or valloc. Remove obsolete comment about BSD.
9420 Document memalign errno values and mark the function obsolete.
9421 Document posix_memalign returned error codes. Mark valloc
9422 as obsolete. (Hooks for Malloc): __memalign_hook is also
9423 called for posix_memalign and valloc.
9424 (Summary of Malloc): Add posix_memalign to function summary.
9425 __memalign_hook is also called for posix_memalign and valloc.
9427 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9429 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9433 (sloww): Use mynumber union. Expand ternary operator into
9435 (cslow): use mynumber union.
9437 2013-12-16 Allan McRae <allan@archlinux.org>
9439 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9440 * configure: Regenerated.
9442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9445 * configure.ac: Added --enable-maintainer-mode. Check for
9446 autoconf when enabled.
9447 * configure: Regenerated.
9449 * nscd/nscd.service: New file.
9450 * nscd/nscd.tmpfiles: New file.
9452 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9455 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9456 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9457 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9458 (strstr): Add __strstr_sse2_unaligned ifunc.
9459 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9460 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9461 (strcasestr): Remove __strcasestr_sse42 ifunc.
9462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9466 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9468 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9469 * sysdeps/sh/bits/fenv.h: ... here.
9470 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9472 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9474 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9477 hypotf multiarch implementations.
9478 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9479 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9480 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9481 multiarch hypot for PPC64.
9482 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9483 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9484 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9485 multiarch hypotf for PPC64.
9487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9488 modff multiarch implementations.
9489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9492 multiarch modf for PPC64.
9493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9496 multiarch modff for PPC64.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9499 and logl multiarch implementations.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9503 multiarch logb for PPC64.
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9507 multiarch logb for PPC64.
9508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9511 multiarch logb for PPC64.
9513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9514 isinff multiarch implementation.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9519 multiarch isinf for PPC64.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9523 multiarch isinff for PPC64.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9526 finitef multiarch implementation.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9531 multiarch finite for PPC64.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9535 multiarch finitef for PPC64.
9537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9538 lrint multiarch implementation.
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9543 multiarch llrint for PPC64.
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9545 multiarch lrint for PPC64.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9548 copysignf multiarch implementation.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9554 multiarch copysign for PPC64.
9555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9556 multiarch copysignf for PPC64.
9558 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9559 multiarch implementation.
9560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9568 multiarch llround for PPC64.
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9570 multiarch trunc for PPC64.
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9572 multiarch truncf for PPC64.
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9575 multiarch implementation.
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9584 multiarch llround for PPC64.
9585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9586 multiarch round for PPC64.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9588 multiarch roundf for PPC64.
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9591 multiarch implementation.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9600 multiarch llround for PPC64.
9601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9602 multiarch floor for PPC64.
9603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9604 multiarch floorf for PPC64.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9607 multiarch implementation.
9608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9616 multiarch llround for PPC64.
9617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9618 multiarch ceil for PPC64.
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9620 multiarch ceilf for PPC64.
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9623 multiarch implementation.
9624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9631 multiarch llround for PPC64.
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9633 multiarch lround for PPC64.
9635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9636 multiarch implementation.
9637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9644 multiarch isnan for PPC64.
9645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9646 multiarch isnanf for PPC64.
9648 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9649 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9650 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9651 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9652 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9655 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9656 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9661 multiarch implementations.
9662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9663 (__libc_ifunc_impl_list): Likewise.
9664 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9665 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9666 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9667 multiarch stpcpy for PPC64.
9669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9670 multiarch implementations.
9671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9672 (__libc_ifunc_impl_list): Likewise.
9673 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9674 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9675 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9676 multiarch strcpy for PPC64.
9678 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9679 redefine function name.
9680 (_wordcopy_fwd_dest_aligned): Likewise.
9681 (_wordcopy_bwd_aligned): Likewise.
9682 (_wordcopy_bwd_dest_aligned): Likewise.
9683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9684 multiarch implementations.
9685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9686 (__libc_ifunc_impl_list): Likewise.
9687 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9688 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9689 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9690 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9691 multiarch wcscpy for PPC64.
9693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9694 multiarch implementations.
9695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9696 (__libc_ifunc_impl_list): Likewise.
9697 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9698 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9699 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9700 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9701 multiarch wcscpy for PPC64.
9703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9704 multiarch implementations.
9705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9706 (__libc_ifunc_impl_list): Likewise.
9707 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9708 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9709 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9710 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9711 multiarch wcsrchr for PPC64.
9713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9714 multiarch implementations.
9715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9716 (__libc_ifunc_impl_list): Likewise.
9717 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9718 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9719 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9721 multiarch wcschr for PPC64.
9723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9724 multiarch implementations.
9725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9726 (__libc_ifunc_impl_list): Likewise.
9727 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9728 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9729 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9730 multiarch strchrnul for PPC64.
9732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9735 (__libc_ifunc_impl_list): Likewise.
9736 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9737 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9738 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9739 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9745 (__libc_ifunc_impl_list): Likewise.
9746 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9747 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9748 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9749 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9753 multiarch implementations.
9754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9755 (__libc_ifunc_impl_list): Likewise.
9756 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9757 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9758 strncasecmp for PPC64.
9759 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9760 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9761 multiarch strncasecmp_l for PPC64.
9763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9764 multiarch implementations.
9765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9766 (__libc_ifunc_impl_list): Likewise.
9767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9769 multiarch strcasecmp for PPC64.
9770 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9772 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9773 multiarch strcasecmp_l for PPC64.
9775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9778 (__libc_ifunc_impl_list): Likewise.
9779 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9780 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9781 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9787 (__libc_ifunc_impl_list): Likewise.
9788 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9789 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9790 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9796 (__libc_ifunc_impl_list): Likewise.
9797 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9798 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9799 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9800 rawmemrchr for PPC64.
9802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9805 (__libc_ifunc_impl_list): Likewise.
9806 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9807 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9808 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9814 (__libc_ifunc_impl_list): Likewise.
9815 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9816 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9817 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9823 (__libc_ifunc_impl_list): Likewise.
9824 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9825 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9826 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9829 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9830 avoid cretion of __bzero symbol.
9831 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9833 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9835 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9838 multiarch implementations.
9839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9840 (__libc_ifunc_impl_list): Likewise.
9841 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9842 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9843 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9844 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9846 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9847 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9848 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9849 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9850 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9852 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9854 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9858 (__libc_ifunc_impl_list): Likewise.
9859 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9860 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9861 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9862 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9866 multiarch for POWER/PPC64.
9867 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9868 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9869 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9872 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9873 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9874 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9875 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9878 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9879 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9880 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9881 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9882 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9883 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9884 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9885 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9886 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9887 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9888 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9889 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9890 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9891 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9892 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9901 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9903 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9905 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9907 * benchtests/Makefile (bench): Add exp2 and log2.
9908 (LDLIBS-bench-exp2): Add -lm.
9909 (LDLIBS-bench-log2): Likewise.
9910 * benchtests/exp2-inputs: New inputs file.
9911 * benchtests/log2-inputs: New inputs file.
9912 * benchtests/log-inputs: Add new inputs.
9913 * benchtests/tan-inputs: Likewise.
9915 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9917 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9919 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9920 (csloww2): ... from here.
9922 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9923 instead of structures.
9924 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9925 (POLYNOMIAL): Likewise.
9926 (TAYLOR_SLOW): Likewise.
9934 (bsloww1): Likewise.
9935 (bsloww2): Likewise.
9938 (csloww1): Likewise.
9939 (csloww2): Likewise.
9941 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9943 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9944 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9945 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9946 * malloc/hooks.c (realloc_check): Likewise.
9948 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9949 * malloc/arena.c: Remove PER_THREAD conditional.
9950 [!PER_THREAD]: Remove code.
9951 (ptmalloc_unlock_all2): Likewise.
9952 (ptmalloc_init): Likewise.
9953 (_int_new_arena): Likewise.
9954 (arena_get2): Likewise.
9955 * malloc/hooks.c (__malloc_get_state): Likewise.
9956 (__malloc_set_state): Likewise.
9957 * malloc/malloc.c: Likewise.
9958 (struct malloc_state): Likewise.
9959 (struct malloc_par): Likewise.
9960 (__libc_realloc): Likewise.
9961 (__libc_mallopt): Likewise.
9963 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9965 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9967 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9969 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9970 macro to a function. Check for zero perturb_byte.
9971 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9973 * malloc/malloc.c: (force_reg): Remove.
9974 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9975 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9976 force_reg by atomic_forced_read.
9977 * malloc/arena.c (ptmalloc_init): Likewise.
9978 * malloc/hooks.c (top_check): Likewise.
9980 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9984 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9988 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9990 * math/auto-libm-test-in: Add tests of lgamma.
9991 * math/auto-libm-test-out: Regenerated.
9992 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9993 (M_LOG_2_SQRT_PIl): Likewise.
9994 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9995 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9997 (func_calc_desc): Add mpfr_f_f1 union field.
10006 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10007 (test_functions): Add lgamma.
10008 (calc_generic_results): Handle mpfr_f_f1.
10009 * sysdeps/i386/fpu/libm-test-ulps: Update.
10010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10012 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10015 __mpn_add_n for PowerPC64/POWER7.
10016 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10017 __mpn_sub_n for PowerPC64/POWER7.
10019 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10020 __mpn_addmul_1 for PowerPC64.
10021 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10022 __mpn_submul_1 for PowerPC64.
10023 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10025 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10028 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10031 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10033 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10035 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10037 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10038 add multiarch folders.
10039 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10040 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10041 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10042 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10043 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10044 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10045 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10046 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10047 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10048 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10049 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10058 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10064 multiarch __ieee754_hypot for PowerPC32.
10065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10070 multiarch __ieee754_hypotf for PowerPC32.
10072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10073 long_double_symbol only if __logbl is defined.
10074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10075 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10076 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10077 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10078 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10079 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10080 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10081 path for implementation.
10082 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10083 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10085 logb, and logbl multiarch implementations for PowerPC32.
10086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10091 multiarch logb for PowerPC32.
10092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10097 multiarch logbf for PowerPC32.
10098 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10102 multiarch logbl implementation for PowerPC32.
10104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10105 and modff multiarch implementations.
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10111 multiarch modf for PowerPC32.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10117 multiarch modff for PowerPC32.
10119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10120 and lrintf multiarch implementations.
10121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10126 multiarch lrint for PowerPC32.
10127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10128 file: multiarch lrintf for PowerPC32.
10130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10131 and lroundf multiarch implementations.
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10139 multiarch lround for PowerPC32.
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10141 file: multiarch lroundf for PowerPC32.
10143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10144 copysign and copysignf multiarch implementations.
10145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10150 file: multiarch copysign for PowerPC32.
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10152 file: multiarch copysignf for PowerPC32.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10155 and truncf multiarch implementations.
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10161 multiarch trunc for PowerPC32.
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10167 multiarch truncf for PowerPC32.
10169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10170 and roundf multiarch implementations.
10171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10176 multiarch round for PowerPC32.
10177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10182 multiarch roundf for PowerPC32.
10184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10185 and floorf multiarch implementations.
10186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10191 multiarch floor for PowerPC32.
10192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10197 multiarch floorf for PowerPC32.
10199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10200 and ceilf multiarch implementations.
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10206 multiarch ceil for PowerPC32.
10207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10212 multiarch ceilf for PowerPC32.
10214 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10216 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10217 FINITEF is defined.
10218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10219 and finitef multiarch implementations.
10220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10225 multiarch finite for PowerPC32.
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10229 file: multiarch finitef for PowerPC32.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10232 and isinff multiarch implementations.
10233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10238 multiarch isinf for PowerPC32.
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10242 multiarch isinff for PowerPC32.
10244 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10245 alias when __isnan is defined.
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10247 and isnanf multiarch implementations.
10248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10257 multiarch isnan for PowerPC32.
10258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10263 multiarch isnanf for PowerPC32.
10265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10266 and sqrtf multiarch implementations.
10267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10272 multiarch sqrt for PowerPC32.
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10278 multiarch sqrtf for PowerPC32.
10280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10281 and llroundf multiarch implementations.
10282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10289 file: multiarch llround for PowerPC32.
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10291 file: multiarch llroundf for PowerPC32.
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10294 multiarch PowerPC32 fpu implementations.
10295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10300 multiarch llrint for PowerPC32.
10301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10310 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10312 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10314 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10316 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10317 multiarch wordcopy for PPC32.
10318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10321 (__libc_ifunc_impl_list): Likewise.
10322 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10323 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10324 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10325 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10326 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10327 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10329 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10337 multiarch wcscpy for PPC32.
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
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/wcscpy.c: Adjust to use
10345 sysdeps/powerpc/power6/wcscpy.c.
10347 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10355 multiarch wcsrchr for PPC32.
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10359 (__libc_ifunc_impl_list): Likewise.
10360 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10361 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10362 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10363 sysdeps/powerpc/power6/wcsrchr.c.
10365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10371 multiarch wcschr for PPc32.
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10375 (__libc_ifunc_impl_list): Likewise.
10376 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10377 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10378 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10379 sysdeps/powerpc/power6/wcschr.c.
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10382 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10384 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10385 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10386 file: multiarch strchr for PPC32.
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10390 (__libc_ifunc_impl_list): Likewise.
10392 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10394 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10398 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10399 multiarch strchrnul for PPC32.
10400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10403 (__libc_ifunc_impl_list): Likewise.
10405 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10407 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10408 multiarch strncasecmp for PPC32.
10409 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10411 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10412 multiarch strncasecmp_l for PPC32.
10413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10414 strncasecmp multiarch objects.
10415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10416 (__libc_ifunc_impl_list): Likewise.
10418 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10420 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10421 multiarch strncasecmp for PPC32.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10425 multiarch strcasecmp_l for PPC32.
10426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10429 (__libc_ifunc_impl_list): Likewise.
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10433 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10435 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10436 multiarch strncmp for PPC32.
10437 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10440 (__libc_ifunc_impl_list): Likewise.
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10443 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10445 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10450 (__libc_ifunc_impl_list): Likewise.
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10460 (__libc_ifunc_impl_list): Likewise.
10462 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10464 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10466 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10467 multiarch rawmemchr for PPC32.
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10471 (__libc_ifunc_impl_list): Likewise.
10473 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10475 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10477 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10478 file: memrchr multiarch for PPC32.
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10482 (__libc_ifunc_impl_list): Likewise.
10484 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10488 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10489 multiarch memchr for PPC32.
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10493 (__libc_ifunc_impl_list): Likewise.
10495 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10500 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10501 file: multiarch mempcpy for PPC32.
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10505 (__libc_ifunc_impl_list): Likewise.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10508 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10511 multiarch bzero for PPC32.
10512 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10514 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10516 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10517 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10518 file: multiarch memset for PPC32.
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10521 memset multiarch objects.
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10523 (__libc_ifunc_impl_list): Likewise.
10525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10531 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10533 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10534 (__libc_ifunc_impl_list): Likewise.
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10540 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10545 multiarch memcpy for PPC32.
10546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10549 (__libc_ifunc_impl_list): Likewise.
10551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10552 support multiarch for POWER/PPC32.
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10555 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10557 Implies file to make multiarch folder appers before the fpu and
10558 default folder for power4 configuration.
10560 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10562 * scripts/bench.pl: Append volatile keyword to type.
10564 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10566 * sysdeps/sh/sotruss-lib.c: New file.
10567 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10569 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10573 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10576 * math/w_tgamma.c: Include <errno.h>.
10577 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10578 * math/w_tgammaf.c: Include <errno.h>.
10579 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10580 * math/w_tgammal.c: Include <errno.h>.
10581 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10582 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10583 underflow. Add more tgamma tests.
10584 * math/auto-libm-test-out: Regenerated.
10585 * sysdeps/i386/fpu/libm-test-ulps: Update.
10586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10588 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10589 sin, sinh, tan, tanh, tgamma, y0 and y1.
10590 * math/auto-libm-test-out: Regenerated.
10591 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10592 (TEST_COND_x86): Likewise.
10593 (M_E2l): Remove macro.
10595 (M_2_SQRT_PIl): Likewise.
10596 (M_SQRT_PIl): Likewise.
10597 (M_1_DIV_El): Likewise.
10598 (log_test_data): Use AUTO_TESTS_f_f.
10599 (log10_test_data): Likewise.
10600 (log1p_test_data): Likewise.
10601 (log2_test_data): Likewise.
10602 (sin_test_data): Likewise.
10603 (sin_tonearest_test_data): Likewise.
10604 (sin_towardzero_test_data): Likewise.
10605 (sin_downward_test_data): Likewise.
10606 (sin_upward_test_data): Likewise.
10607 (sinh_test_data): Likewise.
10608 (sinh_tonearest_test_data): Likewise.
10609 (sinh_towardzero_test_data): Likewise.
10610 (sinh_downward_test_data): Likewise.
10611 (sinh_upward_test_data): Likewise.
10612 (tan_test_data): Likewise.
10613 (tan_tonearest_test_data): Likewise.
10614 (tan_towardzero_test_data): Likewise.
10615 (tan_downward_test_data): Likewise.
10616 (tan_upward_test_data): Likewise.
10617 (tanh_test_data): Likewise.
10618 (tgamma_test_data): Likewise.
10619 (y0_test_data): Likewise.
10620 (y1_test_data): Likewise.
10621 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10622 (special_real_inputs): Add pi/4.
10623 * sysdeps/i386/fpu/libm-test-ulps: Update.
10624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10626 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10628 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10629 "longjmp_target" static probes.
10630 (__longjmp): Rename to __longjmp_symbol.
10631 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10632 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10633 on which longjmp to generate.
10634 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10635 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10637 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10638 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10639 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10640 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10641 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10642 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10644 __longjmp_symbol based on which __longjmp to generate.
10645 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10647 (setjmp): Rename to setjmp_symbol.
10648 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10649 (_setjmp): Rename to _setjmp_symbol.
10650 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10651 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10652 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10653 which setjmp to generate.
10654 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10655 "longjmp_target" static probes.
10657 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10659 * benchtests/README: Add note about output arguments.
10660 * benchtests/bench-sincos.c: Remove file.
10661 * benchtests/sincos-inputs: New file.
10662 * scripts/bench.pl: Identify output arguments and define
10663 static variables for them.
10665 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10668 * Makefile (INSTALL): Add install-plain.texi as the primary
10670 * manual/install-plain.texi: New file.
10671 * manual/install.texi: Include node directive only for
10672 non-plaintext output.
10674 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10676 * stdlib/longlong.h: Update from GCC.
10680 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10681 * math/w_j0f.c (y0f): Likewise.
10682 * math/w_j0l.c (__y0l): Likewise.
10683 * math/w_j1.c (y1): Likewise.
10684 * math/w_j1f.c (y1f): Likewise.
10685 * math/w_j1l.c (__y1l): Likewise
10686 * math/w_jn.c (yn): Likewise.
10687 * math/w_jnf.c (ynf): Likewise.
10688 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10689 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10690 value for Bessel function domain errors outside _SVID_ mode.
10691 Adjust sign of return value for yn (negative integer, 0).
10692 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10693 by zero in return for negative x and set sign appropriately for
10695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10697 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10698 expectations in error cases.
10699 (y1_test_data): Likewise.
10700 (yn_test_data): Likewise.
10701 * sysdeps/i386/fpu/libm-test-ulps: Update.
10702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10704 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10706 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10707 "64" to "64-v1". Add "64-v2".
10708 (abi-64-options): Rename to ...
10709 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10710 (abi-64-condition): Rename to ...
10711 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10712 (abi-64-ld-soname): Rename to ...
10713 (abi-64-v1-ld-soname): ... this.
10714 (abi-64-v2-options): Define.
10715 (abi-64-v2-condition): Likewise.
10716 (abi-64-v2-ld-soname): Likewise.
10717 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10718 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10723 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10724 Alan Modra <amodra@gmail.com>
10726 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10727 New versions for use with the ELFv2 ABI.
10728 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10729 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10731 (struct La_ppc64v2_retval): Likewise.
10732 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10733 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10734 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10735 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10736 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10737 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10738 Do not save or restore CR.
10739 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10740 (_dl_profile_resolve): Do no save or restore CR. Support extended
10741 return values for ELFv2 ABI. Fix location of FPR return registers.
10742 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10743 updated values for _CALL_ELF == 2.
10744 (La_regs, La_retval, int_retval): Likewise.
10746 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10748 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10749 (FRAME_MIN_SIZE_PARM): Likewise.
10750 (FRAME_BACKCHAIN): Likewise.
10751 (FRAME_CR_SAVE): Likewise.
10752 (FRAME_LR_SAVE): Likewise.
10753 (FRAME_TOC_SAVE): Likewise.
10754 (FRAME_PARM_SAVE): Likewise.
10755 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10756 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10757 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10758 (call_mcount_parm_offset): New macro.
10759 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10760 (PROF): Use symbolic stack frame offsets.
10761 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10762 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10763 Redefine in terms of FRAME_MIN_SIZE.
10764 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10765 (_dl_profile_resolve): Likewise. Update comment.
10766 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10767 symbols stack frame offsets.
10768 (__sigsetjmp): Likewise.
10769 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10770 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10771 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10772 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10775 (FRAME_BACKCHAIN): Remove.
10776 (FRAME_CR_SAVE): Likewise.
10777 (FRAME_LR_SAVE): Likewise.
10778 (FRAME_COMPILER_DW): Likewise.
10779 (FRAME_LINKER_DW): Likewise.
10780 (FRAME_TOC_SAVE): Likewise.
10781 (FRAME_PARM_SAVE): Likewise.
10782 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10783 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10784 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10786 (CHECK_SP): Use symbolic stack frame offsets.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10788 zone" instead of caller's parameter save area for temp storage.
10789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10790 Likewise. Also, use symbolic stack frame offsets.
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10792 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10793 our own stack frame instead of the caller's.
10794 (__socket): Use symbolic stack frame offsets.
10796 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10797 Alan Modra <amodra@gmail.com>
10799 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10801 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10802 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10803 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10805 (elf_machine_fixup_plt): Call it.
10806 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10808 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10810 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10811 r2 before calling target.
10813 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10814 Alan Modra <amodra@gmail.com>
10816 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10817 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10818 versions of macros to support ELFv2 ABI.
10819 (LOCALENTRY): New macro.
10820 (ENTRY, EALIGN): Use it.
10821 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10822 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10823 fall through into ENTRY entry point.
10824 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10825 Only define if _CALL_ELF != 2.
10827 (elf_machine_matches_host): Verify ABI version matches.
10828 (RTLD_START): Use LOCALENTRY.
10829 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10830 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10831 (PLT_ENTRY_WORDS): New macro.
10832 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10833 (elf_machine_runtime_setup): Support ELFv2 ABI.
10834 (elf_machine_fixup_plt): Likewise.
10835 (elf_machine_plt_conflict): Likewise.
10836 (resolve_ifunc): Likewise.
10837 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10841 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10843 (makecontext): Support ELFv2 ABI.
10844 * elf/elf.h (EF_PPC64_ABI): Define.
10846 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10848 * sysdeps/powerpc/powerpc64/sysdep.h
10849 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10850 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10851 (ENTRY) [ASSEMBLER]: ... but instead here ...
10852 (EALIGN) [ASSEMBLER]: ... and here.
10853 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10854 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10855 (ENTRY_2) [!ASSEMBLER]: Use it.
10856 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10857 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10858 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10859 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10860 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10862 Use PPC64_LOAD_FUNCPTR.
10864 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10866 2013-12-04 Alan Modra <amodra@gmail.com>
10868 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10869 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10870 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10871 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10874 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10875 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10876 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10877 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10878 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10880 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10883 (__makecontext): Fix incorrect CFI when backtracing out of
10884 context created via makecontext.
10885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10886 (__setcontext): Fix incorrect CFI during switch to new context.
10887 (__novec_setcontext): Likewise.
10889 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10892 * time/strptime_l.c (__strptime_internal): Allow modifiers
10894 * time/tst-strptime.c (day_tests): Add testcase.
10896 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10898 * scripts/bench.pl: Skip over blank lines.
10900 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10903 * manual/time.texi (Calendar Time): Clarify what timezone functions
10906 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10910 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10912 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10914 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10915 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10916 * debug/memset_chk.c (__memset_chk): Likewise.
10917 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10918 * debug/strncpy_chk.c: Likewise.
10920 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10924 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10925 (__ieee754_exp): For possibly underflowing results, check size of
10926 result and force underflow exception if required.
10927 * math/auto-libm-test-in: Add more tests of exp.
10928 * math/auto-libm-test-out: Regenerated.
10929 * sysdeps/i386/fpu/libm-test-ulps: Update.
10930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10933 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10934 * math/w_exp2f.c (__exp2f): Likewise.
10935 * math/w_exp2l.c (__exp2l): Likewise.
10936 * math/auto-libm-test-in: Do not allow missing errno on exp2
10938 * math/auto-libm-test-out: Regenerated.
10940 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10943 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10944 handle filename validation.
10945 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10948 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10951 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10952 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10953 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10955 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10957 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10958 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10959 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10960 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10961 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10962 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10963 Add more erfc tests.
10964 * math/auto-libm-test-out: Regenerated.
10965 * sysdeps/i386/fpu/libm-test-ulps: Update.
10966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10968 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10969 exp2, expm1, j0 and j1.
10970 * math/auto-libm-test-out: Regenerated.
10971 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10972 (erfc_test_data): Likewise.
10973 (exp_test_data): Likewise.
10974 (exp_tonearest_test_data): Likewise.
10975 (exp_towardzero_test_data): Likewise.
10976 (exp_downward_test_data): Likewise.
10977 (exp_upward_test_data): Likewise.
10978 (exp10_test_data): Likewise.
10979 (exp2_test_data): Likewise.
10980 (expm1_test_data): Likewise.
10981 (j0_test_data): Likewise.
10982 (j1_test_data): Likewise.
10983 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10984 (input_flag_type): Add flag_xfail_rounding.
10985 (input_flags): Add xfail-rounding.
10986 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10987 (output_for_one_input_case): Handle flag_xfail_rounding.
10988 * sysdeps/i386/fpu/libm-test-ulps: Update.
10989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10991 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10994 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10997 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11000 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11001 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11002 (STAP_PROBE0): New macro.
11003 (STAP_PROBE1): Likewise.
11004 (STAP_PROBE2): Likewise.
11005 (STAP_PROBE3): Likewise.
11006 (STAP_PROBE4): Likewise.
11008 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11010 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11012 2013-12-02 Steve Ellcey <sellcey@mips.com>
11014 * benchtests/Makefile (bench): Add sqrt.
11015 (LDLIBS-bench-sqrt): New.
11016 * benchtests/sqrt-input: New.
11018 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11020 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11021 (GAIH_EAI): Likewise.
11022 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11023 (gaih_inet): Likewise.
11024 (getaddrinfo): Don't use GAIH_EAI.
11026 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11027 (struct gaih): Remove definition.
11029 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11031 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11032 Use HERRNOP directly.
11034 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11038 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11040 * math/gen-auto-libm-tests.c (test_functions): Add more
11041 single-argument functions.
11042 (special_fill_pi_2): New function.
11043 (special_fill_minus_pi_2): Likewise.
11044 (special_fill_pi_6): Likewise.
11045 (special_fill_minus_pi_6): Likewise.
11046 (special_fill_pi_3): Likewise.
11047 (special_fill_2pi_3): Likewise.
11048 (special_fill_e): Likewise.
11049 (special_fill_1_e): Likewise.
11050 (special_fill_e_minus_1): Likewise.
11051 (special_real_inputs): Add more special inputs.
11052 (output_for_one_input_case): Do not require ERANGE on underflow to
11053 zero if round-to-nearest result does not underflow to zero, unless
11054 exact results required.
11055 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11056 atan, atanh, cbrt, cos and cosh.
11057 * math/auto-libm-test-out: Regenerated.
11058 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11059 (acos_tonearest_test_data): Likewise.
11060 (acos_towardzero_test_data): Likewise.
11061 (acos_downward_test_data): Likewise.
11062 (acos_upward_test_data): Likewise.
11063 (acosh_test_data): Likewise.
11064 (asin_test_data): Likewise.
11065 (asin_tonearest_test_data): Likewise.
11066 (asin_towardzero_test_data): Likewise.
11067 (asin_upward_test_data): Likewise.
11068 (asinh_test_data): Likewise.
11069 (atan_test_data): Likewise.
11070 (atanh_test_data): Likewise.
11071 (cbrt_test_data): Likewise.
11072 (cos_test_data): Likewise.
11073 (cos_tonearest_test_data): Likewise.
11074 (cos_towardzero_test_data): Likewise.
11075 (cos_downward_test_data): Likewise.
11076 (cos_upward_test_data): Likewise.
11077 (cosh_test_data): Likewise.
11078 (cosh_tonearest_test_data): Likewise.
11079 (cosh_towardzero_test_data): Likewise.
11080 (cosh_downward_test_data): Likewise.
11081 (cosh_upward_test_data): Likewise.
11082 * sysdeps/i386/fpu/libm-test-ulps: Update.
11083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11085 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11088 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11089 * math/w_exp10f.c (__exp10f): Likewise.
11090 * math/w_exp10l.c (__exp10l): Likewise.
11091 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11092 errno settings in existing tests.
11095 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11096 precision control set to double precision.
11097 * sysdeps/i386/fpu/w_sqrt.c: New file.
11098 * math/auto-libm-test-in: Add more tests.
11099 * math/auto-libm-test-out: Update.
11101 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11102 (sqrt_test_tonearest): New function.
11103 (sqrt_towardzero_test_data): New variable.
11104 (sqrt_test_towardzero): New function.
11105 (sqrt_downward_test_data): New variable.
11106 (sqrt_test_downward): New function.
11107 (sqrt_upward_test_data): New variable.
11108 (sqrt_test_upward): New function.
11109 (main): Call the new functions.
11111 * math/gen-auto-libm-tests.c: New file.
11112 * math/auto-libm-test-in: Likewise.
11113 * math/auto-libm-test-out: New generated file.
11114 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11116 (%beautify): Add generated representations of zero.
11117 (top level): Set $auto_input and call parse_auto_input.
11118 (beautify): Remove trailing "f" from hex float constants.
11119 (parse_args): Handle XFAIL_TEST.
11120 (convert_condition): New function.
11121 (or_value): Likewise.
11122 (or_cond_value): Likewise.
11123 (generate_testfile): Handle AUTO_TESTS_* lines.
11124 (parse_auto_input): New function.
11125 * math/libm-test.inc (XFAIL_TEST): New macro.
11126 (ERRNO_UNCHANGED): Update value.
11127 (ERRNO_EDOM): Likewise.
11128 (ERRNO_ERANGE): Likewise.
11129 (IGNORE_RESULT): Likewise.
11130 (TEST_COND_flt_32): New macro.
11131 (TEST_COND_dbl_64): Likewise.
11132 (TEST_COND_ldbl_96_intel): Likewise.
11133 (TEST_COND_ldbl_96_m68k): Likewise.
11134 (TEST_COND_ldbl_128): Likewise.
11135 (TEST_COND_ldbl_128ibm): Likewise.
11136 (TEST_COND_long32): Likewise.
11137 (TEST_COND_long64): Likewise.
11138 (TEST_COND_before_rounding): Likewise.
11139 (TEST_COND_after_rounding): Likewise.
11140 (enable_test): Handle XFAIL_TEST flag.
11141 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11142 with finite results.
11143 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11144 auto-libm-test-out.
11146 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11147 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11150 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11151 __tls_get_addr_internal instead of __tls_get_offset in order to
11152 avoid GOT pointer dependency. Make rtld export
11153 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11154 __tls_get_addr since we are a __tls_get_offset platform.
11155 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11156 GOT pointer being set up before.
11157 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11159 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11161 * manual/math.texi (Errors in Math Functions): Document accuracy
11165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11166 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11168 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11171 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11182 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11183 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11184 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11185 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11186 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11188 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11190 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11192 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11193 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11194 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11195 atomic-feupdateenv and flt-rounds.
11196 * sysdeps/powerpc/nofpu/Versions (libc): Add
11197 __atomic_feholdexcept, __atomic_feclearexcept,
11198 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11199 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11200 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11201 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11202 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11207 * manual/arith.texi (FP Exceptions): Document that exceptions may
11208 not be raised when matherr is used.
11209 (Math Error Reporting): Document overflow in directed rounding
11210 modes. Document that errno may not be set when finite values are
11211 returned on overflow. Document intent to set errno on underflow
11212 only for underflow to zero.
11215 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11216 round-to-nearest then adjust result for other rounding modes.
11217 * include/fenv.h (fegetround): Use libm_hidden_proto.
11218 * math/fegetround.c (fegetround): Use libm_hidden_def.
11219 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11220 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11221 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11222 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11224 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11225 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11226 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11227 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11229 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11232 * nss/Versions (libnss_files): Add
11233 _nss_files_gethostbyname3_r.
11234 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11236 (HOST_DB_LOOKUP): Remove macro.
11237 (_nss_files_gethostbyname_r): Implement function without the
11238 HOST_DB_LOOKUP macro.
11239 (_nss_files_gethostbyname2_r): Likewise.
11241 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11243 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11245 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11247 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11248 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11251 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11253 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11254 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11255 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11256 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11257 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11258 __fe_nomask_env_priv and attribute_hidden.
11259 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11260 (libc_feupdateenv_test_ppc): Likewise.
11261 (libc_feresetround_ppc): Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11263 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11264 compat_symbol macro.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11266 (__fe_nomask_env): Likewise.
11267 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11269 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11271 * string/Makefile: Remove ifunc tests.
11272 * string/test-string.h: Define TEST_IFUNC.
11273 * string/test-bcopy-ifunc.c: Remove.
11274 * string/test-bzero-ifunc.c: Likewise.
11275 * string/test-memccpy-ifunc.c: Likewise.
11276 * string/test-memchr-ifunc.c: Likewise.
11277 * string/test-memcmp-ifunc.c: Likewise.
11278 * string/test-memcpy-ifunc.c: Likewise.
11279 * string/test-memmem-ifunc.c: Likewise.
11280 * string/test-memmove-ifunc.c: Likewise.
11281 * string/test-mempcpy-ifunc.c: Likewise.
11282 * string/test-memrchr-ifunc.c: Likewise.
11283 * string/test-memset-ifunc.c: Likewise.
11284 * string/test-rawmemchr-ifunc.c: Likewise.
11285 * string/test-stpcpy-ifunc.c: Likewise.
11286 * string/test-stpncpy-ifunc.c: Likewise.
11287 * string/test-strcasecmp-ifunc.c: Likewise.
11288 * string/test-strcasestr-ifunc.c: Likewise.
11289 * string/test-strcat-ifunc.c: Likewise.
11290 * string/test-strchr-ifunc.c: Likewise.
11291 * string/test-strchrnul-ifunc.c: Likewise.
11292 * string/test-strcmp-ifunc.c: Likewise.
11293 * string/test-strcpy-ifunc.c: Likewise.
11294 * string/test-strcspn-ifunc.c: Likewise.
11295 * string/test-strlen-ifunc.c: Likewise.
11296 * string/test-strncasecmp-ifunc.c: Likewise.
11297 * string/test-strncat-ifunc.c: Likewise.
11298 * string/test-strncmp-ifunc.c: Likewise.
11299 * string/test-strncpy-ifunc.c: Likewise.
11300 * string/test-strnlen-ifunc.c: Likewise.
11301 * string/test-strpbrk-ifunc.c: Likewise.
11302 * string/test-strrchr-ifunc.c: Likewise.
11303 * string/test-strspn-ifunc.c: Likewise.
11304 * string/test-strstr-ifunc.c: Likewise.
11306 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11308 * benchtests/Makefile: Remove ifunc tests.
11309 * benchtests/bench-string.h: Define TEST_IFUNC.
11310 * benchtests/bench-bcopy-ifunc.c: Remove.
11311 * benchtests/bench-bzero-ifunc.c: Likewise.
11312 * benchtests/bench-memccpy-ifunc.c: Likewise.
11313 * benchtests/bench-memchr-ifunc.c: Likewise.
11314 * benchtests/bench-memcmp-ifunc.c: Likewise.
11315 * benchtests/bench-memcpy-ifunc.c: Likewise.
11316 * benchtests/bench-memmem-ifunc.c: Likewise.
11317 * benchtests/bench-memmove-ifunc.c: Likewise.
11318 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11319 * benchtests/bench-memrchr-ifunc.c: Likewise.
11320 * benchtests/bench-memset-ifunc.c: Likewise.
11321 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11322 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11323 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11324 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11325 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11326 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11327 * benchtests/bench-strcat-ifunc.c: Likewise.
11328 * benchtests/bench-strchr-ifunc.c: Likewise.
11329 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11330 * benchtests/bench-strcmp-ifunc.c: Likewise.
11331 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11332 * benchtests/bench-strcpy-ifunc.c: Likewise.
11333 * benchtests/bench-strcspn-ifunc.c: Likewise.
11334 * benchtests/bench-strlen-ifunc.c: Likewise.
11335 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11336 * benchtests/bench-strncat-ifunc.c: Likewise.
11337 * benchtests/bench-strncmp-ifunc.c: Likewise.
11338 * benchtests/bench-strncpy-ifunc.c: Likewise.
11339 * benchtests/bench-strnlen-ifunc.c: Likewise.
11340 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11341 * benchtests/bench-strrchr-ifunc.c: Likewise.
11342 * benchtests/bench-strsep-ifunc.c: Likewise.
11343 * benchtests/bench-strspn-ifunc.c: Likewise.
11344 * benchtests/bench-strstr-ifunc.c: Likewise.
11346 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11348 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11350 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11352 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11353 * rt/aio.h: Likewise.
11354 * sysdeps/gnu/bits/utmp.h: Likewise.
11355 * sysdeps/gnu/bits/utmpx.h: Likewise.
11356 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11357 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11358 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11359 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11360 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11361 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11362 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11363 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11364 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11365 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11366 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11367 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11368 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11370 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11371 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11372 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11373 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11374 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11375 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11377 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11380 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11382 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11383 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11385 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11386 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11387 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11388 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11389 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11390 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11391 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11392 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11393 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11394 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11395 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11396 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11397 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11399 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11402 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11403 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11405 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11407 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11408 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11411 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11413 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11414 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11415 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11416 (__fesetround): Remove define.
11417 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11418 rounding and exceptions handling.
11419 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11420 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11421 (__fe_nomask_env): Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11423 __fegetround instead of fegetround.
11424 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11425 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11427 2013-11-21 Roland McGrath <roland@hack.frob.com>
11429 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11432 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11434 2013-11-21 Meador Inge <meadori@codesourcery.com>
11437 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11438 (encrypt_r): Likewise.
11439 * malloc/obstack.h (obstack_free): Likewise.
11440 * posix/unistd.h (encrypt): Likewise.
11442 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11444 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11445 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11446 DL_CALL_DT_FINI() that call the functions directly.
11447 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11448 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11449 * elf/dl-fini.c: Likewise.
11451 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11453 * malloc/hooks.c (memalign_check): Add alignment rounding.
11454 * malloc/malloc.c (_mid_memalign): New function.
11455 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11456 Implement by calling _mid_memalign.
11457 * manual/probes.texi (Memory Allocation Probes): Remove
11458 memory_valloc_retry and memory_pvalloc_retry.
11460 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11462 * locale/programs/locarchive.c (open_archive): Add const
11463 qualifier to ARCHIVEFNAME and copy default fname to
11467 * libio/tst-widetext.input: Rename Oriya to Odia.
11468 * locale/iso-639.def: Likewise.
11470 * manual/probes.texi (Mathematical Function Probes): Add
11471 documentation for sin, cos, asin and acos probes.
11472 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11473 (__sin32): Add slowasin probe.
11474 (__cos32): Add slowacos probe.
11475 (__mpsin): Add slowsin probe.
11476 (__mpcos): Add slowcos probe.
11478 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11481 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11482 thread-local __sim_exceptions_thread and global
11483 __sim_exceptions_global.
11484 (__sim_disabled_exceptions): Change to thread-local
11485 __sim_disabled_exceptions_thread and global
11486 __sim_disabled_exceptions_global.
11487 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11488 and global __sim_round_mode_global.
11489 (__simulate_exceptions): Use thread-local floating-point state and
11490 set global state from it as needed.
11491 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11492 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11493 __sim_round_mode_thread.
11494 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11495 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11496 and global __sim_exceptions_global.
11497 (__sim_disabled_exceptions): Change to thread-local
11498 __sim_disabled_exceptions_thread and global
11499 __sim_disabled_exceptions_global.
11500 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11501 and global __sim_round_mode_global.
11502 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11503 (SIM_SET_GLOBAL): Likewise.
11504 * sysdeps/powerpc/soft-fp/sfp-machine.h
11505 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11506 __sim_round_mode_thread.
11507 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11508 __sim_disabled_exceptions_thread.
11509 (__sim_exceptions): Change to __sim_exceptions_thread.
11510 (__sim_disabled_exceptions): Change to
11511 __sim_disabled_exceptions_thread.
11512 (__sim_round_mode): Change to __sim_round_mode_thread.
11513 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11514 thread-local floating-point state and set global state from it as
11516 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11517 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11518 (__sim_disabled_exceptions): Remove extern declaration.
11519 (feenableexcept): Use thread-local floating-point state and set
11520 global state from it as needed.
11521 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11522 extern declaration.
11523 (__sim_disabled_exceptions): Likewise.
11524 (__sim_round_mode): Likewise.
11525 (__fegetenv): Use thread-local floating-point state.
11526 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11527 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11528 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11529 floating-point state and set global state from it as needed.
11530 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11531 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11532 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11534 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11535 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11537 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11538 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11539 Use __sim_round_mode_thread.
11540 * math/test-fenv-tls.c: New file.
11541 * math/Makefile (tests): Add test-fenv-tls.
11542 ($(objpfx)test-fenv-tls): Depend on
11543 $(common-objpfx)nptl/libpthread.so.
11545 2013-11-19 Andreas Schwab <schwab@suse.de>
11547 * locale/programs/locale.c (show_info): Decode wordarray elements.
11548 * locale/categories.def (LC_MONETARY): Add element for
11549 _NL_MONETARY_CRNCYSTR.
11550 * locale/C-monetary.c (conversion_rate): New variable.
11551 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11554 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11556 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11557 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11559 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11561 * elf/Makefile (tst-auxv): New test.
11562 * elf/tst-auxv.c: New
11563 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11565 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11567 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11568 (hidden_proto): Caller changed.
11569 (hidden_tls_proto): New macro.
11570 (libc_hidden_tls_proto): Likewise.
11571 (rtld_hidden_tls_proto): Likewise.
11572 (libm_hidden_tls_proto): Likewise.
11573 (libresolv_hidden_tls_proto): Likewise.
11574 (librt_hidden_tls_proto): Likewise.
11575 (libdl_hidden_tls_proto): Likewise.
11576 (libnss_files_hidden_tls_proto): Likewise.
11577 (libnsl_hidden_tls_proto): Likewise.
11578 (libnss_nisplus_hidden_tls_proto): Likewise.
11579 (libutil_hidden_tls_proto): Likewise.
11581 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11584 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11585 (decompose_rpath): Defer expansion to fillin_rpath.
11586 (_dl_init_paths): Pass linkmap to fillin_rpath.
11588 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11590 * benchtests/Makefile: Add strsep.
11591 * benchtests/bench-strsep.c: New file: strsep benchtest.
11592 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11594 2013-11-18 Andreas Schwab <schwab@suse.de>
11596 * locale/programs/locale.c (show_info) [case byte]: Check for
11597 '\377' instead of '\177'.
11598 * locale/C-monetary.c (not_available): Always use "\377".
11599 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11600 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11601 detect unavailable sign_posn locale elements.
11602 * locale/localeconv.c (__localeconv): For grouping and
11603 mon_grouping handle "\177" and "\377" like no grouping.
11604 (INT_ELEM): New macro. Use it to set all numeric members.
11605 * locale/programs/ld-monetary.c (monetary_read)
11606 <tok_mon_grouping>: Normalize single -1 to the empty string.
11607 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11610 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11613 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11614 when we match (nil).
11615 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11617 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11619 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11620 (NO_TEST_INLINE): Update value.
11621 (ERRNO_UNCHANGED): Likewise.
11622 (ERRNO_EDOM): Likewise.
11623 (ERRNO_ERANGE): Likewise.
11624 (IGNORE_RESULT): Likewise.
11625 (check_float_internal): Check signs of NaN results if
11626 TEST_NAN_SIGN used.
11627 (check_complex): Pass TEST_NAN_SIGN flag through to second
11628 check_float_internal call.
11629 (copysign_test_data): Add tests with quiet NaNs as second
11630 argument. Use TEST_NAN_SIGN.
11631 (fabs_test_data): Add test of negative quiet NaN argument. Use
11633 (signbit_test_data): Add tests of quiet NaN argument.
11634 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11636 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11638 (parse_args): Handle function results specified as IGNORE.
11639 * math/libm-test.inc (IGNORE_RESULT): New macro.
11640 (check_float_internal): Do not check numerical result if flag
11642 (check_complex): Pass through IGNORE_RESULT to second
11643 check_float_internal call.
11644 (check_int): Do not check numerical result if flag IGNORE_RESULT
11646 (check_long): Likewise.
11647 (check_bool): Likewise.
11648 (check_longlong): Likewise.
11649 (lrint_test_data): Add tests of infinite and NaN arguments.
11650 (lrint_tonearest_test_data): Likewise.
11651 (lrint_towardzero_test_data): Likewise.
11652 (lrint_downward_test_data): Likewise.
11653 (lrint_upward_test_data): Likewise.
11654 (llrint_test_data): Likewise.
11655 (llrint_tonearest_test_data): Likewise.
11656 (llrint_towardzero_test_data): Likewise.
11657 (llrint_downward_test_data): Likewise.
11658 (llrint_upward_test_data): Likewise.
11659 (lround_test_data): Likewise.
11660 (llround_test_data): Likewise.
11662 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11663 (ERRNO_UNCHANGED): Update value.
11664 (ERRNO_EDOM): Likewise.
11665 (ERRNO_ERANGE): Likewise.
11666 (NO_TEST_INLINE_FLOAT): New macro.
11667 (NO_TEST_INLINE_DOUBLE): Likewise.
11668 (enable_test): New function.
11669 (RUN_TEST_f_f): Check enable_test before running test.
11670 (RUN_TEST_2_f): Likewise.
11671 (RUN_TEST_fff_f): Likewise.
11672 (RUN_TEST_c_f): Likewise.
11673 (RUN_TEST_f_f1): Likewise.
11674 (RUN_TEST_fF_f1): Likewise.
11675 (RUN_TEST_fI_f1): Likewise.
11676 (RUN_TEST_ffI_f1): Likewise.
11677 (RUN_TEST_c_c): Likewise.
11678 (RUN_TEST_cc_c): Likewise.
11679 (RUN_TEST_f_i): Likewise.
11680 (RUN_TEST_f_i_tg): Likewise.
11681 (RUN_TEST_ff_i_tg): Likewise.
11682 (RUN_TEST_f_b): Likewise.
11683 (RUN_TEST_f_b_tg): Likewise.
11684 (RUN_TEST_f_l): Likewise.
11685 (RUN_TEST_f_L): Likewise.
11686 (RUN_TEST_fFF_11): Likewise.
11687 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11689 (cosh_test_data): Likewise.
11690 (exp_test_data): Likewise.
11691 (expm1_test_data): Likewise.
11692 (hypot_test_data): Likewise.
11693 (pow_test_data): Likewise.
11694 (sinh_test_data): Likewise.
11695 (tanh_test_data): Likewise.
11696 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11699 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11700 tests with quiet NaN input and output.
11701 (acosh_test_data): Likewise.
11702 (asin_test_data): Likewise.
11703 (asinh_test_data): Likewise.
11704 (atan_test_data): Likewise.
11705 (atanh_test_data): Likewise.
11706 (atan2_test_data): Likewise.
11707 (cbrt_test_data): Likewise.
11708 (cos_test_data): Likewise.
11709 (cosh_test_data): Likewise.
11710 (erf_test_data): Likewise.
11711 (erfc_test_data): Likewise.
11712 (exp_test_data): Likewise.
11713 (exp10_test_data): Likewise.
11714 (exp2_test_data): Likewise.
11715 (expm1_test_data): Likewise.
11716 (hypot_test_data): Likewise.
11717 (j0_test_data): Likewise.
11718 (j1_test_data): Likewise.
11719 (jn_test_data): Likewise.
11720 (lgamma_test_data): Likewise.
11721 (log_test_data): Likewise.
11722 (log10_test_data): Likewise.
11723 (log1p_test_data): Likewise.
11724 (log2_test_data): Likewise.
11725 (pow_test_data): Likewise.
11726 (scalb_test_data): Likewise.
11727 (sin_test_data): Likewise.
11728 (sincos_test_data): Likewise.
11729 (sinh_test_data): Likewise.
11730 (tan_test_data): Likewise.
11731 (tanh_test_data): Likewise.
11732 (tgamma_test_data): Likewise.
11733 (y0_test_data): Likewise.
11734 (y1_test_data): Likewise.
11735 (yn_test_data): Likewise.
11738 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11739 argument being NaN and avoid computations with second argument in
11741 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11742 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11743 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11745 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11747 * locale/iso-639.def: Add Chitwani Tharu (the).
11749 2013-11-14 Andreas Schwab <schwab@suse.de>
11751 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11752 word instead of empty string.
11754 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11757 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11759 (__fe_nomask_env): Likewise.
11761 2013-11-13 Steve Ellcey <sellcey@mips.com>
11763 * benchtests/bench-timing.h: Include time.h.
11765 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11768 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11770 * sysdeps/unix/sysv/linux/configure: Regenerated.
11772 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11775 * stdlib/strtod_l.c (round_and_return): Do not consider
11776 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11777 exponent one less than half the least subnormal exponent.
11778 * stdlib/test-strtod-round-data: Add more tests.
11779 * stdlib/tst-strtod-round.c (tests): Regenerated.
11781 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11784 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11785 (__fe_mask_env): Likewise.
11786 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11787 libm_hidden_proto and add function prototype.
11788 (__fe_mask_env): Add function prototype.
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11790 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11792 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11794 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11796 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11798 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11799 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11801 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11803 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11804 of htab_find_slot().
11806 2013-11-11 David S. Miller <davem@davemloft.net>
11809 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11810 symbol in the non-vis3 case in static builds.
11811 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11812 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11813 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11814 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11816 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11819 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11822 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11824 * benchtests/Makefile: Add bench-strtod.
11825 * benchtests/bench-strtod.c: New file: strtod benchtest
11827 2013-11-11 Andreas Schwab <schwab@suse.de>
11830 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11831 terminating NUL in key length.
11833 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11835 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11836 Add artificial ODP entry for vDSO symbol for PPC64.
11837 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11838 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11840 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11843 * nss/getent.c (services_keys): Recognize services starting with digit.
11845 2013-11-06 David S. Miller <davem@davemloft.net>
11848 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11849 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11851 2013-11-06 Will Newton <will.newton@linaro.org>
11853 * manual/memory.texi (Malloc Examples): Remove register
11854 keyword from examples.
11856 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11858 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11860 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11863 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11864 depending on [__GCC_IEC_559 > 0].
11865 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11866 depending on [__GCC_IEC_559_COMPLEX > 0].
11868 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11870 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11873 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11875 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11877 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11880 * malloc/malloc (malloc_info): Do not handle first bin as
11883 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11885 * locale/iso-639.def: Add Central Nahuatl (nhn).
11887 2013-11-01 Bruno Haible <bruno@clisp.org>
11890 * manual/math.texi (BSD Random): Specify range upper bound as
11893 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11895 * locale/iso-639.def: Add Meadow Mari (mhr).
11897 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11899 [BZ #14752], [BZ #15763]
11900 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11902 * rt/tst_shm.c: Add test for escaping directory.
11904 2013-10-31 Andreas Schwab <schwab@suse.de>
11907 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11908 followed by 'x' as part of digit sequence.
11909 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11911 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11914 * configure.ac: allow GNU Make 4.0 and greater.
11915 * configure: Regenerated.
11917 2013-10-30 Will Newton <will.newton@linaro.org>
11920 * malloc/hooks.c (memalign_check): Limit alignment to the
11921 maximum representable power of two.
11922 * malloc/malloc.c (__libc_memalign): Likewise.
11923 * malloc/tst-memalign.c (do_test): Add test for very
11924 large alignment values.
11925 * malloc/tst-posix_memalign.c (do_test): Likewise.
11927 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11930 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11931 (munmap_chunk): Likewise.
11932 (mremap_chunk): Likewise.
11934 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11937 * stdlib/div.c (div): Remove obsolete code.
11938 * stdlib/ldiv.c (ldiv): Likewise.
11939 * stdlib/lldiv.c (lldiv): Likewise.
11941 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11944 * nss/nss_files/files-XXX.c (get_contents_ret): New
11946 (get_contents): New function.
11947 (internal_getent): Use it. Expand size of LINEBUFLEN.
11949 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11951 * configure.in: Moved to ...
11952 * configure.ac: ... here. Change reference to configure.in
11954 * sysdeps/arm/preconfigure.ac: ... here.
11955 configure.in to configure.ac.
11956 * sysdeps/gnu/configure.in: Moved to ...
11957 * sysdeps/gnu/configure.ac: ... here.
11958 * sysdeps/i386/configure.in: Moved to ...
11959 * sysdeps/i386/configure.ac: ... here.
11960 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11961 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11962 * sysdeps/mach/configure.in: Moved to ...
11963 * sysdeps/mach/configure.ac: ... here.
11964 * sysdeps/mach/hurd/configure.in: Moved to ...
11965 * sysdeps/mach/hurd/configure.ac: ... here.
11966 * sysdeps/powerpc/configure.in: Moved to ...
11967 * sysdeps/powerpc/configure.ac: ... here.
11968 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11969 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11970 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11971 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11972 * sysdeps/s390/s390-32/configure.in: Moved to ...
11973 * sysdeps/s390/s390-32/configure.ac: ... here.
11974 * sysdeps/s390/s390-64/configure.in: Moved to ...
11975 * sysdeps/s390/s390-64/configure.ac: ... here.
11976 * sysdeps/sh/configure.in: Moved to ...
11977 * sysdeps/sh/configure.ac: ... here.
11978 * sysdeps/sparc/configure.in: Moved to ...
11979 * sysdeps/sparc/configure.ac: ... here.
11980 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11981 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11982 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11983 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11984 * sysdeps/x86_64/configure.in: Moved to ...
11985 * sysdeps/x86_64/configure.ac: ... here.
11986 * sysdeps/x86_64/preconfigure.in: Moved to ...
11987 * sysdeps/x86_64/preconfigure.ac: ... here.
11988 * aclocal.m4: Change reference to configure.in to configure.ac.
11989 * config.h.in: Likewise.
11990 * manual/install.texi: Likewise.
11991 * manual/maint.texi: Likewise.
11992 * Makefile: Likewise.
11993 * malloc/Makefile: Likewise.
11994 * nscd/Makefile: Likewise.
11995 * Makeconfig: Change reference to configure.in and
11996 preconfigure.in to configure.ac and preconfigure.ac
11998 * INSTALL: Regenerated.
11999 * configure: Likewise.
12000 * sysdeps/gnu/configure: Likewise.
12001 * sysdeps/i386/configure: Likewise.
12002 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12003 * sysdeps/mach/configure: Likewise.
12004 * sysdeps/mach/hurd/configure: Likewise.
12005 * sysdeps/powerpc/configure: Likewise.
12006 * sysdeps/powerpc/powerpc32/configure: Likewise.
12007 * sysdeps/powerpc/powerpc64/configure: Likewise.
12008 * sysdeps/s390/s390-32/configure: Likewise.
12009 * sysdeps/s390/s390-64/configure: Likewise.
12010 * sysdeps/sh/configure: Likewise.
12011 * sysdeps/sparc/configure: Likewise.
12012 * sysdeps/unix/sysv/linux/configure: Likewise.
12013 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12014 * sysdeps/x86_64/configure: Likewise.
12015 * sysdeps/x86_64/preconfigure: Likewise.
12017 2013-10-29 Andreas Schwab <schwab@suse.de>
12019 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12021 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12023 * benchtests/pow-inputs: Add new inputs.
12025 * benchtests/exp-inputs: Add new inputs.
12027 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12028 conditional check for return value.
12029 (__cos32): Likewise.
12031 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12033 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12034 to provide a boost for large inputs with word alignment.
12035 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12036 implementation based on optimized PPC64 strcpy.
12037 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12038 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12039 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12040 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12042 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12045 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12047 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12050 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12051 * time/tst-strptime.c (day_tests): Add testcase.
12053 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12056 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12058 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12061 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12062 MAP_FAILED on error.
12064 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12067 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12068 heap for large requests.
12070 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12073 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12074 result if the result has no associated interface.
12075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12076 interface for all 127.X.Y.Z addresses.
12078 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12080 * locale/iso-639.def: Add Ligurian (lij)
12082 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12085 * sunrpc/rpc_main.c: Document rpcgen -5.
12087 2013-10-19 Michael Stahl <mstahl@redhat.com>
12089 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12091 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12094 * posix/glob.c: Match only directories when trailing slash is present.
12095 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12096 (main): Add testcase.
12098 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12101 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12103 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12105 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12106 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12107 AUTH_DES and cindex for FIPS 140-2.
12108 (DES Encryption): Add cindex FIPS 46-3.
12110 * locale/locarchive.h (struct locarhandle): Add fname.
12111 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12112 if an optional argument was specified to --list-archive,
12114 * locale/programs/locarchive.c (show_archive_content): Take new
12115 argument fname and pass it via ah.fname to open_archive.
12116 * locale/programs/localedef.h: Update decl.
12117 (open_archive): If AH->fname is non-null, open that file
12118 rather than the default file name, and don't ignore ENOENT.
12119 (create_archive): Set AH.fname to NULL.
12120 (delete_locales_from_archive): Likewise.
12121 (add_locales_to_archive): Likewise.
12122 * locale/programs/locfile.c (write_all_categories): Likewise.
12124 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12125 Aldy Hernandez <aldyh@redhat.com>
12127 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12128 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12129 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12130 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12131 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12132 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12133 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12134 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12135 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12136 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12137 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12138 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12139 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12140 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12141 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12143 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12145 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12147 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12149 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12150 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12152 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12153 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12154 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12155 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12157 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12158 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12159 * sysdeps/powerpc/preconfigure: Likewise.
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12162 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12163 Replace contents of file by #include of <fenv_libc.h>.
12164 * sysdeps/powerpc/soft-fp/sfp-machine.h
12165 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12167 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12168 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12169 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12170 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12172 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12176 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12180 Allow copysignl PLT reference to be missing.
12182 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12183 Joseph Myers <joseph@codesourcery.com
12186 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12188 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12190 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12192 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12193 * elf/tst-tls1.c: Likewise.
12194 * elf/tst-tls10.h: Likewise.
12195 * elf/tst-tls14.c: Likewise.
12196 * elf/tst-tls2.c: Likewise.
12197 * elf/tst-tls3.c: Likewise.
12198 * elf/tst-tls4.c: Likewise.
12199 * elf/tst-tls5.c: Likewise.
12200 * elf/tst-tls6.c: Likewise.
12201 * elf/tst-tls7.c: Likewise.
12202 * elf/tst-tls8.c: Likewise.
12203 * elf/tst-tls9.c: Likewise.
12204 * elf/tst-tlsmod1.c: Likewise.
12205 * elf/tst-tlsmod13.c: Likewise.
12206 * elf/tst-tlsmod13a.c: Likewise.
12207 * elf/tst-tlsmod14a.c: Likewise.
12208 * elf/tst-tlsmod16a.c: Likewise.
12209 * elf/tst-tlsmod16b.c: Likewise.
12210 * elf/tst-tlsmod2.c: Likewise.
12211 * elf/tst-tlsmod3.c: Likewise.
12212 * elf/tst-tlsmod4.c: Likewise.
12213 * elf/tst-tlsmod5.c: Likewise.
12214 * elf/tst-tlsmod6.c: Likewise.
12216 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12219 * malloc/malloc.c: remove checks for statistics.
12221 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12224 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12225 * inet/tst-network.c: Add testcase.
12227 2013-10-17 Andreas Schwab <schwab@suse.de>
12230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12231 to determine canonical name.
12233 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12235 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12236 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12257 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12258 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12259 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12260 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12265 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12294 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12297 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12298 make result into a quiet NaN.
12300 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12302 * soft-fp/adddf3.c: Fix horizontal whitespace.
12303 * soft-fp/addsf3.c: Likewise.
12304 * soft-fp/addtf3.c: Likewise.
12305 * soft-fp/divdf3.c: Likewise.
12306 * soft-fp/divsf3.c: Likewise.
12307 * soft-fp/divtf3.c: Likewise.
12308 * soft-fp/double.h: Likewise.
12309 * soft-fp/eqdf2.c: Likewise.
12310 * soft-fp/eqsf2.c: Likewise.
12311 * soft-fp/eqtf2.c: Likewise.
12312 * soft-fp/extenddftf2.c: Likewise.
12313 * soft-fp/extended.h: Likewise.
12314 * soft-fp/extendsfdf2.c: Likewise.
12315 * soft-fp/extendsftf2.c: Likewise.
12316 * soft-fp/extendxftf2.c: Likewise.
12317 * soft-fp/fixdfdi.c: Likewise.
12318 * soft-fp/fixdfsi.c: Likewise.
12319 * soft-fp/fixdfti.c: Likewise.
12320 * soft-fp/fixsfdi.c: Likewise.
12321 * soft-fp/fixsfsi.c: Likewise.
12322 * soft-fp/fixsfti.c: Likewise.
12323 * soft-fp/fixtfdi.c: Likewise.
12324 * soft-fp/fixtfsi.c: Likewise.
12325 * soft-fp/fixtfti.c: Likewise.
12326 * soft-fp/fixunsdfdi.c: Likewise.
12327 * soft-fp/fixunsdfsi.c: Likewise.
12328 * soft-fp/fixunsdfti.c: Likewise.
12329 * soft-fp/fixunssfdi.c: Likewise.
12330 * soft-fp/fixunssfsi.c: Likewise.
12331 * soft-fp/fixunssfti.c: Likewise.
12332 * soft-fp/fixunstfdi.c: Likewise.
12333 * soft-fp/fixunstfsi.c: Likewise.
12334 * soft-fp/fixunstfti.c: Likewise.
12335 * soft-fp/floatdidf.c: Likewise.
12336 * soft-fp/floatdisf.c: Likewise.
12337 * soft-fp/floatditf.c: Likewise.
12338 * soft-fp/floatsidf.c: Likewise.
12339 * soft-fp/floatsisf.c: Likewise.
12340 * soft-fp/floatsitf.c: Likewise.
12341 * soft-fp/floattidf.c: Likewise.
12342 * soft-fp/floattisf.c: Likewise.
12343 * soft-fp/floattitf.c: Likewise.
12344 * soft-fp/floatundidf.c: Likewise.
12345 * soft-fp/floatundisf.c: Likewise.
12346 * soft-fp/floatunditf.c: Likewise.
12347 * soft-fp/floatunsidf.c: Likewise.
12348 * soft-fp/floatunsisf.c: Likewise.
12349 * soft-fp/floatunsitf.c: Likewise.
12350 * soft-fp/floatuntidf.c: Likewise.
12351 * soft-fp/floatuntisf.c: Likewise.
12352 * soft-fp/floatuntitf.c: Likewise.
12353 * soft-fp/fmadf4.c: Likewise.
12354 * soft-fp/fmasf4.c: Likewise.
12355 * soft-fp/fmatf4.c: Likewise.
12356 * soft-fp/gedf2.c: Likewise.
12357 * soft-fp/gesf2.c: Likewise.
12358 * soft-fp/getf2.c: Likewise.
12359 * soft-fp/ledf2.c: Likewise.
12360 * soft-fp/lesf2.c: Likewise.
12361 * soft-fp/letf2.c: Likewise.
12362 * soft-fp/muldf3.c: Likewise.
12363 * soft-fp/mulsf3.c: Likewise.
12364 * soft-fp/multf3.c: Likewise.
12365 * soft-fp/negdf2.c: Likewise.
12366 * soft-fp/negsf2.c: Likewise.
12367 * soft-fp/negtf2.c: Likewise.
12368 * soft-fp/op-1.h: Likewise.
12369 * soft-fp/op-2.h: Likewise.
12370 * soft-fp/op-4.h: Likewise.
12371 * soft-fp/op-8.h: Likewise.
12372 * soft-fp/op-common.h: Likewise.
12373 * soft-fp/quad.h: Likewise.
12374 * soft-fp/single.h: Likewise.
12375 * soft-fp/soft-fp.h: Likewise.
12376 * soft-fp/sqrtdf2.c: Likewise.
12377 * soft-fp/sqrtsf2.c: Likewise.
12378 * soft-fp/sqrttf2.c: Likewise.
12379 * soft-fp/subdf3.c: Likewise.
12380 * soft-fp/subsf3.c: Likewise.
12381 * soft-fp/subtf3.c: Likewise.
12382 * soft-fp/truncdfsf2.c: Likewise.
12383 * soft-fp/trunctfdf2.c: Likewise.
12384 * soft-fp/trunctfsf2.c: Likewise.
12385 * soft-fp/trunctfxf2.c: Likewise.
12386 * soft-fp/unorddf2.c: Likewise.
12387 * soft-fp/unordsf2.c: Likewise.
12388 * soft-fp/unordtf2.c: Likewise.
12390 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12392 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12393 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12395 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12397 * elf/dl-libc.c: Clear initfini list after freeing.
12399 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12401 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12402 * soft-fp/addsf3.c: Likewise.
12403 * soft-fp/addtf3.c: Likewise.
12404 * soft-fp/divdf3.c: Likewise.
12405 * soft-fp/divsf3.c: Likewise.
12406 * soft-fp/divtf3.c: Likewise.
12407 * soft-fp/double.h: Likewise.
12408 * soft-fp/eqdf2.c: Likewise.
12409 * soft-fp/eqsf2.c: Likewise.
12410 * soft-fp/eqtf2.c: Likewise.
12411 * soft-fp/extenddftf2.c: Likewise.
12412 * soft-fp/extended.h: Likewise.
12413 * soft-fp/extendsfdf2.c: Likewise.
12414 * soft-fp/extendsftf2.c: Likewise.
12415 * soft-fp/extendxftf2.c: Likewise.
12416 * soft-fp/fixdfdi.c: Likewise.
12417 * soft-fp/fixdfsi.c: Likewise.
12418 * soft-fp/fixdfti.c: Likewise.
12419 * soft-fp/fixsfdi.c: Likewise.
12420 * soft-fp/fixsfsi.c: Likewise.
12421 * soft-fp/fixsfti.c: Likewise.
12422 * soft-fp/fixtfdi.c: Likewise.
12423 * soft-fp/fixtfsi.c: Likewise.
12424 * soft-fp/fixtfti.c: Likewise.
12425 * soft-fp/fixunsdfdi.c: Likewise.
12426 * soft-fp/fixunsdfsi.c: Likewise.
12427 * soft-fp/fixunsdfti.c: Likewise.
12428 * soft-fp/fixunssfdi.c: Likewise.
12429 * soft-fp/fixunssfsi.c: Likewise.
12430 * soft-fp/fixunssfti.c: Likewise.
12431 * soft-fp/fixunstfdi.c: Likewise.
12432 * soft-fp/fixunstfsi.c: Likewise.
12433 * soft-fp/fixunstfti.c: Likewise.
12434 * soft-fp/floatdidf.c: Likewise.
12435 * soft-fp/floatdisf.c: Likewise.
12436 * soft-fp/floatditf.c: Likewise.
12437 * soft-fp/floatsidf.c: Likewise.
12438 * soft-fp/floatsisf.c: Likewise.
12439 * soft-fp/floatsitf.c: Likewise.
12440 * soft-fp/floattidf.c: Likewise.
12441 * soft-fp/floattisf.c: Likewise.
12442 * soft-fp/floattitf.c: Likewise.
12443 * soft-fp/floatundidf.c: Likewise.
12444 * soft-fp/floatundisf.c: Likewise.
12445 * soft-fp/floatunsidf.c: Likewise.
12446 * soft-fp/floatunsisf.c: Likewise.
12447 * soft-fp/floatuntidf.c: Likewise.
12448 * soft-fp/floatuntisf.c: Likewise.
12449 * soft-fp/floatuntitf.c: Likewise.
12450 * soft-fp/fmadf4.c: Likewise.
12451 * soft-fp/fmasf4.c: Likewise.
12452 * soft-fp/fmatf4.c: Likewise.
12453 * soft-fp/gedf2.c: Likewise.
12454 * soft-fp/gesf2.c: Likewise.
12455 * soft-fp/getf2.c: Likewise.
12456 * soft-fp/ledf2.c: Likewise.
12457 * soft-fp/lesf2.c: Likewise.
12458 * soft-fp/letf2.c: Likewise.
12459 * soft-fp/muldf3.c: Likewise.
12460 * soft-fp/mulsf3.c: Likewise.
12461 * soft-fp/multf3.c: Likewise.
12462 * soft-fp/negdf2.c: Likewise.
12463 * soft-fp/negsf2.c: Likewise.
12464 * soft-fp/negtf2.c: Likewise.
12465 * soft-fp/op-1.h: Likewise.
12466 * soft-fp/op-2.h: Likewise.
12467 * soft-fp/op-4.h: Likewise.
12468 * soft-fp/op-8.h: Likewise.
12469 * soft-fp/op-common.h: Likewise.
12470 * soft-fp/quad.h: Likewise.
12471 * soft-fp/single.h: Likewise.
12472 * soft-fp/soft-fp.h: Likewise.
12473 * soft-fp/sqrtdf2.c: Likewise.
12474 * soft-fp/sqrtsf2.c: Likewise.
12475 * soft-fp/sqrttf2.c: Likewise.
12476 * soft-fp/subdf3.c: Likewise.
12477 * soft-fp/subsf3.c: Likewise.
12478 * soft-fp/subtf3.c: Likewise.
12479 * soft-fp/truncdfsf2.c: Likewise.
12480 * soft-fp/trunctfdf2.c: Likewise.
12481 * soft-fp/trunctfsf2.c: Likewise.
12482 * soft-fp/trunctfxf2.c: Likewise.
12483 * soft-fp/unorddf2.c: Likewise.
12484 * soft-fp/unordsf2.c: Likewise.
12485 * soft-fp/unordtf2.c: Likewise.
12487 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12490 * misc/error.c (error_tail): Fix possible buffer overflow.
12492 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12495 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12498 2013-10-14 P. J. McDermott <pj@pehjota.net>
12501 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12502 testing pipefail option.
12504 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12506 * soft-fp/double.h: Indent preprocessor directives inside #if.
12507 * soft-fp/extended.h: Likewise.
12508 * soft-fp/op-2.h: Likewise.
12509 * soft-fp/op-4.h: Likewise.
12510 * soft-fp/op-common.h: Likewise.
12511 * soft-fp/quad.h: Likewise.
12512 * soft-fp/single.h: Likewise.
12513 * soft-fp/soft-fp.h: Likewise.
12515 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12517 * iconv/iconv_prog.c: Fix typos.
12518 * stdio-common/psiginfo-data.h: Likewise.
12520 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12523 * locale/setlocale.c: Fix typo.
12525 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12528 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12529 signaling NaN arguments.
12530 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12531 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12534 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12535 unordered operands.
12536 * soft-fp/gesf2.c (__gesf2): Likewise.
12537 * soft-fp/getf2.c (__getf2): Likewise.
12538 * soft-fp/ledf2.c (__ledf2): Likewise.
12539 * soft-fp/lesf2.c (__lesf2): Likewise.
12540 * soft-fp/letf2.c (__letf2): Likewise.
12542 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12543 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12544 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12545 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12546 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12547 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12548 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12549 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12550 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12551 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12552 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12553 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12554 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12555 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12556 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12557 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12558 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12559 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12560 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12561 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12562 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12563 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12564 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12565 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12566 * soft-fp/floattidf.c (__floattidf): Likewise.
12567 * soft-fp/floattisf.c (__floattisf): Likewise.
12568 * soft-fp/floattitf.c (__floattitf): Likewise.
12569 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12570 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12571 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12572 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12573 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12574 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12575 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12576 * soft-fp/gesf2.c (__gesf2): Likewise.
12577 * soft-fp/getf2.c (__getf2): Likewise.
12578 * soft-fp/ledf2.c (__ledf2): Likewise.
12579 * soft-fp/lesf2.c (__lesf2): Likewise.
12580 * soft-fp/letf2.c (__letf2): Likewise.
12582 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12583 Undefine and redefine.
12584 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12585 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12586 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12587 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12588 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12589 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12590 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12591 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12592 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12593 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12594 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12595 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12596 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12597 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12598 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12601 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12602 without decrementing exponent if mantissa >= that for the
12603 denominator, not >.
12604 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12605 denominator, not >. Decrement exponent in < case instead of
12606 incrementing in >= case.
12607 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12608 without decrementing exponent if mantissa >= that for the
12609 denominator, not >.
12611 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12612 computing saturated result for unsigned overflow.
12614 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12615 Jeff Law <law@redhat.com>
12617 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12618 (atan2Mp): Add systemtap probe marker.
12619 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12620 (__ieee754_log): Add systemtap probe marker.
12621 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12622 (atanMp): Add systemtap probe marker.
12623 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12624 (tanMp): Add systemtap probe marker.
12625 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12626 (__slowexp): Add systemtap probe marker.
12627 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12628 (__slowpow): Add systemtap probe marker.
12629 * manual/probes.texi: Document probes.
12631 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12634 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12636 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12638 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12639 written to buffer but not flushed.
12640 * libio/iofwrite_u.c: Likewise.
12641 * libio/iopadn.c: Return bytes returned even if EOF was
12643 * libio/iowpadn.c: Likewise.
12644 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12645 if _IO_padn does not write the whole buffer.
12646 [!COMPILE_WPRINTF] (PAD): Likewise.
12648 2013-10-10 David S. Miller <davem@davemloft.net>
12650 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12653 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12655 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12656 instead of FSF address.
12657 * soft-fp/fixdfti.c: Likewise.
12658 * soft-fp/fixsfti.c: Likewise.
12659 * soft-fp/fixtfti.c: Likewise.
12660 * soft-fp/fixunsdfti.c: Likewise.
12661 * soft-fp/fixunssfti.c: Likewise.
12662 * soft-fp/fixunstfti.c: Likewise.
12663 * soft-fp/floattidf.c: Likewise.
12664 * soft-fp/floattisf.c: Likewise.
12665 * soft-fp/floattitf.c: Likewise.
12666 * soft-fp/floatuntidf.c: Likewise.
12667 * soft-fp/floatuntisf.c: Likewise.
12668 * soft-fp/floatuntitf.c: Likewise.
12669 * soft-fp/trunctfxf2.c: Likewise.
12671 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12672 * soft-fp/fixdfti.c: Likewise.
12673 * soft-fp/fixsfti.c: Likewise.
12674 * soft-fp/fixtfti.c: Likewise.
12675 * soft-fp/fixunsdfti.c: Likewise.
12676 * soft-fp/fixunssfti.c: Likewise.
12677 * soft-fp/fixunstfti.c: Likewise.
12678 * soft-fp/floattidf.c: Likewise.
12679 * soft-fp/floattisf.c: Likewise.
12680 * soft-fp/floattitf.c: Likewise.
12681 * soft-fp/floatuntidf.c: Likewise.
12682 * soft-fp/floatuntisf.c: Likewise.
12683 * soft-fp/floatuntitf.c: Likewise.
12684 * soft-fp/trunctfxf2.c: Likewise.
12686 2013-10-10 David S. Miller <davem@davemloft.net>
12688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12690 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12692 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12693 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12694 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12701 for NaNs before doing comparisons on argument.
12702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12705 2013-10-10 Will Newton <will.newton@linaro.org>
12707 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12708 passed to _int_memalign does not overflow.
12710 2013-10-10 Torvald Riegel <triegel@redhat.com>
12712 * scripts/bench.pl: Add include-sources directive.
12713 * benchtests/README: Update documentation.
12715 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12717 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12718 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12719 instead of FP_INIT_ROUNDMODE.
12720 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12721 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12724 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12725 copy class of input value.
12726 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12727 not handle exceptions.
12728 * soft-fp/negsf2.c (__negsf2): Likewise.
12729 * soft-fp/negtf2.c (__negtf2): Likewise.
12730 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12732 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12734 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12735 semicolon. From Linux kernel.
12737 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12739 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12741 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12744 * manual/socket.texi: Added statement about buffer
12745 for gethostbyname2_r.
12747 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12749 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12750 Use .p2align directive instead, throughout.
12751 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12752 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12753 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12755 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12756 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12757 * sysdeps/x86_64/strchr.S: Likewise.
12758 * sysdeps/x86_64/strrchr.S: Likewise.
12760 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12762 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12764 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12766 * sysdeps/generic/math_private.h (__mpsin1): Remove
12768 (__mpcos1): Likewise.
12769 (__mpsin): New argument __range_reduce.
12770 (__mpcos): Likewise.
12771 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12772 (slow): Use __mpsin and __mpcos.
12776 (sloww1): Likewise.
12777 (sloww2): Likewise.
12778 (bsloww): Likewise.
12779 (bsloww1): Likewise.
12780 (bsloww2): Likewise.
12781 (cslow2): Likewise.
12782 (csloww): Likewise.
12783 (csloww1): Likewise.
12784 (csloww2): Likewise.
12785 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12786 range_reduce. Merge in __mpsin1.
12787 (__mpcos): Likewise.
12788 (__mpsin1): Remove.
12789 (__mpcos1): Likewise.
12791 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12793 * locale/loadlocale.c (_nl_intern_locale_data): Use
12795 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12796 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12797 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12798 obstack data is appropriately aligned.
12799 (obstack_int32_grow_fast): Likewise.
12800 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12801 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12802 (add_locale_uint32_array): Likewise.
12804 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12806 * benchtests/Makefile: Remove ARGLIST and RET variables.
12807 ($(objpfx)bench-%.c): Pass only function name to the script.
12808 * benchtests/README: Update documentation.
12809 * benchtests/acos-inputs: Add new directives.
12810 * benchtests/acosh-inputs: Likewise.
12811 * benchtests/asin-inputs: Likewise.
12812 * benchtests/asinh-inputs: Likewise.
12813 * benchtests/atan-inputs: Likewise.
12814 * benchtests/atanh-inputs: Likewise.
12815 * benchtests/cos-inputs: Likewise.
12816 * benchtests/cosh-inputs: Likewise.
12817 * benchtests/exp-inputs: Likewise.
12818 * benchtests/log-inputs: Likewise.
12819 * benchtests/pow-inputs: Likewise.
12820 * benchtests/rint-inputs: Likewise.
12821 * benchtests/sin-inputs: Likewise.
12822 * benchtests/sinh-inputs: Likewise.
12823 * benchtests/tan-inputs: Likewise.
12824 * benchtests/tanh-inputs: Likewise.
12825 * scripts/bench.pl: Add support for new directives.
12827 2013-10-07 Alan Modra <amodra@gmail.com>
12829 * README: Fix careless merge.
12831 2013-10-05 Alan Modra <amodra@gmail.com>
12833 * NEWS: Mention powerpc64le support and bugs fixed.
12834 * README: Both big-endian and little-endian powerpc64 supported.
12836 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12838 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12839 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12840 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12841 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12843 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12845 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12848 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12850 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12851 Move -mhard-float appending from
12852 ports/sysdeps/powerpc/powerpc32/Makefile.
12853 [$(with-fp) = yes] (ASFLAGS): Likewise.
12854 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12855 * sysdeps/powerpc/nofpu: Move directory from
12856 ports/sysdeps/powerpc/nofpu.
12857 * sysdeps/powerpc/soft-fp: Move directory from
12858 ports/sysdeps/powerpc/soft-fp.
12859 * sysdeps/powerpc/powerpc32/405: Move directory from
12860 ports/sysdeps/powerpc/powerpc32/405.
12861 * sysdeps/powerpc/powerpc32/440: Move directory from
12862 ports/sysdeps/powerpc/powerpc32/440.
12863 * sysdeps/powerpc/powerpc32/464: Move directory from
12864 ports/sysdeps/powerpc/powerpc32/464.
12865 * sysdeps/powerpc/powerpc32/476: Move directory from
12866 ports/sysdeps/powerpc/powerpc32/476.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12868 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12870 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12872 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12874 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12876 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12877 * README: Update for powerpc-*-linux-gnu software floating point
12880 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12881 case to powerpc/powerpc32*.
12882 * sysdeps/unix/sysv/linux/configure: Regenerated.
12884 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12885 (_FPU_MASK_OM): Define as 0x04.
12886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12894 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12897 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12900 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12901 and setcontext_e500.
12903 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12905 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12907 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12909 * manual/threads.texi (Default Thread Attributes): Fix typo.
12911 2013-10-04 Will Newton <will.newton@linaro.org>
12913 * malloc/Makefile: Add tst-memalign.
12914 * malloc/tst-memalign.c: New file.
12916 * malloc/tst-posix_memalign.c: Add comments.
12917 (do_test): Add comments and call free on all potentially
12918 allocated pointers. Add space after cast.
12920 * malloc/tst-pvalloc.c: Add comments.
12921 (do_test): Add comments and call free on all potentially
12922 allocated pointers. Remove duplicate check for NULL pointer.
12923 Add space after cast.
12925 * malloc/tst-valloc.c: Add comments.
12926 (do_test): Add comments and call free on all potentially
12927 allocated pointers. Remove duplicate check for NULL pointer.
12928 Add space after cast.
12930 2013-10-04 Alan Modra <amodra@gmail.com>
12932 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12933 Use stdint types in rather than __attribute__((mode())).
12934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12936 2013-10-04 Alan Modra <amodra@gmail.com>
12938 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12939 Correct handling of unaligned relocs for little-endian.
12940 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12942 2013-10-04 Alan Modra <amodra@gmail.com>
12944 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12945 * configure: Regenerate.
12946 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12947 * shlib-versions: Likewise.
12949 2013-10-04 Alan Modra <amodra@gmail.com>
12951 * string/tester.c (test_memrchr): Increment reported test cycle.
12953 2013-10-04 Alan Modra <amodra@gmail.com>
12955 * string/test-memcpy.c (do_one_test): When reporting errors, print
12956 string address and don't overrun end of string.
12958 2013-10-04 Alan Modra <amodra@gmail.com>
12960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12961 insrdi. Make better use of reg selection to speed exit slightly.
12962 Schedule entry path a little better. Remove useless "are we done"
12963 checks on entry to main loop. Handle wrapping around zero address.
12964 Correct main loop count. Handle single left-over word from main
12965 loop inline rather than by using loop_small. Remove extra word
12966 case in loop_small caused by wrong loop count. Add little-endian
12968 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12969 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12971 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12972 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12973 support. Avoid rlwimi.
12974 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12976 2013-10-04 Alan Modra <amodra@gmail.com>
12978 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12979 insrdi. Formatting.
12980 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12981 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12982 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12983 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12984 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12985 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12987 2013-10-04 Alan Modra <amodra@gmail.com>
12989 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12990 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12991 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12992 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12993 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12994 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12995 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12996 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12997 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12998 use of regs. Use power7 mtocrf. Tidy function tails.
13000 2013-10-04 Alan Modra <amodra@gmail.com>
13002 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13003 Formatting. Consistently use rXXX register defines or rN defines.
13004 Use early exit labels that avoid restoring unused non-volatile regs.
13005 Make cr field use more consistent with rWORDn compares. Rename
13006 regs used as shift registers for unaligned loop, using rN defines
13007 for short lifetime/multiple use regs.
13008 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13010 addi 1,1,64 to pop stack frame. Simplify return value code.
13011 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13013 2013-10-04 Alan Modra <amodra@gmail.com>
13015 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13016 support. Correct typos, formatting. Optimize tail. Use insrdi
13017 rather than rlwimi.
13018 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13019 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13020 little-endian support. Correct typos.
13021 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13022 rather than rlwimi.
13023 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13024 in loop and entry code to keep "and." results.
13025 (strchr): Add little-endian support. Comment. Move cntlzd
13027 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13029 2013-10-04 Alan Modra <amodra@gmail.com>
13031 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13032 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13033 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13034 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13036 2013-10-04 Alan Modra <amodra@gmail.com>
13038 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13039 (rTMP): Define as r11.
13040 (strcmp): Add little-endian support. Optimise tail.
13041 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13042 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13043 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13044 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13049 2013-10-04 Alan Modra <amodra@gmail.com>
13051 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13052 little-endian support. Remove unnecessary "are we done" tests.
13053 Handle "s" wrapping around zero and extremely large "size".
13054 Correct main loop count. Handle single left-over word from main
13055 loop inline rather than by using small_loop. Correct comments.
13056 Delete "zero" tail, use "end_max" instead.
13057 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13059 2013-10-04 Alan Modra <amodra@gmail.com>
13061 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13062 support. Don't branch over align.
13063 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13064 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13065 support. Rearrange tmp reg use to suit. Comment.
13066 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13068 2013-10-04 Alan Modra <amodra@gmail.com>
13070 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13072 2013-10-04 Alan Modra <amodra@gmail.com>
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13075 conditional form of branch and link when obtaining pc.
13076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13078 2013-10-04 Alan Modra <amodra@gmail.com>
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13085 2013-10-04 Alan Modra <amodra@gmail.com>
13087 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13088 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13089 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13090 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13091 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13092 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13093 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13094 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13095 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13096 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13098 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13099 Alistair Popple <alistair@ozlabs.au.ibm.com>
13100 Alan Modra <amodra@gmail.com>
13103 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13104 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13105 _dl_hwcap access for little-endian.
13106 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13107 destroy vmx regs when saving unaligned.
13108 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13109 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13110 destroy vmx regs when saving unaligned.
13112 2013-10-04 Alan Modra <amodra@gmail.com>
13114 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13115 Don't use a union to pack hi/low value.
13117 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13119 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13121 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13122 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13123 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13124 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13125 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13127 2013-10-04 Alan Modra <amodra@gmail.com>
13129 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13130 constants to usual value for .cst8 section, and remove redundant
13132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13133 constant for 0x1p52. Load little-endian words of double from
13134 correct stack offsets.
13136 2013-10-04 Alan Modra <amodra@gmail.com>
13138 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13139 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13140 words of double from correct stack offsets.
13141 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13142 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13143 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13144 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13145 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13146 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13148 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13149 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13150 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13151 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13152 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13153 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13154 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13155 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13157 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13159 2013-10-04 Alan Modra <amodra@gmail.com>
13161 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13162 64-bit int/double union.
13163 (_FPU_SETCW): Likewise.
13164 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13165 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13167 2013-10-04 Alan Modra <amodra@gmail.com>
13169 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13170 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13172 2013-10-04 Alan Modra <amodra@gmail.com>
13174 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13175 use vector int constants.
13176 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13178 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13180 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13181 array with long long.
13182 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13183 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13184 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13185 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13186 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13187 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13188 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13189 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13190 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13191 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13192 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13193 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13194 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13196 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13198 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13199 (__signbit): Likewise. Correct for little-endian.
13200 (__signbitl): Call __signbit.
13201 (lrint): Correct for little-endian.
13202 (lrintf): Call lrint.
13204 2013-10-04 Alan Modra <amodra@gmail.com>
13206 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13207 union 32-bit int array member with 64-bit int array.
13208 (t515, tm256): Double rather than long double.
13209 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13211 2013-10-04 Alan Modra <amodra@gmail.com>
13213 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13215 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13217 version of math_ldbl.h.
13219 2013-10-04 Alan Modra <amodra@gmail.com>
13221 [BZ #15734], [BZ #15735]
13222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13223 all uses of ieee875 long double macros and unions. Simplify test
13224 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13225 ldbl_extract_mantissa value for ix,iy exponents. Properly
13226 normalize after ldbl_extract_mantissa, and don't add hidden bit
13227 already handled. Don't treat low word of ieee854 mantissa like
13228 low word of IBM long double and mask off bit when testing for
13230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13231 all uses of ieee875 long double macros and unions. Simplify tests
13232 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13233 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13234 two1022, instead use their values. Recognise that tests for large
13235 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13236 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13237 Rewrite all uses of ieee875 long double macros and unions. Simplify
13238 test for 0.0L and nan. Correct negation.
13239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13240 ieee875 long double macros and unions. Correct output for large
13241 magnitude x. Correct absolute value calculation.
13242 (__erfcl): Likewise.
13243 * math/libm-test.inc: Add tests for errors discovered in IBM long
13244 double versions of fmodl, remainderl, erfl and erfcl.
13246 2013-10-04 Alan Modra <amodra@gmail.com>
13248 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13249 all uses of ieee854 long double macros and unions. Simplify tests
13250 for long doubles that are fully specified by the high double.
13251 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13253 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13254 Remove dead code too.
13255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13256 (__ieee754_ynl): Likewise.
13257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13258 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13260 Remove dead code too.
13261 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13262 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13266 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13268 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13269 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13270 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13271 Comment on variable precision.
13272 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13275 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13278 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13279 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13281 2013-10-04 Alan Modra <amodra@gmail.com>
13283 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13285 all uses of ieee854 long double macros and unions.
13286 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13293 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13297 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13299 Simplify sign and nan test too.
13300 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13303 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13305 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13306 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13315 2013-10-04 Alan Modra <amodra@gmail.com>
13317 * stdio-common/printf_size.c (__printf_size): Don't use
13318 union ieee854_long_double in fpnum union.
13319 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13320 signbit macro to retrieve sign from long double.
13321 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13322 retrieve sign from long double.
13323 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13324 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13325 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13326 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13327 * math/test-misc.c (main): Don't use union ieee854_long_double.
13329 2013-10-04 Alan Modra <amodra@gmail.com>
13332 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13333 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13334 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13335 calculation. Remove unnecessary test for denormal exponent.
13336 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13337 Correct handling of denormals. Avoid undefined shift behaviour.
13338 Correct normalisation of low mantissa when low double is denormal.
13339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13340 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13341 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13342 Correct normalisation of low mantissa. Test for overflow of high
13343 mantissa and normalise.
13344 (ldbl_nearbyint): Use more readable constant for two52.
13345 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13346 (__mpn_construct_long_double): Fix test for overflow of high
13347 mantissa and correct normalisation. Avoid undefined shift.
13349 2013-10-04 Alan Modra <amodra@gmail.com>
13351 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13352 (union ibm_extended_long_double): Define as an array of ieee754_double.
13353 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13354 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13355 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13356 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13365 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13367 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13368 page size instead of calling getpagesize.
13370 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13371 (LOCFILE_ALIGN_MASK): Likewise.
13372 (LOCFILE_ALIGN_UP): Likewise.
13373 (LOCFILE_ALIGNED_P): Likewise.
13374 * locale/programs/ld-collate.c (collate_output): Use the new
13375 macros instead of __alignof__ (int32_t).
13376 * locale/weight.h (findidx): Likewise.
13378 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13381 * manual/string.texi: Fix strncat and wcsncat.
13383 2013-10-03 Brooks Moses <bmoses@google.com>
13386 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13387 * Makerules: ...here, and adjust associated comments.
13389 2013-10-02 Will Newton <will.newton@linaro.org>
13391 * malloc/Makefile: Add tst-pvalloc.
13392 * malloc/tst-pvalloc.c: New file.
13394 2013-10-02 Will Newton <will.newton@linaro.org>
13396 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13397 improve test coverage.
13399 2013-10-02 Will Newton <will.newton@linaro.org>
13401 * malloc/Makefile: Add tst-posix_memalign.
13402 * malloc/tst-posix_memalign.c: New file.
13404 2013-10-01 Eric Blake <eblake@redhat.com>
13406 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13407 Use __THROWNL rather than __THROW on static functions.
13409 2013-09-30 Petr Machata <pmachata@redhat.com>
13411 * elf/elf.h (R_AARCH64_ABS16): New macro.
13412 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13413 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13414 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13415 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13416 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13417 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13418 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13419 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13420 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13421 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13422 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13423 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13424 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13425 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13426 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13427 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13428 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13429 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13430 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13431 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13432 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13433 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13434 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13435 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13436 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13437 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13438 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13439 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13440 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13441 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13442 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13443 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13444 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13445 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13446 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13447 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13448 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13449 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13450 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13451 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13452 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13453 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13454 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13455 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13456 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13457 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13458 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13459 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13460 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13461 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13462 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13463 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13464 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13465 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13466 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13467 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13468 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13469 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13470 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13471 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13472 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13473 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13474 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13475 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13476 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13477 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13478 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13479 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13480 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13481 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13482 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13483 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13484 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13485 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13486 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13487 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13488 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13489 (R_AARCH64_TLSDESC_LDR): Likewise.
13490 (R_AARCH64_TLSDESC_ADD): Likewise.
13491 (R_AARCH64_TLSDESC_CALL): Likewise.
13493 2013-09-30 Andreas Schwab <schwab@suse.de>
13496 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13497 the nss database lookup.
13498 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13501 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13503 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13505 2013-09-28 P. J. McDermott <pj@pehjota.net>
13507 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13508 ${Bash-specific parameter/pattern/string} parameter expansion.
13509 * sysdeps/unix/make-syscalls.sh: Likewise.
13511 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13513 * sysdeps/sh/stackguard-macros.h: New file.
13515 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13518 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13519 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13520 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13521 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13522 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13524 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13526 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13527 Fix thread ID register.
13529 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13531 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13532 [POSIX || UNIX98]: Require rather than permitting all symbols from
13534 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13535 element of struct sched_param.
13536 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13537 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13538 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13539 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13542 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13544 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13545 argument calculation.
13547 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13549 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13551 [POSIX] (pthread_attr_t): Do not require type.
13552 [POSIX] (pthread_cond_t): Likewise.
13553 [POSIX] (pthread_condattr_t): Likewise.
13554 [POSIX] (pthread_key_t): Likewise.
13555 [POSIX] (pthread_mutex_t): Likewise.
13556 [POSIX] (pthread_mutexattr_t): Likewise.
13557 [POSIX] (pthread_once_t): Likewise.
13558 [POSIX] (pthread_t): Likewise.
13559 [POSIX-based standards] (pthread_atfork): Expect function.
13561 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13562 Richard Sandiford <richard@codesourcery.com>
13564 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13565 (swap_endianness_p): New extern variable.
13566 (set_big_endian): New inline function.
13567 (maybe_swap_uint32): Likewise.
13568 (maybe_swap_uint32_array): Likewise.
13569 (maybe_swap_uint32_obstack): Likewise.
13570 * locale/programs/locfile.c: Include <stdbool.h>.
13571 (swap_endianness_p): New variable.
13572 (add_locale_uint32): Call maybe_swap_uint32.
13573 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13574 (write_locale_data): Call maybe_swap_uint32_array.
13575 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13577 (obstack_int32_grow_fast): Likewise.
13578 (output_weightwc): Call maybe_swap_uint32_obstack.
13579 (collate_output): Likewise.
13580 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13581 (OPT_LITTLE_ENDIAN): Likewise.
13582 (options): Add --little-endian and --big-endian options.
13583 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13584 * locale/programs/locarchive.c: Include "locfile.h".
13588 (create_archive): Use the new macros to access fields of
13589 structures directly mapped from or written to locale archives.
13590 (oldlocrecentcmp): Likewise.
13591 (enlarge_archive): Likewise.
13592 (insert_name): Likewise.
13593 (add_alias): Likewise.
13594 (add_locale): Likewise.
13595 (delete_locales_from_archive): Likewise.
13596 (show_archive_content): Likewise.
13597 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13600 2013-09-24 Roland McGrath <roland@hack.frob.com>
13602 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13603 http://www.gnu.org/doc/freemanuals.texi.
13604 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13606 2013-09-24 Will Newton <will.newton@linaro.org>
13608 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13611 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13613 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13616 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13618 * manual/threads.texi (POSIX Threads): Fix a typo.
13620 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13623 * string/tst-strcoll-overflow.c: New test case.
13624 * string/Makefile (xtests): Add tst-strcoll-overflow.
13625 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13626 cache if string sizes may cause integer overflow.
13629 * string/strcoll_l.c (coll_seq): New members rule, idx,
13630 save_idx and back_us.
13631 (get_next_seq_nocache): New function.
13632 (do_compare_nocache): New function.
13633 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13636 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13639 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13640 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13641 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13644 * elf/Makefile (tests): Add tst-ptrguard1.
13645 (tests-static): Add tst-ptrguard1-static.
13646 (tst-ptrguard1-ARGS): Define.
13647 (tst-ptrguard1-static-ARGS): Define.
13648 * elf/tst-ptrguard1.c: New file.
13649 * elf/tst-ptrguard1-static.c: New file.
13650 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13651 * sysdeps/i386/stackguard-macros.h: Likewise.
13652 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13653 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13654 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13655 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13656 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13657 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13659 2013-09-23 Hector Marco <hecmargi@upv.es>
13660 Ismael Ripoll <iripoll@disca.upv.es>
13661 Carlos O'Donell <carlos@redhat.com>
13664 * sysdeps/generic/stackguard-macros.h: Define
13665 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13666 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13667 Define __pointer_chk_guard_local.
13668 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13669 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13671 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13674 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13676 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13678 * include/string.h (__ffs): Declare as hidden.
13679 * string/ffs.c (__ffs): Define as hidden.
13680 * sysdeps/i386/ffs.c (__ffs): Likewise.
13681 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13682 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13683 * sysdeps/s390/ffs.c (__ffs): Likewise.
13684 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13686 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13688 * NEWS: Mention malloc probes.
13690 * malloc/arena.c (new_heap): New memory_heap_new probe.
13691 (grow_heap): New memory_heap_more probe.
13692 (shrink_heap): New memory_heap_less probe.
13693 (heap_trim): New memory_heap_free probe.
13694 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13695 (systrim): New memory_sbrk_less probe.
13696 * manual/probes.texi: Document them.
13698 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13699 * manual/probes.texi: Document it.
13701 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13702 (__libc_realloc): Add memory_realloc_retry probe.
13703 (__libc_memalign): Add memory_memalign_retry probe.
13704 (__libc_valloc): Add memory_valloc_retry probe.
13705 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13706 (__libc_calloc): Add memory_calloc_retry probe.
13707 * manual/probes.texi: Document them.
13709 * malloc/arena.c (get_free_list): Add probe
13710 memory_arena_reuse_free_list.
13711 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13712 and memory_arena_reuse.
13713 (arena_get2) [!PER_THREAD]: Likewise.
13714 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13715 memory_arena_reuse_realloc.
13716 * manual/probes.texi: Document them.
13718 * malloc/malloc.c (__libc_free): Add
13719 memory_mallopt_free_dyn_thresholds probe.
13720 (__libc_mallopt): Add multiple memory_mallopt probes.
13721 * manual/probes.texi: Document them.
13723 * malloc/malloc.c: Include stap-probe.h.
13724 (__libc_mallopt): Add memory_mallopt probe.
13725 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13726 * manual/probes.texi: New.
13727 * manual/Makefile (chapters): Add probes.
13728 * manual/threads.texi: Set next node.
13730 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13732 [BZ #15963, #13985]
13733 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13734 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13735 Add `Chinese' to `nan' entry name.
13737 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13739 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13740 (POLYNOMIAL): Likewise.
13741 (TAYLOR_SINCOS): Likewise.
13742 (TAYLOR_SLOW): Likewise.
13743 (__sin): Use TAYLOR_SINCOS.
13745 (slow): Use TAYLOR_SLOW.
13747 (bsloww): Likewise.
13748 (csloww): Likewise.
13750 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13752 * stdlib/strtod_l.c: Fix buffer overrun.
13754 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13756 * benchtests/Makefile (bench): Add sincos.
13757 * benchtests/bench-sincos.c: New file.
13759 * math/libm-test.inc (cos_test_data): New test inputs.
13760 (sin_test_data): Likewise.
13762 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13768 (sloww1): Likewise.
13769 (sloww2): Likewise.
13770 (bsloww1): Likewise.
13771 (bsloww2): Likewise.
13772 (cslow2): Likewise.
13773 (csloww1): Likewise.
13774 (csloww2): Likewise.
13776 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13781 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13785 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13787 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13788 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13789 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13790 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13791 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13792 * elf/cache.c (print_entry): Handle the new cache flags.
13794 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13795 Aldy Hernandez <aldyh@redhat.com>
13797 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13798 Change condition to [_SOFT_FLOAT].
13799 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13811 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13814 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13817 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13819 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13820 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13821 (__longjmp): Use LOAD_GP to load saved GPRs.
13822 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13823 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13824 (__sigsetjmp): Use SAVE_GP to save GPRs.
13826 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13827 Do not append -msoft-float.
13828 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13830 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13832 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13834 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13837 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13838 (_FPU_GETCW): Use initial "__" on variable and field names but not
13839 on macro parameter name.
13840 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13841 parentheses around reference to macro parameter.
13843 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13845 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13847 (ctype_startup): Use uint32_t in cast and sizeof for
13850 2013-09-11 Jia Liu <proljc@gmail.com>
13852 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13854 [__FreeBSD__]: Likewise.
13856 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13859 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13860 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13861 (strchr): Remove __strchr_sse42 ifunc selection.
13862 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13863 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13865 2013-09-11 Will Newton <will.newton@linaro.org>
13867 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13868 parameter to RES. Remove hardcoded 1000 value.
13869 * benchtests/bench-skeleton.c (main): Pass RES parameter
13870 to TIMING_INIT and multiply result by 1000.
13872 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13876 2013-09-11 Andreas Schwab <schwab@suse.de>
13878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13880 (O_TMPFILE) [__USE_GNU]: Define.
13881 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13884 2013-09-11 Will Newton <will.newton@linaro.org>
13887 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13890 2013-09-11 Will Newton <will.newton@linaro.org>
13893 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13896 2013-09-11 Will Newton <will.newton@linaro.org>
13899 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13902 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13904 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13905 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13910 2013-09-10 Allan McRae <allan@archlinux.org>
13913 * manual/arith.texi (Parsing of Floats): Clarify
13917 * manual/install.texi (Running make install): Mention
13919 * INSTALL: Regenerated.
13921 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13923 * csu/init-first.c (_init): Remove the !SHARED condition around
13924 FPU control word initialization.
13925 * elf/dl-support.c (_dl_fpu_control): New variable.
13926 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13927 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13928 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13929 * math/test-fpucw-static.c: New file.
13930 * math/test-fpucw-ieee.c: New file.
13931 * math/test-fpucw-ieee-static.c: New file.
13932 * math/Makefile (tests): Add `test-fpucw-ieee' and
13934 (tests-static): New variable.
13935 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13937 [($(build-shared),yes)]
13938 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13940 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13943 2013-09-09 Allan McRae <allan@archlinux.org>
13946 * manual/string.texi (Collation Functions): Fix typo in
13948 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13951 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13954 * libio/memstream.c (open_memstream): Fix memory leak.
13955 * libio/wmemstream.c (open_wmemstream): Likewise.
13958 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13960 2013-09-09 Will Newton <will.newton@linaro.org>
13962 * malloc/Makefile: Add tst-realloc to tests.
13963 * malloc/tst-realloc.c: New file.
13965 2013-09-09 Allan McRae <allan@archlinux.org>
13968 * COPYING: Update from GNU website to fix FSF address.
13969 * COPYING.LIB: Likewise.
13971 2013-09-06 David S. Miller <davem@davemloft.net>
13973 * po/zh_TW.po: Update Chinese (traditional) translation from
13974 translation project.
13976 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13977 Joseph Myers <joseph@codesourcery.com>
13979 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13981 (obstack_chunk_alloc): New macro.
13982 (obstack_chunk_free): Likewise.
13983 (record_offset): New function.
13984 (init_locale_data): Likewise.
13985 (align_locale_data): Likewise.
13986 (add_locale_empty): Likewise.
13987 (add_locale_raw_data): Likewise.
13988 (add_locale_raw_obstack): Likewise.
13989 (add_locale_string): Likewise.
13990 (add_locale_wstring): Likewise.
13991 (add_locale_uint32): Likewise.
13992 (add_locale_uint32_array): Likewise.
13993 (add_locale_char): Likewise.
13994 (start_locale_structure): Likewise.
13995 (end_locale_structure): Likewise.
13996 (start_locale_prelude): Likewise.
13997 (end_locale_prelude): Likewise.
13998 (write_locale_data): Take locale_file structure rather than an
14000 * locale/programs/locfile.h: Include "obstack.h".
14001 (struct locale_file): Change to store locale file contents instead
14003 (init_locale_data): New prototype.
14004 (align_locale_data): Likewise.
14005 (add_locale_empty): Likewise.
14006 (add_locale_raw_data): Likewise.
14007 (add_locale_raw_obstack): Likewise.
14008 (add_locale_string): Likewise.
14009 (add_locale_wstring): Likewise.
14010 (add_locale_uint32): Likewise.
14011 (add_locale_uint32_array): Likewise.
14012 (add_locale_char): Likewise.
14013 (start_locale_structure): Likewise.
14014 (end_locale_structure): Likewise.
14015 (start_locale_prelude): Likewise.
14016 (end_locale_prelude): Likewise.
14017 (write_locale_data): Update prototype.
14018 * locale/programs/3level.h (struct TABLE): Remove result field.
14019 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14020 Use new locale_file interface.
14021 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14022 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14023 * locale/programs/ld-address.c (address_output): Use new
14024 locale_file interface.
14025 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14027 (collate_finish): Don't call collseq_table_finalize.
14028 (collate_output): Use new locale_file interface.
14029 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14031 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14032 (TABLE): Move defines earlier in file.
14033 (ELEMENT): Likewise.
14034 (DEFAULT): Likewise.
14035 (wctrans_table_add): Move macro and inline function earlier in
14037 (struct wctype_table): Move type earlier in file.
14038 (add_locale_wctype_table): New static prototype.
14039 (struct locale_ctype_t): Use logical types instead of struct iovec
14040 pointers for members.
14041 (ctype_output): Use new locale_file interface.
14042 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14043 new locale_file interface.
14044 (allocate_arrays): Update for use of new locale_file interface.
14045 * locale/programs/ld-identification.c (identification_output): Use
14046 new locale_file interface.
14047 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14048 * locale/programs/ld-messages.c (messages_output): Likewise.
14049 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14050 * locale/programs/ld-name.c (name_output): Likewise.
14051 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14052 * locale/programs/ld-paper.c (paper_output): Likewise.
14053 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14054 * locale/programs/ld-time.c (time_output): Likewise.
14056 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14058 * benchtests/Makefile: Add memrchr benchmark.
14059 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14060 benchmark as memrchr.
14061 * benchtests/bench-memrchr-ifunc.c: New file.
14062 * benchtests/bench-memrchr.c: New file.
14064 2013-09-06 Will Newton <will.newton@linaro.org>
14066 * benchtests/Makefile (string-bench): Add memcpy.
14068 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14069 Cong Wang <amwang@redhat.com>
14072 * sysdeps/unix/sysv/linux/bits/in.h
14073 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14074 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14075 before __USE_KERNEL_IPV6_DEFS uses.
14076 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14078 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14079 sockaddr_in6, or ipv6_mreq.
14081 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14083 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14084 memory access for final bytes in some large inputs.
14085 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14087 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14089 * string/test-memrchr.c: New file.
14090 * string/test-memrchr-ifunc.c: New file.
14091 * string/Makefile: Add new memrchr testcase.
14093 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14095 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14096 fanotify_init returns EPERM.
14098 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14100 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14102 (top level): Treat second token from macro or constant entries for
14103 allowed headers as allowed.
14104 * include/complex.h: Condition internal declarations on
14106 * include/fenv.h: Condition include of <stdbool.h> and internal
14107 declarations on [!_ISOMAC].
14109 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14112 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14114 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14116 * configure.in (--enable-versioning): Remove configure option.
14117 (libc_cv_asm_symver_directive): Remove configure test.
14118 (libc_cv_ld_version_script_option): Likewise.
14119 (VERSIONING): Remove variable and AC_SUBST.
14120 (DO_VERSIONING): Remove AC_DEFINE.
14121 * configure: Regenerated.
14122 * config.h.in (DO_VERSIONING): Remove macro.
14123 * Makerules [$(versioning) = yes]: Change conditionals to
14124 [$(build-shared) = yes].
14125 * config.make.in (versioning): Remove variable.
14126 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14127 [$(build-shared) = yes].
14128 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14129 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14130 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14131 [$(build-shared) = yes].
14132 * extra-lib.mk [$(versioning) = yes]: Likewise.
14133 * hurd/Makefile [$(versioning) = yes]: Likewise.
14134 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14136 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14138 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14139 [SHARED && !NO_HIDDEN].
14140 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14142 [SHARED && DO_VERSIONING]: Likewise..
14143 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14144 [$(build-shared) = yes].
14145 * manual/install.texi (--disable-versioning): Remove
14147 * INSTALL: Regenerated.
14148 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14150 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14151 [$(build-shared) = yes].
14152 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14153 * sysdeps/i386/i686/multiarch/strstr-c.c
14154 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14155 [SHARED && !NO_HIDDEN].
14156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14157 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14158 * sysdeps/powerpc/powerpc32/dl-machine.c
14159 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14160 * sysdeps/powerpc/powerpc32/sysdep.h
14161 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14162 to [SHARED && PIC && !NO_HIDDEN].
14163 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14164 conditional to [SHARED].
14166 2013-09-04 Will Newton <will.newton@linaro.org>
14168 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14169 * benchtests/bench-string.h: Include bench-timing.h instead
14170 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14171 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14172 call to HP_TIMING_DIFF_INIT.
14173 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14174 instead of hp-timing.h macros.
14175 * benchtests/bench-memchr.c: Likewise.
14176 * benchtests/bench-memcmp.c: Likewise.
14177 * benchtests/bench-memcpy.c: Likewise.
14178 * benchtests/bench-memmem.c: Likewise.
14179 * benchtests/bench-memmove.c: Likewise.
14180 * benchtests/bench-memset.c: Likewise.
14181 * benchtests/bench-rawmemchr.c: Likewise.
14182 * benchtests/bench-strcasecmp.c: Likewise.
14183 * benchtests/bench-strcasestr.c: Likewise.
14184 * benchtests/bench-strcat.c: Likewise.
14185 * benchtests/bench-strchr.c: Likewise.
14186 * benchtests/bench-strcmp.c: Likewise.
14187 * benchtests/bench-strcpy.c: Likewise.
14188 * benchtests/bench-strcpy_chk.c: Likewise.
14189 * benchtests/bench-strlen.c: Likewise.
14190 * benchtests/bench-strncasecmp.c: Likewise.
14191 * benchtests/bench-strncat.c: Likewise.
14192 * benchtests/bench-strncmp.c: Likewise.
14193 * benchtests/bench-strncpy.c: Likewise.
14194 * benchtests/bench-strnlen.c: Likewise.
14195 * benchtests/bench-strpbrk.c: Likewise.
14196 * benchtests/bench-strrchr.c: Likewise.
14197 * benchtests/bench-strspn.c: Likewise.
14198 * benchtests/bench-strstr.c: Likewise.
14200 2013-09-04 Will Newton <will.newton@linaro.org>
14202 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14204 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14208 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14209 * math/libm-test.inc (lgamma_test_data): Add more tests.
14210 * sysdeps/i386/fpu/libm-test-ulps: Update.
14211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14213 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14215 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14219 Add strcmp-sse2-unaligned
14220 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14222 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14224 * Versions.def (libc): Add GLIBC_2.19.
14226 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14228 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14229 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14231 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14234 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14235 intermediate calculations in recurrence.
14236 (__ieee754_ynf): Likewise.
14237 * math/libm-test.inc (jn_test_data): Do not allow spurious
14238 underflow exception. Add more tests.
14239 (yn_test_data): Add more tests.
14240 * sysdeps/i386/fpu/libm-test-ulps: Update.
14241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14247 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14249 * csu/init-first.c: Fix then/than typos.
14250 * locale/programs/ld-collate.c: Likewise.
14251 * locale/programs/linereader.h: Likewise.
14252 * manual/charset.texi: Likewise.
14253 * manual/filesys.texi: Likewise.
14254 * manual/stdio.texi: Likewise.
14255 * manual/string.texi: Likewise.
14256 * stdlib/fmtmsg.c: Likewise.
14257 * sysdeps/i386/stpncpy.S: Likewise.
14258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14259 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14260 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14261 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14263 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14265 * elf/dl-open.c: Fix typos.
14266 * iconvdata/gbbig5.c: Likewise.
14267 * iconvdata/iso-2022-jp.c: Likewise.
14268 * iconv/gconv_int.h: Likewise.
14269 * iconv/loop.c: Likewise.
14270 * nis/rpcsvc/nis.h: Likewise.
14271 * resolv/ns_name.c: Likewise.
14272 * stdio-common/vfscanf.c: Likewise.
14273 * streams/stropts.h: Likewise.
14274 * sunrpc/rpc_thread.c: Likewise.
14275 * sysdeps/i386/strpbrk.S: Likewise.
14276 * sysdeps/ieee754/k_standard.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14279 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14280 * sysdeps/mach/hurd/profil.c: Likewise.
14281 * sysdeps/s390/dl-procinfo.h: Likewise.
14282 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14283 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14284 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14285 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14288 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14290 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14293 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14295 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14296 aix specific files.
14297 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14299 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14301 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14304 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14306 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14307 Roland McGrath <roland@hack.frob.com>
14309 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14310 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14312 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14314 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14315 __executable_start symbol instead of _start.
14317 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14319 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14320 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14322 * sysdeps/gnu/ldsodefs.h: ... this new file.
14324 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14325 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14326 instead of ELFOSABI_LINUX.
14328 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14329 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14330 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14331 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14333 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14334 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14337 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14338 (ibm_extended_long_double): Add ieee_nan member.
14339 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14340 (do_test): New function.
14342 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14344 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14345 functions, renamed from truncdfsf_test, trunctfsf_test,
14347 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14349 (do_test): Run all these.
14351 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14353 * argp/argp-help.c: Fix typos.
14354 * argp/argp-parse.c: Likewise.
14355 * debug/backtracesyms.c: Likewise.
14356 * elf/elf.h: Likewise.
14357 * malloc/malloc.c: Likewise.
14358 * nis/nis_print.c: Likewise.
14359 * resolv/res_comp.c: Likewise.
14360 * stdlib/stdlib.h: Likewise.
14361 * sunrpc/clnt_tcp.c: Likewise.
14362 * sunrpc/clnt_udp.c: Likewise.
14363 * sunrpc/clnt_unix.c: Likewise.
14364 * sysdeps/unix/bsd/ptsname.c: Likewise.
14365 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14373 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14375 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14377 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14378 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14380 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14383 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14384 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14385 ($(objpfx)bug-dl-leaf): New rule.
14386 ($(objpfx)bug-dl-leaf.so): Likewise.
14387 ($(objpfx)bug-dl-leaf.out): Likewise.
14388 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14389 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14390 * dlfcn/bug-dl-leaf.c: New test.
14391 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14392 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14393 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14394 (dlclose): Likewise.
14395 (dlmopen): Likewise.
14397 2013-08-27 Roland McGrath <roland@hack.frob.com>
14399 * include/netdb.h [!_ISOMAC]:
14400 Don't include <tls.h>.
14401 (h_errno, __libc_h_errno): Move declaration and macros out of
14404 * include/resolv.h [_RESOLV_H_]:
14405 Don't include <tls.h>.
14406 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14407 * resolv/res_libc.c: Don't include <tls.h>.
14408 (_res): Use __attribute__ ((nocommon)) in place of
14409 __attribute__ ((section (".bss"))).
14411 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14412 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14414 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14416 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14417 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14419 * resolv/res_mkquery.c: Include <sys/time.h>.
14421 * inet/ifreq.c: Moved to ...
14422 * sysdeps/unix/ifreq.c: ... here.
14423 * inet/ifreq.c: New file, true stub version.
14425 * socket/sa_len.c: New file.
14426 * socket/Makefile (aux): Add it.
14427 * sysdeps/unix/sysv/linux/Makefile
14428 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14429 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14430 and #include <socket/sa_len.c>.
14431 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14432 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14434 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14435 * bits/socket.h: ... here.
14437 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14438 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14439 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14441 2013-08-27 Andreas Schwab <schwab@suse.de>
14444 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14445 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14446 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14447 * string/test-strcasecmp.c (test_main): Run tests in several
14449 * string/test-strncasecmp.c (test_main): Likewise.
14451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14452 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14453 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14455 (__strncasecmp_ssse3) [PIC]: Likewise.
14457 2013-08-26 Roland McGrath <roland@hack.frob.com>
14459 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14461 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14462 instead of explicitly declaring xdecrypt.
14463 * nis/nss_nis/nis-publickey.c: Likewise.
14465 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14468 * nscd/aicache.c: Include res_hconf.h.
14469 (addhstaiX): Initialize res_hconf.
14471 2013-08-26 Andreas Schwab <schwab@suse.de>
14473 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14474 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14476 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14478 * nscd/aicache.c (addhstaiX): Fix indentation.
14480 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14482 * configure.ac: Quote $build_pt_chown test.
14483 * configure: Regenerated.
14485 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14488 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14489 * math/s_cexpf.c (__cexpf): Likewise.
14490 * math/s_cexpl.c (__cexpl): Likewise.
14491 * math/libm-test.inc (cexp_test_data): Correct expected return
14492 value for NaN + i0. Add another test.
14494 2013-08-22 David S. Miller <davem@davemloft.net>
14496 * po/ca.po: Update Catalan translation from translation project.
14497 * po/uk.po: Add Ukrainian translations from translation project.
14499 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14502 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14503 is infinite, not alongside NaN test.
14504 * math/s_fdimf.c (__fdimf): Likewise.
14505 * math/s_fdiml.c (__fdiml): Likewise.
14506 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14507 errno is unchanged.
14509 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14511 * argp/argp-help.c: Fix typos.
14512 * crypt/speeds.c: Likewise.
14513 * csu/check_fds.c: Likewise.
14514 * elf/dl-load.c: Likewise.
14515 * elf/dl-open.c: Likewise.
14516 * elf/reldep3.c: Likewise.
14517 * elf/reldep.c: Likewise.
14518 * elf/sprof.c: Likewise.
14519 * iconv/iconv_charmap.c: Likewise.
14520 * iconv/skeleton.c: Likewise.
14521 * iconv/strtab.c: Likewise.
14522 * io/lockf64.c: Likewise.
14523 * libio/libioP.h: Likewise.
14524 * resolv/gai_notify.c: Likewise.
14525 * resolv/ns_name.c: Likewise.
14526 * resolv/ns_samedomain.c: Likewise.
14527 * resolv/res_send.c: Likewise.
14528 * stdlib/random.c: Likewise.
14529 * sunrpc/rpc/xdr.h: Likewise.
14530 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14531 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14532 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14533 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14537 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14538 * sysdeps/mach/hurd/check_fds.c: Likewise.
14539 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14540 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14542 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14543 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14544 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14545 * sysdeps/pthread/aio_notify.c: Likewise.
14546 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14547 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14548 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14550 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14552 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14554 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14555 version if bit_Slow_SSE4_2 is set.
14556 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14557 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14559 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14562 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14563 trampoline stack frame information.
14564 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14566 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14567 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14568 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14569 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14570 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14571 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14573 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14574 interrupting a syscall and set with option SA_SIGINFO.
14576 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14579 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14580 argument is infinite.
14581 * math/s_cprojf.c (__cprojf): Likewise.
14582 * math/s_cprojl.c (__cprojl): Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14584 * math/libm-test.inc (cproj_test_data): Add more tests.
14586 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14588 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14589 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14590 size. Use __ffs to determine corresponding shift.
14592 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14593 Roland McGrath <roland@hack.frob.com>
14595 * Makefile (INSTALL): Remove trailing blank lines from output of
14598 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14600 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14601 Align 32 bit compat elf_greg to 8 bytes.
14603 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14605 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14607 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14609 * string/strcoll_l.c (coll_seq): New structure.
14610 (get_next_seq_cached): New function.
14611 (get_next_seq): New function.
14612 (do_compare): New function.
14613 (STRCOLL): Use GNU style definition. Simplify implementation
14614 by using get_next_seq, get_next_seq_cached and do_compare.
14616 2013-08-16 Florian Weimer <fweimer@redhat.com>
14620 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14622 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14624 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14625 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14626 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14628 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14629 GETDENTS_64BIT_ALIGNED.
14630 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14631 * manual/filesys.texi (Reading/Closing Directory): Document
14632 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14634 * manual/conf.texi (Limits for Files): Add portability note to
14635 NAME_MAX, PATH_MAX.
14636 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14638 2013-08-13 Andreas Schwab <schwab@suse.de>
14641 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14643 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14644 LDBL_MAX_EXP >= 16384]: Add tests for it.
14646 2013-08-12 David S. Miller <davem@davemloft.net>
14648 * version.h (RELEASE): Set to "development".
14649 (VERSION): Set to "2.18.90".
14650 * NEWS: Add 2.19 section.
14652 2013-08-03 David S. Miller <davem@davemloft.net>
14654 * po/ko.po: Update Korean translation from translation project.
14656 2013-08-01 David S. Miller <davem@davemloft.net>
14658 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14659 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14662 2013-07-30 David S. Miller <davem@davemloft.net>
14664 * po/fr.po: Update French translation from translation project.
14666 2013-07-28 David S. Miller <davem@davemloft.net>
14668 * po/cs.po: Update Czech translation from translation project.
14670 * po/sv.po: Update Swedish translation from translation project.
14672 2013-07-27 David S. Miller <davem@davemloft.net>
14674 * po/eo.po: Update Esperanto translation from translation project.
14676 * po/vi.po: Update Vietnamese translation from translation project.
14678 * po/de.po: Update German translation from translation project.
14680 2013-07-26 David S. Miller <davem@davemloft.net>
14682 * po/bg.po: Update Bulgarian translation from translation project.
14684 * po/nl.po: Update Dutch translation from translation project.
14685 * po/pl.po: Update Polish translation from translation project.
14686 * po/ru.po: Update Russian translation from translation project.
14688 2013-07-24 David S. Miller <davem@davemloft.net>
14690 * po/libc.pot: Update.
14692 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14694 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14695 variable page size.
14696 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14698 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14700 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14702 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14704 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14705 Andreas Schwab <schwab@suse.de>
14706 Roland McGrath <roland@hack.frob.com>
14707 Joseph Myers <joseph@codesourcery.com>
14708 Carlos O'Donell <carlos@redhat.com>
14711 * config.h.in: Define HAVE_PT_CHOWN.
14712 * config.make.in (build-pt-chown): New variable.
14713 * configure.in (--enable-pt_chown): New configure option.
14714 * configure: Regenerate.
14715 * login/Makefile: Include Makeconfig. Build pt_chown only if
14716 build-pt-chown is enabled.
14717 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14718 pt_chown to fix pty ownership.
14719 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14721 * manual/install.texi (Configuring and compiling): Mention
14722 --enable-pt_chown. Add @findex for grantpt.
14723 * INSTALL: Regenerate.
14725 2013-07-20 David S. Miller <davem@davemloft.net>
14727 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14728 difference between 32-bit and 64-bit.
14730 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14733 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14734 Avoid system header dependency with -ffreestanding.
14735 ($(objpfx)bits/syscall%d): Likewise.
14737 2013-07-13 David S. Miller <davem@davemloft.net>
14739 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14740 underflows from atanl/atan2l due to bug 15319.
14741 (casinh_test_data): Likewise.
14743 2013-07-07 David S. Miller <davem@davemloft.net>
14745 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14747 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14749 * sysdeps/i386/fpu/libm-test-ulps: Update.
14750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14752 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14754 * configure.in (--enable-lock-elision): Fix message text.
14755 * INSTALL: Regenerate.
14756 * configure: Regenerate.
14758 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14762 2013-07-03 Andreas Jaeger <aj@suse.de>
14764 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14766 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14767 (ptrace_peeksiginfo_args): Add.
14768 (__ptrace_peeksiginfo_flags): Add.
14769 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14771 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14773 2013-07-03 Allan McRae <allan@archlinux.org>
14775 * sysdeps/i386/fpu/libm-test-ulps: Update.
14777 2013-07-02 David S. Miller <davem@davemloft.net>
14779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14781 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14785 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14787 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14790 2013-07-02 Andi Kleen <ak@linux.intel.com>
14792 * config.h.in (ENABLE_LOCK_ELISION): Add.
14793 * configure.in (--enable-lock-elision): Add option.
14794 * manual/install.texi: Document --enable lock elision.
14795 * configure: Regenerate
14796 * INSTALL: Regenerate.
14798 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14800 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14801 SSE4.2 strcasecmp for libc.a.
14802 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14804 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14807 * soft-fp/op-common.h (_FP_FMA): New macro.
14808 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14809 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14810 (_FP_MUL_MEAT_1_imm): ... here.
14811 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14812 (_FP_MUL_MEAT_1_wide): ... here.
14813 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14814 (_FP_MUL_MEAT_1_hard): ... here.
14815 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14816 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14817 (_FP_MUL_MEAT_2_wide): ... here.
14818 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14819 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14820 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14821 (_FP_MUL_MEAT_2_gmp): ... here.
14822 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14823 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14824 (_FP_MUL_MEAT_4_wide): ... here.
14825 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14826 (_FP_MUL_MEAT_4_gmp): ... here.
14827 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14828 (_FP_WFRACBITS_DW_S): Likewise.
14829 (_FP_WFRACXBITS_DW_S): Likewise.
14830 (_FP_HIGHBIT_DW_S): Likewise.
14831 (FP_FMA_S): Likewise.
14832 (_FP_FRAC_HIGH_DW_S): Likewise.
14833 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14834 (_FP_WFRACBITS_DW_D): Likewise.
14835 (_FP_WFRACXBITS_DW_D): Likewise.
14836 (_FP_HIGHBIT_DW_D): Likewise.
14837 (FP_FMA_D): Likewise.
14838 (_FP_FRAC_HIGH_DW_D): Likewise.
14839 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14840 (_FP_WFRACBITS_DW_E): Likewise.
14841 (_FP_WFRACXBITS_DW_E): Likewise.
14842 (_FP_HIGHBIT_DW_E): Likewise.
14843 (FP_FMA_E): Likewise.
14844 (_FP_FRAC_HIGH_DW_E): Likewise.
14845 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14846 (_FP_WFRACBITS_DW_Q): Likewise.
14847 (_FP_WFRACXBITS_DW_Q): Likewise.
14848 (_FP_HIGHBIT_DW_Q): Likewise.
14849 (FP_FMA_Q): Likewise.
14850 (_FP_FRAC_HIGH_DW_Q): Likewise.
14851 * soft-fp/fmasf4.c: New file.
14852 * soft-fp/fmadf4.c: Likewise.
14853 * soft-fp/fmatf4.c: Likewise.
14855 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14858 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14860 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14862 (index_Slow_SSE4_2): Likewise.
14863 (index_Prefer_PMINUB_for_stringop): Likewise.
14864 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14865 bit_Slow_SSE4_2 is set.
14866 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14867 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14869 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14871 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14872 rtld_global._dl_hwcap2.
14873 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14875 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14876 POWER8 feature descriptions defined in _dl_hwcap2.
14877 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14878 string handling for POWER8 feature bits.
14879 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14880 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14881 _dl_powerpc_cap_flags.
14882 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14883 * sysdeps/powerpc/rtld-global-offsets.sym
14884 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14885 _dl_hwcap2 in the rtld_global_ro structure.
14887 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14889 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14890 hardware capabilities in support of AT_HWCAP2.
14891 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14892 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14894 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14895 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14896 explicitly the unknown a_type display mechanism is used.
14897 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14898 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14900 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14901 to macro prototype for AT_HWCAP2 support.
14902 * sysdeps/i386/dl-procinfo.h: Likewise.
14903 * sysdeps/s390/dl-procinfo.h: Likewise.
14904 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14905 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14906 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14907 return -1 for unknown a_type display fallback.
14908 * sysdeps/sparc/dl-procinfo.h: Likewise.
14909 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14910 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14912 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14914 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14915 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14917 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14920 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14921 mprotect making __stack_prot writable.
14923 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14924 Joseph Myers <joseph@codesourcery.com>
14926 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14927 as being properly aligned.
14929 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14931 * dlfcn/modstatic5.c: New file.
14932 * dlfcn/tststatic5.c: New file.
14933 * dlfcn/Makefile (tests): Add tststatic5.
14934 (tests-static): Likewise.
14935 (modules-names): Add modstatic5.
14936 (tststatic5-ENV): New variable.
14937 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14940 * elf/dl-support.c (_dl_main_map): New variable.
14941 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14942 (_dl_nns, _dl_load_adds): Set to 1.
14943 (_dl_initial_searchlist): Refer to _dl_main_map.
14944 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14945 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14946 call to _dl_get_origin.
14947 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14949 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14950 * dlfcn/modstatic3.c: New file.
14951 * dlfcn/tststatic3.c: New file.
14952 * dlfcn/tststatic4.c: New file.
14953 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14954 (tests-static): Likewise.
14955 (modules-names): Add modstatic3.
14956 (tststatic3-ENV, tststatic4-ENV): New variables.
14957 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14958 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14960 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14962 * configure.in (CC): Require GCC version 4.4 or later.
14963 * configure: Regenerated.
14964 * manual/install.texi (Tools for Compilation): Update GCC version
14966 * INSTALL: Regenerated.
14968 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14971 * string/test-memcmp.c (check2): New.
14972 (main): Call check2.
14974 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14976 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14979 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14981 (dl_open_worker) [!SHARED]: ... here.
14983 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14985 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14987 2013-06-25 Richard Henderson <rth@redhat.com>
14989 * locale/programs/locarchive.c: Include <libc-internal.h>
14991 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14993 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14994 trailing whitespace removed.
14996 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14999 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15000 * locale/programs/locarchive.c: Include libc-mmap.h.
15001 (prepare_address_space): Take two new outputs (the mmap base and len).
15002 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15004 (create_archive): Declare new mmap base and len values for
15005 prepare_address_space, and store the result in ah.
15006 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15007 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15008 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15009 Declare new mmap base and len values for
15010 prepare_address_space, and store the result in new_ah.
15011 (open_archive): Declare new mmap base and len values for
15012 prepare_address_space, and store the result in ah.
15013 (close_archive): If ah->mmap_base is not NULL, use that and
15014 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15015 * sysdeps/generic/libc-mmap.h: New file.
15017 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15019 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15020 (ALIGN_UP): Likewise.
15021 (PTR_ALIGN_DOWN): Likewise.
15022 (PTR_ALIGN_UP): Likewise.
15024 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15026 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15027 entry mapped to PPC_PLATFORM_POWER8.
15028 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15030 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15031 (_dl_string_platform): Add case for exporting platform position for
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15034 search path to sysdeps/powerpc/powerpc32/power8 directory.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15036 search path to sysdeps/powerpc/powerpc64/power8 directory.
15037 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15038 power7 directories.
15039 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15040 power7 directories.
15042 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15044 * INSTALL: Regenerate.
15046 * nscd/connections.c (nscd_init): Fix comment.
15048 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15050 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15053 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15054 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15056 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15058 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15060 (DL_DST_REQ_STATIC): Remove macro.
15062 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15065 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15066 with a shift of 0 bits.
15068 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15070 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15073 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15076 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15078 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15080 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15081 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15082 accepts -fno-tree-loop-distribute-patterns.
15083 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15084 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15086 * string/memset.c (memset): Likewise.
15087 * string/test-memmove.c (simple_memmove): Disable loop transformation
15089 * string/test-memset.c (simple_memset): Likewise.
15090 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15091 * benchtests/bench-memset.c (simple_memset): Likewise.
15092 * configure: Regenerated.
15094 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15096 * math/test-misc.c (main): Ignore fesetround failure when failures
15097 of subsequent rounding tests would be ignored.
15100 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15101 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15102 * math/fegetenv.c (__fegetenv): Return 0.
15103 * math/fegetexcept.c (fegetexcept): Return 0.
15104 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15106 * math/feholdexcpt.c (feholdexcept): Return 0.
15107 * math/fesetenv.c (__fesetenv): Return 0.
15108 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15109 argument FE_TONEAREST.
15110 * math/feupdateenv.c (__feupdateenv): Return 0.
15111 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15113 2013-06-18 Roland McGrath <roland@hack.frob.com>
15115 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15116 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15117 ($(objpfx)rtld-%.os rules): Use them.
15119 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15124 2013-06-17 Roland McGrath <roland@hack.frob.com>
15126 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15127 length of target pattern, then descending length of dependency pattern.
15128 * configure.in (AWK): Require gawk 3.1.2 or newer.
15129 * manual/install.texi (Tools for Compilation): Say that we do.
15130 * configure: Regenerated.
15132 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15133 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15134 * scripts/sysd-rules.awk: ... this new script.
15135 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15136 than a glob-style pattern.
15138 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15140 * math/test-misc.c (main): Do not treat incorrectly rounded
15141 conversions as failure unless ROUNDING_TESTS passes.
15143 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15146 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15147 restore exception state around main square root computation, then
15148 check for inexactness explicitly.
15150 * math/libm-test.inc (fma_test_data): Add another test.
15152 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15154 * manual/threads.texi (Non-POSIX Extensions): New document
15155 node. Document pthread_getattr_default_np and
15156 pthread_setattr_default_np.
15158 * Versions.def (libpthread): Add GLIBC_2.18.
15159 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15179 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15182 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15184 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15185 H.J. Lu <hjl.tools@gmail.com>
15188 * sysdeps/x86_64/rtld-memset.c: Remove file.
15189 * sysdeps/x86_64/rtld-memset.S: New file.
15191 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15193 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15194 (test_in_one_mode): Take arguments for whether the rounding mode
15195 is supported for each floating-point type.
15196 (do_test): Pass new arguments to test_in_one_mode using
15199 2013-06-13 Roland McGrath <roland@hack.frob.com>
15201 * posix/tst-waitid.c (do_test): Distinguish different instances of
15202 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15203 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15204 before entering the kernel for waitpid.
15206 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15208 * NEWS: Fix note on clock function precision. Text by Roland
15211 2013-06-13 Roland McGrath <roland@hack.frob.com>
15213 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15214 it into place only when and if the sanity check passes.
15216 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15218 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15219 output for whether conversion result is exact. Take argument
15220 indicating whether type is IBM long double.
15221 (round_for_all): Change need_exact field to ibm_ld.
15222 * stdlib/tst-strtod-round.c (struct exactness): New type.
15223 (struct test): Change bool ld_ok field to struct exactness exact.
15224 (TEST): Update all definitions for change to field.
15225 (tests): Regenerate array contents.
15226 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15227 field value. Check for IBM long double here.
15228 (do_test): Update calls to test_in_one_mode.
15230 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15233 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15234 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15236 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15239 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15240 generated by the compiler on loop optimizations.
15241 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15242 general definitions.
15244 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15246 * math/bug-nextafter.c: Include <math-tests.h>.
15247 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15249 * math/bug-nexttoward.c: Include <math-tests.h>.
15250 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15252 * math/test-misc.c: Include <math-tests.h>.
15253 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15256 2013-06-12 Andreas Jaeger <aj@suse.de>
15258 * po/ia.po: Update Interlingua translation from translation
15261 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15263 * include/fenv.h: Include stdbool.h.
15264 (struct rm_ctx): New structure.
15265 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15267 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15268 (SET_RESTORE_ROUNDF): Likewise.
15269 (SET_RESTORE_ROUNDL): Likewise.
15270 (SET_RESTORE_ROUND_NOEX): Likewise.
15271 (SET_RESTORE_ROUND_NOEXF): Likewise.
15272 (SET_RESTORE_ROUND_NOEXL): Likewise.
15273 (SET_RESTORE_ROUND_53BIT): Likewise.
15274 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15275 (libc_feresetround_noexf_ctx): Likewise.
15276 (libc_feresetround_noexl_ctx): Likewise.
15277 (libc_feholdsetround_53bit_ctx): Likewise.
15278 (libc_feresetround_53bit_ctx): Likewise.
15279 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15280 (libc_feholdexcept_setround_sse_ctx): New function.
15281 (libc_fesetenv_sse_ctx): Likewise.
15282 (libc_feupdateenv_sse_ctx): Likewise.
15283 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15284 (libc_feholdexcept_setround_387_ctx): Likewise.
15285 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15286 (libc_feholdsetround_387_prec_ctx): Likewise.
15287 (libc_feholdsetround_387_ctx): Likewise.
15288 (libc_feholdsetround_387_53bit_ctx): Likewise.
15289 (libc_feholdsetround_sse_ctx): Likewise.
15290 (libc_feresetround_sse_ctx): Likewise.
15291 (libc_feresetround_387_ctx): Likewise.
15292 (libc_feupdateenv_387_ctx): Likewise.
15293 (libc_feholdexcept_setroundf_ctx): Define macro.
15294 (libc_fesetenvf_ctx): Likewise.
15295 (libc_feupdateenvf_ctx): Likewise.
15296 (libc_feholdsetroundf_ctx): Likewise.
15297 (libc_feresetroundf_ctx): Likewise.
15298 (libc_feholdexcept_setround_ctx): Likewise.
15299 (libc_fesetenv_ctx): Likewise.
15300 (libc_feupdateenv_ctx): Likewise.
15301 (libc_feholdsetround_ctx): Likewise.
15302 (libc_feresetround_ctx): Likewise.
15303 (libc_feholdexcept_setroundl_ctx): Likewise.
15304 (libc_feupdateenvl_ctx): Likewise.
15305 (libc_feholdsetroundl_ctx): Likewise.
15306 (libc_feresetroundl_ctx): Likewise.
15307 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15308 (libc_feresetround_53bit_ctx): Likewise.
15310 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15312 * locale/iso-639.def: Convert to UTF-8.
15314 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15316 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15317 (EXCEPTION_TESTS_double): Likewise.
15318 (EXCEPTION_TESTS_long_double): Likewise.
15319 (EXCEPTION_TESTS): Likewise.
15320 * math/libm-test.inc (test_exceptions): Only test exceptions if
15321 EXCEPTION_TESTS (FLOAT).
15323 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15325 * benchtests/Makefile (string-bench): Add strcpy_chk and
15327 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15328 * benchtests/bench-stpcpy_chk.c: New file.
15329 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15330 * benchtests/bench-strcpy_chk.c: New file.
15331 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15333 (do_test): Likewise.
15335 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15337 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15338 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15339 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15340 with tabs where appropriate.
15341 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15343 [PPC_PLATFORM_PPC440]: Likewise.
15344 [PPC_PLATFORM_PPC464]: Likewise.
15345 [PPC_PLATFORM_PPC476]: Likewise.
15346 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15347 ppc464, and ppc476 platform strings merging from ports/
15350 2013-06-11 Andreas Schwab <schwab@suse.de>
15353 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15354 (from_ucs4_idx): Regenerate.
15355 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15356 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15357 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15358 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15359 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15360 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15361 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15362 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15363 from FROM_LOOP and TO_LOOP specific macros.
15364 (BODY): Handle combining characters.
15365 * iconvdata/BIG5HKSCS.irreversible: Update.
15366 * iconvdata/BIG5HKSCS.precomposed: New file.
15367 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15369 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15371 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15373 * include/sys/time.h: Fix indentation and add copyright header.
15375 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15376 (do_test): Likewise.
15377 * string/test-memchr.c (do_one_test): Likewise.
15378 (do_test): Likewise.
15379 * string/test-memcmp.c (do_one_test): Likewise.
15380 (do_test): Likewise.
15381 * string/test-memcpy.c (do_one_test): Likewise.
15382 (do_test): Likewise.
15383 * string/test-memmem.c (do_one_test): Likewise.
15384 (do_test): Likewise.
15385 (do_random_tests): Likewise.
15386 * string/test-memmove.c (do_one_test): Likewise.
15387 (do_test): Likewise.
15388 * string/test-memset.c (do_one_test): Likewise.
15389 (do_test): Likewise.
15390 * string/test-rawmemchr.c (do_one_test): Likewise.
15391 (do_test): Likewise.
15392 * string/test-strcasecmp.c (do_one_test): Likewise.
15393 (do_test): Likewise.
15394 * string/test-strcasestr.c (do_one_test): Likewise.
15395 (do_test): Likewise.
15396 * string/test-strcat.c (do_one_test): Likewise.
15397 (do_test): Likewise.
15398 * string/test-strchr.c (do_one_test): Likewise.
15399 (do_test): Likewise.
15400 * string/test-strcmp.c (do_one_test): Likewise.
15401 (do_test): Likewise.
15402 * string/test-strcpy.c (do_one_test): Likewise.
15403 (do_test): Likewise.
15404 * string/test-string.h: Likewise.
15405 (test_init): Likewise.
15406 * string/test-strlen.c (do_one_test): Likewise.
15407 (do_test): Likewise.
15408 * string/test-strncasecmp.c (do_one_test): Likewise.
15409 (do_test): Likewise.
15410 * string/test-strncat.c (do_one_test): Likewise.
15411 (do_test): Likewise.
15412 * string/test-strncmp.c (do_one_test): Likewise.
15413 (do_test_limit): Likewise.
15414 (do_test): Likewise.
15415 * string/test-strncpy.c (do_one_test): Likewise.
15416 (do_test): Likewise.
15417 * string/test-strnlen.c (do_one_test): Likewise.
15418 (do_test): Likewise.
15419 * string/test-strpbrk.c (do_one_test): Likewise.
15420 (do_test): Likewise.
15421 * string/test-strrchr.c (do_one_test): Likewise.
15422 (do_test): Likewise.
15423 * string/test-strspn.c (do_one_test): Likewise.
15424 (do_test): Likewise.
15425 * string/test-strstr.c (do_one_test): Likewise.
15426 (do_test): Likewise.
15428 * benchtests/Makefile (string-bench): Add string benchmarks.
15429 * benchtests/bench-bcopy-ifunc.c: New file.
15430 * benchtests/bench-bcopy.c: New file.
15431 * benchtests/bench-bzero-ifunc.c: New file.
15432 * benchtests/bench-bzero.c: New file.
15433 * benchtests/bench-memccpy-ifunc.c: New file.
15434 * benchtests/bench-memccpy.c: New file.
15435 * benchtests/bench-memchr-ifunc.c: New file.
15436 * benchtests/bench-memchr.c: New file.
15437 * benchtests/bench-memcmp-ifunc.c: New file.
15438 * benchtests/bench-memcmp.c: New file.
15439 * benchtests/bench-memmem-ifunc.c: New file.
15440 * benchtests/bench-memmem.c: New file.
15441 * benchtests/bench-memmove-ifunc.c: New file.
15442 * benchtests/bench-memmove.c: New file.
15443 * benchtests/bench-mempcpy-ifunc.c: New file.
15444 * benchtests/bench-mempcpy.c: New file.
15445 * benchtests/bench-memset-ifunc.c: New file.
15446 * benchtests/bench-memset.c: New file.
15447 * benchtests/bench-rawmemchr-ifunc.c: New file.
15448 * benchtests/bench-rawmemchr.c: New file.
15449 * benchtests/bench-stpcpy-ifunc.c: New file.
15450 * benchtests/bench-stpcpy.c: New file.
15451 * benchtests/bench-stpncpy-ifunc.c: New file.
15452 * benchtests/bench-stpncpy.c: New file.
15453 * benchtests/bench-strcasecmp-ifunc.c: New file.
15454 * benchtests/bench-strcasecmp.c: New file.
15455 * benchtests/bench-strcasestr-ifunc.c: New file.
15456 * benchtests/bench-strcasestr.c: New file.
15457 * benchtests/bench-strcat-ifunc.c: New file.
15458 * benchtests/bench-strcat.c: New file.
15459 * benchtests/bench-strchr-ifunc.c: New file.
15460 * benchtests/bench-strchr.c: New file.
15461 * benchtests/bench-strchrnul-ifunc.c: New file.
15462 * benchtests/bench-strchrnul.c: New file.
15463 * benchtests/bench-strcmp-ifunc.c: New file.
15464 * benchtests/bench-strcmp.c: New file.
15465 * benchtests/bench-strcpy-ifunc.c: New file.
15466 * benchtests/bench-strcpy.c: New file.
15467 * benchtests/bench-strcspn-ifunc.c: New file.
15468 * benchtests/bench-strcspn.c: New file.
15469 * benchtests/bench-strlen-ifunc.c: New file.
15470 * benchtests/bench-strlen.c: New file.
15471 * benchtests/bench-strncasecmp-ifunc.c: New file.
15472 * benchtests/bench-strncasecmp.c: New file.
15473 * benchtests/bench-strncat-ifunc.c: New file.
15474 * benchtests/bench-strncat.c: New file.
15475 * benchtests/bench-strncmp-ifunc.c: New file.
15476 * benchtests/bench-strncmp.c: New file.
15477 * benchtests/bench-strncpy-ifunc.c: New file.
15478 * benchtests/bench-strncpy.c: New file.
15479 * benchtests/bench-strnlen-ifunc.c: New file.
15480 * benchtests/bench-strnlen.c: New file.
15481 * benchtests/bench-strpbrk-ifunc.c: New file.
15482 * benchtests/bench-strpbrk.c: New file.
15483 * benchtests/bench-strrchr-ifunc.c: New file.
15484 * benchtests/bench-strrchr.c: New file.
15485 * benchtests/bench-strspn-ifunc.c: New file.
15486 * benchtests/bench-strspn.c: New file.
15487 * benchtests/bench-strstr-ifunc.c: New file.
15488 * benchtests/bench-strstr.c: New file.
15490 * benchtests/Makefile: Disable parallel execution of targets.
15491 (string-bench): Add memcpy.
15492 (benchset): New variable to store a list of benchmark sets.
15493 (bench-func): Renamed from bench.
15494 (bench-set): New target.
15495 (bench): Depend on bench-func and bench-set.
15496 * benchtests/README: Add section on benchmark sets.
15497 * benchtests/bench-memcpy-ifunc.c: New file.
15498 * benchtests/bench-memcpy.c: New file.
15499 * benchtests/bench-string.h: New file.
15501 2013-06-11 Andreas Schwab <schwab@suse.de>
15504 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15505 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15506 values in the triple.
15507 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15508 terminator in the group key.
15510 2013-06-11 Andreas Jaeger <aj@suse.de>
15512 * po/zh_TW.po: Update Chinese (traditional) translation from
15513 translation project.
15515 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15517 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15518 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15519 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15521 (clock_getcpuclockid): Likewise.
15522 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15523 Add weak_alias and libc_hidden_def.
15524 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15525 * rt/clock_gettime.c (clock_gettime): Rename to
15526 __clock_gettime. Add weak_alias and libc_hidden_def.
15527 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15528 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15529 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15530 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15531 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15533 * rt/clock_settime.c (clock_settime): Rename to
15534 __clock_settime. Add weak_alias and libc_hidden_def.
15535 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15537 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15539 * mach/err_boot.sub: Remove trailing whitespace.
15540 * mach/err_ipc.sub: Likewise.
15541 * mach/err_mach.sub: Likewise.
15543 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15544 (ROUNDING_TESTS_double): Likewise.
15545 (ROUNDING_TESTS_long_double): Likewise.
15546 (ROUNDING_TESTS): Likewise.
15547 * math/libm-test.inc: Include <math-tests.h>.
15548 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15549 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15550 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15551 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15553 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15555 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15558 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15560 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15561 otherwise empty TRANS lines.
15562 * sysdeps/gnu/errlist.c: Regenerated.
15564 * catgets/gencat.c (error_print): Use (void) in function
15566 * crypt/crypt_util.c (__init_des): Likewise.
15567 * crypt/speeds.c (Stop): Likewise.
15569 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15570 * inet/ruserpass.c (token): Likewise.
15571 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15572 * intl/localealias.c (extend_alias_table): Likewise.
15573 * intl/plural-exp.c (init_germanic_plural): Likewise.
15574 * libio/fcloseall.c (__fcloseall): Likewise.
15575 * libio/genops.c (_IO_flush_all): Likewise.
15576 (_IO_flush_all_linebuffered): Likewise.
15577 (_IO_cleanup): Likewise.
15578 (_IO_iter_begin): Likewise.
15579 (_IO_iter_end): Likewise.
15580 (_IO_list_lock): Likewise.
15581 (_IO_list_unlock): Likewise.
15582 (_IO_list_resetlock): Likewise.
15583 * libio/getchar.c (getchar): Likewise.
15584 * libio/getchar_u.c (getchar_unlocked): Likewise.
15585 * libio/getwchar.c (getwchar): Likewise.
15586 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15587 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15588 * login/getpt.c (__getpt): Likewise.
15589 * login/tst-utmp.c (main): Likewise.
15590 * malloc/hooks.c (__malloc_check_init): Likewise.
15591 * malloc/malloc.c (__malloc_stats): Likewise.
15592 * malloc/mtrace.c (tr_break): Likewise.
15593 (mtrace): Likewise.
15594 (muntrace): Likewise.
15595 * misc/fstab.c (endfsent): Likewise.
15596 * misc/getclktck.c (__getclktck): Likewise.
15597 * misc/getdtsz.c (__getdtablesize): Likewise.
15598 * misc/gethostid.c (gethostid): Likewise.
15599 * misc/getpagesize.c (__getpagesize): Likewise.
15600 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15601 (__get_nprocs): Likewise.
15602 (__get_phys_pages): Likewise.
15603 (__get_avphys_pages): Likewise.
15604 * misc/getttyent.c (getttyent): Likewise.
15605 (setttyent): Likewise.
15606 (endttyent): Likewise.
15607 * misc/getusershell.c (getusershell): Likewise.
15608 (endusershell): Likewise.
15609 (setusershell): Likewise.
15610 (initshells): Likewise.
15611 * misc/hsearch.c (__hdestroy): Likewise.
15612 * misc/sync.c (sync): Likewise.
15613 * misc/syslog.c (closelog_internal): Likewise.
15614 (closelog): Likewise.
15615 * misc/ttyslot.c (ttyslot): Likewise.
15616 * misc/vhangup.c (vhangup): Likewise.
15617 * posix/fork.c (__fork): Likewise.
15618 * posix/getegid.c (__getegid): Likewise.
15619 * posix/geteuid.c (__geteuid): Likewise.
15620 * posix/getgid.c (__getgid): Likewise.
15621 * posix/getpid.c (__getpid): Likewise.
15622 * posix/getppid.c (__getppid): Likewise.
15623 * posix/getuid.c (__getuid): Likewise.
15624 * posix/pause.c (pause): Likewise.
15625 * posix/setpgrp.c (setpgrp): Likewise.
15626 * posix/setsid.c (__setsid): Likewise.
15627 * posix/test-vfork.c (noop): Likewise.
15628 * resolv/gethnamaddr.c (_endhtent): Likewise.
15629 (_gethtent): Likewise.
15630 (ht_endhostent): Likewise.
15631 (gethostent): Likewise.
15632 (dns_service): Likewise.
15633 * stdlib/drand48.c (drand48): Likewise.
15634 * stdlib/lrand48.c (lrand48): Likewise.
15635 * stdlib/mrand48.c (mrand48): Likewise.
15636 * stdlib/rand.c (rand): Likewise.
15637 * stdlib/random.c (__random): Likewise.
15638 * stdlib/setenv.c (clearenv): Likewise.
15639 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15640 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15641 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15642 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15643 (__get_nprocs): Likewise.
15644 (__get_phys_pages): Likewise.
15645 (__get_avphys_pages): Likewise.
15646 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15647 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15648 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15649 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15650 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15651 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15652 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15653 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15654 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15655 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15656 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15657 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15658 * sysdeps/posix/clock.c (clock): Likewise.
15659 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15660 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15661 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15662 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15663 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15665 (__get_nprocs_conf): Likewise.
15666 (__get_phys_pages): Likewise.
15667 (__get_avphys_pages): Likewise.
15668 * time/clock.c (clock): Likewise.
15669 * time/tzset.c (__tzname_max): Likewise.
15671 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15673 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15674 (__bswap_32): Do not use "register".
15675 * crypt/crypt.c (_ufc_doit_r): Likewise.
15676 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15677 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15678 * gmon/gmon.c (__monstartup): Likewise.
15679 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15680 * hurd/hurdmalloc.c (more_memory): Likewise.
15681 (malloc): Likewise.
15683 (realloc): Likewise.
15684 (malloc_fork_prepare): Likewise.
15685 (malloc_fork_parent): Likewise.
15686 (malloc_fork_child): Likewise.
15687 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15688 (_svcauth_des): Likewise.
15689 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15690 * inet/inet_net.c (inet_network): Likewise.
15691 * inet/inet_netof.c (inet_netof): Likewise.
15692 * inet/rcmd.c (__validuser2_sa): Likewise.
15693 * io/fts.c (fts_open): Likewise.
15694 (fts_load): Likewise.
15695 (fts_close): Likewise.
15696 (fts_read): Likewise.
15697 (fts_children): Likewise.
15698 (fts_build): Likewise.
15699 (fts_stat): Likewise.
15700 (fts_sort): Likewise.
15701 (fts_alloc): Likewise.
15702 (fts_lfree): Likewise.
15703 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15704 (_IO_file_xsgetn): Likewise.
15705 (_IO_file_xsgetn_mmap): Likewise.
15706 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15707 (_IO_cookie_write): Likewise.
15708 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15709 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15710 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15711 * malloc/obstack.c (_obstack_begin): Likewise.
15712 (_obstack_begin_1): Likewise.
15713 (_obstack_newchunk): Likewise.
15714 (_obstack_allocated_p): Likewise.
15715 (obstack_free): Likewise.
15716 (_obstack_memory_used): Likewise.
15717 * misc/getttyent.c (getttynam): Likewise.
15718 (getttyent): Likewise.
15721 * misc/getusershell.c (initshells): Likewise.
15722 * misc/syslog.c (__vsyslog_chk): Likewise.
15723 * misc/ttyslot.c (ttyslot): Likewise.
15724 * nis/nis_hash.c (__nis_hash): Likewise.
15725 * posix/fnmatch_loop.c (FCT): Likewise.
15726 * posix/getconf.c (print_all): Likewise.
15728 * posix/getopt.c (exchange): Likewise.
15729 * posix/glob.c (globfree): Likewise.
15730 (prefix_array): Likewise.
15731 (__glob_pattern_type): Likewise.
15732 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15733 (NS_GET32): Likewise.
15734 (NS_PUT16): Likewise.
15735 (NS_PUT32): Likewise.
15736 * resolv/gethnamaddr.c (getanswer): Likewise.
15737 (gethostbyname2): Likewise.
15738 (gethostbyaddr): Likewise.
15739 (_gethtent): Likewise.
15740 (_gethtbyname2): Likewise.
15741 (_gethtbyaddr): Likewise.
15742 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15743 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15744 * resolv/res_init.c (__res_vinit): Likewise.
15745 (net_mask): Likewise.
15746 * resolv/res_mkquery.c (outchar): Likewise.
15748 * stdio-common/printf_fp.c (outchar): Likewise.
15750 * stdio-common/printf_fphex.c (outchar): Likewise.
15752 * stdio-common/printf_size.c (outchar): Likewise.
15754 * stdio-common/test_rdwr.c (main): Likewise.
15755 * stdio-common/tfformat.c (matches): Likewise.
15756 * stdio-common/vfprintf.c (outchar): Likewise.
15757 (printf_unknown): Likewise.
15758 (buffered_vfprintf): Likewise.
15759 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15760 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15761 (ReadFile): Likewise.
15762 * stdlib/qsort.c (SWAP): Likewise.
15763 (_quicksort): Likewise.
15764 * stdlib/setenv.c (__add_to_environ): Likewise.
15765 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15766 * stdlib/strtol_l.c (__strtol_l): Likewise.
15767 * stdlib/tst-strtod.c (main): Likewise.
15768 * stdlib/tst-strtol.c (main): Likewise.
15769 * stdlib/tst-strtoll.c (main): Likewise.
15770 * string/bits/string2.h (__strcmp_cc): Likewise.
15771 (__strcmp_cg): Likewise.
15772 (__strcspn_c1): Likewise.
15773 (__strcspn_c2): Likewise.
15774 (__strcspn_c3): Likewise.
15775 (__strspn_c1): Likewise.
15776 (__strspn_c2): Likewise.
15777 (__strspn_c3): Likewise.
15778 (__strsep_1c): Likewise.
15779 (__strsep_2c): Likewise.
15780 (__strsep_3c): Likewise.
15781 * string/memccpy.c (__memccpy): Likewise.
15782 * string/stpcpy.c (__stpcpy): Likewise.
15783 * string/strcmp.c (strcmp): Likewise.
15784 * string/strrchr.c (strrchr): Likewise.
15785 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15787 * sysdeps/mach/hurd/getcwd.c
15788 (_hurd_canonicalize_directory_name_internal): Likewise.
15789 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15790 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15791 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15792 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15793 Likewise, in both definitions.
15794 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15796 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15797 64] (__bswap_64): Likewise.
15798 * time/test_time.c (main): Likewise.
15799 * time/tzfile.c (__tzfile_read): Likewise.
15800 (__tzfile_compute): Likewise.
15801 * time/tzset.c (__tzset_parse_tz): Likewise.
15802 (tzset_internal): Likewise.
15803 (compute_change): Likewise.
15804 * wcsmbs/wcscat.c (__wcscat): Likewise.
15805 * wcsmbs/wcschr.c (wcschr): Likewise.
15806 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15807 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15808 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15809 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15810 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15811 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15812 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15813 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15814 * wcsmbs/wmemset.c (wmemset): Likewise.
15816 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15818 * scripts/config.guess: Update to version 2013-05-16.
15819 * scripts/config.sub: Update to version 2013-04-24.
15820 * scripts/install-sh: Update to version 2011-11-20.07.
15821 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15822 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15824 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15826 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15827 * elf/sln.c: Likewise.
15828 * hurd/hurd/ioctl.h: Likewise.
15829 * hurd/hurdmalloc.c: Likewise.
15830 * hurd/xattr.c: Likewise.
15831 * include/shlib-compat.h: Likewise.
15832 * inet/ruserpass.c: Likewise.
15833 * libio/iofgets_u.c: Likewise.
15834 * libio/iofgetws_u.c: Likewise.
15835 * locale/programs/ld-identification.c: Likewise.
15836 * locale/programs/ld-time.c: Likewise.
15837 * mach/msg-destroy.c: Likewise.
15838 * nss/nss_files/files-netgrp.c: Likewise.
15839 * resolv/res_data.c: Likewise.
15840 * soft-fp/op-1.h: Likewise.
15841 * soft-fp/op-2.h: Likewise.
15842 * soft-fp/op-4.h: Likewise.
15843 * soft-fp/op-common.h: Likewise.
15844 * stdio-common/printf_fphex.c: Likewise.
15845 * stdlib/strtod_l.c: Likewise.
15846 * sunrpc/rpc/clnt.h: Likewise.
15847 * sysdeps/generic/framestate.c: Likewise.
15848 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15849 * sysdeps/i386/bsd-setjmp.S: Likewise.
15850 * sysdeps/i386/__longjmp.S: Likewise.
15851 * sysdeps/i386/setjmp.S: Likewise.
15852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15853 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15854 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15855 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15857 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15858 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15861 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15862 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15863 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15864 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15865 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15866 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15867 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15869 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15870 * sysdeps/ieee754/support.c: Likewise.
15871 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15872 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15873 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15874 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15875 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15876 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15877 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15878 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15879 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15880 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15881 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15882 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15883 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15884 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15885 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15886 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15887 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15890 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15892 * posix/transbug.c: Remove executable mode.
15894 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15896 * crypt/speeds.c: Remove trailing whitespace.
15897 * dlfcn/default.c: Likewise.
15898 * elf/ifuncdep2.c: Likewise.
15899 * elf/ifuncmain1.c: Likewise.
15900 * elf/ifuncmain1vis.c: Likewise.
15901 * elf/testobj.h: Likewise.
15902 * elf/tst-stackguard1.c: Likewise.
15903 * gmon/sys/gmon.h: Likewise.
15904 * hurd/hurdmsg.c: Likewise.
15905 * hurd/new-fd.c: Likewise.
15906 * hurd/ports-get.c: Likewise.
15907 * iconvdata/ibm1008_420.c: Likewise.
15908 * inet/tst-getni1.c: Likewise.
15909 * inet/tst-getni2.c: Likewise.
15910 * libio/ioungetc.c: Likewise.
15911 * libio/wfiledoalloc.c: Likewise.
15912 * manual/libm-err-tab.pl: Likewise.
15913 * math/w_dremf.c: Likewise.
15914 * misc/ftruncate.c: Likewise.
15915 * posix/bug-glob2.c: Likewise.
15916 * posix/tst-pcre.c: Likewise.
15917 * posix/wait4.c: Likewise.
15918 * resolv/README: Likewise.
15919 * resolv/res_debug.h: Likewise.
15920 * resolv/tst-inet_ntop.c: Likewise.
15921 * setjmp/bug269-setjmp.c: Likewise.
15922 * soft-fp/extended.h: Likewise.
15923 * soft-fp/op-1.h: Likewise.
15924 * soft-fp/op-2.h: Likewise.
15925 * soft-fp/op-4.h: Likewise.
15926 * soft-fp/op-8.h: Likewise.
15927 * soft-fp/testit.c: Likewise.
15928 * stdio-common/bug16.c: Likewise.
15929 * stdlib/random.c: Likewise.
15930 * sunrpc/rpcsvc/rquota.x: Likewise.
15931 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15932 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15933 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15934 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15935 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15936 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15937 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15940 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15941 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15960 * sysdeps/ieee754/s_lib_version.c: Likewise.
15961 * sysdeps/mach/hurd/check_fds.c: Likewise.
15962 * sysdeps/mach/hurd/getsockname.c: Likewise.
15963 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15964 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15965 * sysdeps/powerpc/bits/link.h: Likewise.
15966 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15967 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15968 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15969 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15970 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15971 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15972 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15973 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15974 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15975 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15976 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15977 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15978 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15979 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15980 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15981 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15986 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15987 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15988 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15989 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15990 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15991 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15995 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15996 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15998 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15999 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16000 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16001 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16002 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16003 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16004 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16005 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16006 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16007 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16008 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16009 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16010 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16012 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16013 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16014 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16015 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16018 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16019 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16020 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16021 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16022 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16025 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16027 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16028 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16029 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16030 * sysdeps/powerpc/sysdep.h: Likewise.
16031 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16032 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16033 * sysdeps/sh/dl-trampoline.S: Likewise.
16034 * sysdeps/sh/memset.S: Likewise.
16035 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16036 * sysdeps/sh/strlen.S: Likewise.
16037 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16038 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16039 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16040 * sysdeps/sparc/sparc32/rem.S: Likewise.
16041 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16042 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16043 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16044 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16045 * sysdeps/sparc/sparc32/urem.S: Likewise.
16046 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16047 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16048 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16049 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16050 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16051 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16052 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16053 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16054 * sysdeps/unix/bsd/times.c: Likewise.
16055 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16056 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16060 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16061 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16062 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16063 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16064 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16065 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16066 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16067 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16068 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16069 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16070 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16071 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16072 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16073 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16074 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16075 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16076 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16077 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16078 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16079 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16080 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16081 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16082 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16083 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16084 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16085 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16086 * sysdeps/x86_64/strcspn.S: Likewise.
16088 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16090 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16091 generated file. Regenerate properly from gen-translit.pl.
16092 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16093 locale/C-translit.h.
16095 2013-06-05 Andreas Schwab <schwab@suse.de>
16098 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16099 week as 6 instead of -1.
16100 * time/tst-strptime.c (day_tests): Add test case.
16102 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16104 * sysdeps/generic/math_private.h
16105 (libc_feholdexcept_setround_53bit): Replace with
16106 libc_feholdsetround_53bit.
16107 (libc_feupdateenv_53bit): Replace with
16108 libc_feresetround_53bit.
16109 (SET_RESTORE_ROUND_53BIT): Adjust.
16111 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16113 * string/test-strchrnul.c: Add copyright header.
16115 * posix/tst-getaddrinfo4.c: Increase test timeout.
16117 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16120 * math/libm-test.inc (MAX_EXP): Remove
16122 (ulp): Use MIN_EXP - MANT_DIG.
16123 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16125 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16127 * po/be.po: Revert last change.
16128 * po/zh_CN.po: Likewise.
16129 * po/header.pot: Likewise.
16131 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16133 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16134 link-libc-deps to empty as target-specific variable.
16135 * Makerules (link-libc-args): New variable.
16136 (libc-for-link): Likewise.
16137 (link-libc-deps): Likewise.
16138 (lib%.so): Depend on $(link-libc-deps). Link with
16140 (build-module): Link with $(link-libc-args).
16141 (build-module-asneeded): Likewise.
16142 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16144 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16145 target-specific variable.
16146 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16147 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16148 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16150 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16152 ($(objpfx)libpcprofile.so): Likewise.
16153 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16155 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16156 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16157 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16159 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16160 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16161 * login/Makefile ($(objpfx)libutil.so): Likewise.
16162 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16163 * math/Makefile ($(objpfx)libm.so): Likewise.
16164 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16165 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16166 variable instead of depending directly on libc.
16167 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16168 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16170 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16172 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16173 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16174 ($(objpfx)libanl.so): Likewise.
16175 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16177 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16179 * sysdeps/i386/fpu/Makefile: Remove file.
16180 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16181 ($(objpfx)libm.so): Remove dependency on ld.so.
16183 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16186 * nis/yp_xdr.c (XDRMAXNAME): Define.
16187 (XDRMAXRECORD): Define.
16188 (xdr_domainname): Use XDRMAXNAME.
16189 (xdr_mapname): Likewise.
16190 (xdr_peername): Likewise.
16191 (xdr_keydat): Use XDRMAXRECORD.
16192 (xdr_valdat): Likewise.
16194 2013-05-30 Jeff Law <law@redhat.com>
16197 * manual/errno.texi (ESTALE): Update to account for more than
16198 just NFS file systems.
16199 * sysdeps/gnu/errlist.c: Regenerated.
16201 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16204 * elf/Makefile (tests): Add tst-null-argv.
16205 (modules-names): Add tst-null-argv-lib.
16206 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16207 (tst-null-argv-ENV): Set environment for tst-null-argv.
16208 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16209 (RTLD_PROGNAME): New macro.
16210 * elf/tst-null-argv.c: New test case.
16211 * elf/tst-null-argv-lib.c: Library for test case.
16212 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16213 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16214 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16215 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16216 * elf/dl-init.c (call_init): Likewise.
16217 (_dl_init): Likewise.
16218 * elf/dl-load.c (print_search_path): Likewise.
16219 (_dl_map_object): Likewise.
16220 * elf/dl-lookup.c (do_lookup_x): Likewise.
16221 (add_dependency): Likewise.
16222 (_dl_lookup_symbol_x): Likewise.
16223 (_dl_debug_bindings): Likewise.
16224 * elf/dl-open.c (_dl_show_scope): Likewise.
16225 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16226 * elf/dl-version.c (match_symbol): Likewise.
16227 (_dl_check_map_versions): Likewise.
16228 * elf/rtld.c (dl_main): Likewise.
16229 (print_unresolved): Use RTLD_PROGNAME.
16230 (print_missing_version): Likewise.
16231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16232 (elf_machine_rela): Likewise.
16233 * sysdeps/powerpc/powerpc32/dl-machine.c
16234 (__process_machine_rela): Likewise.
16235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16239 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16241 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16242 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16244 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16248 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16250 * po/be.po: Add descriptive title.
16251 * po/zh_CN.po: Likewise.
16252 * po/header.pot: Likewise.
16254 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16256 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16258 (enlarge_archive): Likewise.
16260 2013-05-28 Ben North <ben@redfrontdoor.org>
16262 * manual/arith.texi (frexp): It is the magnitude of the return
16263 value which lies in [0.5, 1), not the return value itself.
16265 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16269 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16271 * stdio-common/bug26.c (main): Correct fscanf template.
16273 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16274 declare _dl_skip_args.
16276 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16279 * manual/platform.texi: Add missing @end deftypefun.
16281 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16284 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16285 bit of mantissa of 2^16382.
16286 * math/libm-test.inc (hypot_test_data): Add more tests.
16288 * math/libm-test.inc: Add drem and pow10 to list of tested
16290 (pow10_test): New function.
16291 (drem_test): Likewise.
16292 (drem_test_tonearest): Likewise.
16293 (drem_test_towardzero): Likewise.
16294 (drem_test_downward): Likewise.
16295 (drem_test_upward): Likewise.
16296 (main): Call the new functions.
16298 * math/libm-test.inc (finite_test_data): Remove.
16299 (finite_test): Run tests from isfinite_test_data.
16300 (gamma_test_data): Remove.
16301 (gamma_test): Run tests from lgamma_test_data.
16302 * sysdeps/i386/fpu/libm-test-ulps: Update.
16303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16305 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16307 * manual/platform.texi: Add PowerPC PPR function set documentation.
16308 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16311 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16313 * math/libm-test.inc (MAX_EXP): Define.
16315 (ulp): New function.
16316 (check_float_internal): Use ULPDIFF.
16317 (cpow_test): Disable failing test.
16318 (check_ulp): Test ulp() implemetnation.
16319 (main): Call check_ulp before starting tests.
16321 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16323 * math/gen-libm-test.pl (generate_testfile): Do not handle
16324 START_DATA and END_DATA.
16325 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16327 (acos_tonearest_test_data): Likewise.
16328 (acos_towardzero_test_data): Likewise.
16329 (acos_downward_test_data): Likewise.
16330 (acos_upward_test_data): Likewise.
16331 (acosh_test_data): Likewise.
16332 (asin_test_data): Likewise.
16333 (asin_tonearest_test_data): Likewise.
16334 (asin_towardzero_test_data): Likewise.
16335 (asin_downward_test_data): Likewise.
16336 (asin_upward_test_data): Likewise.
16337 (asinh_test_data): Likewise.
16338 (atan_test_data): Likewise.
16339 (atanh_test_data): Likewise.
16340 (atan2_test_data): Likewise.
16341 (cabs_test_data): Likewise.
16342 (cacos_test_data): Likewise.
16343 (cacosh_test_data): Likewise.
16344 (carg_test_data): Likewise.
16345 (casin_test_data): Likewise.
16346 (casinh_test_data): Likewise.
16347 (catan_test_data): Likewise.
16348 (catanh_test_data): Likewise.
16349 (cbrt_test_data): Likewise.
16350 (ccos_test_data): Likewise.
16351 (ccosh_test_data): Likewise.
16352 (ceil_test_data): Likewise.
16353 (cexp_test_data): Likewise.
16354 (cimag_test_data): Likewise.
16355 (clog_test_data): Likewise.
16356 (clog10_test_data): Likewise.
16357 (conj_test_data): Likewise.
16358 (copysign_test_data): Likewise.
16359 (cos_test_data): Likewise.
16360 (cos_tonearest_test_data): Likewise.
16361 (cos_towardzero_test_data): Likewise.
16362 (cos_downward_test_data): Likewise.
16363 (cos_upward_test_data): Likewise.
16364 (cosh_test_data): Likewise.
16365 (cosh_tonearest_test_data): Likewise.
16366 (cosh_towardzero_test_data): Likewise.
16367 (cosh_downward_test_data): Likewise.
16368 (cosh_upward_test_data): Likewise.
16369 (cpow_test_data): Likewise.
16370 (cproj_test_data): Likewise.
16371 (creal_test_data): Likewise.
16372 (csin_test_data): Likewise.
16373 (csinh_test_data): Likewise.
16374 (csqrt_test_data): Likewise.
16375 (ctan_test_data): Likewise.
16376 (ctan_tonearest_test_data): Likewise.
16377 (ctan_towardzero_test_data): Likewise.
16378 (ctan_downward_test_data): Likewise.
16379 (ctan_upward_test_data): Likewise.
16380 (ctanh_test_data): Likewise.
16381 (ctanh_tonearest_test_data): Likewise.
16382 (ctanh_towardzero_test_data): Likewise.
16383 (ctanh_downward_test_data): Likewise.
16384 (ctanh_upward_test_data): Likewise.
16385 (erf_test_data): Likewise.
16386 (erfc_test_data): Likewise.
16387 (exp_test_data): Likewise.
16388 (exp_tonearest_test_data): Likewise.
16389 (exp_towardzero_test_data): Likewise.
16390 (exp_downward_test_data): Likewise.
16391 (exp_upward_test_data): Likewise.
16392 (exp10_test_data): Likewise.
16393 (exp2_test_data): Likewise.
16394 (expm1_test_data): Likewise.
16395 (fabs_test_data): Likewise.
16396 (fdim_test_data): Likewise.
16397 (finite_test_data): Likewise.
16398 (floor_test_data): Likewise.
16399 (fma_test_data): Likewise.
16400 (fma_towardzero_test_data): Likewise.
16401 (fma_downward_test_data): Likewise.
16402 (fma_upward_test_data): Likewise.
16403 (fmax_test_data): Likewise.
16404 (fmin_test_data): Likewise.
16405 (fmod_test_data): Likewise.
16406 (fpclassify_test_data): Likewise.
16407 (frexp_test_data): Likewise.
16408 (gamma_test_data): Likewise.
16409 (hypot_test_data): Likewise.
16410 (ilogb_test_data): Likewise.
16411 (isfinite_test_data): Likewise.
16412 (isgreater_test_data): Likewise.
16413 (isgreaterequal_test_data): Likewise.
16414 (isinf_test_data): Likewise.
16415 (isless_test_data): Likewise.
16416 (islessequal_test_data): Likewise.
16417 (islessgreater_test_data): Likewise.
16418 (isnan_test_data): Likewise.
16419 (isnormal_test_data): Likewise.
16420 (issignaling_test_data): Likewise.
16421 (isunordered_test_data): Likewise.
16422 (j0_test_data): Likewise.
16423 (j1_test_data): Likewise.
16424 (jn_test_data): Likewise.
16425 (ldexp_test_data): Likewise.
16426 (lgamma_test_data): Likewise.
16427 (lrint_test_data): Likewise.
16428 (lrint_tonearest_test_data): Likewise.
16429 (lrint_towardzero_test_data): Likewise.
16430 (lrint_downward_test_data): Likewise.
16431 (lrint_upward_test_data): Likewise.
16432 (llrint_test_data): Likewise.
16433 (llrint_tonearest_test_data): Likewise.
16434 (llrint_towardzero_test_data): Likewise.
16435 (llrint_downward_test_data): Likewise.
16436 (llrint_upward_test_data): Likewise.
16437 (log_test_data): Likewise.
16438 (log10_test_data): Likewise.
16439 (log1p_test_data): Likewise.
16440 (log2_test_data): Likewise.
16441 (logb_test_data): Likewise.
16442 (logb_downward_test_data): Likewise.
16443 (lround_test_data): Likewise.
16444 (llround_test_data): Likewise.
16445 (modf_test_data): Likewise.
16446 (nearbyint_test_data): Likewise.
16447 (nextafter_test_data): Likewise.
16448 (nexttoward_test_data): Likewise.
16449 (pow_test_data): Likewise.
16450 (pow_tonearest_test_data): Likewise.
16451 (pow_towardzero_test_data): Likewise.
16452 (pow_downward_test_data): Likewise.
16453 (pow_upward_test_data): Likewise.
16454 (remainder_test_data): Likewise.
16455 (remainder_tonearest_test_data): Likewise.
16456 (remainder_towardzero_test_data): Likewise.
16457 (remainder_downward_test_data): Likewise.
16458 (remainder_upward_test_data): Likewise.
16459 (remquo_test_data): Likewise.
16460 (rint_test_data): Likewise.
16461 (rint_tonearest_test_data): Likewise.
16462 (rint_towardzero_test_data): Likewise.
16463 (rint_downward_test_data): Likewise.
16464 (rint_upward_test_data): Likewise.
16465 (round_test_data): Likewise.
16466 (scalb_test_data): Likewise.
16467 (scalbn_test_data): Likewise.
16468 (scalbln_test_data): Likewise.
16469 (signbit_test_data): Likewise.
16470 (sin_test_data): Likewise.
16471 (sin_tonearest_test_data): Likewise.
16472 (sin_towardzero_test_data): Likewise.
16473 (sin_downward_test_data): Likewise.
16474 (sin_upward_test_data): Likewise.
16475 (sincos_test_data): Likewise.
16476 (sinh_test_data): Likewise.
16477 (sinh_tonearest_test_data): Likewise.
16478 (sinh_towardzero_test_data): Likewise.
16479 (sinh_downward_test_data): Likewise.
16480 (sinh_upward_test_data): Likewise.
16481 (sqrt_test_data): Likewise.
16482 (tan_test_data): Likewise.
16483 (tan_tonearest_test_data): Likewise.
16484 (tan_towardzero_test_data): Likewise.
16485 (tan_downward_test_data): Likewise.
16486 (tan_upward_test_data): Likewise.
16487 (tanh_test_data): Likewise.
16488 (tgamma_test_data): Likewise.
16489 (trunc_test_data): Likewise.
16490 (y0_test_data): Likewise.
16491 (y1_test_data): Likewise.
16492 (yn_test_data): Likewise.
16493 (significand_test_data): Likewise.
16495 * math/gen-libm-test.pl (@functions): Remove variable.
16496 (generate_testfile): Don't handle START and END lines.
16497 * math/libm-test.inc (START): New macro.
16499 (END_COMPLEX): Likewise.
16500 (acos_test): Use END macro without arguments.
16501 (acos_test_tonearest): Likewise.
16502 (acos_test_towardzero): Likewise.
16503 (acos_test_downward): Likewise.
16504 (acos_test_upward): Likewise.
16505 (acosh_test): Likewise.
16506 (asin_test): Likewise.
16507 (asin_test_tonearest): Likewise.
16508 (asin_test_towardzero): Likewise.
16509 (asin_test_downward): Likewise.
16510 (asin_test_upward): Likewise.
16511 (asinh_test): Likewise.
16512 (atan_test): Likewise.
16513 (atanh_test): Likewise.
16514 (atan2_test): Likewise.
16515 (cabs_test): Likewise.
16516 (cacos_test): Use END_COMPLEX macro without arguments.
16517 (cacosh_test): Likewise.
16518 (carg_test): Use END macro without arguments.
16519 (casin_test): Use END_COMPLEX macro without arguments.
16520 (casinh_test): Likewise.
16521 (catan_test): Likewise.
16522 (catanh_test): Likewise.
16523 (cbrt_test): Use END macro without arguments.
16524 (ccos_test): Use END_COMPLEX macro without arguments.
16525 (ccosh_test): Likewise.
16526 (ceil_test): Use END macro without arguments.
16527 (cexp_test): Use END_COMPLEX macro without arguments.
16528 (cimag_test): Use END macro without arguments.
16529 (clog_test): Use END_COMPLEX macro without arguments.
16530 (clog10_test): Likewise.
16531 (conj_test): Likewise.
16532 (copysign_test): Use END macro without arguments.
16533 (cos_test): Likewise.
16534 (cos_test_tonearest): Likewise.
16535 (cos_test_towardzero): Likewise.
16536 (cos_test_downward): Likewise.
16537 (cos_test_upward): Likewise.
16538 (cosh_test): Likewise.
16539 (cosh_test_tonearest): Likewise.
16540 (cosh_test_towardzero): Likewise.
16541 (cosh_test_downward): Likewise.
16542 (cosh_test_upward): Likewise.
16543 (cpow_test): Use END_COMPLEX macro without arguments.
16544 (cproj_test): Likewise.
16545 (creal_test): Use END macro without arguments.
16546 (csin_test): Use END_COMPLEX macro without arguments.
16547 (csinh_test): Likewise.
16548 (csqrt_test): Likewise.
16549 (ctan_test): Likewise.
16550 (ctan_test_tonearest): Likewise.
16551 (ctan_test_towardzero): Likewise.
16552 (ctan_test_downward): Likewise.
16553 (ctan_test_upward): Likewise.
16554 (ctanh_test): Likewise.
16555 (ctanh_test_tonearest): Likewise.
16556 (ctanh_test_towardzero): Likewise.
16557 (ctanh_test_downward): Likewise.
16558 (ctanh_test_upward): Likewise.
16559 (erf_test): Use END macro without arguments.
16560 (erfc_test): Likewise.
16561 (exp_test): Likewise.
16562 (exp_test_tonearest): Likewise.
16563 (exp_test_towardzero): Likewise.
16564 (exp_test_downward): Likewise.
16565 (exp_test_upward): Likewise.
16566 (exp10_test): Likewise.
16567 (exp2_test): Likewise.
16568 (expm1_test): Likewise.
16569 (fabs_test): Likewise.
16570 (fdim_test): Likewise.
16571 (finite_test): Likewise.
16572 (floor_test): Likewise.
16573 (fma_test): Likewise.
16574 (fma_test_towardzero): Likewise.
16575 (fma_test_downward): Likewise.
16576 (fma_test_upward): Likewise.
16577 (fmax_test): Likewise.
16578 (fmin_test): Likewise.
16579 (fmod_test): Likewise.
16580 (fpclassify_test): Likewise.
16581 (frexp_test): Likewise.
16582 (gamma_test): Likewise.
16583 (hypot_test): Likewise.
16584 (ilogb_test): Likewise.
16585 (isfinite_test): Likewise.
16586 (isgreater_test): Likewise.
16587 (isgreaterequal_test): Likewise.
16588 (isinf_test): Likewise.
16589 (isless_test): Likewise.
16590 (islessequal_test): Likewise.
16591 (islessgreater_test): Likewise.
16592 (isnan_test): Likewise.
16593 (isnormal_test): Likewise.
16594 (issignaling_test): Likewise.
16595 (isunordered_test): Likewise.
16596 (j0_test): Likewise.
16597 (j1_test): Likewise.
16598 (jn_test): Likewise.
16599 (ldexp_test): Likewise.
16600 (lgamma_test): Likewise.
16601 (lrint_test): Likewise.
16602 (lrint_test_tonearest): Likewise.
16603 (lrint_test_towardzero): Likewise.
16604 (lrint_test_downward): Likewise.
16605 (lrint_test_upward): Likewise.
16606 (llrint_test): Likewise.
16607 (llrint_test_tonearest): Likewise.
16608 (llrint_test_towardzero): Likewise.
16609 (llrint_test_downward): Likewise.
16610 (llrint_test_upward): Likewise.
16611 (log_test): Likewise.
16612 (log10_test): Likewise.
16613 (log1p_test): Likewise.
16614 (log2_test): Likewise.
16615 (logb_test): Likewise.
16616 (logb_test_downward): Likewise.
16617 (lround_test): Likewise.
16618 (llround_test): Likewise.
16619 (modf_test): Likewise.
16620 (nearbyint_test): Likewise.
16621 (nextafter_test): Likewise.
16622 (nexttoward_test): Likewise.
16623 (pow_test): Likewise.
16624 (pow_test_tonearest): Likewise.
16625 (pow_test_towardzero): Likewise.
16626 (pow_test_downward): Likewise.
16627 (pow_test_upward): Likewise.
16628 (remainder_test): Likewise.
16629 (remainder_test_tonearest): Likewise.
16630 (remainder_test_towardzero): Likewise.
16631 (remainder_test_downward): Likewise.
16632 (remainder_test_upward): Likewise.
16633 (remquo_test): Likewise.
16634 (rint_test): Likewise.
16635 (rint_test_tonearest): Likewise.
16636 (rint_test_towardzero): Likewise.
16637 (rint_test_downward): Likewise.
16638 (rint_test_upward): Likewise.
16639 (round_test): Likewise.
16640 (scalb_test): Likewise.
16641 (scalbn_test): Likewise.
16642 (scalbln_test): Likewise.
16643 (signbit_test): Likewise.
16644 (sin_test): Likewise.
16645 (sin_test_tonearest): Likewise.
16646 (sin_test_towardzero): Likewise.
16647 (sin_test_downward): Likewise.
16648 (sin_test_upward): Likewise.
16649 (sincos_test): Likewise.
16650 (sinh_test): Likewise.
16651 (sinh_test_tonearest): Likewise.
16652 (sinh_test_towardzero): Likewise.
16653 (sinh_test_downward): Likewise.
16654 (sinh_test_upward): Likewise.
16655 (sqrt_test): Likewise.
16656 (tan_test): Likewise.
16657 (tan_test_tonearest): Likewise.
16658 (tan_test_towardzero): Likewise.
16659 (tan_test_downward): Likewise.
16660 (tan_test_upward): Likewise.
16661 (tanh_test): Likewise.
16662 (tgamma_test): Likewise.
16663 (trunc_test): Likewise.
16664 (y0_test): Likewise.
16665 (y1_test): Likewise.
16666 (yn_test): Likewise.
16667 (significand_test): Likewise.
16669 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16672 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16674 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16677 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16678 __ppc_mdoio and __ppc_mdoom.
16679 * manual/platform.texi: Document new functions __ppc_yield,
16680 __ppc_mdoio and __ppc_mdoom.
16682 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16684 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16685 (main): Mention "tls" pseudo-hwcap is legacy.
16686 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16688 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16690 * math/gen-libm-test.pl (parse_args): Output only string of
16691 arguments as text for test name, not full call or descriptions of
16692 tests for extra outputs.
16693 (generate_testfile): Do not pass function name to parse_args.
16694 Generate this_func variable from START.
16695 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16697 (struct test_ff_f_data): Likewise.
16698 (test_ff_f_data_nexttoward): Likewise.
16699 (struct test_fi_f_data): Likewise.
16700 (struct test_fl_f_data): Likewise.
16701 (struct test_if_f_data): Likewise.
16702 (struct test_fff_f_data): Likewise.
16703 (struct test_c_f_data): Likewise.
16704 (struct test_f_f1_data): Likewise. Remove field extra_name.
16705 (struct test_fF_f1_data): Likewise.
16706 (struct test_ffI_f1_data): Likewise.
16707 (struct test_c_c_data): Rename test_name field to arg_str.
16708 (struct test_cc_c_data): Likewise.
16709 (struct test_f_i_data): Likewise.
16710 (struct test_ff_i_data): Likewise.
16711 (struct test_f_l_data): Likewise.
16712 (struct test_f_L_data): Likewise.
16713 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16715 (COMMON_TEST_SETUP): New macro.
16716 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16717 (COMMON_TEST_CLEANUP): Likewise.
16718 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16719 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16721 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16722 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16724 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16725 (RUN_TEST_fff_f): Take argument string. Call new setup and
16727 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16728 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16730 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16731 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16733 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16734 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16736 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16737 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16739 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16740 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16742 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16743 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16745 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16746 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16748 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16749 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16751 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16752 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16754 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16755 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16757 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16758 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16760 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16761 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16763 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16764 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16766 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16767 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16769 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16770 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16772 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16774 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16776 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16777 to _sifields.sigfault.
16778 (si_addr_lsb): Define new macro.
16779 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16781 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16783 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16786 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16788 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16790 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16791 loading the domain.
16793 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16795 * math/gen-libm-test.pl (parse_args): Do not include expected
16796 result in test name.
16797 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16801 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16804 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16806 * benchtests/Makefile: Sort function entries.
16808 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16809 tanh, asinh, acosh, atanh.
16810 * benchtests/acos-inputs: New file.
16811 * benchtests/acosh-inputs: New file.
16812 * benchtests/asin-inputs: New file.
16813 * benchtests/asinh-inputs: New file.
16814 * benchtests/atanh-inputs: New file.
16815 * benchtests/cosh-inputs: New file.
16816 * benchtests/log-inputs: New file.
16817 * benchtests/sinh-inputs: New file.
16818 * benchtests/tanh-inputs: New file.
16820 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16823 * posix/tst-getaddrinfo4.c: New test.
16824 * posix/Makefile (tests): Add it.
16826 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16829 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16830 when no services were used.
16831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16832 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16834 2013-05-21 Andreas Schwab <schwab@suse.de>
16837 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16838 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16840 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16841 redundant variable declarations and reallocation of buffer when
16842 parsing as IPv6 address. Always set NSS status when called from
16843 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16844 buffer too small. Correct computation of needed size.
16845 * nss/Makefile (tests): Add test-digits-dots.
16846 * nss/test-digits-dots.c: New test.
16848 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16850 * benchtests/Makefile: Remove instructions for adding
16852 * benchtests/README: New file to explain how to execute and
16853 enhance the benchmark tests.
16855 2013-05-21 Andreas Schwab <schwab@suse.de>
16858 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16859 * setjmp/tst-sigsetjmp.c: New test.
16861 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16863 * sysdeps/x86_64/memset.S (memset): New implementation.
16864 (__bzero): Likewise.
16865 (__memset_tail): New function.
16867 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16869 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16870 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16871 __memcpy_sse2_unaligned ifunc selection.
16872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16873 Add memcpy-sse2-unaligned.S.
16874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16875 Add: __memcpy_sse2_unaligned.
16877 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16880 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16881 math_force_eval before restoring floating-point envrionment.
16882 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16885 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16887 (__nearbyintl): Use math_force_eval before restoring
16888 floating-point environment.
16889 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16891 * math/gen-libm-test.pl (special_functions): Remove.
16892 (parse_args): Don't handle TEST_extra. Handle functions with no
16894 * math/libm-test.inc (struct test_sincos_data): Replace with
16895 struct test_fFF_11_data.
16896 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16897 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16898 (sincos_test_data): Change element type to struct
16899 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16900 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16901 RUN_TEST_LOOP_sincos.
16902 * math/README.libm-test: Don't mention special handling of
16903 individual functions.
16904 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16906 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16907 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16908 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16911 * math/gen-libm-test.pl (get_variable): Remove function.
16912 (parse_args): Don't show pointer parameters to call in test
16913 names. Use "extra output N" in test names for extra outputs
16914 rather than naming variables.
16916 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16919 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16920 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16921 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16923 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16925 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16928 * math/gen-libm-test.pl (@tests): Remove variable.
16929 ($count): Likewise.
16930 (new_test): Remove function.
16931 (show_exceptions): New function.
16932 (special_functions): Use show_exceptions instead of new_test.
16933 (parse_args): Likewise.
16934 (generate_testfile): Pass only function name in generated call to
16935 print_max_error or print_complex_max_error.
16936 (get_ulps): Do not handle complex tests specially.
16937 (output_test): Rename to ...
16938 (get_all_ulps_for_test): ... this. Return a string rather than
16939 printing to a file. Require ulps to be present.
16940 (output_ulps): Generate arrays rather than #defines.
16941 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16942 (struct ulp_data): New type.
16943 (BUILD_COMPLEX_ULP): Remove macro.
16944 (compare_ulp_data): New function.
16945 (find_ulps): Likewise.
16946 (find_test_ulps): Likewise.
16947 (find_function_ulps): Likewise.
16948 (find_complex_function_ulps): Likewise.
16949 (print_max_error): Determine allowed ulps using
16950 find_function_ulps.
16951 (print_complex_max_error): Determine allowed ulps using
16952 find_complex_function_ulps.
16953 (check_float_internal): Determine max ulps using find_test_ulps.
16954 (check_float): Do not take max_ulp parameter. Update call to
16955 check_float_internal.
16956 (check_complex): Likewise.
16957 (check_int): Do not take max_ulp parameter.
16958 (check_long): Likewise.
16959 (check_bool): Likewise.
16960 (check_longlong): Likewise.
16961 (struct test_f_f_data): Remove max_ulp field.
16962 (struct test_ff_f_data): Likewise.
16963 (struct test_ff_f_data_nexttoward): Likewise.
16964 (struct test_fi_f_data): Likewise.
16965 (struct test_fl_f_data): Likewise.
16966 (struct test_if_f_data): Likewise.
16967 (struct test_fff_f_data): Likewise.
16968 (struct test_c_f_data): Likewise.
16969 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16970 (struct test_fF_f1_data): Likewise.
16971 (struct test_ffI_f1_data): Likewise.
16972 (struct test_c_c_data): Remove max_ulp field.
16973 (struct test_cc_c_data): Likewise.
16974 (struct test_f_i_data): Likewise.
16975 (struct test_ff_i_data): Likewise.
16976 (struct test_f_l_data): Likewise.
16977 (struct test_f_L_data): Likewise.
16978 (struct test_sincos_data): Likewise.
16979 (RUN_TEST_f_f): Do not handle ulps.
16980 (RUN_TEST_LOOP_f_f): Likewise.
16981 (RUN_TEST_2_f): Likewise.
16982 (RUN_TEST_LOOP_2_f): Likewise.
16983 (RUN_TEST_fff_f): Likewise.
16984 (RUN_TEST_LOOP_fff_f): Likewise.
16985 (RUN_TEST_c_f): Likewise.
16986 (RUN_TEST_LOOP_c_f): Likewise.
16987 (RUN_TEST_f_f1): Likewise.
16988 (RUN_TEST_LOOP_f_f1): Likewise.
16989 (RUN_TEST_fF_f1): Likewise.
16990 (RUN_TEST_LOOP_fF_f1): Likewise.
16991 (RUN_TEST_fI_f1): Likewise.
16992 (RUN_TEST_LOOP_fI_f1): Likewise.
16993 (RUN_TEST_ffI_f1): Likewise.
16994 (RUN_TEST_LOOP_ffI_f1): Likewise.
16995 (RUN_TEST_c_c): Likewise.
16996 (RUN_TEST_LOOP_c_c): Likewise.
16997 (RUN_TEST_cc_c): Likewise.
16998 (RUN_TEST_LOOP_cc_c): Likewise.
16999 (RUN_TEST_f_i): Likewise.
17000 (RUN_TEST_LOOP_f_i): Likewise.
17001 (RUN_TEST_f_i_tg): Likewise.
17002 (RUN_TEST_LOOP_f_i_tg): Likewise.
17003 (RUN_TEST_ff_i_tg): Likewise.
17004 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17005 (RUN_TEST_f_b): Likewise.
17006 (RUN_TEST_LOOP_f_b): Likewise.
17007 (RUN_TEST_f_b_tg): Likewise.
17008 (RUN_TEST_LOOP_f_b_tg): Likewise.
17009 (RUN_TEST_f_l): Likewise.
17010 (RUN_TEST_LOOP_f_l): Likewise.
17011 (RUN_TEST_f_L): Likewise.
17012 (RUN_TEST_LOOP_f_L): Likewise.
17013 (RUN_TEST_sincos): Likewise.
17014 (RUN_TEST_LOOP_sincos): Likewise.
17016 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17020 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17021 main case of finite arguments, set rounding mode to FE_TONEAREST
17022 and discard exceptions.
17023 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17025 (remainder_tonearest_test_data): New variable.
17026 (remainder_test_tonearest): New function.
17027 (remainder_towardzero_test_data): New variable.
17028 (remainder_test_towardzero): New function.
17029 (remainder_downward_test_data): New variable.
17030 (remainder_test_downward): New function.
17031 (remainder_upward_test_data): New variable.
17032 (remainder_test_upward): New function.
17033 (main): Call the new test functions.
17035 * math/libm-test.inc (struct test_f_f1_data): Remove field
17037 (struct test_fF_f1_data): Likewise.
17038 (struct test_ffI_f1_data): Likewise.
17039 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17040 based on value of EXTRA_EXPECTED.
17041 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17042 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17043 EXTRA_VAR based on value of EXTRA_EXPECTED.
17044 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17045 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17046 EXTRA_VAR based on value of EXTRA_EXPECTED.
17047 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17048 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17049 EXTRA_VAR based on value of EXTRA_EXPECTED.
17050 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17051 * math/gen-libm-test.pl (parse_args): Don't output initializers
17052 for extra output values.
17054 * math/libm-test.inc (check_int): Expect result to be exactly
17055 equal to expected value and do not handle ulps.
17056 (check_long): Likewise.
17057 (check_longlong): Likewise.
17059 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17061 (cimag_test_data): Likewise.
17062 (conj_test_data): Likewise.
17063 (copysign_test_data): Likewise.
17064 (cproj_test_data): Likewise.
17065 (creal_test_data): Likewise.
17066 (fabs_test_data): Likewise.
17067 (fdim_test_data): Likewise.
17068 (finite_test_data): Likewise.
17069 (floor_test_data): Likewise.
17070 (fmax_test_data): Likewise.
17071 (fmin_test_data): Likewise.
17072 (fmod_test_data): Likewise.
17073 (fpclassify_test_data): Likewise.
17074 (frexp_test_data): Likewise.
17075 (ilogb_test_data): Likewise.
17076 (isfinite_test_data): Likewise.
17077 (isgreater_test_data): Likewise.
17078 (isgreaterequal_test_data): Likewise.
17079 (isinf_test_data): Likewise.
17080 (isless_test_data): Likewise.
17081 (islessequal_test_data): Likewise.
17082 (islessgreater_test_data): Likewise.
17083 (isnan_test_data): Likewise.
17084 (isnormal_test_data): Likewise.
17085 (issignaling_test_data): Likewise.
17086 (isunordered_test_data): Likewise.
17087 (ldexp_test_data): Likewise.
17088 (lrint_test_data): Likewise.
17089 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17090 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17091 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17092 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17093 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17094 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17096 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17097 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17098 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17099 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17101 (lrint_downward_test_data): Test for "inexact" exceptions.
17102 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17103 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17104 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17106 (lrint_upward_test_data): Test for "inexact" exceptions.
17107 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17109 (llrint_test_data): Test for "inexact" exceptions.
17110 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17111 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17112 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17113 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17114 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17115 (llrint_downward_test_data): Test for "inexact" exceptions.
17116 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17117 (llrint_upward_test_data): Test for "inexact" exceptions.
17118 (logb_test_data): Likewise.
17119 (logb_downward_test_data): Likewise.
17120 (nextafter_test_data): Likewise.
17121 (nexttoward_test_data): Likewise.
17122 (remainder_test_data): Likewise.
17123 (remquo_test_data): Likewise.
17124 (scalbn_test_data): Likewise.
17125 (scalbln_test_data): Likewise.
17126 (signbit_test_data): Likewise.
17127 (sqrt_test_data): Likewise.
17128 (significand_test_data): Likewise.
17130 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17133 * benchtests/bench-modf.c (struct args): Mark arg0 as
17135 * scripts/bench.pl: Mark members of struct args as volatile.
17137 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17140 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17141 negative infinity on POWER6 or lower.
17142 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17144 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17147 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17148 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17149 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17150 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17151 (_FP_SETQNAN): New macro.
17152 (_FP_SETQNAN_SEMIRAW): Likewise.
17153 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17154 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17155 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17156 (FP_EXTEND): Use _FP_FRAC_SNANP.
17157 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17158 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17160 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17162 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17165 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17167 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17168 with DIVIDE_BY_ZERO_EXCEPTION.
17169 (gamma_test_data): Likewise.
17170 (lgamma_test_data): Likewise.
17171 (log_test_data): Likewise.
17172 (log10_test_data): Likewise.
17173 (log2_test_data): Likewise.
17174 (tgamma_test_data): Likewise.
17176 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17177 (acos_test_tonearest): Likewise.
17178 (acos_test_towardzero): Likewise.
17179 (acos_test_downward): Likewise.
17180 (acos_test_upward): Likewise.
17181 (acosh_test): Likewise.
17182 (asin_test): Likewise.
17183 (asin_test_tonearest): Likewise.
17184 (asin_test_towardzero): Likewise.
17185 (asin_test_downward): Likewise.
17186 (asin_test_upward): Likewise.
17187 (asinh_test): Likewise.
17188 (atan_test): Likewise.
17189 (atanh_test): Likewise.
17190 (atan2_test): Likewise.
17191 (cabs_test): Likewise.
17192 (cacos_test): Likewise.
17193 (cacosh_test): Likewise.
17194 (casin_test): Likewise.
17195 (casinh_test): Likewise.
17196 (catan_test): Likewise.
17197 (catanh_test): Likewise.
17198 (cbrt_test): Likewise.
17199 (ccos_test): Likewise.
17200 (ccosh_test): Likewise.
17201 (cexp_test): Likewise.
17202 (clog_test): Likewise.
17203 (clog10_test): Likewise.
17204 (cos_test): Likewise.
17205 (cos_test_tonearest): Likewise.
17206 (cos_test_towardzero): Likewise.
17207 (cos_test_downward): Likewise.
17208 (cos_test_upward): Likewise.
17209 (cosh_test): Likewise.
17210 (cosh_test_tonearest): Likewise.
17211 (cosh_test_towardzero): Likewise.
17212 (cosh_test_downward): Likewise.
17213 (cosh_test_upward): Likewise.
17214 (cpow_test): Likewise.
17215 (csin_test): Likewise.
17216 (csinh_test): Likewise.
17217 (csqrt_test): Likewise.
17218 (ctan_test): Likewise.
17219 (ctan_test_tonearest): Likewise.
17220 (ctan_test_towardzero): Likewise.
17221 (ctan_test_downward): Likewise.
17222 (ctan_test_upward): Likewise.
17223 (ctanh_test): Likewise.
17224 (ctanh_test_tonearest): Likewise.
17225 (ctanh_test_towardzero): Likewise.
17226 (ctanh_test_downward): Likewise.
17227 (ctanh_test_upward): Likewise.
17228 (erf_test): Likewise.
17229 (erfc_test): Likewise.
17230 (exp_test): Likewise.
17231 (exp_test_tonearest): Likewise.
17232 (exp_test_towardzero): Likewise.
17233 (exp_test_downward): Likewise.
17234 (exp_test_upward): Likewise.
17235 (exp10_test): Likewise.
17236 (exp2_test): Likewise.
17237 (expm1_test): Likewise.
17238 (fmod_test): Likewise.
17239 (gamma_test): Likewise.
17240 (hypot_test): Likewise.
17241 (j0_test): Likewise.
17242 (j1_test): Likewise.
17243 (jn_test): Likewise.
17244 (lgamma_test): Likewise.
17245 (log_test): Likewise.
17246 (log10_test): Likewise.
17247 (log1p_test): Likewise.
17248 (log2_test): Likewise.
17249 (logb_test_downward): Likewise.
17250 (pow_test): Likewise.
17251 (pow_test_tonearest): Likewise.
17252 (pow_test_towardzero): Likewise.
17253 (pow_test_downward): Likewise.
17254 (pow_test_upward): Likewise.
17255 (remainder_test): Likewise.
17256 (remquo_test): Likewise.
17257 (sin_test): Likewise.
17258 (sin_test_tonearest): Likewise.
17259 (sin_test_towardzero): Likewise.
17260 (sin_test_downward): Likewise.
17261 (sin_test_upward): Likewise.
17262 (sincos_test): Likewise.
17263 (sinh_test): Likewise.
17264 (sinh_test_tonearest): Likewise.
17265 (sinh_test_towardzero): Likewise.
17266 (sinh_test_downward): Likewise.
17267 (sinh_test_upward): Likewise.
17268 (sqrt_test): Likewise.
17269 (tan_test): Likewise.
17270 (tan_test_tonearest): Likewise.
17271 (tan_test_towardzero): Likewise.
17272 (tan_test_downward): Likewise.
17273 (tan_test_upward): Likewise.
17274 (tanh_test): Likewise.
17275 (tgamma_test): Likewise.
17276 (y0_test): Likewise.
17277 (y1_test): Likewise.
17278 (yn_test): Likewise.
17280 * math/gen-libm-test.pl (adjust_arg): Remove function.
17281 (special_function): Remove argument $in_func. Only handle
17282 generating output for tables of tests, not inside functions.
17283 (parse_args): Likewise.
17284 (generate_testfile): Remove variable $in_func. Update call to
17286 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17287 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17288 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17289 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17290 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17291 (MAX_VALUE_INIT): Rename macro to max_value.
17292 (MIN_VALUE_INIT): Rename macro to min_value.
17293 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17294 (plus_zero): Remove variable.
17295 (minus_zero): Likewise.
17296 (plus_infty): Likewise.
17297 (minus_infty): Likewise.
17298 (qnan_value): Likewise.
17299 (max_value): Likewise.
17300 (min_value): Likewise.
17301 (min_subnorm_value): Likewise.
17303 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17305 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17306 uint64_t or uint32_t usage.
17307 * crypt/sha256-block.c: Likewise.
17308 * crypt/sha256-crypt.c: Likewise.
17309 * crypt/sha256.c: Likewise.
17310 * crypt/sha512-block.c: Likewise.
17311 * crypt/sha512-crypt.c: Likewise.
17312 * crypt/sha512.c: Likewise.
17313 * debug/backtrace-tst.c: Likewise.
17314 * debug/pcprofiledump.c: Likewise.
17315 * elf/cache.c: Likewise.
17316 * elf/dl-cache.c: Likewise.
17317 * elf/dl-misc.c: Likewise.
17318 * elf/dl-profile.c: Likewise.
17319 * elf/dl-support.c: Likewise.
17320 * elf/ldconfig.c: Likewise.
17321 * elf/sprof.c: Likewise.
17322 * iconv/dummy-repertoire.c: Likewise.
17323 * iconv/iconv_charmap.c: Likewise.
17324 * iconv/skeleton.c: Likewise.
17325 * iconvdata/8bit-generic.c: Likewise.
17326 * iconvdata/cp737.h: Likewise.
17327 * iconvdata/cp775.h: Likewise.
17328 * iconvdata/ibm1008.h: Likewise.
17329 * iconvdata/ibm1025.h: Likewise.
17330 * iconvdata/ibm1046.h: Likewise.
17331 * iconvdata/ibm1097.h: Likewise.
17332 * iconvdata/ibm1112.h: Likewise.
17333 * iconvdata/ibm1122.h: Likewise.
17334 * iconvdata/ibm1123.h: Likewise.
17335 * iconvdata/ibm1124.h: Likewise.
17336 * iconvdata/ibm1129.h: Likewise.
17337 * iconvdata/ibm1130.h: Likewise.
17338 * iconvdata/ibm1132.h: Likewise.
17339 * iconvdata/ibm1133.h: Likewise.
17340 * iconvdata/ibm1137.h: Likewise.
17341 * iconvdata/ibm1140.h: Likewise.
17342 * iconvdata/ibm1141.h: Likewise.
17343 * iconvdata/ibm1142.h: Likewise.
17344 * iconvdata/ibm1143.h: Likewise.
17345 * iconvdata/ibm1144.h: Likewise.
17346 * iconvdata/ibm1145.h: Likewise.
17347 * iconvdata/ibm1146.h: Likewise.
17348 * iconvdata/ibm1147.h: Likewise.
17349 * iconvdata/ibm1148.h: Likewise.
17350 * iconvdata/ibm1149.h: Likewise.
17351 * iconvdata/ibm1153.h: Likewise.
17352 * iconvdata/ibm1154.h: Likewise.
17353 * iconvdata/ibm1155.h: Likewise.
17354 * iconvdata/ibm1156.h: Likewise.
17355 * iconvdata/ibm1157.h: Likewise.
17356 * iconvdata/ibm1158.h: Likewise.
17357 * iconvdata/ibm1160.h: Likewise.
17358 * iconvdata/ibm1161.h: Likewise.
17359 * iconvdata/ibm1162.h: Likewise.
17360 * iconvdata/ibm1163.h: Likewise.
17361 * iconvdata/ibm1164.h: Likewise.
17362 * iconvdata/ibm1166.h: Likewise.
17363 * iconvdata/ibm1167.h: Likewise.
17364 * iconvdata/ibm12712.h: Likewise.
17365 * iconvdata/ibm1390.h: Likewise.
17366 * iconvdata/ibm1399.h: Likewise.
17367 * iconvdata/ibm16804.h: Likewise.
17368 * iconvdata/ibm4517.h: Likewise.
17369 * iconvdata/ibm4899.h: Likewise.
17370 * iconvdata/ibm4909.h: Likewise.
17371 * iconvdata/ibm4971.h: Likewise.
17372 * iconvdata/ibm5347.h: Likewise.
17373 * iconvdata/ibm803.h: Likewise.
17374 * iconvdata/ibm856.h: Likewise.
17375 * iconvdata/ibm901.h: Likewise.
17376 * iconvdata/ibm902.h: Likewise.
17377 * iconvdata/ibm9030.h: Likewise.
17378 * iconvdata/ibm9066.h: Likewise.
17379 * iconvdata/ibm921.h: Likewise.
17380 * iconvdata/ibm922.h: Likewise.
17381 * iconvdata/ibm9448.h: Likewise.
17382 * iconvdata/isiri-3342.h: Likewise.
17383 * iconvdata/jis0201.h: Likewise.
17384 * include/link.h: Likewise.
17385 * include/netdb.h: Likewise.
17386 * inet/check_native.c: Likewise.
17387 * inet/check_pf.c: Likewise.
17388 * inet/getipv4sourcefilter.c: Likewise.
17389 * inet/getnameinfo.c: Likewise.
17390 * inet/getsourcefilter.c: Likewise.
17391 * inet/htonl.c: Likewise.
17392 * inet/setipv4sourcefilter.c: Likewise.
17393 * inet/setsourcefilter.c: Likewise.
17394 * inet/test-inet6_opt.c: Likewise.
17395 * inet/tst-network.c: Likewise.
17396 * locale/C-collate.c: Likewise.
17397 * locale/C-ctype.c: Likewise.
17398 * locale/C-time.c: Likewise.
17399 * locale/C-translit.h: Likewise.
17400 * locale/loadarchive.c: Likewise.
17401 * locale/programs/3level.h: Likewise.
17402 * locale/programs/charmap.c: Likewise.
17403 * locale/programs/charmap.h: Likewise.
17404 * locale/programs/ld-address.c: Likewise.
17405 * locale/programs/ld-collate.c: Likewise.
17406 * locale/programs/ld-ctype.c: Likewise.
17407 * locale/programs/ld-identification.c: Likewise.
17408 * locale/programs/ld-measurement.c: Likewise.
17409 * locale/programs/ld-messages.c: Likewise.
17410 * locale/programs/ld-monetary.c: Likewise.
17411 * locale/programs/ld-name.c: Likewise.
17412 * locale/programs/ld-numeric.c: Likewise.
17413 * locale/programs/ld-paper.c: Likewise.
17414 * locale/programs/ld-telephone.c: Likewise.
17415 * locale/programs/ld-time.c: Likewise.
17416 * locale/programs/linereader.c: Likewise.
17417 * locale/programs/locale.c: Likewise.
17418 * locale/programs/locarchive.c: Likewise.
17419 * locale/programs/locfile.h: Likewise.
17420 * locale/programs/repertoire.c: Likewise.
17421 * locale/programs/simple-hash.c: Likewise.
17422 * locale/programs/simple-hash.h: Likewise.
17423 * malloc/memusage.c: Likewise.
17424 * malloc/memusagestat.c: Likewise.
17425 * nis/nis_defaults.c: Likewise.
17426 * nis/nis_hash.c: Likewise.
17427 * nis/nis_print.c: Likewise.
17428 * nis/nis_xdr.c: Likewise.
17429 * nscd/connections.c: Likewise.
17430 * nscd/hstcache.c: Likewise.
17431 * nscd/nscd_gethst_r.c: Likewise.
17432 * nscd/nscd_getserv_r.c: Likewise.
17433 * nscd/nscd_helper.c: Likewise.
17434 * nscd/servicescache.c: Likewise.
17435 * nss/makedb.c: Likewise.
17436 * nss/nss_db/db-XXX.c: Likewise.
17437 * nss/nss_db/db-initgroups.c: Likewise.
17438 * nss/nss_db/db-netgrp.c: Likewise.
17439 * nss/nss_files/files-network.c: Likewise.
17440 * nss/nss_files/files-parse.c: Likewise.
17441 * posix/bug-regex5.c: Likewise.
17442 * posix/fnmatch_loop.c: Likewise.
17443 * posix/regcomp.c: Likewise.
17444 * posix/regexec.c: Likewise.
17445 * posix/tst-rfc3484-2.c: Likewise.
17446 * posix/tst-rfc3484-3.c: Likewise.
17447 * posix/tst-rfc3484.c: Likewise.
17448 * resolv/nss_dns/dns-canon.c: Likewise.
17449 * resolv/nss_dns/dns-network.c: Likewise.
17450 * resolv/res_init.c: Likewise.
17451 * resolv/res_mkquery.c: Likewise.
17452 * resolv/tst-aton.c: Likewise.
17453 * stdlib/cxa_atexit.c: Likewise.
17454 * stdlib/cxa_finalize.c: Likewise.
17455 * stdlib/gen-fpioconst.c: Likewise.
17456 * stdlib/strtol_l.c: Likewise.
17457 * string/tst-endian.c: Likewise.
17458 * sunrpc/auth_des.c: Likewise.
17459 * sunrpc/clnt_udp.c: Likewise.
17460 * sunrpc/rtime.c: Likewise.
17461 * sunrpc/svcauth_des.c: Likewise.
17462 * sunrpc/xdr.c: Likewise.
17463 * sunrpc/xdr_intXX_t.c: Likewise.
17464 * sunrpc/xdr_rec.c: Likewise.
17465 * sysdeps/generic/ldconfig.h: Likewise.
17466 * sysdeps/generic/ldsodefs.h: Likewise.
17467 * sysdeps/generic/memusage.h: Likewise.
17468 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17470 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17471 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17473 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17476 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17478 * sysdeps/posix/getaddrinfo.c: Likewise.
17479 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17480 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17481 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17482 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17483 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17484 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17485 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17486 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17487 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17488 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17489 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17490 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17491 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17492 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17493 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17494 * sysdeps/x86_64/dl-tls.h: Likewise.
17495 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17496 * time/alt_digit.c: Likewise.
17497 * time/era.c: Likewise.
17498 * wcsmbs/tst-c16c32-1.c: Likewise.
17500 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17502 * math/libm-test.inc (struct test_sincos_data): New type.
17503 (RUN_TEST_LOOP_sincos): New macro.
17504 (sincos_test_data): New variable.
17505 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17507 2013-05-16 Richard Henderson <rth@redhat.com>
17509 * math/atest-exp2.c (LIMB64): New macro.
17510 (CONSTSZ): New macro.
17511 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17513 (print_mpn_fp): ... to function scope.
17514 (read_mpn_hex): Remove.
17515 (get_log2): Remove.
17516 (exp2_mpn): Use mp_log2.
17517 (main): Use mp_exp1.
17519 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17521 * math/libm-test.inc: Remove comment about not testing "inexact"
17523 (INEXACT_EXCEPTION): New macro.
17524 (NO_INEXACT_EXCEPTION): Likewise.
17525 (INVALID_EXCEPTION_OK): Update value.
17526 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17527 (OVERFLOW_EXCEPTION_OK): Likewise.
17528 (UNDERFLOW_EXCEPTION_OK): Likewise.
17529 (IGNORE_ZERO_INF_SIGN): Likewise.
17530 (ERRNO_UNCHANGED): Likewise.
17531 (ERRNO_EDOM): Likewise.
17532 (ERRNO_ERANGE): Likewise.
17533 (test_exceptions): Handle testing "inexact" exceptions.
17534 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17535 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17536 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17537 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17539 (rint_towardzero_test_data): Likewise.
17540 (rint_downward_test_data): Likewise.
17541 (rint_upward_test_data): Likewise.
17543 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17544 with OVERFLOW_EXCEPTION.
17545 (exp10_test_data): Likewise.
17546 (exp2_test_data): Likewise.
17547 (expm1_test_data): Likewise.
17548 (lgamma_test_data): Likewise.
17549 (pow_test_data): Likewise.
17550 (tgamma_test_data): Likewise.
17551 (yn_test_data): Remove duplicate test of overflow.
17553 * math/libm-test.inc (struct test_cc_c_data): New type.
17554 (RUN_TEST_LOOP_cc_c): New macro.
17555 (cpow_test_data): New variable.
17556 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17558 * math/libm-test.inc (struct test_f_L_data): New type.
17559 (RUN_TEST_LOOP_f_L): New macro.
17560 (llrint_test_data): New variable.
17561 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17562 (llrint_tonearest_test_data): New variable.
17563 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17564 (llrint_towardzero_test_data): New variable.
17565 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17566 (llrint_downward_test_data): New variable.
17567 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17568 (llrint_upward_test_data): New variable.
17569 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17570 (llround_test_data): New variable.
17571 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17573 2013-05-13 Peter Collingbourne <pcc@google.com>
17575 * math/atest-exp2.c (get_log2): Remove const attribute.
17577 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17579 * math/libm-test.inc (struct test_f_l_data): New type.
17580 (RUN_TEST_LOOP_f_l): New macro.
17581 (lrint_test_data): New variable.
17582 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17583 (lrint_tonearest_test_data): New variable.
17584 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17585 (lrint_towardzero_test_data): New variable.
17586 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17587 (lrint_downward_test_data): New variable.
17588 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17589 (lrint_upward_test_data): New variable.
17590 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17591 (lround_test_data): New variable.
17592 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17594 2013-05-15 Peter Collingbourne <pcc@google.com>
17596 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17597 (EXTRACT_WORDS64) Use where appropriate.
17598 (INSERT_WORDS64) Likewise.
17600 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17601 constraints with x constraints.
17602 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17604 * malloc/obstack.c (_obstack_compat): Add initializer.
17606 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17608 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17609 si_trapno and add si_addr_lsb to _sifields.sigfault.
17610 (si_trapno): Remove macro.
17611 (si_addr_lsb): Define new macro.
17612 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17614 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17616 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17617 instead of TEST_f_l.
17618 (llrint_test_tonearest): Likewise.
17619 (llrint_test_towardzero): Likewise.
17620 (llrint_test_downward): Likewise.
17621 (llrint_test_upward): Likewise.
17622 (llround_test): Likewise.
17624 * math/libm-test.inc (struct test_f_i_data): Add comment.
17625 (RUN_TEST_LOOP_f_b): New macro.
17626 (RUN_TEST_LOOP_f_b_tg): Likewise.
17627 (finite_test_data): New variable.
17628 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17629 (isfinite_test_data): New variable.
17630 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17631 (isinf_test_data): New variable.
17632 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17633 (isnan_test_data): New variable.
17634 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17635 (isnormal_test_data): New variable.
17636 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17637 (issignaling_test_data): New variable.
17638 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17639 (signbit_test_data): New variable.
17640 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17642 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17643 with INVALID_EXCEPTION.
17644 (acosh_test_data): Likewise.
17645 (asin_test_data): Likewise.
17646 (atanh_test_data): Likewise.
17647 (fmod_test_data): Likewise.
17648 (log_test_data): Likewise.
17649 (log10_test_data): Likewise.
17650 (log2_test_data): Likewise.
17651 (pow_test_data): Likewise.
17652 (sqrt_test_data): Likewise.
17653 (y0_test_data): Likewise.
17654 (y1_test_data): Likewise.
17655 (yn_test_data): Likewise.
17657 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17660 * math/libm-test.inc (struct test_ff_i_data): New type.
17661 (RUN_TEST_LOOP_ff_i_tg): New macro.
17662 (isgreater_test_data): New variable.
17663 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17664 (isgreaterequal_test_data): New variable.
17665 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17666 (isless_test_data): New variable.
17667 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17668 (islessequal_test_data): New variable.
17669 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17670 (islessgreater_test_data): New variable.
17671 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17672 (isunordered_test_data): New variable.
17673 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17675 2013-05-14 David S. Miller <davem@davemloft.net>
17677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17679 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17681 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17683 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17685 (struct test_f_i_data): Change type of max_ulp to int.
17687 * math/libm-test.inc (test_ffI_f1_data): New type.
17688 (RUN_TEST_LOOP_ffI_f1): New macro.
17689 (remquo_test_data): New variable.
17690 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17692 * setjmp/tst-setjmp-fp.c: New file.
17693 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17694 (link-libm): New variable.
17695 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17697 * math/libm-test.inc (struct test_f_i_data): New type.
17698 (RUN_TEST_LOOP_f_i): New macro.
17699 (RUN_TEST_LOOP_f_i_tg): Likewise.
17700 (fpclassify_test_data): New variable.
17701 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17702 (ilogb_test_data): New variable.
17703 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17705 * math/libm-test.inc (scalbln_test): Correct function name in END
17708 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17709 (RUN_TEST_LOOP_fI_f1): New macro.
17710 (frexp_test_data): New variable.
17711 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17713 * math/libm-test.inc (struct test_fF_f1_data): New type.
17714 (RUN_TEST_LOOP_fF_f1): New macro.
17715 (modf_test_data): New variable.
17716 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17718 * math/libm-test.inc (struct test_f_f1_data): New type.
17719 (RUN_TEST_LOOP_f_f1): New macro.
17720 (gamma_test_data): New variable.
17721 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17722 (lgamma_test_data): New variable.
17723 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17725 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17727 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17728 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17729 (main): Comment "tls" pseudo-hwcap.
17731 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17733 * math/libm-test.inc (struct test_fl_f_data): New type.
17734 (RUN_TEST_LOOP_fl_f): New variable.
17735 (scalbln_test_data): New variable.
17736 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17738 * math/libm-test.inc (struct test_fi_f_data): New type.
17739 (RUN_TEST_LOOP_fi_f): New macro.
17740 (ldexp_test_data): New variable.
17741 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17742 (scalbn_test_data): New variable.
17743 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17745 * math/libm-test.inc (struct test_c_f_data): New type.
17746 (RUN_TEST_LOOP_c_f): New macro.
17747 (cabs_test_data): New variable.
17748 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17749 (carg_test_data): New variable.
17750 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17751 (cimag_test_data): New variable.
17752 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17753 (creal_test_data): New variable.
17754 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17756 * math/libm-test.inc (struct test_if_f_data): New type.
17757 (RUN_TEST_LOOP_if_f): New macro.
17758 (jn_test_data): New variable.
17759 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17760 (yn_test_data): New variable.
17761 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17763 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17765 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17767 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17768 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17770 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17772 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17773 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17774 (bench-deps): Add bench-timing.h.
17775 * benchtests-bench-skeleton.c: Include bench-timing.h.
17776 (main): Use TIMING_* macros instead of clock_gettime.
17777 * benchtests/bench-timing.h: New file.
17780 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17781 Renamed from _LIB_VERSION.
17782 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17784 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17786 * math/libm-test.inc (struct test_fff_f_data): New type.
17787 (RUN_TEST_LOOP_fff_f): New macro.
17788 (fma_test_data): New variable.
17789 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17790 (fma_towardzero_test_data): New variable.
17791 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17792 (fma_downward_test_data): New variable.
17793 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17794 (fma_upward_test_data): New variable.
17795 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17797 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17798 (struct test_c_c_data): New type.
17799 (RUN_TEST_LOOP_c_c): New macro.
17800 (cacos_test_data): New variable.
17801 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17802 (cacosh_test_data): New variable.
17803 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17804 (casin_test_data): New variable.
17805 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17806 (casinh_test_data): New variable.
17807 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17808 (catan_test_data): New variable.
17809 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17810 (catanh_test_data): New variable.
17811 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17812 (ccos_test_data): New variable.
17813 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17814 (ccosh_test_data): New variable.
17815 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17816 (cexp_test_data): New variable.
17817 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17818 (clog_test_data): New variable.
17819 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17820 (clog10_test_data): New variable.
17821 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17822 (conj_test_data): New variable.
17823 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17824 (cproj_test_data): New variable.
17825 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17826 (csin_test_data): New variable.
17827 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17828 (csinh_test_data): New variable.
17829 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17830 (csqrt_test_data): New variable.
17831 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17832 (ctan_test_data): New variable.
17833 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17834 (ctan_tonearest_test_data): New variable.
17835 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17836 (ctan_towardzero_test_data): New variable.
17837 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17838 (ctan_downward_test_data): New variable.
17839 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17840 (ctan_upward_test_data): New variable.
17841 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17842 (ctanh_test_data): New variable.
17843 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (ctanh_tonearest_test_data): New variable.
17845 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17846 (ctanh_towardzero_test_data): New variable.
17847 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17848 (ctanh_downward_test_data): New variable.
17849 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17850 (ctanh_upward_test_data): New variable.
17851 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17852 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17855 * math/libm-test.inc (struct test_ff_f_data): New type.
17856 (struct test_ff_f_data_nexttoward): Likewise.
17857 (RUN_TEST_LOOP_2_f): New macro.
17858 (RUN_TEST_LOOP_ff_f): Likewise.
17859 (atan2_test_data): New variable.
17860 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17861 (copysign_test_data): New variable.
17862 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17863 (fdim_test_data): New variable.
17864 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17865 (fmax_test_data): New variable.
17866 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17867 (fmin_test_data): New variable.
17868 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17869 (fmod_test_data): New variable.
17870 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17871 (hypot_test_data): New variable.
17872 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17873 (nextafter_test_data): New variable.
17874 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17875 (nexttoward_test_data): New variable.
17876 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17877 (pow_test_data): New variable.
17878 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17879 (pow_tonearest_test_data): New variable.
17880 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17881 (pow_towardzero_test_data): New variable.
17882 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17883 (pow_downward_test_data): New variable.
17884 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17885 (pow_upward_test_data): New variable.
17886 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17887 (remainder_test_data): New variable.
17888 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17889 (scalb_test_data): New variable.
17890 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17891 * sysdeps/i386/fpu/libm-test-ulps: Update.
17893 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17895 * math/libm-test.inc (fma_test): Use max_value instead of local
17897 (nextafter_test): Likewise.
17899 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17900 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17901 (acos_downward_test_data): New variable.
17902 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17903 (acos_upward_test_data): New variable.
17904 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17905 (acosh_test_data): New variable.
17906 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17907 (asin_test_data): New variable.
17908 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17909 (asin_tonearest_test_data): New variable.
17910 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17911 (asin_towardzero_test_data): New variable.
17912 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17913 (asin_downward_test_data): New variable.
17914 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17915 (asin_upward_test_data): New variable.
17916 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17917 (asinh_test_data): New variable.
17918 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17919 (atan_test_data): New variable.
17920 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17921 (atanh_test_data): New variable.
17922 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17923 (cbrt_test_data): New variable.
17924 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17925 (ceil_test_data): New variable.
17926 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17927 (cos_test_data): New variable.
17928 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17929 (cos_tonearest_test_data): New variable.
17930 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17931 (cos_towardzero_test_data): New variable.
17932 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17933 (cos_downward_test_data): New variable.
17934 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17935 (cos_upward_test_data): New variable.
17936 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17937 (cosh_test_data): New variable.
17938 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17939 (cosh_tonearest_test_data): New variable.
17940 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17941 (cosh_towardzero_test_data): New variable.
17942 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17943 (cosh_downward_test_data): New variable.
17944 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17945 (cosh_upward_test_data): New variable.
17946 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17947 (erf_test_data): New variable.
17948 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17949 (erfc_test_data): New variable.
17950 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17951 (exp_test_data): New variable.
17952 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17953 (exp_tonearest_test_data): New variable.
17954 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17955 (exp_towardzero_test_data): New variable.
17956 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17957 (exp_downward_test_data): New variable.
17958 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17959 (exp_upward_test_data): New variable.
17960 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17961 (exp10_test_data): New variable.
17962 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17963 (exp2_test_data): New variable.
17964 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17965 (expm1_test_data): New variable.
17966 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17967 (fabs_test_data): New variable.
17968 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17969 (floor_test_data): New variable.
17970 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17971 (j0_test_data): New variable.
17972 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17973 (j1_test_data): New variable.
17974 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17975 (log_test_data): New variable.
17976 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17977 (log10_test_data): New variable.
17978 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17979 (log1p_test_data): New variable.
17980 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17981 (log2_test_data): New variable.
17982 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17983 (logb_test_data): New variable.
17984 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17985 (logb_downward_test_data): New variable.
17986 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17987 (nearbyint_test_data): New variable.
17988 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (rint_test_data): New variable.
17990 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (rint_tonearest_test_data): New variable.
17992 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17993 (rint_towardzero_test_data): New variable.
17994 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17995 (rint_downward_test_data): New variable.
17996 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17997 (rint_upward_test_data): New variable.
17998 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17999 (round_test_data): New variable.
18000 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18001 (sin_test_data): New variable.
18002 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18003 (sin_tonearest_test_data): New variable.
18004 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18005 (sin_towardzero_test_data): New variable.
18006 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18007 (sin_downward_test_data): New variable.
18008 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18009 (sin_upward_test_data): New variable.
18010 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18011 (sinh_test_data): New variable.
18012 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18013 (sinh_tonearest_test_data): New variable.
18014 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18015 (sinh_towardzero_test_data): New variable.
18016 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18017 (sinh_downward_test_data): New variable.
18018 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18019 (sinh_upward_test_data): New variable.
18020 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18021 (sqrt_test_data): New variable.
18022 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18023 (tan_test_data): New variable.
18024 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18025 (tan_tonearest_test_data): New variable.
18026 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18027 (tan_towardzero_test_data): New variable.
18028 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18029 (tan_downward_test_data): New variable.
18030 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18031 (tan_upward_test_data): New variable.
18032 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18033 (tanh_test_data): New variable.
18034 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18035 (tgamma_test_data): New variable.
18036 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18037 (trunc_test_data): New variable.
18038 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18039 (y0_test_data): New variable.
18040 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18041 (y1_test_data): New variable.
18042 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18043 (significand_test_data): New variable.
18044 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18046 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18049 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18051 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18053 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18055 2013-05-10 Andreas Jaeger <aj@suse.de>
18058 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18059 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18061 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18063 * math/gen-libm-test.pl (adjust_arg): New function.
18064 (special_functions): Handle generating output in both functions
18066 (parse_args): Likewise.
18067 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18068 $in_func argument to parse_args.
18069 * math/libm-test.inc (struct test_f_f_data): New type.
18070 (IF_ROUND_INIT_): New macro.
18071 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18072 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18073 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18074 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18075 (ROUND_RESTORE_): Likewise.
18076 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18077 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18078 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18079 (ROUND_RESTORE_FE_UPWARD): Likewise.
18080 (RUN_TEST_LOOP_f_f): New macro.
18081 (acos_test_data): New variable.
18082 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18083 (acos_tonearest_test_data): New variable.
18084 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18086 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18088 * benchtests/bench-skeleton.c (startup): Fix coding style.
18090 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18093 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18094 negative infinity argument.
18095 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18096 negative infinity argument.
18097 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18098 negative infinity argument.
18099 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18102 2013-05-10 Florian Weimer <fweimer@redhat.com>
18104 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18105 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18106 * iconv/iconv_prog.c (main): Likewise.
18107 * locale/programs/charmap-dir.c (charmap_readdir)
18108 (fopen_uncompressed): Likewise.
18109 * locale/programs/locfile.c (siblings_uncached)
18110 (write_locale_data): Use lstat64 instead of lstat.
18111 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18114 2013-05-10 Andreas Jaeger <aj@suse.de>
18117 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18119 Include <locale.h>.
18121 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18123 * elf/dl-close.c (_dl_close_worker): Add comments.
18125 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18130 (__ieee754_rem_pio2l): Update comments.
18133 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18135 (__ieee754_rem_pio2l): Update comments.
18137 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18138 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18140 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18143 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18144 (M_PI_34_LOG10El): Likewise.
18145 (M_PI2_LOG10El): Likewise.
18146 (M_PI4_LOG10El): Likewise.
18147 (M_PI_LOG10El): Likewise.
18149 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18153 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18155 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18156 (MINUS_ZERO_INIT): Likewise.
18157 (PLUS_INFTY_INIT): Likewise.
18158 (MINUS_INFTY_INIT): Likewise.
18159 (QNAN_VALUE_INIT): Likewise.
18160 (MAX_VALUE_INIT): Likewise.
18161 (MIN_VALUE_INIT): Likewise.
18162 (MIN_SUBNORM_VALUE_INIT): Likewise.
18163 (plus_zero): Initialize with PLUS_ZERO_INIT.
18164 (minus_zero): Initialize with MINUS_ZERO_INIT.
18165 (plus_infty): Initialize with PLUS_INFTY_INIT.
18166 (minus_infty): Initialize with MINUS_INFTY_INIT.
18167 (qnan_value): Initialize with QNAN_VALUE_INIT.
18168 (max_value): Initialize with MAX_VALUE_INIT.
18169 (min_value): Initialize with MIN_VALUE_INIT.
18170 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18172 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18173 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18174 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18175 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18177 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18178 (RUN_TEST_2_f): Likewise.
18179 (RUN_TEST_ff_f): Likewise.
18180 (RUN_TEST_fi_f): Likewise.
18181 (RUN_TEST_fl_f): Likewise.
18182 (RUN_TEST_fff_f): Likewise.
18183 (RUN_TEST_c_f): Likewise.
18184 (RUN_TEST_f_f1): Likewise.
18185 (RUN_TEST_fF_f1): Likewise.
18186 (RUN_TEST_fI_f1): Likewise.
18187 (RUN_TEST_ffI_f1): Likewise.
18188 (RUN_TEST_c_c): Likewise.
18189 (RUN_TEST_cc_c): Likewise.
18190 (RUN_TEST_f_i): Likewise.
18191 (RUN_TEST_f_i_tg): Likewise.
18192 (RUN_TEST_ff_i_tg): Likewise.
18193 (RUN_TEST_f_b): Likewise.
18194 (RUN_TEST_f_b_tg): Likewise.
18195 (RUN_TEST_f_l): Likewise.
18196 (RUN_TEST_f_L): Likewise.
18197 (RUN_TEST_sincos): Likewise.
18198 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18199 whether to show exceptions. Do not include ");\n" in return
18201 (special_functions): Output call to RUN_TEST_sincos instead of
18202 check_float calls. Update calls to new_test.
18203 (parse_args): Output call to single RUN_TEST_* macro instead of
18204 check_* calls and other assignments. Update calls to new_test.
18210 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18211 input to result for tgamma overflow.
18212 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18213 (gamma_coeff): New variable.
18214 (NCOEFF): New macro.
18215 (gamma_positive): New function.
18216 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18217 underflow here. Use gamma_positive instead of exp (lgamma) for
18219 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18220 (gamma_coeff): New variable.
18221 (NCOEFF): New macro.
18222 (gammaf_positive): New function.
18223 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18224 underflow here. Use gamma_positive instead of exp (lgamma) for
18226 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18227 (gamma_coeff): New variable.
18228 (NCOEFF): New macro.
18229 (gammal_positive): New function.
18230 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18231 underflow here. Use gamma_positive instead of exp (lgamma) for
18233 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18234 (gamma_coeff): New variable.
18235 (NCOEFF): New macro.
18236 (gammal_positive): New function.
18237 (__ieee754_gammal_r): Handle positive infinity, overflow and
18238 underflow here. Handle NaN the same as positive infinity. Remove
18239 check x < 0xffffffff for negative integers. Use gamma_positive
18240 instead of exp (lgamma) for other arguments.
18241 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18242 (gamma_coeff): New variable.
18243 (NCOEFF): New macro.
18244 (gammal_positive): New function.
18245 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18246 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18251 * sysdeps/generic/math_private.h (__gamma_productf): New
18253 (__gamma_product): Likewise.
18254 (__gamma_productl): Likewise.
18255 * math/Makefile (libm-calls): Add gamma_product.
18256 * math/libm-test.inc (tgamma_test): Add more tests.
18257 * sysdeps/i386/fpu/libm-test-ulps: Update.
18258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18260 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18262 * benchtests/bench-skeleton.c (main): Preheat CPU.
18264 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18266 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18268 2013-05-07 Roland McGrath <roland@hack.frob.com>
18270 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18271 and _dl_skip_args_internal.
18273 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18275 * manual/message.texi (Message Translation): Talk about users.
18276 Message to key mapping impacts design.
18278 2013-05-06 Roland McGrath <roland@hack.frob.com>
18280 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18282 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18284 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18285 * sysdeps/wordsize-64/glob64.c: ... here.
18287 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18288 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18291 * debug/getlogin_r_chk.c: Moved to ...
18292 * login/getlogin_r_chk.c: ... here.
18293 * debug/Makefile (routines): Move getlogin_r_chk to ...
18294 * login/Makefile (routines): ... here.
18295 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18296 * login/Versions (libc: GLIBC_2.4): ... here.
18298 * io/poll.c (__poll): Renamed from poll.
18299 Add libc_hidden_def.
18300 (poll): Define as weak alias.
18302 * debug/ptsname_r_chk.c: Moved to ...
18303 * login/ptsname_r_chk.c: ... here.
18304 * debug/Makefile (routines): Move ptsname_r_chk to ...
18305 * login/Makefile (routines): ... here.
18306 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18307 * login/Versions (libc: GLIBC_2.4): ... here.
18309 * posix/getlogin.c: Moved to ...
18310 * login/getlogin.c: ... here.
18311 * posix/getlogin_r.c: Moved to ...
18312 * login/getlogin_r.c: ... here.
18313 * posix/getlogin_r.c: Moved to ...
18314 * login/getlogin_r.c: ... here.
18315 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18316 * login/Makefile (routines): ... here.
18317 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18318 * login/Versions (libc: GLIBC_2.0): ... here.
18320 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18321 (setrlimit): Define as weak alias.
18323 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18324 Call __ names for open, ftruncate, and close.
18325 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18326 (truncate): Define as weak alias.
18328 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18330 * math/gen-libm-test.pl (parse_args): Initialize x before each
18331 test of frexp, modf and remquo.
18333 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18334 test signgam value.
18336 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18340 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18342 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18344 2013-05-06 Roland McGrath <roland@hack.frob.com>
18346 * elf/dl-writev.h: New file.
18347 * elf/dl-misc.c: Include it.
18348 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18349 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18351 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18353 * math/libm-test.inc (noXFails): Remove variable.
18354 (noXPasses): Likewise.
18355 (BUILD_COMPLEX_INT): Remove macro.
18356 (print_screen): Remove xfail argument.
18357 (print_screen_max_error): Likewise.
18358 (update_stats): Likewise.
18359 (print_max_error): Likewise. Update calls to other affected
18361 (print_complex_max_error): Likewise.
18362 (test_single_exception): Update calls to print_screen.
18363 (test_single_errno): Likewise.
18364 (check_float_internal): Remove xfail argument. Update calls to
18365 other affected functions.
18366 (check_float): Likewise.
18367 (check_complex): Likewise.
18368 (check_int): Likewise.
18369 (check_long): Likewise.
18370 (check_bool): Likewise.
18371 (check_longlong): Likewise.
18372 (main): Don't print noXFails and noXPasses.
18373 * math/gen-libm-test.pl (top level): Don't mention expected
18374 failure handling in comment.
18375 (new_test): Don't handle expected failures.
18376 (parse_args): Don't mention expected failure handling in comment.
18377 (generate_testfile): Don't handle expected failures.
18378 (parse_ulps): Likewise.
18379 (print_ulps_file): Likewise.
18380 (get_failure): Remove function.
18381 (output_test): Don't handle expected failures.
18382 * make/README.libm-test: Don't mention expected failure handling.
18384 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18385 (minus_zero): Likewise.
18386 (plus_infty): Likewise.
18387 (minus_infty): Likewise.
18388 (qnan_value): Likewise.
18389 (max_value): Likewise.
18390 (min_value): Likewise.
18391 (min_subnorm_value): Likewise.
18392 (initialize): Do not initialize those variables dynamically.
18394 2013-05-03 Roland McGrath <roland@hack.frob.com>
18396 * io/open.c (__open_2): Moved to ...
18397 * io/open_2.c: ... this new file.
18398 * io/open64.c (__open64_2): Moved to ...
18399 * io/open64_2.c: ... this new file.
18400 * io/openat.c (__openat_2): Moved to ...
18401 * io/openat_2.c: ... this new file.
18402 * io/openat64.c (__openat64_2): Moved to ...
18403 * io/openat64_2.c: ... this new file.
18404 * io/Makefile (routines): Add them.
18405 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18406 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18407 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18408 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18409 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18410 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18411 (__openat64): Add hidden_ver.
18412 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18413 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18415 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18416 Separately conditionalize setting of GLRO(dl_sysinfo) so
18417 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18418 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18420 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18422 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18425 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18426 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18427 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18428 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18429 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18431 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18433 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18434 test signgam value.
18436 * math/libm-test.inc (hypot_test): Do not use
18437 IGNORE_ZERO_INF_SIGN.
18439 2013-05-03 Andreas Jaeger <aj@suse.de>
18441 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18443 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18444 (PF_MAX): Adjust for VSOCK change.
18446 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18450 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18453 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18454 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18455 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18457 2013-05-02 David S. Miller <davem@davemloft.net>
18459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18461 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18463 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18465 2013-05-01 Roland McGrath <roland@hack.frob.com>
18467 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18469 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18472 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18473 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18474 Use __attribute__ ((__gnu_inline__)).
18475 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18476 Don't use __attribute__ ((__gnu_inline__)).
18478 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18481 * math/s_catan.c (__catan): Handle small real or imaginary part of
18482 input specially to avoid spurious underflow.
18483 * math/s_catanf.c (__catanf): Likewise.
18484 * math/s_catanh.c (__catanh): Likewise.
18485 * math/s_catanhf.c (__catanhf): Likewise.
18486 * math/s_catanhl.c (__catanhl): Likewise.
18487 * math/s_catanl.c (__catanl): Likewise.
18488 * math/libm-test.inc (catan_test): Add more tests.
18489 (catanh_test): Likewise.
18490 * sysdeps/i386/fpu/libm-test-ulps: Update.
18491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18493 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18497 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18500 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18501 accurately for denominator in atan2.
18502 * math/s_catanf.c (__catanf): Likewise.
18503 * math/s_catanh.c (__catanh): Likewise.
18504 * math/s_catanhf.c (__catanhf): Likewise.
18505 * math/s_catanhl.c (__catanhl): Likewise.
18506 * math/s_catanl.c (__catanl): Likewise.
18507 * math/libm-test.inc (catan_test): Add more tests.
18508 (catanh_test): Likewise.
18509 * sysdeps/i386/fpu/libm-test-ulps: Update.
18510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18514 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18516 * benchtests/Makefile (bench): Remove slow benchmarks.
18517 * benchtests/atan-inputs: Add slow benchmark inputs.
18518 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18519 (BENCH_FUNC): Accept variant offset.
18521 * benchtests/bench-skeleton.c (main): Run benchmark for each
18523 * benchtests/cos-inputs: Add slow benchmark inputs.
18524 * benchtests/exp-inputs: Likewise.
18525 * benchtests/pow-inputs: Likewise.
18526 * benchtests/sin-inputs: Likewise.
18527 * benchtests/slowatan-inputs: Remove.
18528 * benchtests/slowatan.c: Remove.
18529 * benchtests/slowcos-inputs: Remove.
18530 * benchtests/slowcos.c: Remove.
18531 * benchtests/slowexp-inputs: Remove.
18532 * benchtests/slowexp.c: Remove.
18533 * benchtests/slowpow-inputs: Remove.
18534 * benchtests/slowpow.c: Remove.
18535 * benchtests/slowsin-inputs: Remove.
18536 * benchtests/slowsin.c: Remove.
18537 * benchtests/slowtan-inputs: Remove.
18538 * benchtests/slowtan.c: Remove.
18539 * benchtests/tan-inputs: Add slow benchmark inputs.
18540 * scripts/bench.pl: Parse comments and directives.
18542 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18544 ($(objpfx)bench-%.c): Remove *-ITER.
18545 * benchtests/bench-modf.c: Remove definition of ITER.
18546 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18547 (main): Loop for DURATION seconds instead of fixed number of
18549 * scripts/bench.pl: Don't expect iterations in parameters.
18551 2013-04-29 Roland McGrath <roland@hack.frob.com>
18553 * io/fchdir.c (__fchdir): Renamed from fchdir.
18554 (fchdir): Define as weak alias.
18556 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18558 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18559 (ERRNO_EDOM): Likewise.
18560 (ERRNO_ERANGE): Likewise.
18561 (noErrnoTests): New variable.
18562 (init_max_error): Set errno to 0.
18563 (test_single_errno): New function.
18564 (test_errno): Likewise.
18565 (check_float_internal): Call test_errno. Set errno to 0.
18566 (check_complex): Refer to errno tests in comment.
18567 (check_int): Call test_errno. Set errno to 0.
18568 (check_long): Likewise.
18569 (check_bool): Likewise.
18570 (check_longlong): Likewise.
18571 (cos_test): Use ERRNO_* flags for errno tests instead of
18573 (expm1_test): Likewise.
18574 (fmod_test): Likewise.
18575 (ilogb_test): Likewise.
18576 (lgamma_test): Likewise.
18577 (pow_test): Likewise.
18578 (remainder_test): Likewise.
18579 (sin_test): Likewise.
18580 (tan_test): Likewise.
18581 (yn_test): Likewise.
18582 (initialize): Set errno to 0.
18583 (main): Print number of errno tests.
18584 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18586 2013-04-29 Andreas Jaeger <aj@suse.de>
18589 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18593 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18594 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18598 * stdlib/random.c (__initstate): Return NULL if
18602 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18603 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18606 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18610 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18612 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18613 of individual tests.
18614 (casin_test): Likewise.
18615 (casinh_test): Likewise.
18617 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18620 * math/s_catan.c (__catan): Handle arguments with large real or
18621 imaginary part separately without squaring.
18622 * math/s_catanf.c (__catanf): Likewise.
18623 * math/s_catanh.c (__catanh): Likewise.
18624 * math/s_catanhf.c (__catanhf): Likewise.
18625 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18627 (__catanhl): Handle arguments with large real or imaginary part
18628 separately without squaring.
18629 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18631 (__catanl): Handle arguments with large real or imaginary part
18632 separately without squaring.
18633 * math/libm-test.inc (catan_test): Add more tests.
18634 (catanh_test): Likewise.
18635 * sysdeps/i386/fpu/libm-test-ulps: Update.
18636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18638 2013-04-27 Andreas Jaeger <aj@suse.de>
18641 * stdlib/stdlib.h: Update guards for qecvt.
18642 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18645 2013-04-27 Allan McRae <allan@archlinux.org>
18647 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18652 * math/s_catan.c: Include <float.h>.
18653 (__catan): Ensure underflow exception occurs for underflowed
18655 * math/s_catanf.c: Include <float.h>.
18656 (__catanf): Ensure underflow exception occurs for underflowed
18658 * math/s_catanh.c: Include <float.h>.
18659 (__catanh): Ensure underflow exception occurs for underflowed
18661 * math/s_catanhf.c: Include <float.h>.
18662 (__catanhf): Ensure underflow exception occurs for underflowed
18664 * math/s_catanhl.c: Include <float.h>.
18665 (__catanhl): Ensure underflow exception occurs for underflowed
18667 * math/s_catanl.c: Include <float.h>.
18668 (__catanl): Ensure underflow exception occurs for underflowed
18670 * math/libm-test.inc (catan_test): Add more tests.
18671 (catanh_test): Likewise.
18674 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18675 underflowed result.
18676 * math/s_ccoshf.c (__ccoshf): Likewise.
18677 * math/s_ccoshl.c (__ccoshl): Likewise.
18678 * math/s_csin.c (__csin): Likewise.
18679 * math/s_csinf.c (__csinf): Likewise.
18680 * math/s_csinh.c (__csinh): Likewise.
18681 * math/s_csinhf.c (__csinhf): Likewise.
18682 * math/s_csinhl.c (__csinhl): Likewise.
18683 * math/s_csinl.c (__csinl): Likewise.
18684 * math/libm-test.inc (ccos_test): Add more tests.
18685 (ccosh_test): Likewise.
18686 (csin_test): Likewise.
18687 (csinh_test): Likewise.
18689 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18691 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18692 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18693 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18694 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18695 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18696 powerpc/power5+/fpu folders.
18697 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18700 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18704 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18706 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18707 additions to variable.
18708 [$(config-machine) = x86_64] (modules-names): Likewise.
18709 ($(objpfx)tst-audit3): Remove dependency.
18710 ($(objpfx)tst-audit3.out): Likewise.
18711 ($(objpfx)tst-audit4): Likewise.
18712 ($(objpfx)tst-audit4.out): Likewise.
18713 ($(objpfx)tst-audit5): Likewise.
18714 ($(objpfx)tst-audit5.out): Likewise.
18715 ($(objpfx)tst-audit6): Likewise.
18716 ($(objpfx)tst-audit6.out): Likewise.
18717 ($(objpfx)tst-audit7): Likewise.
18718 ($(objpfx)tst-audit7.out): Likewise.
18719 (tst-audit3-ENV): Remove variable.
18720 (tst-audit4-ENV): Likewise.
18721 (tst-audit5-ENV): Likewise.
18722 (tst-audit6-ENV): Likewise.
18723 (tst-audit7-ENV): Likewise.
18724 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18725 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18726 addition to variable.
18727 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18728 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18729 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18730 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18731 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18732 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18733 tst-audit3, tst-audit4 and tst-audit5.
18734 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18735 tst-audit6 and tst-audit7.
18736 [$(subdir) = elf] (modules-names): Add audit modules for those
18738 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18739 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18740 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18741 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18742 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18743 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18744 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18745 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18746 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18747 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18748 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18749 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18750 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18751 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18752 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18753 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18755 [$(subdir) = elf && $(config-cflags-avx) = yes]
18756 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18757 [$(subdir) = elf && $(config-cflags-avx) = yes]
18758 (CFLAGS-tst-auditmod4a.c): Likewise.
18759 [$(subdir) = elf && $(config-cflags-avx) = yes]
18760 (CFLAGS-tst-auditmod4b.c): Likewise.
18761 [$(subdir) = elf && $(config-cflags-avx) = yes]
18762 (CFLAGS-tst-auditmod6b.c): Likewise.
18763 [$(subdir) = elf && $(config-cflags-avx) = yes]
18764 (CFLAGS-tst-auditmod6c.c): Likewise.
18765 [$(subdir) = elf && $(config-cflags-avx) = yes]
18766 (CFLAGS-tst-auditmod7b.c): Likewise.
18767 * elf/tst-audit3.c: Move to ...
18768 * sysdeps/x86_64/tst-audit3.c: ... here.
18769 * elf/tst-audit4.c: Move to ...
18770 * sysdeps/x86_64/tst-audit4.c: ... here.
18771 * elf/tst-audit5.c: Move to ...
18772 * sysdeps/x86_64/tst-audit5.c: ... here.
18773 * elf/tst-audit6.c: Move to ...
18774 * sysdeps/x86_64/tst-audit6.c: ... here.
18775 * elf/tst-audit7.c: Move to ...
18776 * sysdeps/x86_64/tst-audit7.c: ... here.
18777 * elf/tst-auditmod3a.c: Move to ...
18778 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18779 * elf/tst-auditmod3b.c: Move to ...
18780 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18781 * elf/tst-auditmod4a.c: Move to ...
18782 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18783 * elf/tst-auditmod4b.c: Move to ...
18784 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18785 * elf/tst-auditmod5a.c: Move to ...
18786 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18787 * elf/tst-auditmod5b.c: Move to ...
18788 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18789 * elf/tst-auditmod6a.c: Move to ...
18790 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18791 * elf/tst-auditmod6b.c: Move to ...
18792 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18793 * elf/tst-auditmod6c.c: Move to ...
18794 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18795 * elf/tst-auditmod7a.c: Move to ...
18796 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18797 * elf/tst-auditmod7b.c: Move to ...
18798 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18800 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18803 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18804 define unconditionally.
18805 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18806 define unconditionally.
18807 (INT8_C, INT16_C, etc.): Likewise.
18809 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18811 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18812 __ehdr_start with hidden visibility.
18814 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18816 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18818 * math/libm-test.inc (cos_test): Use accurate hex constants.
18819 (sincost_test): Likewise.
18821 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18823 * math/libm-test.inc (catan_test): Add more tests.
18824 (catanh_test): Likewise.
18826 * math/s_catanf.c (__catanf): Use suffixed floating-point
18828 * math/s_catanhf.c (__catanhf): Likewise.
18829 * math/s_catanhl.c (__catanhl): Likewise.
18830 * math/s_catanl.c (__catanl): Likewise.
18833 * math/s_catan.c (__catan): Calculate imaginary part of result
18834 with log1p not log unless computing log of number close to 0.
18835 * math/s_catanf.c (__catanf): Likewise.
18836 * math/s_catanl.c (__catanl): Likewise.
18837 * math/s_catanh.c (__catanh): Calculate real part of result with
18838 log1p not log unless computing log of number close to 0.
18839 * math/s_catanhf.c (__catanhf): Likewise.
18840 * math/s_catanhl.c (__catanhl): Likewise.
18841 * math/libm-test.inc (catan_test): Add more tests.
18842 (catanh_test): Likewise.
18843 * sysdeps/i386/fpu/libm-test-ulps: Update.
18844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18846 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18848 * benchtests/Makefile: Mention files in which fast and slow
18849 paths of math functions are implemented.
18851 2013-04-23 Roland McGrath <roland@hack.frob.com>
18853 * sysdeps/posix/timespec_get.c: New file.
18855 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18857 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18859 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18861 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18862 powerpc/power5/fpu folders.
18863 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18864 * benchtests/Makefile: Add modf testcase.
18865 * benchtests/bench-modf.c: New file: Benchmark test for mo
18867 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18870 * time/Makefile (tests): Add tst-strptime-whitespace.
18871 * time/strptime_l.c (get_number): Use ISSPACE.
18872 (__strptime_internal): Likewise.
18873 * time/tst-strptime-whitespace.c: New test case.
18875 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18877 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18879 (_nss_files_init): Set it here.
18881 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18883 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18884 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18887 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18889 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18891 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18893 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18896 2013-04-21 David S. Miller <davem@davemloft.net>
18898 * po/ru.po: Update Russion translation from translation project.
18900 2013-04-17 Adam Conrad <adconrad@0c3.net>
18902 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18905 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18907 * configure.in: Remove i386 configure warning. Remove i386 case.
18908 * configure: Regenerate.
18909 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18910 Add example to error message.
18911 * sysdeps/i386/configure: Regenerate.
18913 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18915 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18917 * benchtests/cos-inputs: New file.
18918 * benchtests/slowcos-inputs: New file.
18919 * benchtests/slowcos.c: New file.
18920 * benchtests/slowtan-inputs: New file.
18921 * benchtests/slowtan.c: New file.
18922 * benchtests/tan-inputs: New file.
18924 2013-04-16 Roland McGrath <roland@hack.frob.com>
18926 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18929 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18931 * benchtests/Makefile: Include cppflags-iterator.mk to add
18932 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18934 * Makefile.in (bench-clean): New target.
18935 * benchtests/Makefile (bench-clean): Likewise.
18937 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18939 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18941 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18943 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18945 2013-04-15 Andreas Schwab <schwab@suse.de>
18947 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18949 * nscd/pwdcache.c (cache_addpw): Likewise.
18950 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18953 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18955 * benchtests/Makefile (bench): Write all output to
18956 bench-out.tmp together.
18958 2013-04-15 Andreas Schwab <schwab@suse.de>
18960 * nscd/nscd.c (main): Don't fork again after closing files.
18962 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18964 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18966 * benchtests/Rules (bench-deps): Collect dependencies into a
18967 single variable. Add Makefile to dependencies.
18968 ($(objpfx)bench-%.c): Depend on bench-deps.
18970 2013-04-12 Roland McGrath <roland@hack.frob.com>
18971 Xavier Roche <roche+kml2@exalead.com>
18974 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18975 just that it's a file descriptor.
18976 * manual/llio.texi (Synchronizing AIO Operations): Update description
18977 for EBADF error from aio_fsync.
18979 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18981 * Rules (bench): Move target definition...
18982 * benchtests/Makefile: ... here.
18984 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18986 * math/libm-test.inc (cos_test): Fix PI/2 test.
18987 (sincos_test): Likewise.
18988 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18989 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18991 2013-04-11 Andreas Schwab <schwab@suse.de>
18994 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18995 accept exponent character only when digits were seen.
18996 * stdio-common/Makefile (tests): Add bug26.
18997 * stdio-common/bug26.c: New file.
19000 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19003 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19005 * Makeconfig (rtld-prefix): Define built linker prefix.
19006 * Rules (run-bench): Use it.
19007 * math/Makefile (run-regen-ulps): Likewise.
19009 * Rules (bench): Remove eval.
19011 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19012 Roland McGrath <roland@hack.frob.com>
19013 Ondrej Bilka <neleai@seznam.cz>
19016 * time/getdate.c: Include ctype.h and alloca.h.
19017 (__getdate_r): Trim leading and trailing spaces of input.
19018 * time/tst-getdate.c (tests): Add tests with leading and
19021 2013-04-08 Roland McGrath <roland@hack.frob.com>
19024 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19025 when computing value.
19027 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19029 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19030 Use testrun.sh to run libm tests.
19033 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19035 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19038 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19040 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19042 * Makefile.in (regen-ulps): New target.
19043 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19044 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19045 [ifneq (no,$(PERL)] (regen-ulps): New target.
19046 [ifeq (no,$(PERL)] (regen-ulps): New target.
19047 * math/libm-test.inc (ulps_file_name): Define.
19048 (output_dir): New variable.
19049 (options): Add "output-dir" option.
19050 (parse_opt): Handle 'o' case.
19051 (main): If output_dir is non-NULL use it as a prefix
19053 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19055 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19057 [BZ #10060, #10062]
19058 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19059 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19060 fail configure if __sync_val_compare_and_swap is not inlined.
19061 * sysdeps/i386/configure: Regenerate.
19062 * configure.in: Build for i686 when configured for i386.
19063 * configure: Regenerate.
19064 * README: Remove i386 reference.
19066 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19068 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19069 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19071 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19073 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19074 (lmsnanval): New variables.
19075 (F): Add conversion tests.
19076 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19077 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19079 * stdio-common/tstdiomisc.c (F): Properly collect individual
19082 [BZ #14686, #15336]
19083 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19084 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19085 Instead, use input NaN values or generate a qNaN by arithmetic
19086 operation. Also fix bugs to comply with the standard.
19087 * math/libm-test.inc (remainder_test): Add more tests.
19089 [BZ #15335, #15342]
19090 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19092 input NaN values or generate a qNaN by arithmetic operation.
19094 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19097 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19100 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19103 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19104 underflowed result.
19105 * math/s_cexpf.c (__cexpf): Likewise.
19106 * math/s_cexpl.c (__cexpl): Likewise.
19107 * math/libm-test.inc (cexp_test): Add more tests.
19109 2013-04-03 Andreas Schwab <schwab@suse.de>
19112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19113 order arrays from heap if bigger than alloca cutoff.
19115 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19117 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19118 (SNAN_TESTS_double): Refer to GCC PR56831.
19119 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19122 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19124 * Rules (bench): Move bench.out after the run is complete.
19126 * Rules (bench): Echo currently running benchmark.
19128 * benchtests/Makefile (bench): Add atan and slowatan.
19129 * benchtests/atan-inputs: New file.
19130 * benchtests/slowatan-inputs: New file.
19131 * benchtests/slowatan.c: New file.
19133 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19134 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19138 * sysdeps/unix/sysv/linux/kernel-features.h
19139 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19140 __ASSUME_XFS_RESTRICTED_CHOWN.
19141 * sysdeps/unix/sysv/linux/pathconf.c
19142 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19143 Save and restore errno.
19145 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19148 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19149 arguments using __kernel_casinh.
19150 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19151 arguments using __kernel_casinhf.
19152 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19153 arguments using __kernel_casinhl.
19154 * math/libm-test.inc (cacosh_test): Add more tests.
19155 * sysdeps/i386/fpu/libm-test-ulps: Update.
19156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19158 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19160 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19163 * bench/Makefile (bench): Add sin and slowsin.
19164 * benchtests/sin-inputs: New file.
19165 * benchtests/slowsin-inputs: New file.
19166 * benchtests/slowsin.c: New file.
19168 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19169 (bench): Add slowexp and slowpow.
19170 (exp-ITER): Increase iterations.
19171 (pow-ITER): Likewise.
19172 * benchtests/exp-inputs: Change input.
19173 * benchtests/pow-inputs: Likewise.
19174 * benchtests/slowexp-inputs: New file.
19175 * benchtests/slowexp.c: New file.
19176 * benchtests/slowpow-inputs: New file.
19177 * benchtests/slowpow.c: New file.
19179 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19181 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19183 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19184 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19185 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19186 * benchtests/Makefile: Add rint benchtest.
19187 * benchtests/rint-inputs: Input for rint benchtest.
19189 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19191 * Versions.def (libm): Add GLIBC_2.18.
19192 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19193 hidden libm prototypes.
19194 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19195 * math/Makefile (libm-calls): Add s_issignaling.
19196 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19197 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19198 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19200 * math/math.h [__USE_GNU] (issignaling): New macro.
19201 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19202 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19204 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19207 * manual/arith.texi (issignaling): New section.
19208 * manual/libm-err-tab.pl (@all_functions): Update comment.
19209 * math/gen-libm-test.pl (parse_args): Apply special handling for
19211 * math/libm-test.inc (print_float, issignaling_test): New
19213 (check_float_internal): Add issignaling checks.
19214 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19215 default definition.
19216 * sysdeps/powerpc/math-tests.h: New file.
19217 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19219 * math/test-snan.c (TEST_FUNC): Likewise.
19221 2013-03-30 David S. Miller <davem@davemloft.net>
19223 * po/de.po: Update from translation team.
19225 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19229 imaginary part less than 1.0 and real part less than 0.5
19231 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19232 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19233 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19234 (cacos_test): Add more tests.
19235 (casin_test): Likewise.
19236 (casinh_test): Likewise.
19237 * sysdeps/i386/fpu/libm-test-ulps: Update.
19238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19240 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19242 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19243 ONE with its value.
19245 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19246 (__pow_mp): Replace ONE and MONE with their values.
19247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19249 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19250 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19251 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19252 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19254 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19256 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19257 (__pow_mp): Replace ZERO and MZERO with their values.
19258 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19259 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19260 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19262 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19263 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19266 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19268 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19270 2013-03-28 Roland McGrath <roland@hack.frob.com>
19272 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19273 Declare with __attribute__ ((weak)).
19274 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19275 Call __call_tls_dtors only if it's not NULL.
19277 2013-03-28 Roland McGrath <roland@hack.frob.com>
19279 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19280 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19281 magic __ehdr_start linker symbol if it's defined.
19282 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19283 them up here if it was already done.
19285 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19286 (_dl_aux_init): Use const in cast when setting it.
19287 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19288 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19289 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19291 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19293 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19294 * csu/libc-tls.c: Nor here.
19295 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19297 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19298 (__libc_message): Never call vsyslog.
19300 2013-03-28 Alan Modra <amodra@gmail.com>
19302 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19304 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19307 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19310 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19314 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19317 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19318 Don't add gid passed as argument.
19320 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19322 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19325 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19326 imaginary part between 1.0 and 1.5 and real part less than 0.5
19328 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19329 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19330 * math/libm-test.inc (cacos_test): Add more tests.
19331 (casin_test): Likewise.
19332 (casinh_test): Likewise.
19333 * sysdeps/i386/fpu/libm-test-ulps: Update.
19334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19336 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19338 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19341 (denorm): Likewise.
19342 (__dbl_mp): Likewise.
19343 (add_magnitudes): Likewise.
19344 (sub_magnitudes): Likewise.
19352 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19354 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19355 (__dubcos): Likewise.
19356 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19357 (__ieee754_acos): Likewise.
19358 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19359 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19360 (__exp1): Likewise.
19361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19364 (my_log2): Likewise.
19365 (checkint): Likewise.
19366 * sysdeps/ieee754/dbl-64/e_remainder.c
19367 (__ieee754_remainder): Likewise.
19368 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19370 (bsloww): Likewise.
19371 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19373 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19375 MANTISSA_STORE_T to store computations on mantissa. Use
19376 macros for rounding and division.
19377 (denorm): Likewise.
19378 (__dbl_mp): Likewise.
19379 (add_magnitudes): Likewise.
19380 (sub_magnitudes): Likewise.
19383 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19384 powers of two in terms of TWOPOW macro.
19385 (mp_no): Make type of mantissa as MANTISSA_T.
19386 [!RADIXI]: Define RADIXI.
19387 [!TWO52]: Define TWO52.
19388 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19390 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19392 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19393 llroundl symbol when building for PPC32.
19395 2013-03-24 Mark H Weaver <mhw@netris.org>
19397 * manual/arith.texi (Normalization Functions): Fix prototypes for
19398 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19400 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19404 high value to check if expl overflow.
19405 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19406 to check for underflow and overflow.
19407 * math/libm-test.inc: Add exp test.
19409 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19412 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19415 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19417 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19420 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19422 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19423 wrap blocks consisting of several statements.
19425 * sysdeps/generic/math-tests.h: New file.
19426 * sysdeps/i386/fpu/math-tests.h: Likewise.
19427 * math/test-snan.c: Include it.
19428 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19430 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19433 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19434 (__ieee754_j0l): Do not improve calculations using cos of twice
19435 input for inputs above LDBL_MAX / 2.0L.
19436 (__ieee754_y0l): Likewise.
19437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19438 (__ieee754_j1l): Do not improve calculations using cos of twice
19439 input for inputs above LDBL_MAX / 2.0L.
19440 (__ieee754_y1l): Likewise.
19441 * math/libm-test.inc (j0_test): Add another test.
19442 (j1_test): Likewise.
19443 (y0_test): Likewise.
19444 (y1_test): Likewise.
19445 * sysdeps/i386/fpu/libm-test-ulps: Update.
19447 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19449 * Rules ($(objpfx)bench-%.c): Include code from a C source
19452 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19455 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19456 imaginary part 1.0 and real part less than 0.5 specially.
19457 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19458 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19459 * math/libm-test.inc (cacos_test): Add more tests.
19460 (casin_test): Likewise.
19461 (casinh_test): Likewise.
19462 * sysdeps/i386/fpu/libm-test-ulps: Update.
19463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19465 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19467 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19468 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19470 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19472 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19473 * config.make.in (config-cflags-sse4): Remove variable.
19474 (config-cflags-avx): Likewise.
19475 (config-cflags-sse2avx): Likewise.
19476 (config-cflags-novzeroupper): Likewise.
19477 (config-asflags-i686): Likewise.
19478 (have-mfma4): Likewise.
19479 (have-as-vis3): Likewise.
19481 * configure.in (MIG): Do not AC_SUBST.
19482 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19483 (libc_cv_cc_sse4): Do not AC_SUBST.
19484 (libc_cv_cc_avx): Likewise.
19485 (libc_cv_cc_sse2avx): Likewise.
19486 (libc_cv_cc_novzeroupper): Likewise.
19487 (libc_cv_cc_fma4): Likewise.
19488 (libc_cv_as_i686): Likewise.
19489 (libc_cv_sparc_as_vis3): Likewise.
19490 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19492 (config-asflags-i686): Likewise.
19493 (config-cflags-avx): Likewise.
19494 (config-cflags-sse2avx): Likewise.
19495 (have-mfma4): Likewise.
19496 (config-cflags-novzeroupper): Likewise.
19497 * sysdeps/mach/configure.in (MIG): Likewise.
19498 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19499 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19501 (config-cflags-avx): Likewise.
19502 (config-cflags-sse2avx): Likewise.
19503 (have-mfma4): Likewise.
19504 (config-cflags-novzeroupper): Likewise.
19505 * configure: Regenerated.
19506 * sysdeps/i386/configure: Likewise.
19507 * sysdeps/mach/configure: Likewise.
19508 * sysdeps/sparc/configure: Likewise.
19509 * sysdeps/x86_64/configure: Likewise.
19511 2013-03-20 Roland McGrath <roland@hack.frob.com>
19514 * locale/programs/localedef.c (options): Put N_ translation marker
19515 on argument names, not just descriptions.
19517 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19519 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19521 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19524 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19526 2013-03-19 Roland McGrath <roland@hack.frob.com>
19528 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19529 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19530 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19531 [!BEFORE_ABORT] (before_abort): New function.
19532 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19533 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19534 (writev_for_fatal): New function.
19535 (WRITEV_FOR_FATAL): New macro; call that.
19536 (backtrace_and_maps): New function.
19537 (BEFORE_ABORT): New macro; call that.
19538 (struct str_list): Type removed.
19539 (__libc_message, __libc_fatal): Functions removed.
19540 Include <sysdeps/posix/libc_fatal.c> instead.
19542 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19544 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19546 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19549 2013-03-19 Andreas Schwab <schwab@suse.de>
19551 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19552 * sysdeps/gnu/configure: Regenerate.
19554 * configure.in: Substitute libc_cv_rtlddir.
19555 * configure: Regenerate.
19556 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19557 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19558 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19559 * elf/Makefile (install-others, CFLAGS-interp.c)
19560 (ldso_install, common-ldd-rewrite): Likewise.
19561 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19562 $(inst_slibdir)/$(rtld-installed-name).
19563 * scripts/rellns-sh: Add -p option.
19564 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19567 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19569 * manual/nptl.texi: Renamed to ...
19570 * manual/threads.texi: ... this.
19571 * manual/Makefile (chapters): Update.
19573 2013-03-18 Roland McGrath <roland@hack.frob.com>
19576 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19577 on argument names, not just descriptions.
19578 * malloc/memusagestat.c (options): Likewise.
19579 * nss/getent.c (options): Likewise.
19581 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19584 * iconv/iconv_prog.c (options): Put N_ translation marker
19585 on argument names, not just descriptions.
19586 * iconv/iconvconfig.c (options): Likewise.
19588 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19590 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19591 implementation which is faster on all x86_64 architectures.
19592 Tested on AMD, Intel Nehalem, SNB, IVB.
19593 * sysdeps/x86_64/strnlen.S: Likewise.
19595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19596 Remove all multiarch strlen and strnlen versions.
19597 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19598 Remove strlen and strnlen related parts.
19600 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19601 Inline strlen part.
19602 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19604 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19605 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19606 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19607 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19608 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19609 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19611 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19613 * manual/memory.texi (Malloc Tunable Parameters):
19614 Sort parameters alphabetically. Add comments for missing entries.
19616 2013-03-17 David S. Miller <davem@davemloft.net>
19618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19620 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19624 for arguments at most half maximum finite value.
19625 * math/libm-test.inc (j0_test): Add more tests.
19626 (j1_test): Likewise.
19627 (y0_test): Likewise.
19628 (y1_test): Likewise.
19629 * sysdeps/i386/fpu/libm-test-ulps: Update.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19633 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19634 1 / x and functions P and Q for arguments above 0x1p256L.
19635 (__ieee754_y0l): Likewise.
19636 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19637 (__ieee754_y1l): Likewise.
19638 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19639 (j1_test): Likewise.
19640 (y0_test): Likewise.
19641 (y1_test): Likewise.
19643 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19645 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19648 2013-03-15 Roland McGrath <roland@hack.frob.com>
19650 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19651 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19652 zero since it's initialized to EXEC_PAGESIZE.
19654 * sysdeps/unix/sysv/linux/ldsodefs.h
19655 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19656 * sysdeps/generic/ldsodefs.h: ... here.
19658 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19660 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19662 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19664 * math/test-snan.c: Renamed from
19665 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19666 * math/Makefile (tests): Add test-snan.
19667 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19670 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19671 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19673 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19674 __builtin_nan family of functions.
19675 * math/libm-test.inc (initialize): Initialize qnan_value with
19676 __builtin_nan family of functions.
19677 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19679 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19681 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19682 storage class. Initialize qNaN_var and sNaN_var with
19683 __builtin_nan and __builtin_nans families of functions,
19686 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19687 (sqrt_test): Remove duplicate test with qNaN input.
19688 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19689 (round_test, signbit_test, significand_test): Note missing +/-Inf
19690 as well as qNaN tests.
19692 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19693 qNaN_var. Fix a few strings, too.
19694 * math/libm-test.inc (nan_value): Rename to qnan_value.
19695 * math/gen-libm-test.pl (%beautify): Adjust to that.
19696 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19697 * math/test-misc.c (main): Likewise.
19698 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19699 to __qnan_bytes, and __qnan_union, respectively.
19700 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19702 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19703 and lqnanval, respectively.
19704 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19705 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19706 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19707 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19709 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19710 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19713 * math/test-misc.c (main): Fix copy'n'pastos.
19714 * misc/tst-efgcvt.c (special): Likewise.
19716 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19717 Remove declarations.
19719 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19721 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19722 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19723 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19724 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19726 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19729 macro to return vdso values correctly in IFUNC implementations.
19730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19731 Optimization by using IFUNC.
19733 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19734 Richard Henderson <rth@redhat.com>
19735 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19737 * Makefile.in (bench): New target.
19738 * NEWS: Mention the benchmark framework.
19739 * Rules (bench): Likewise.
19740 (binaries-bench): Generate binaries for functions to
19742 * benchtests/Makefile: New makefile for benchmark tests.
19743 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19745 * benchtests/exp-inputs: New input file for EXP function.
19746 * benchtests/pow-inputs: New input file for POW function.
19747 * scripts/bench.pl: New script to generate source files for
19748 benchmark programs.
19750 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19752 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19753 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19754 computations on mantissa. Use macros for rounding and
19756 (denorm): Likewise.
19757 (__dbl_mp): Likewise.
19758 (add_magnitudes): Likewise.
19759 (sub_magnitudes): Likewise.
19762 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19763 powers of two in terms of TWOPOW macro.
19764 (mp_no): Make type of mantissa as MANTISSA_T.
19765 [!RADIXI]: Define RADIXI.
19766 [!TWO52]: Define TWO52.
19767 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19769 * manual/nptl.texi (cindex): Modify threads to pthreads.
19771 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19773 * sysdeps/x86_64/preconfigure: Regenerated.
19775 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19778 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19780 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19781 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19783 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19784 * math/libm-test.inc (j0_test): Do not allow one spurious
19785 underflow exception.
19786 (y1_test): Likewise.
19788 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19790 * manual/Makefile (chapters): Add nptl.
19791 * manual/debug.texi (Debugging Support): Add link to Threads
19793 * manual/nptl.texi: New file.
19795 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19797 2013-03-14 Petr Baudis <pasky@ucw.cz>
19799 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19800 for non-NULL pointer before the memory validity test. Pointed
19801 out by Holger Brunck <holger.brunck@keymile.com>.
19803 2013-03-13 Andreas Schwab <schwab@suse.de>
19805 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19808 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19810 * timezone/zic.c: Update from tzcode 2013b.
19812 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19814 * manual/install.texi (Configuring and compiling):
19815 Mention i686 and i586.
19816 * INSTALL: Regenerate.
19818 2013-03-12 Roland McGrath <roland@hack.frob.com>
19820 * sysdeps/init_array/elf-init.c: New file.
19822 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19823 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19825 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19826 __gmon_start__ as global, but as static with a .preinit_array pointer.
19827 * sysdeps/init_array/gmon-start.c: New file. Use that.
19828 * sysdeps/init_array/crti.S: New file, empty except for comments.
19829 * sysdeps/init_array/crtn.S: Likewise.
19831 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19833 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19836 Remove Prefer_SSE_for_memop.
19837 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19838 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19839 HAS_PREFER_SSE_FOR_MEMOP.
19840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19843 Remove bzero, memset ifunc support.
19844 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19845 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19846 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19847 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19849 2013-03-11 Andreas Schwab <schwab@suse.de>
19852 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19855 (GLIBC_2.16): Remove pthread_atfork.
19857 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19859 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19860 (ptestcases.h): Likewise.
19862 2013-03-08 Roland McGrath <roland@hack.frob.com>
19864 * Makeconfig ($(common-objpfx)config.status): Depend on
19865 sysdeps/*/preconfigure{,.in} too.
19867 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19869 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19870 (__free_hook): Use void * instead of __malloc_ptr_t.
19871 (__malloc_hook): Likewise.
19872 (__realloc_hook): Likewise.
19873 (__memalign_hook): Likewise.
19874 (__after_morecore_hook): Likewise.
19875 * malloc/arena.c (save_malloc_hook): Likewise.
19876 (save_free_hook): Likewise.
19877 * malloc/hooks.c (malloc_hook_ini): Likewise.
19878 (realloc_hook_ini): Likewise.
19879 (memalign_hook_ini): Likewise.
19880 * malloc/malloc.c (malloc_hook_ini): Likewise.
19881 (realloc_hook_ini): Likewise.
19882 (memalign_hook_ini): Likewise.
19883 (__free_hook): Likewise.
19884 (__malloc_hook): Likewise.
19885 (__realloc_hook): Likewise.
19886 (__memalign_hook): Likewise.
19887 (__libc_malloc): Likewise.
19888 (__libc_free): Likewise.
19889 (__libc_realloc): Likewise.
19890 (__libc_memalign): Likewise.
19891 (__libc_valloc): Likewise.
19892 (__libc_pvalloc): Likewise.
19893 (__libc_calloc): Likewise.
19894 (__posix_memalign): Likewise.
19895 * malloc/morecore.c (__sbrk): Likewise.
19896 (__default_morecore): Likewise.
19898 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19900 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19901 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19902 __malloc_ptrdiff_t.
19904 * malloc/malloc.h (__malloc_size_t): Remove macro.
19905 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19907 (old_memalign_hook): Likewise.
19908 (old_realloc_hook): Likewise.
19909 (struct hdr): Likewise.
19911 (mallochook): Likewise.
19912 (memalignhook): Likewise.
19913 (reallochook): Likewise.
19914 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19915 (tr_old_realloc_hook): Likewise.
19916 (tr_old_memalign_hook): Likewise.
19917 (tr_mallochook): Likewise.
19918 (tr_reallochook): Likewise.
19919 (tr_memalignhook): Likewise.
19921 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19923 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19924 default_ldbl_pack and using as default implementation.
19925 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19927 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19928 redundant definition.
19929 (ldbl_insert_mantissa): Likewise.
19930 (ldbl_canonicalize): Likewise.
19931 (ldbl_nearbyint): Likewise.
19932 (ldbl_pack): Rename to ldbl_pack_ppc.
19933 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19934 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19935 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19937 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19940 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19942 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19944 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19945 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19946 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19948 2013-03-07 Andreas Jaeger <aj@suse.de>
19950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19953 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19955 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19956 Include mpa.h and declare __MPEXP.
19957 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19959 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19960 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19962 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19963 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19965 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19966 (__slowpow): Use long double EXPL and LOGL functions to
19968 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19969 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19970 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19971 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19972 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19973 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19976 intermediate variable to calculate exponent.
19978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19982 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19983 [!NO__SQR]: Define __sqr.
19984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19985 and NO__SQR. Remove all code except __mul and __sqr. Include
19986 sysdeps/ieee754/dbl-64/mpa.c.
19987 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19990 * posix/Makefile (tests): Add tst-pathconf.
19991 * posix/tst-pathconf.c: New test case.
19992 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19994 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19996 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19998 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20000 2013-03-06 Andreas Jaeger <aj@suse.de>
20002 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20003 definition via __MAP_ANONYMOUS.
20005 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20006 it's not part of Linux headers.
20008 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20009 (MAP_HUGE_MASK): Define.
20011 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20013 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20016 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20017 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20019 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20020 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20022 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20024 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20025 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20026 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20027 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20028 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20029 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20031 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20034 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20035 Handle f2fs and efivarfs.
20037 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20040 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20041 (EFIVARFS_MAGIC): Add.
20042 (F2FS_LINK_MAX): Add.
20044 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20046 * stdio-common/vfprintf.c: Replace __builtin_expect with
20049 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20052 * sysdeps/generic/bp-sym.h: Remove file.
20053 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20054 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20055 <bp-sym.h> and <bp-asm.h>.
20056 (__longjmp): Don't use BP_SYM.
20057 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20059 (memcpy): Don't use BP_SYM.
20060 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20061 <bp-sym.h> and <bp-asm.h>.
20062 (memcpy): Don't use BP_SYM.
20063 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20065 (memcpy): Don't use BP_SYM.
20066 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20068 (memset): Don't use BP_SYM.
20069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20071 (__bzero): Don't use BP_SYM.
20072 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20073 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20074 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20075 <bp-sym.h> and <bp-asm.h>.
20076 (memcmp): Don't use BP_SYM. Remove comment about bounded
20078 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20079 <bp-sym.h> and <bp-asm.h>.
20080 (memcpy): Don't use BP_SYM.
20081 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20082 <bp-sym.h> and <bp-asm.h>.
20083 (memset): Don't use BP_SYM.
20084 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20085 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20086 (__bzero): Don't use BP_SYM.
20087 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20088 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20089 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20090 <bp-sym.h> and <bp-asm.h>.
20091 (strncmp): Don't use BP_SYM. Remove comment about bounded
20093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20094 <bp-sym.h> and <bp-asm.h>.
20095 (memcpy): Don't use BP_SYM.
20096 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20097 <bp-sym.h> and <bp-asm.h>.
20098 (memset): Don't use BP_SYM.
20099 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20100 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20101 (__bzero): Don't use BP_SYM.
20102 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20103 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20105 <bp-sym.h> and <bp-asm.h>.
20106 (__memchr): Don't use BP_SYM.
20107 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20108 <bp-sym.h> and <bp-asm.h>.
20109 (memcmp): Don't use BP_SYM. Remove comment about bounded
20111 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20112 <bp-sym.h> and <bp-asm.h>.
20113 (memcpy): Don't use BP_SYM.
20114 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20115 <bp-sym.h> and <bp-asm.h>.
20116 (__mempcpy): Don't use BP_SYM.
20117 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20118 <bp-sym.h> and <bp-asm.h>.
20119 (__memrchr): Don't use BP_SYM.
20120 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20121 <bp-sym.h> and <bp-asm.h>.
20122 (memset): Don't use BP_SYM.
20123 (__bzero): Likewise.
20124 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20125 <bp-sym.h> and <bp-asm.h>.
20126 (__rawmemchr): Don't use BP_SYM.
20127 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20128 <bp-sym.h> and <bp-asm.h>.
20129 (__STRCMP): Don't use BP_SYM.
20130 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20131 <bp-sym.h> and <bp-asm.h>.
20132 (strchr): Don't use BP_SYM.
20133 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20134 <bp-sym.h> and <bp-asm.h>.
20135 (__strchrnul): Don't use BP_SYM.
20136 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (strlen): Don't use BP_SYM.
20139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20140 <bp-sym.h> and <bp-asm.h>.
20141 (strncmp): Don't use BP_SYM. Remove comment about bounded
20143 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20144 <bp-sym.h> and <bp-asm.h>.
20145 (__strnlen): Don't use BP_SYM.
20146 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20147 <bp-sym.h> and <bp-asm.h>.
20148 (__GI__setjmp): Don't use BP_SYM.
20149 (_setjmp): Likewise.
20150 (__sigsetjmp): Likewise.
20151 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20152 (L(start_addresses)): Don't use BP_SYM.
20153 (_start): Likewise.
20154 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20156 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20157 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20158 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20159 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20160 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20162 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20163 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20164 about bounded pointers.
20165 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20166 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20167 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20169 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20170 about bounded pointers. Remove GKM FIXME comments.
20171 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20172 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20174 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20175 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20176 Remove GKM FIXME comments.
20177 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20178 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20179 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20181 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20182 about bounded pointers. Remove GKM FIXME comment.
20183 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20185 (strncmp): Don't use BP_SYM. Remove comment about bounded
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20188 <bp-sym.h> and <bp-asm.h>.
20189 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20191 <bp-sym.h> and <bp-asm.h>.
20192 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20195 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20197 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20200 2013-03-05 David S. Miller <davem@davemloft.net>
20202 * po/es.po: Update from translation team.
20204 2013-03-05 Andreas Jaeger <aj@suse.de>
20206 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20207 <bits/mman-linux.h>.
20208 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20210 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20211 <bits/mman-linux.h> to end of file.
20212 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20214 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20215 <bits/mman-linux.h> to end of file.
20216 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20218 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20219 <bits/mman-linux.h> to end of file.
20221 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20222 (MCL_CURRENT, MCL_FUTURE): Define here.
20224 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20229 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20231 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20233 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20234 fourth parameter needed for rt_sigprocmask syscall.
20235 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20236 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20238 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20239 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20240 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20242 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20245 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20246 comment about bounded pointers.
20247 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20248 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20250 2013-03-04 Andreas Jaeger <aj@suse.de>
20252 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20253 common definitions.
20255 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20256 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20257 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20258 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20259 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20260 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20262 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20265 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20266 __ieee754_sqrl instead of __sqrl.
20268 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20270 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20271 * sysdeps/powerpc/fpu_control.h: ... here.
20272 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20273 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20274 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20275 * sysdeps/powerpc/bits/mathinline.h: ... here.
20277 2013-03-01 Roland McGrath <roland@hack.frob.com>
20279 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20280 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20281 to just [NEED_DL_SYSINFO_DSO].
20282 * elf/dl-support.c: Likewise.
20283 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20284 * elf/rtld.c (dl_main): Likewise.
20285 * elf/setup-vdso.h (setup_vdso): Likewise.
20286 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20287 * sysdeps/unix/sysv/linux/dl-sysdep.c
20288 (_dl_discover_osversion): Likewise.
20290 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20292 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20293 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20295 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20297 * NEWS: Mention libm performance improvements and non-x86 PI
20300 * csu/libc-start.c (__pthread_initialize_minimal): Change
20301 function arguments.
20302 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20304 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20307 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20308 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20309 <bp-sym.h> and <bp-asm.h>.
20310 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20311 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20313 (memcpy): Don't use BP_SYM.
20314 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20316 (__mpn_add_n): Don't use BP_SYM.
20317 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20318 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20320 (__mpn_addmul_1): Don't use BP_SYM.
20321 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20322 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20324 (_setjmp): Don't use BP_SYM.
20325 (__novmx_setjmp): Likewise.
20326 (__GI__setjmp): Likewise.
20327 (__vmx_setjmp): Likewise.
20328 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20330 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20331 (__bzero): Don't use BP_SYM.
20332 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20333 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20334 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20335 <bp-sym.h> and <bp-asm.h>.
20336 (memcpy): Don't use BP_SYM.
20337 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20338 <bp-sym.h> and <bp-asm.h>.
20339 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20340 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20341 <bp-sym.h> and <bp-asm.h>.
20342 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20343 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20345 (__mpn_lshift): Don't use BP_SYM.
20346 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20347 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20349 (memset): Don't use BP_SYM.
20350 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20351 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20352 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20354 (__mpn_mul_1): Don't use BP_SYM.
20355 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20357 <bp-sym.h> and <bp-asm.h>.
20358 (memcmp): Don't use BP_SYM.
20359 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20360 <bp-sym.h> and <bp-asm.h>.
20361 (memcpy): Don't use BP_SYM.
20362 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20363 <bp-sym.h> and <bp-asm.h>.
20364 (memset): Don't use BP_SYM.
20365 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20366 <bp-sym.h> and <bp-asm.h>.
20367 (strncmp): Don't use BP_SYM.
20368 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20369 <bp-sym.h> and <bp-asm.h>.
20370 (memcpy): Don't use BP_SYM.
20371 * sysdeps/powerpc/powerpc32/power6/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/memchr.S: Don't include
20375 <bp-sym.h> and <bp-asm.h>.
20376 (__memchr): Don't use BP_SYM.
20377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20378 <bp-sym.h> and <bp-asm.h>.
20379 (memcmp): Don't use BP_SYM.
20380 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20381 <bp-sym.h> and <bp-asm.h>.
20382 (memcpy): Don't use BP_SYM.
20383 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20384 <bp-sym.h> and <bp-asm.h>.
20385 (__mempcpy): Don't use BP_SYM.
20386 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20387 <bp-sym.h> and <bp-asm.h>.
20388 (__memrchr): Don't use BP_SYM.
20389 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20390 <bp-sym.h> and <bp-asm.h>.
20391 (memset): Don't use BP_SYM.
20392 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20393 <bp-sym.h> and <bp-asm.h>.
20394 (__rawmemchr): Don't use BP_SYM.
20395 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20396 <bp-sym.h> and <bp-asm.h>.
20397 (__STRCMP): Don't use BP_SYM.
20398 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20399 <bp-sym.h> and <bp-asm.h>.
20400 (strchr): Don't use BP_SYM.
20401 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20402 <bp-sym.h> and <bp-asm.h>.
20403 (__strchrnul): Don't use BP_SYM.
20404 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20405 <bp-sym.h> and <bp-asm.h>.
20406 (strlen): Don't use BP_SYM.
20407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20408 <bp-sym.h> and <bp-asm.h>.
20409 (strncmp): Don't use BP_SYM.
20410 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20411 <bp-sym.h> and <bp-asm.h>.
20412 (__strnlen): Don't use BP_SYM.
20413 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20415 (__mpn_rshift): Don't use BP_SYM.
20416 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20417 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20418 <bp-sym.h> and <bp-asm.h>.
20419 (__sigsetjmp): Don't use BP_SYM.
20420 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20421 (L(start_addresses)): Don't use BP_SYM.
20422 (_start): Likewise.
20423 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20425 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20426 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20427 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20428 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20430 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20431 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20432 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20433 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20435 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20437 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20438 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20440 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20442 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20443 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20444 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20446 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20448 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20450 (strncmp): Don't use BP_SYM,
20451 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20453 (__mpn_sub_n): Don't use BP_SYM.
20454 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20455 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20457 (__mpn_submul_1): Don't use BP_SYM.
20458 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20460 <bp-sym.h> and <bp-asm.h>.
20461 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20463 <bp-sym.h> and <bp-asm.h>.
20464 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20467 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20470 Use ZK to minimize writes to Z.
20471 (sub_magnitudes): Simplify code a bit.
20472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20473 Use ZK to minimize writes to Z.
20474 (sub_magnitudes): Simplify code a bit.
20476 2013-02-27 Roland McGrath <roland@hack.frob.com>
20478 * csu/gmon-start.c: Add special exception to license text.
20480 2013-02-27 Richard Henderson <rth@redhat.com>
20482 * scripts/config.guess: Update from config.git.
20483 * scripts/config.sub: Likewise.
20485 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20487 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20489 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20491 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20493 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20495 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20497 2013-02-26 Roland McGrath <roland@hack.frob.com>
20499 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20500 [$(build-shared = yes].
20502 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20504 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20505 (__mul): Reduce iterations for calculating mantissa.
20507 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20509 (__mpranred): Likewise.
20512 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20513 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20515 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20517 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20518 Define __attribute__.
20520 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20522 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20524 * posix/regex_internal.h (__attribute): Remove.
20525 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20526 (re_string_context_at): Likewise.
20527 (bitset_not): Use __attribute__ and mark function as possibly
20529 (bitset_merge): Likewise.
20530 (bitset_mask): Likewise.
20531 (re_string_char_size_at): Likewise.
20532 (re_string_wchar_at): Likewise.
20533 (re_string_elem_size_at): Likewise.
20535 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20537 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20541 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20545 (denorm): Likewise.
20546 (__dbl_mp): Likewise.
20547 (add_magnitudes): Likewise.
20548 (sub_magnitudes): Likewise.
20552 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20555 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20558 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20562 up changes with default code.
20563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20566 2013-02-24 Allan McRae <allan@archlinux.org>
20568 * manual/socket.texi (The Internet Namespace): Order menu items
20569 to match that in the file.
20571 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20572 node listing of the info page menu.
20574 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20577 * sysdeps/i386/bp-asm.h: Remove file.
20578 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20579 (PARMS): Do not use macros from bp-asm.h.
20583 (__mpn_add_n): Do not use BP_SYM
20584 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20586 (PARMS): Do not use macros from bp-asm.h.
20589 (__mpn_addmul_1): Do not use BP_SYM
20590 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20592 (PARMS): Do not use macros from bp-asm.h.
20593 (SIGMSK): Likewise.
20594 (_setjmp): Likewise. Do not use BP_SYM.
20595 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20597 (PARMS): Do not use macros from bp-asm.h.
20598 (SIGMSK): Likewise.
20599 (setjmp): Likewise. Do not use BP_SYM.
20600 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20602 (PARMS): Do not use macros from bp-asm.h.
20603 (__frexp): Do not use BP_SYM.
20605 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20607 (PARMS): Do not use macros from bp-asm.h.
20608 (__frexpf): Do not use BP_SYM.
20609 (frexpf): Likewise.
20610 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20612 (PARMS): Do not use macros from bp-asm.h.
20613 (__frexpl): Do not use BP_SYM.
20614 (frexpl): Likewise.
20615 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20617 (PARMS): Do not use macros from bp-asm.h.
20618 (__remquo): Do not use BP_SYM.
20619 (remquo): Likewise.
20620 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20622 (PARMS): Do not use macros from bp-asm.h.
20623 (__remquof): Do not use BP_SYM.
20624 (remquof): Likewise.
20625 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20627 (PARMS): Do not use macros from bp-asm.h.
20628 (__remquol): Do not use BP_SYM.
20629 (remquol): Likewise.
20630 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20632 (PARMS): Do not use macros from bp-asm.h.
20635 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20636 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20638 (PARMS): Do not use macros from bp-asm.h.
20639 (strlen): Do not use BP_SYM.
20640 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20642 (PARMS): Do not use macros from bp-asm.h.
20646 (__mpn_add_n): Do not use BP_SYM.
20647 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20649 (PARMS): Do not use macros from bp-asm.h.
20652 (__mpn_addmul_1): Do not use BP_SYM.
20653 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20656 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20658 (PARMS): Do not use macros from bp-asm.h.
20661 (__mpn_lshift): Do not use BP_SYM.
20662 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20664 (PARMS): Do not use macros from bp-asm.h.
20668 (memcpy): Likewise. Do not use BP_SYM.
20669 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20670 libc_hidden_def and weak_alias.
20671 (mempcpy): Do not use BP_SYM in weak_alias.
20672 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20674 (PARMS): Do not use macros from bp-asm.h.
20677 [!BZERO_P] (CHR): Likewise.
20678 (memset): Likewise. Do not use BP_SYM.
20679 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20681 (PARMS): Do not use macros from bp-asm.h.
20684 (__mpn_mul_1): Do not use BP_SYM.
20685 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20687 (PARMS): Do not use macros from bp-asm.h.
20690 (__mpn_rshift): Do not use BP_SYM.
20691 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20693 (PARMS): Do not use macros from bp-asm.h.
20696 (strchr): Likewise. Do not use BP_SYM.
20697 (index): Do not use BP_SYM in weak_alias.
20698 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20700 (PARMS): Do not use macros from bp-asm.h.
20703 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20704 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20706 (PARMS): Do not use macros from bp-asm.h.
20707 (strlen): Do not use BP_SYM.
20708 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20710 (PARMS): Do not use macros from bp-asm.h.
20714 (__mpn_sub_n): Do not use BP_SYM.
20715 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20717 (PARMS): Do not use macros from bp-asm.h.
20720 (__mpn_submul_1): Do not use BP_SYM.
20721 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20723 (PARMS): Do not use macros from bp-asm.h.
20727 (__mpn_add_n): Do not use BP_SYM.
20728 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20731 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20733 (PARMS): Do not use macros from bp-asm.h.
20736 (memcmp): Do not use BP_SYM.
20737 (bcmp): Do not use BP_SYM in weak_alias.
20738 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20740 (PARMS): Do not use macros from bp-asm.h.
20744 (memcpy): Likewise. Do not use BP_SYM.
20745 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20747 (PARMS): Do not use macros from bp-asm.h.
20751 (memmove): Likewise. Do not use BP_SYM.
20752 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20754 (PARMS): Do not use macros from bp-asm.h.
20758 (__mempcpy): Likewise. Do not use BP_SYM.
20759 (mempcpy): Do not use BP_SYM in weak_alias.
20760 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20762 (PARMS): Do not use macros from bp-asm.h.
20765 [!BZERO_P] (CHR): Likewise.
20766 (memset): Likewise. Do not use BP_SYM.
20767 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20769 (PARMS): Do not use macros from bp-asm.h.
20771 (strcmp): Do not use BP_SYM.
20772 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20774 (PARMS): Do not use macros from bp-asm.h.
20777 [USE_AS_STRTOK_R] (SAVE): Likewise.
20778 (FUNCTION): Likewise. Do not use BP_SYM.
20779 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20781 (strtok_r): Likewise.
20782 (__GI___strtok_r): Likewise.
20783 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20784 (PARMS): Do not use macros from bp-asm.h.
20787 (__mpn_lshift): Do not use BP_SYM.
20788 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20789 (PARMS): Do not use macros from bp-asm.h.
20792 (__memchr): Do not use BP_SYM.
20793 (memchr): Do not use BP_SYM in weak_alias.
20794 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20795 (PARMS): Do not use macros from bp-asm.h.
20798 (memcmp): Do not use BP_SYM.
20799 (bcmp): Do not use BP_SYM in weak_alias.
20800 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20801 (PARMS): Do not use macros from bp-asm.h.
20804 (__mpn_mul_1): Do not use BP_SYM.
20805 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20807 (PARMS): Do not use macros from bp-asm.h.
20810 (__rawmemchr): Do not use BP_SYM.
20811 (rawmemchr): Do not use BP_SYM in weak_alias.
20812 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20813 (PARMS): Do not use macros from bp-asm.h.
20816 (__mpn_rshift): Do not use BP_SYM.
20817 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20818 (PARMS): Do not use macros from bp-asm.h.
20819 (SIGMSK): Likewise.
20820 (__sigsetjmp): Likewise. Do not use BP_SYM.
20821 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20822 (_start): Do not use BP_SYM.
20823 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20824 (PARMS): Do not use macros from bp-asm.h.
20827 (__stpcpy): Likewise. Do not use BP_SYM.
20828 (stpcpy): Do not use BP_SYM in weak_alias.
20829 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20831 (PARMS): Do not use macros from bp-asm.h.
20835 (__stpncpy): Likewise. Do not use BP_SYM.
20836 (stpncpy): Do not use BP_SYM in weak_alias.
20837 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20838 (PARMS): Do not use macros from bp-asm.h.
20841 (strchr): Likewise. Do not use BP_SYM.
20842 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20844 (PARMS): Do not use macros from bp-asm.h.
20847 (__strchrnul): Likewise. Do not use BP_SYM.
20848 (strchrnul): Do not use BP_SYM in weak_alias.
20849 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20851 (PARMS): Do not use macros from bp-asm.h.
20853 (strcspn): Do not use BP_SYM.
20854 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20856 (PARMS): Do not use macros from bp-asm.h.
20859 (strpbrk): Likewise. Do not use BP_SYM.
20860 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20862 (PARMS): Do not use macros from bp-asm.h.
20865 (strrchr): Likewise. Do not use BP_SYM.
20866 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20867 (PARMS): Do not use macros from bp-asm.h.
20869 (strspn): Do not use BP_SYM.
20870 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20871 (PARMS): Do not use macros from bp-asm.h.
20875 (FUNCTION): Likewise. Do not use BP_SYM.
20876 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20878 (strtok_r): Likewise.
20879 (__GI___strtok_r): Likewise.
20880 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20881 (PARMS): Do not use macros from bp-asm.h.
20885 (__mpn_sub_n): Do not use BP_SYM.
20886 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20888 (PARMS): Do not use macros from bp-asm.h.
20891 (__mpn_submul_1): Do not use BP_SYM.
20892 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20894 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20896 (PARMS): Do not use macros from bp-asm.h.
20901 (__clone): Do not use BP_SYM.
20902 (clone): Do not use BP_SYM in weak_alias.
20903 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20905 (PARMS): Do not use macros from bp-asm.h.
20907 (__mmap64): Do not use BP_SYM.
20908 (mmap64): Do not use BP_SYM in weak_alias.
20909 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20910 <bp-sym.h> and <bp-asm.h>.
20911 (PARMS): Do not use macros from bp-asm.h.
20912 (__posix_fadvise64_l64): Do not use BP_SYM.
20913 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20914 (PARMS): Do not use macros from bp-asm.h.
20916 (semtimedop): Do not use BP_SYM.
20917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20920 2013-02-21 Allan McRae <allan@archlinux.org>
20922 * manual/message.texi (Charset conversion in gettext):
20923 Move @end statement to beginning of line.
20925 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20932 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20933 (denorm): Likewise.
20934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20937 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20939 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20940 tail-call to the resolved function if pltexit isn't needed.
20942 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20945 or Y being zero as being unlikely.
20946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20949 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20951 * manual/nss.texi (System Databases and Name Service Switch):
20952 Remove frobnicate @pxref.
20954 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20956 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20957 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20959 2013-02-20 Petr Machata <pmachata@redhat.com>
20961 * elf/elf.h (R_ARM_TARGET1): New macro.
20962 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20963 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20964 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20965 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20966 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20967 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20968 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20969 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20970 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20971 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20972 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20973 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20974 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20975 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20976 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20977 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20978 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20979 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20980 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20981 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20982 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20983 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20984 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20985 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20986 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20987 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20988 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20989 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20990 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20991 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20992 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20993 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20994 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20995 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20996 (R_ARM_THM_GOT_BREL12): Likewise.
20997 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20998 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20999 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21000 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21001 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21002 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21003 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21004 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21005 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21007 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21009 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21010 __attribute_used__ to __attribute__ ((unused)).
21012 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21014 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21017 comment formatting.
21018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21020 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21023 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21025 (ENTER): Remove both macro definitions.
21027 (CHECK_BOUNDS_LOW): Likewise.
21028 (CHECK_BOUNDS_HIGH): Likewise.
21029 (CHECK_BOUNDS_BOTH): Likewise.
21030 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21031 (RETURN_BOUNDED_POINTER): Likewise.
21032 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21033 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21034 (POP_ERRNO_LOCATION_RETURN): Likewise.
21035 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21036 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21037 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21039 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21040 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21041 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21042 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21043 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21044 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21045 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21046 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21047 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21048 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21049 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21050 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21051 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21052 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21054 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21055 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21057 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21058 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21059 * sysdeps/i386/i586/memset.S (memset): Likewise.
21060 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21061 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21062 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21064 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21065 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21066 Change uses of L(2) to L(out).
21067 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21068 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21069 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21070 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21071 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21073 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21074 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21076 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21078 (RETURN): Do not use macro LEAVE.
21079 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21080 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21081 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21082 * sysdeps/i386/i686/memset.S (memset): Likewise.
21083 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21084 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21085 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21086 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21088 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21089 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21090 L(1_2) and L(1_3) into L(1).
21091 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21092 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21093 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21094 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21095 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21096 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21097 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21098 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21099 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21101 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21102 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21103 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21104 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21105 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21106 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21107 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21108 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21109 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21110 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21111 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21112 * sysdeps/i386/strspn.S (strspn): Likewise.
21113 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21115 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21116 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21117 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21118 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21119 L(1_3) into L(1_1).
21120 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21122 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21124 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21126 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21128 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21131 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21133 * math/atest-exp.c (exp_mpn): Remove ROUND.
21134 * math/atest-exp2.c (exp_mpn): Likewise.
21135 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21137 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21138 * stdlib/tst-tls-atexit-lib.c: Likewise.
21139 * stdlib/tst-tls-atexit.c: Likewise.
21141 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21143 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21144 and __attribute_alloc_size__.
21146 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21148 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21149 __attribute_alloc_size__.
21150 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21151 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21153 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21155 * include/programs/xmalloc.h: New file.
21156 * catgets/gencat.c: Include it.
21157 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21158 * elf/pldd.c: Likewise.
21159 * iconv/iconv_charmap.c: Likewise.
21160 * iconv/iconvconfig.c: Likewise.
21161 * iconv/strtab.c: Likewise.
21162 * locale/programs/locale.c: Likewise.
21163 * locale/programs/localedef.h: Likewise.
21164 * locale/programs/simple-hash.c: Likewise.
21165 * nscd/nscd.h: Likewise.
21166 * nss/makedb.c: Likewise.
21167 * sysdeps/generic/ldconfig.h: Likewise.
21169 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21171 * Versions.def: Add GLIBC_2.18.
21172 * include/link.h (struct link_map): New member l_tls_dtor_count.
21173 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21174 (__call_tls_dtors): Likewise.
21175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21176 __cxa_thread_atexit_impl.
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21185 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21193 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21194 (tests): Add test case tst-tls-atexit.
21195 (modules-names): Add shared library for tst-tls-atexit.
21196 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21197 (GLIBC_PRIVATE): Add __call_tls_dtors.
21198 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21200 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21201 * stdlib/tst-tls-atexit.c: New test case.
21202 * stdlib/tst-tls-atexit-lib.c: New test case.
21204 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21206 * elf/Versions (ld): Add _dl_find_dso_for_object.
21207 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21208 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21209 (dl_open_worker): Use _dl_find_dso_for_object.
21210 * elf/dl-sym.c (do_sym): Likewise.
21211 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21213 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21215 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21216 Syntactic changes only.
21217 (_dl_runtime_profile): Do a tail-call to the resolved function.
21219 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21222 * sysdeps/x86_64/bp-asm.h: Remove file.
21223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21224 <bp-sym.h> and <bp-asm.h>.
21225 (__clone): Do not use BP_SYM.
21226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21227 <bp-sym.h> and <bp-asm.h>.
21228 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21229 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21231 (_setjmp): Do not use BP_SYM.
21232 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21234 (setjmp): Do not use BP_SYM.
21235 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21237 (mempcpy): Do not use BP_SYM in weak_alias.
21238 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21240 (strchr): Do not use BP_SYM.
21241 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21243 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21244 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21245 (_start): Do not use BP_SYM.
21246 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21248 (strcat): Do not use BP_SYM.
21249 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21251 (STRCMP): Do not use BP_SYM.
21252 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21254 (STRCPY): Do not use BP_SYM.
21255 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21257 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21259 (FUNCTION): Do not use BP_SYM.
21260 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21262 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21264 2013-02-17 Andreas Jaeger <aj@suse.de>
21266 * time/Versions: Sort entries.
21267 * string/Versions: Likewise.
21268 * resolv/Versions: Likewise.
21269 * posix/Versions: Likewise.
21270 * iconv/Versions: Likewise.
21271 * elf/Versions: Likewise.
21272 * wcsmbs/Versions: Likewise.
21274 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21276 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21277 loop termination condition.
21279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21280 variable to calculate EZ.
21283 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21284 the lower precision input.
21286 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21289 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21290 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21291 (run-via-rtld-prefix): Do not handle %-bp tests.
21292 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21293 (all-object-suffixes): Remove .ob.
21294 (bppfx): Remove variable.
21295 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21296 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21297 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21298 [$(build-bounded) = yes] (libtype.ob): Likewise.
21299 * Makerules (elide-routines.ob): Remove variable.
21300 (do-tests-clean): Do not handle *-bp.out.
21301 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21302 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21303 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21304 (tests): Do not include $(tests-bp.out).
21305 (xtests): Do not include $(xtests-bp.out).
21306 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21307 [$(build-bounded) = yes] ($(addprefix
21308 $(objpfx),$(binaries-bounded))): Remove rule.
21309 ($(objpfx)%-bp.out): Remove rule.
21310 * config.make.in (build-bounded): Remove variable.
21311 * crypt/Makefile [$(build-bounded) = yes]
21312 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21313 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21314 append to variable.
21315 [$(build-bounded) = yes] (install-lib): Likewise.
21316 [$(build-bounded) = yes] (generated): Likewise.
21317 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21319 * intl/Makefile [$(build-bounded) = yes]
21320 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21321 * math/Makefile [$(build-bounded) = yes]
21322 ($(tests:%=$(objpfx)%-bp): Likewise.
21323 * misc/Makefile [$(build-bounded) = yes]
21324 ($(objpfx)tst-tsearch-bp): Likewise.
21325 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21326 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21328 * string/Makefile (o-objects.ob): Remove variable.
21329 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21330 (CFLAGS-.ob): Remove variable.
21331 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21332 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21333 both definitions of variable.
21334 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21335 (ASFLAGS-.ob): Remove variable.
21337 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21340 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21341 Remove __BOUNDED_POINTERS__ from condition.
21342 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21343 * string/bits/string2.h [!__NO_STRING_INLINES &&
21344 !__BOUNDED_POINTERS__]: Likewise.
21345 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21347 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21348 Remove conditional code.
21349 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21350 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21351 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21355 * csu/libc-start.c: Do not include <bp-sym.h>.
21356 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21357 * elf/dl-open.c: Do not include <bp-sym.h>.
21358 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21359 * math/fegetenv.c: Do not include <bp-sym.h>.
21360 (fegetenv): Do not use BP_SYM in versioned symbols.
21361 * nptl/sysdeps/pthread/bits/libc-lockP.h
21362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21365 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21367 (__pthread_mutex_destroy): Likewise.
21368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21369 (__pthread_mutex_lock): Likewise.
21370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21371 (__pthread_mutex_trylock): Likewise.
21372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21373 (__pthread_mutex_unlock): Likewise.
21374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21375 (__pthread_mutexattr_init): Likewise.
21376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21377 (__pthread_mutexattr_destroy): Likewise.
21378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21379 (__pthread_mutexattr_settype): Likewise.
21380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21381 (__pthread_rwlock_init): Likewise.
21382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21383 (__pthread_rwlock_destroy): Likewise.
21384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21385 (__pthread_rwlock_rdlock): Likewise.
21386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21387 (__pthread_rwlock_tryrdlock): Likewise.
21388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21389 (__pthread_rwlock_wrlock): Likewise.
21390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21391 (__pthread_rwlock_trywrlock): Likewise.
21392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21393 (__pthread_rwlock_unlock): Likewise.
21394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21395 (__pthread_key_create): Likewise.
21396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21397 (__pthread_setspecific): Likewise.
21398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21399 (__pthread_getspecific): Likewise.
21400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21403 (_pthread_cleanup_push_defer): Likewise.
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (_pthread_cleanup_pop_restore): Likewise.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (pthread_setcancelstate): Likewise.
21408 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21410 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21411 (memchr): Do not use BP_SYM in weak_alias.
21412 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21413 (fegetenv): Do not use BP_SYM in versioned symbols.
21414 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21415 (fesetenv): Do not use BP_SYM in versioned symbols.
21416 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21417 (feupdateenv): Do not use BP_SYM in versioned symbols.
21418 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21419 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21420 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21421 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21422 (open64): Do not use BP_SYM in weak_alias.
21423 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21424 (fegetenv): Do not use BP_SYM in versioned symbols.
21425 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21426 (fesetenv): Do not use BP_SYM in versioned symbols.
21427 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21428 (feupdateenv): Do not use BP_SYM in versioned symbols.
21429 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21430 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21431 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21432 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21433 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21434 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21435 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21437 (__libc_start_main): Do not use BP_SYM.
21439 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21442 redundant return line.
21444 (denorm): Likewise.
21445 (dbl_mp): Likewise.
21446 (sub_magnitudes): Likewise.
21452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21454 (denorm): Likewise.
21455 (dbl_mp): Likewise.
21456 (sub_magnitudes): Likewise.
21463 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21465 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21466 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21469 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21470 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21472 of __mul for squares.
21473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21477 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21478 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21480 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21483 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21485 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21486 prototype or function definition. Rename ubp_* variables and
21487 parameters. Remove argv definitions conditional on
21488 [__BOUNDED_POINTERS__].
21489 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21490 * elf/dl-runtime.c (_dl_fixup): Likewise.
21491 * include/set-hooks.h (RUN_HOOK): Likewise.
21492 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21494 * string/strcpy.c (strcpy): Do not use __unbounded.
21495 * sysdeps/generic/frame.h (struct layout): Likewise.
21496 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21497 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21498 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21499 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21500 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21501 (__backtrace): Likewise.
21502 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21504 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21505 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21506 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21508 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21509 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21510 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21511 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21512 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21513 Do not use __unbounded.
21514 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21515 Rename __unboundedrlimits parameter to rlimits in prototype.
21516 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21517 Do not use __unbounded.
21518 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21519 not use __ptrvalue.
21520 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21521 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21522 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21523 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21524 __ptrvalue or __unbounded.
21525 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21526 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21528 (__new_msgctl): Do not use __ptrvalue.
21529 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21531 (__libc_msgrcv): Do not use __ptrvalue.
21532 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21533 startup_info): Do not use __unbounded.
21534 (__libc_start_main): Likewise. Rename ubp_* variables and
21535 parameters. Remove argv definitions conditional on
21536 [__BOUNDED_POINTERS__].
21537 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21539 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21541 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21543 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21545 (__new_shmctl): Do not use __ptrvalue.
21546 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21547 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21549 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21551 (__libc_sigaction): Likewise.
21552 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21553 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21555 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21557 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21559 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21561 * string/mempcpy.c: Implement by calling memcpy.
21563 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21571 values in the mantissa.
21573 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21574 minimize writes to Z.
21575 (sub_magnitudes): Simplify code a bit.
21577 2013-02-12 Roland McGrath <roland@hack.frob.com>
21579 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21580 from the message. The linker prefixes all warnings with that already.
21582 2013-02-12 Andreas Schwab <schwab@suse.de>
21585 * posix/regexec.c (extend_buffers): Add parameter min_len.
21586 (check_matching): Pass minimum needed length.
21587 (clean_state_log_if_needed): Likewise.
21588 (get_subexp): Likewise.
21589 * posix/Makefile (tests): Add bug-regex34.
21590 (bug-regex34-ENV): Define.
21591 * posix/bug-regex34.c: New file.
21594 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21595 elements compare against the byte sequence of it, not its name.
21596 * posix/Makefile (tests): Add bug-regex35.
21597 (bug-regex35-ENV): Define.
21598 * posix/bug-regex35.c: New file.
21600 2013-02-11 Tom de Vries <tom@codesourcery.com>
21602 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21604 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21605 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21606 (CHECK_EOL): Add undef.
21608 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21610 * bits/stdlib-bsearch.h: New file.
21611 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21612 * stdlib/stdlib.h: Likewise.
21614 2013-02-11 Roland McGrath <roland@hack.frob.com>
21616 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21617 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21619 * manual/search.texi (Array Search Function): Add missing const in
21621 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21622 declaration to use rlim_t.
21623 (Basic Scheduling Functions): Remove erroneous const from
21624 sched_getparam prototype. Remove erroneous * from
21625 sched_get_priority_max and sched_get_priority_min prototypes.
21626 (Resource Usage): Fix summary @comment on vtimes to refer to
21627 sys/vtimes.h rather than vtimes.h.
21628 Add missing *s in vtimes prototype.
21629 (Limits on Resources): Fix ulimit prototype to return long int.
21630 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21631 prototypes to use long int rather than double.
21632 (BSD Random): Fix initstate and setstate to use char *, not void *.
21633 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21634 prototype to make second argument 'struct aiocb64 *const[]'.
21635 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21636 (Status of AIO Operations): Remove erroneous const in aio_return and
21637 aio_return64 prototypes.
21638 (Synchronizing I/O): Fix sync prototype to return void.
21639 * manual/startup.texi (Suboptions): Remove an erroneous const in
21640 getsubopt prototype.
21641 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21642 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21643 use size_t rather than int.
21644 (Scanning All Users): Likewise for getpwent_r.
21645 (Setting Groups): Add missing const to setgroups prototype.
21646 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21647 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21648 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21649 'const void *' rather than 'const char *'.
21650 (Host Address Functions): Likewise for inet_ntop.
21651 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21652 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21653 ssize_t for return value.
21654 (Sending Data): Likewise for send, sendto, sendmsg.
21655 (Socket Option Functions): Add a missing const in setsockopt prototype.
21656 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21657 use wchar_t for the argument.
21658 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21659 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21661 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21662 double/float/long double for second argument.
21663 Fix return types of significand, significandf, significandl.
21664 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21665 argument in fchmod prototype.
21666 (File Owner): Use uid_t and gid_t in fchown prototype.
21667 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21668 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21669 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21670 use 'const struct dirent **' as argument types to CMP function pointer
21672 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21673 (File Times): Fix summary magic @comment for struct utimbuf and utime
21674 to refer to utime.h, not time.h.
21675 * manual/string.texi (Argz Functions): Add missing const in
21676 argz_extract and argz_next prototypes.
21677 (Finding Tokens in a String): Likewise for basename.
21678 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21679 (Copying and Concatenation): Fix typo in wmemmove prototype.
21680 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21681 (Signal Stack): Remove erroneous const in sigstack prototype.
21682 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21684 (Simple Calendar Time): Likewise for stime.
21685 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21687 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21688 say sys/sysctl.h instead.
21689 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21690 and vsyslog prototypes.
21692 2013-02-11 Tom de Vries <tom@codesourcery.com>
21694 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21697 2013-02-11 Roland McGrath <roland@hack.frob.com>
21699 * misc/sys/mman.h: Fix typo in mremap comment.
21701 2013-02-08 Roland McGrath <roland@hack.frob.com>
21703 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21704 the '\0' terminator.
21706 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21709 * debug/segfault.c: Don't include <bp-checks.h>.
21710 * sysdeps/generic/bp-checks.h: Remove file.
21711 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21712 (__GETDENTS): Don't use CHECK_N.
21713 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21714 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21715 (__getgroups): Don't use CHECK_N.
21716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21717 (setgroups): Don't use CHECK_N.
21718 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21719 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21720 (__libc_msgrcv): Don't use CHECK_N.
21721 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21722 (__libc_msgsnd): Don't use CHECK_N.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21725 (__libc_pread): Don't use CHECK_N.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21727 include <bp-checks.h>.
21728 (__libc_pread64): Don't use CHECK_N.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21730 include <bp-checks.h>.
21731 (__libc_pwrite): Don't use CHECK_N.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21733 include <bp-checks.h>.
21734 (__libc_pwrite64): Don't use CHECK_N.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21737 (__libc_pread): Don't use CHECK_N.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21739 include <bp-checks.h>.
21740 (__libc_pread64): Don't use CHECK_N.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21742 include <bp-checks.h>.
21743 (__libc_pwrite): Don't use CHECK_N.
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21745 include <bp-checks.h>.
21746 (__libc_pwrite64): Don't use CHECK_N.
21747 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21748 (do_pread): Don't use CHECK_N.
21749 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21750 (do_pread64): Don't use CHECK_N.
21751 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21752 (do_pwrite): Don't use CHECK_N.
21753 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21754 (do_pwrite64): Don't use CHECK_N.
21755 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21756 (__libc_readv): Don't use CHECK_N.
21757 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21758 (semop): Don't use CHECK_N.
21759 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21761 (semtimedop): Don't use CHECK_N.
21762 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21763 (__libc_pread): Don't use CHECK_N.
21764 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21766 (__libc_pread64): Don't use CHECK_N.
21767 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21769 (__libc_pwrite): Don't use CHECK_N.
21770 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21772 (__libc_pwrite64): Don't use CHECK_N.
21773 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21775 (__libc_msgrcv): Don't use CHECK_N.
21776 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21777 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21778 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21779 (__libc_writev): Don't use CHECK_N.
21781 2013-02-08 Roland McGrath <roland@hack.frob.com>
21783 * string/strcpy.c: Removed unused variable.
21785 * Makeconfig (+sysdep-includes): Define with := rather than =.
21786 Use an existing include/ subdir of each sysdeps dir before it.
21788 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21790 * nscd/connection.c (register_traced_file): Comment function.
21791 [HAVE_INOTIFY] (union __inev): Define.
21792 [HAVE_INOTIFY] (inotify_check_files): New function.
21793 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21794 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21796 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21798 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21800 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21801 loaded if not already and that a failure is permanent.
21803 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21806 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21807 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21809 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21812 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21813 (CHECK_1_NULL_OK): Likewise.
21814 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21815 (__fxstat): Do not use CHECK_1.
21816 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21818 (___fxstat64): Do not use CHECK_1.
21819 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21821 (__fxstatat): Do not use CHECK_1.
21822 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21824 (__fxstatat64): Do not use CHECK_1.
21825 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21827 (__fxstat): Do not use CHECK_1.
21828 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21830 (__fxstatat): Do not use CHECK_1.
21831 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21833 (__getresgid): Do not use CHECK_1.
21834 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21836 (__getresuid): Do not use CHECK_1.
21837 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21839 (__lxstat): Do not use CHECK_1.
21840 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21842 (__old_msgctl): Do not use CHECK_1.
21843 (__new_msgctl): Likewise.
21844 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21846 (__new_setrlimit): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21849 (__old_shmctl): Do not use CHECK_1.
21850 (__new_shmctl): Likewise.
21851 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21853 (__xstat): Do not use CHECK_1.
21854 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21855 (__lxstat): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21858 (___lxstat64): Do not use CHECK_1.
21859 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21860 (__old_msgctl): Do not use CHECK_1.
21861 (__new_msgctl): Likewise.
21862 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21864 (__gettimeofday): Do not use CHECK_1.
21865 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21866 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21867 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21869 (__gettimeofday): Do not use CHECK_1.
21870 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21871 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21872 (__new_shmctl): Do not use CHECK_1.
21873 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21875 (do_sigtimedwait): Do not use CHECK_1.
21876 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21878 (do_sigwaitinfo): Do not use CHECK_1.
21879 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21881 (msgctl): Do not use CHECK_1.
21882 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21884 (shmctl): Do not use CHECK_1.
21885 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21886 (ustat): Do not use CHECK_1.
21887 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21889 (__fxstat): Do not use CHECK_1.
21890 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21892 (__fxstatat): Do not use CHECK_1.
21893 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21895 (__lxstat): Do not use CHECK_1.
21896 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21898 (__xstat): Do not use CHECK_1.
21899 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21900 (__xstat): Do not use CHECK_1.
21901 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21902 (___xstat64): Do not use CHECK_1.
21905 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21907 (CHECK_BOUNDS_HIGH): Likewise.
21908 * string/strcpy.c: Do not include <bp-checks.h>.
21909 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21911 2013-02-07 Roland McGrath <roland@hack.frob.com>
21913 * nscd/nscd-client.h (__nscd_drop_map_ref):
21914 Add __attribute__ ((unused)).
21915 * nis/nss-nisplus.h (niserr2nss): Likewise.
21917 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21918 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21920 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21921 Remove inline keyword.
21922 * include/rounding-mode.h (round_away): Likewise.
21923 * libio/wfileops.c (adjust_wide_data): Likewise.
21924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21925 (__m128i_strloadu_tolower): Likewise.
21926 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21927 (__m128i_strloadu_tolower): Likewise.
21928 * time/mktime.c (ydhms_diff): Likewise.
21929 * locale/elem-hash.h (elem_hash): Likewise.
21930 * locale/setlocale.c (setdata): Likewise.
21931 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21932 (re_string_wchar_at): Likewise.
21933 (bitset_not, bitset_merge, bitset_mask): Likewise.
21934 [!(__GNUC__ > 3)] (inline): Remove macro.
21935 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21936 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21937 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21938 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21939 * string/memcmp.c (memcmp_bytes): Likewise.
21940 * locale/programs/locarchive.c (compute_hashval): Likewise.
21941 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21942 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21943 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21944 * nss/getent.c (print_rpc, print_protocols): Likewise.
21945 (print_passwd, print_group, print_aliases): Likewise.
21946 * nis/nss-nisplus.h (niserr2nss): Likewise.
21947 * nscd/connections.c (restart_p): Likewise.
21948 Change return type to bool.
21950 2013-02-05 Roland McGrath <roland@hack.frob.com>
21952 * Makeconfig (all-Depend-files): Add existing
21953 $(sorted-subdirs:=/Depend) files.
21954 (all-subdirs): Remove nss.
21955 * sysdeps/unix/inet/Subdirs: Add it here instead.
21956 * hesiod/Depend: New file.
21958 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21959 instead of calling alloca.
21961 * io/lseek.c (__lseek): Rename to __libc_lseek.
21962 Define __lseek as an alias.
21964 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21966 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21968 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21969 else clause and remove check for non-standard endianness.
21971 2013-02-04 David S. Miller <davem@davemloft.net>
21973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21975 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21978 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21979 (__ubp_memchr): Remove prototype.
21980 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21981 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21982 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21983 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21984 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21986 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21987 (__ubp_memchr): Likewise.
21988 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21989 (__ubp_memchr): Likewise.
21990 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21991 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21992 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21993 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21995 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21996 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21997 (__getcwd): Do not use CHECK_STRING.
21998 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22000 (__real_chown): Do not use CHECK_STRING.
22001 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22003 (fchownat): Do not use CHECK_STRING.
22004 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22006 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22008 (__lchown): Do not use CHECK_STRING.
22009 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22010 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22012 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22014 include <bp-checks.h>.
22015 (truncate64): Do not use CHECK_STRING.
22016 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22018 (__real_chown): Do not use CHECK_STRING.
22019 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22021 (__lchown): Do not use CHECK_STRING.
22022 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22024 (__chown): Do not use CHECK_STRING.
22025 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22027 (truncate64): Do not use CHECK_STRING.
22028 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22030 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22031 (__xmknod): Do not use CHECK_STRING.
22032 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22034 (__xmknodat): Do not use CHECK_STRING.
22035 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22036 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22038 2013-02-04 Andreas Schwab <schwab@suse.de>
22041 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22042 * include/netdb.h: Likewise for h_errno.
22043 * elf/tst-stackguard1.c: Include <tls.h>.
22045 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22047 * elf/link.h (struct link_map): Extend the l_addr comment.
22048 * include/link.h (struct link_map): Likewise.
22050 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22053 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22054 (BOUNDED_1): Remove macro.
22055 * debug/backtrace.c: Don't include <bp-checks.h>.
22056 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22057 (__backtrace): Likewise.
22058 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22060 (__backtrace): Don't use BOUNDED_1.
22061 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22063 (__backtrace): Don't use BOUNDED_1.
22064 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22065 (__backtrace): Don't use BOUNDED_1.
22066 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22067 (shmat): Don't use BOUNDED_N.
22069 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22072 * sysdeps/generic/bp-start.h: Remove file.
22073 * csu/libc-start.c: Don't include <bp-start.h>.
22074 (LIBC_START_MAIN): Set up __environ directly instead of using
22075 INIT_ARGV_and_ENVIRON.
22076 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22080 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22082 (CHECK_FCNTL): Likewise.
22083 (CHECK_N_PAGES): Likewise.
22086 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22088 (CHECK_SIGSET_NULL_OK): Likewise.
22089 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22091 (sigpending): Don't use CHECK_SIGSET.
22092 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22094 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22095 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22097 (do_sigsuspend): Don't use CHECK_SIGSET.
22098 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22100 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22101 (do_sigwait): Don't use CHECK_SIGSET.
22102 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22104 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22105 include <bp-checks.h>.
22106 (sigpending): Don't use CHECK_SIGSET.
22107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22108 include <bp-checks.h>.
22109 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22110 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22112 (sigpending): Don't use CHECK_SIGSET.
22113 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22115 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22118 * sysdeps/generic/bp-semctl.h: Remove file.
22119 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22120 <bp-checks.h> and <bp-semctl.h>.
22121 (__old_semctl): Don't use CHECK_SEMCTL.
22122 (__new_semctl): Likewise.
22123 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22125 (__old_semctl): Don't use CHECK_SEMCTL.
22126 (__new_semctl): Likewise.
22127 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22128 <bp-checks.h> and <bp-semctl.h>.
22129 (__old_semctl): Don't use CHECK_SEMCTL.
22130 (__new_semctl): Likewise.
22131 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22132 <bp-checks.h> and <bp-semctl.h>.
22133 (semctl): Don't use CHECK_SEMCTL.
22136 * Makerules (elide-bp-thunks): Remove variable.
22137 (elide-routines.oS): Don't use $(elide-bp-thunks).
22138 (elide-routines.os): Likewise.
22139 (elide-routines.o): Likewise.
22140 (elide-routines.op): Likewise.
22141 (elide-routines.og): Likewise.
22142 (objects): Don't use $(bp-thunks).
22143 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22145 (common-generated): Do not add s-proto-bp.d.
22146 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22149 Do not generate makefile rules for bounded-pointer thunks.
22150 * sysdeps/generic/bp-thunks.h: Remove file.
22151 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22152 * sysdeps/unix/s-proto-bp.S: Likewise.
22155 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22156 parts of result separately when argument is not close to line from
22157 -i to i and one part of argument is small.
22158 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22159 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22160 * math/libm-test.inc (cacos_test): Add more tests.
22161 (casin_test): Likewise.
22162 (casinh_test): Likewise.
22163 * sysdeps/i386/fpu/libm-test-ulps: Update.
22164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22166 2013-01-31 David S. Miller <davem@davemloft.net>
22168 * po/de.po: Update from translation team.
22170 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22172 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22174 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22176 * configure.in (_AC_PROG_CC_C89): New definition.
22177 * configure: Regenerate.
22179 * configure.in (AC_PROG_CPP): New definition.
22180 * configure: Regenerate.
22182 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22184 * debug/tst-backtrace.h: New file.
22185 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22186 (ret): Remove variable.
22188 (FAIL): Remove macro.
22189 (NO_INLINE): Likewise.
22190 (fn1): Use match function instead of strstr.
22191 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22192 (ret): Remove variable.
22194 (FAIL): Remove macro.
22195 (NO_INLINE): Likewise.
22196 (fn): Use match function instead of strstr.
22197 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22198 (ret): Remove variable.
22200 (FAIL): Remove macro.
22201 (NO_INLINE): Likewise.
22202 (handle_signal): Use match function instead of strstr.
22203 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22204 (ret): Remove variable.
22206 (FAIL): Remove macro.
22207 (NO_INLINE): Likewise.
22208 (handle_signal): Use match function instead of strstr.
22210 2013-01-23 Roland McGrath <roland@hack.frob.com>
22212 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22214 2013-01-23 David S. Miller <davem@davemloft.net>
22216 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22217 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22218 argument of CAS if possible.
22219 * sysdeps/sparc/sparc64/bits/atomic.h
22220 (__arch_compare_and_exchange_val_32_acq): Likewise.
22221 (__arch_compare_and_exchange_val_64_acq): Likewise.
22223 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22225 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22226 * sysdeps/posix/ulimit.c: ... this.
22227 Include <limits.h>.
22228 * sysdeps/unix/bsd/ulimit.c: Remove file.
22230 2013-01-23 Adam Conrad <adconrad@0c3.net>
22232 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22233 (LDFLAGS-tst-array5): Likewise.
22235 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22238 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22239 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22240 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22241 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22243 2013-01-21 David S. Miller <davem@davemloft.net>
22245 * sysdeps/sparc/backtrace.c: New file.
22246 * sysdeps/sparc/sparc32/backtrace.h: New file.
22247 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22248 * sysdeps/sparc/sparc64/backtrace.h: New file.
22249 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22250 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22253 2013-01-21 Andreas Schwab <schwab@suse.de>
22256 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22259 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22265 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22266 Mark Mitchell <mark@codesourcery.com>
22267 Tom de Vries <tom@codesourcery.com>
22268 Paul Pluzhnikov <ppluzhnikov@google.com>
22270 * debug/tst-backtrace2.c: New file.
22271 * debug/tst-backtrace3.c: Likewise.
22272 * debug/tst-backtrace4.c: Likewise.
22273 * debug/tst-backtrace5.c: Likewise.
22274 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22275 (CFLAGS-tst-backtrace3.c): Likewise.
22276 (CFLAGS-tst-backtrace4.c): Likewise.
22277 (CFLAGS-tst-backtrace5.c): Likewise.
22278 (LDFLAGS-tst-backtrace2): Likewise.
22279 (LDFLAGS-tst-backtrace3): Likewise.
22280 (LDFLAGS-tst-backtrace4): Likewise.
22281 (LDFLAGS-tst-backtrace5): Likewise.
22282 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22283 tst-backtrace4 and tst-backtrace5.
22285 2013-01-18 Anton Blanchard <anton@samba.org>
22286 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22288 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22289 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22290 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22291 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22293 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22294 "+r" and remove output regs list as redundant. Add explicit inline
22295 asm to specify register of return val to work around compiler codegen
22296 bug. Remove (int) cast on return value. Add return type parameter to
22297 use in macro so that this macro does not truncate return value for
22299 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22300 pass to INTERNAL_VSYSCALL_NCS.
22301 (INLINE_VSYSCALL): Add 'long int' as return type to
22302 INTERNAL_VSYSCALL_NCS macro invocation.
22303 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22304 INTERNAL_VSYSCALL_NCS macro invocation.
22305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22307 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22310 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22311 Fix application of SIMD FP exception mask.
22313 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22314 mp_no from a power of two.
22315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22316 __mpexp_twomm1. Use __pow_mp.
22318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22321 2013-01-17 David S. Miller <davem@davemloft.net>
22323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22325 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22328 * include/complex.h: Condition contents on [!_COMPLEX_H].
22329 (__kernel_casinhf): New prototype.
22330 (__kernel_casinh): Likewise.
22331 (__kernel_casinhl): Likewise.
22332 * math/Makefile (libm_calls): Add k_casinh.
22333 * math/k_casinh.c: New file.
22334 * math/k_casinhf.c: Likewise.
22335 * math/k_casinhl.c: Likewise.
22336 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22337 finite nonzero arguments.
22338 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22339 finite nonzero arguments.
22340 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22341 finite nonzero arguments.
22342 * math/s_casinh.c: Do not include <float.h>.
22343 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22344 * math/s_casinhf.c: Do not include <float.h>.
22345 (__casinhf): Move code for finite nonzero arguments to
22347 * math/s_casinhl.c: Do not include <float.h>.
22348 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22350 (__casinhl): Move code for finite nonzero arguments to
22352 * math/libm-test.inc (cacos_test): Add more tests.
22353 * sysdeps/i386/fpu/libm-test-ulps: Update.
22354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22356 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22358 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22359 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22360 [!HAVE_MREMAP]: Remove [defined linux] case.
22361 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22363 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22365 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22367 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22369 * elf/elf.h (R_386_SIZE32): New relocation.
22370 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22372 (elf_machine_rela): Likewise.
22373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22374 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22376 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22378 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22379 (FP_FAST_FMA): Do not define.
22380 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22381 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22382 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22383 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22384 !_SOFT_FLOAT]: Likewise.
22385 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22386 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22389 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22390 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22391 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22392 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22393 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22396 2013-01-16 Andreas Schwab <schwab@suse.de>
22399 * include/stdlib.h (__mktemp): Add declaration.
22400 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22401 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22403 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22405 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22407 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22408 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22409 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22411 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22412 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22414 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22416 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22417 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22418 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22420 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22421 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22423 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22425 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22427 2013-01-15 David S. Miller <davem@davemloft.net>
22429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22430 trunc{,f} to libm-sysdep_routes.
22431 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22441 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22442 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22443 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22444 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22445 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22446 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22449 nearbyint{,f} to libm-sysdep_routes.
22450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22461 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22467 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22468 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22470 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22471 libc_feholdexcept and libc_fesetenv.
22473 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22475 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22477 2013-01-14 David S. Miller <davem@davemloft.net>
22479 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22480 (SPARC_ASM_VIS2_IFUNC): Likewise.
22481 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22483 use of 'siam' instruction.
22484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22517 routines to libm-sysdep_routines.
22518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22521 fdim/fdimf to libm-sysdep_routines.
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22530 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22531 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22532 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22533 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22535 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22538 to optimize copies.
22540 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22545 local variable MPTWO.
22546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22549 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22551 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22554 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22556 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22558 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22560 * manual/pattern.texi (glob_t): Document gl_flags.
22561 (glob64_t): Likewise.
22563 2013-01-11 David S. Miller <davem@davemloft.net>
22565 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22566 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22567 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22568 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22569 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22570 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22571 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22572 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22573 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22574 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22575 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22576 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22577 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22579 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22580 sparc V9 rather than using V8 code.
22581 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22582 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22584 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22586 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22589 2013-01-11 Roland McGrath <roland@hack.frob.com>
22591 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22592 not in the main loop.
22593 * configure: Regenerated.
22595 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22597 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22598 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22600 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22601 [!__GLIBC_HAVE_LONG_LONG] case.
22602 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22603 condition to just #else.
22604 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22605 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22606 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22607 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22609 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22610 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22611 #elif condition to just #else.
22612 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22613 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22614 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22615 #elif condition to just #else.
22617 2013-01-11 Steve Ellcey <sellcey@mips.com>
22619 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22620 (EF_MIPS_ARCH_64): Fix value.
22621 (EF_MIPS_ARCH_32R2): New.
22622 (EF_MIPS_ARCH_64R2): New.
22624 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22626 * Makeconfig (+link-pie-before-libc): New.
22627 (+link-pie-after-libc): Likewise.
22628 (+link-pie-tests): Likewise.
22629 (+link-pie): Rewritten.
22630 (link-before-libc): Remove $(config-LDFLAGS).
22631 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22632 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22633 (config-LDFLAGS): Renamed to ...
22634 (rtld-LDFLAGS): This.
22635 (rtld-tests-LDFLAGS): New macro.
22636 (link-libc-rpath-link): Likewise.
22637 (link-libc-tests-rpath-link): Likewise.
22638 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22639 (link-libc): Prepand $(link-libc-rpath-link).
22640 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22641 (test-program-prefix): New macro.
22642 (test-via-rtld-prefix): Likewise.
22643 (test-program-cmd): Likewise.
22644 (host-test-program-cmd): Likewise.
22645 * Makefile ($(common-objpfx)testrun.sh): Replace
22646 $(run-program-prefix) with $(test-program-prefix).
22647 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22649 ($(common-objpfx)shlib.lds): Likewise.
22650 (build-module-helper): Likewise.
22651 ($(common-objpfx)format.lds): Likewise.
22652 * Rules (binaries-pie-tests): New.
22653 (binaries-pie-notests): Likewise.
22654 (binaries-pie): Rewritten.
22655 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22656 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22657 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22658 (make-test-out): Replace $(host-built-program-cmd) with
22659 $(host-test-program-cmd).
22660 * config.make.in (build-hardcoded-path-in-tests): New variable.
22661 * configure.in (--enable-hardcoded-path-in-tests): New configure
22663 (hardcoded_path_in_tests): New AC_SUBST.
22664 * configure: Regenerated.
22665 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22666 $(built-program-cmd) with $(test-program-cmd).
22667 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22668 (test_program_cmd): This.
22669 * elf/Makefile ($(objpfx)order.out): Run test with
22670 $(test-program-prefix).
22671 ($(objpfx)order2.out): Likewise.
22672 ($(objpfx)tst-initorder.out): Likewise.
22673 ($(objpfx)tst-initorder2.out): Likewise.
22674 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22675 $(test-program-cmd).
22676 ($(objpfx)tst-array1-static.out): Likewise.
22677 ($(objpfx)tst-array2.out): Likewise.
22678 ($(objpfx)tst-array3.out): Likewise.
22679 ($(objpfx)tst-array4.out): Likewise.
22680 ($(objpfx)tst-array5.out): Likewise.
22681 ($(objpfx)tst-array5-static.out): Likewise.
22682 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22683 $(test-program-cmd).
22684 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22685 $(run-program-prefix) with $(test-program-prefix).
22686 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22687 (test_program_prefix): This.
22688 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22689 $(run-program-prefix) with $(test-program-prefix).
22690 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22691 (test_program_prefix): This.
22692 * iconvdata/tst-tables.sh: Likewise.
22693 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22694 $(run-program-prefix) with $(test-program-prefix).
22695 ($(objpfx)tst-translit.out): Likewise.
22696 ($(objpfx)tst-gettext2.out): Likewise.
22697 ($(objpfx)tst-gettext4.out): Likewise.
22698 ($(objpfx)tst-gettext6.out): Likewise.
22699 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22700 (test_program_prefix): This.
22701 * intl/tst-gettext2.sh: Likewise.
22702 * intl/tst-gettext4.sh Likewise.
22703 * intl/tst-gettext6.sh: Likewise.
22704 * intl/tst-translit.sh: Likewise.
22705 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22706 with $(test-program-cmd).
22707 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22708 $(run-program-prefix) with $(test-program-prefix).
22709 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22710 (test_program_prefix): This.
22711 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22712 $(run-program-prefix) with $(test-program-prefix).
22713 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22714 (test_program_prefix): This.
22715 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22716 * posix/Makefile ($(objpfx)globtest.out): Replace
22717 $(run-via-rtld-prefix) and $(test-wrapper) with
22718 $(test-program-prefix) and $(test-via-rtld-prefix).
22719 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22720 $(test-program-prefix).
22721 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22722 $(host-test-program-cmd).
22723 (tst-spawn-ARGS): Likewise.
22724 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22725 $(test-program-prefix).
22726 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22727 (test_via_rtld_prefix): This.
22728 (test_wrapper): Renamed to ...
22729 (test_program_prefix): This.
22730 (run_program_prefix): Replaced by test_program_prefix.
22731 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22732 (test_program_prefix): This.
22733 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22734 with $(host-test-program-cmd).
22735 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22736 $(run-program-prefix) with $(test-program-prefix).
22737 ($(objpfx)tst-printf.out): Likewise.
22738 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22739 $(test-program-cmd).
22740 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22741 (test_program_prefix): This.
22742 * stdio-common/tst-unbputc.sh: Likewise.
22743 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22744 $(run-program-prefix) with $(test-program-prefix).
22745 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22746 (test_program_prefix): This.
22747 * string/Makefile ($(objpfx)tst-svc.out): Replace
22748 $(built-program-cmd) with $(test-program-cmd).
22750 2013-01-11 Andreas Jaeger <aj@suse.de>
22753 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22754 value. Sync with Linux 3.7.
22756 2013-01-10 David S. Miller <davem@davemloft.net>
22758 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22759 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22760 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22762 2013-01-10 Roland McGrath <roland@hack.frob.com>
22764 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22766 * configure: Regenerated.
22768 2013-01-10 David S. Miller <davem@davemloft.net>
22770 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22771 sparc V9 rather than using V8 code.
22772 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22773 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22775 2013-01-10 Roland McGrath <roland@hack.frob.com>
22777 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22778 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22779 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22780 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22781 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22782 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22783 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22784 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22785 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22786 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22787 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22788 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22789 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22790 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22791 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22792 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22793 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22794 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22795 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22796 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22797 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22798 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22799 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22800 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22801 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22802 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22803 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22805 2013-01-10 David S. Miller <davem@davemloft.net>
22807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22809 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22811 * posix/Makefile (tests-static): New variable.
22812 (tests): Add $(tests-static).
22813 (tst-exec-static-ARGS): New variable.
22814 (tst-spawn-static-ARGS): Likewise.
22815 * posix/tst-exec-static.c: New file.
22816 * posix/tst-spawn-static.c: Likewise.
22817 * posix/tst-exec.c: Support run directly.
22818 * posix/tst-spawn.c: Likewise.
22820 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22822 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22824 * math/bits/mathcalls.h (llrint): Likewise.
22825 (llround): Likewise.
22826 * stdlib/stdlib.h (struct drand48_data): Likewise.
22827 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22828 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22829 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22831 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22833 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22834 (elf_greg_t): Likewise.
22835 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22836 (__jmp_buf): Likewise.
22837 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22839 (llrint): Likewise, for all definitions.
22840 (llrintl): Likewise.
22842 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22843 Remove [__GNUC__] condition.
22844 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22845 condition to just [__USE_ISOC99].
22846 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22848 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22851 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22852 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22854 (_POSIX_V6_ILP32_OFF32): Likewise.
22855 (_XBS5_ILP32_OFF32): Likewise.
22856 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22857 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22859 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22861 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22864 doubles __mpexp_twomm1. Adjust usage.
22865 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22868 2013-01-10 Andreas Schwab <schwab@suse.de>
22871 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22872 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22874 2013-01-09 David S. Miller <davem@davemloft.net>
22877 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22878 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22879 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22880 (TCP_FASTOPEN): Define.
22881 (tcp_repair_opt): New structure.
22882 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22884 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22885 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22886 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22887 (tcp_cookie_transactions): New structure.
22889 2013-01-09 Anton Blanchard <anton@samba.org>
22891 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22892 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22894 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22896 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22898 * include/features.h (__USE_ANSI): Remove.
22900 2013-01-09 Roland McGrath <roland@hack.frob.com>
22902 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22904 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22906 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22908 * sysdeps/s390/fpu/libm-test-ulps: Update.
22910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22912 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22916 (denorm): Likewise.
22917 (__mp_dbl): Likewise.
22918 (__dbl_mp): Likewise.
22919 (add_magnitudes): Likewise.
22920 (sub_magnitudes): Likewise.
22926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22930 (denorm): Likewise.
22931 (__mp_dbl): Likewise.
22932 (__dbl_mp): Likewise.
22933 (add_magnitudes): Likewise.
22934 (sub_magnitudes): Likewise.
22940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22944 (denorm): Likewise.
22945 (__mp_dbl): Likewise.
22946 (__dbl_mp): Likewise.
22947 (add_magnitudes): Likewise.
22948 (sub_magnitudes): Likewise.
22955 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22957 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22958 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22959 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22960 2 && __USE_EXTERN_INLINES]: Likewise.
22962 2013-01-08 Andreas Jaeger <aj@suse.de>
22965 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22967 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22968 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22970 2013-01-07 Anton Blanchard <anton@samba.org>
22972 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22973 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22974 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22975 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22976 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22977 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22978 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22979 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22981 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22982 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22983 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22984 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22985 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22986 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22987 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22988 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22989 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22990 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22991 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22992 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22993 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22994 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22996 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22997 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22998 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22999 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23001 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23002 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23004 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23005 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23012 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23014 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23016 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23018 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23019 (__MALLOC_PMT): Likewise.
23020 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23021 [__GNUC__], only on [_LIBC].
23022 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23023 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23024 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23025 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23026 forward declaration.
23027 (realloc_hook_ini): Likewise.
23028 (memalign_hook_ini): Likewise.
23029 (__libc_memalign): Do not use __MALLOC_PMT in variable
23031 (__libc_valloc): Likewise.
23032 (__libc_pvalloc): Likewise.
23033 (__libc_calloc): Likewise.
23034 (__posix_memalign): Likewise.
23037 * math/s_casinh.c: Include <float.h>.
23038 (__casinh): Do not do computation with squaring and square root
23039 for large arguments.
23040 * math/s_casinhf.c: Include <float.h>.
23041 (__casinhf): Do not do computation with squaring and square root
23042 for large arguments.
23043 * math/s_casinhl.c: Include <float.h>.
23044 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23045 (__casinhl): Do not do computation with squaring and square root
23046 for large arguments.
23047 * math/libm-test.inc (casin_test): Add more tests.
23048 (casinh_test): Likewise.
23049 * sysdeps/i386/fpu/libm-test-ulps: Update.
23050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23052 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23054 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23055 (__x86_64_raw_data_cache_size): Likewise.
23056 (__x86_64_data_cache_size_half): Likewise.
23057 (__x86_64_raw_data_cache_size_half): Likewise.
23058 (__x86_64_shared_cache_size): Likewise.
23059 (__x86_64_raw_shared_cache_size): Likewise.
23060 (__x86_64_shared_cache_size_half): Likewise.
23061 (__x86_64_raw_shared_cache_size_half): Likewise.
23062 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23064 (__x86_data_cache_size): This.
23065 (__x86_64_raw_data_cache_size): Renamed to ...
23066 (__x86_raw_data_cache_size): This.
23067 (__x86_64_data_cache_size_half): Renamed to ...
23068 (__x86_data_cache_size_half): This.
23069 (__x86_64_raw_data_cache_size_half): Renamed to ...
23070 (__x86_raw_data_cache_size_half): This.
23071 (__x86_64_shared_cache_size): Renamed to ...
23072 (__x86_shared_cache_size): This.
23073 (__x86_64_raw_shared_cache_size): Renamed to ...
23074 (__x86_raw_shared_cache_size): This.
23075 (__x86_64_shared_cache_size_half): Renamed to ...
23076 (__x86_shared_cache_size_half): This.
23077 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23078 (__x86_raw_shared_cache_size_half): This.
23079 * sysdeps/x86_64/memcpy.S: Updated.
23080 * sysdeps/x86_64/memset.S: Likewise.
23081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23083 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23085 2013-01-04 David S. Miller <davem@davemloft.net>
23087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23089 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23091 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23092 1 to avoid redefinition warning.
23093 (__USE_GNU): Don't define.
23094 (init_signaling_nan): Protoize.
23096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23098 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23100 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23102 (__cpymn): Likewise.
23103 (norm): Remove commented code.
23104 (denorm): Likewise.
23105 (__mp_dbl): Likewise.
23107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23108 (__cpymn): Likewise.
23109 (norm): Remove commented code.
23110 (denorm): Likewise.
23111 (__mp_dbl): Likewise.
23114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23115 mp_no value for 1.0 and 2.0.
23116 (norm): Use RADIXI instead of radixi.d.
23117 (denorm): Likewise.
23118 (__mul): Use 0.0 instead of zero.d.
23119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23120 mp_no value for 1.0 and 2.0.
23121 (norm): Use RADIXI instead of radixi.d.
23122 (denorm): Likewise.
23123 (__mul): Use 0.0 instead of zero.d.
23125 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23128 * math/s_casinh.c (__casinh): Reduce finite argument to first
23129 quadrant then set signs of results at the end.
23130 * math/s_casinhf.c (__casinhf): Likewise.
23131 * math/s_casinhl.c (__casinhl): Likewise.
23132 * math/libm-test.inc (casin_test): Add more tests.
23133 (casinh_test): Likewise.
23134 * sysdeps/i386/fpu/libm-test-ulps: Update.
23135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23137 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23139 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23141 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23143 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23145 (denorm): Likewise.
23146 (__mp_dbl): Likewise.
23149 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23150 and adjust the header comment.
23152 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23153 variable name from declaration.
23155 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23158 Initialize COMMON_CPUID_INDEX_7 element.
23159 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23160 (CPUID_RTM): Likewise.
23161 (HAS_RTM): Likewise.
23162 (COMMON_CPUID_INDEX_7): New enum.
23164 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23167 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23168 size is zero, record memory as freed.
23170 2013-01-03 Andreas Jaeger <aj@suse.de>
23172 * po/ia.po: Add new Interlingua translation.
23174 2012-01-03 Allan McRae <allan@archlinux.org>
23176 * locale/programs/localedef.c: Fix description of '--posix' flag.
23178 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23180 * NEWS: Update dates in second copyright notice.
23181 * README: Update copyright dates in example.
23182 * manual/libc.texinfo: Update copyright dates.
23183 * scripts/test-installation.pl: Update copyright date in --version
23186 * hurd/ctty-input.c: Fix copyright notice formatting.
23187 * hurd/ctty-output.c: Likewise.
23188 * hurd/dtable.c: Likewise.
23189 * hurd/hurd-raise.c: Likewise.
23190 * hurd/hurdprio.c: Likewise.
23191 * hurd/msgportdemux.c: Likewise.
23192 * misc/sys/file.h: Likewise.
23193 * misc/sys/ioctl.h: Likewise.
23194 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23195 * sysdeps/mach/hurd/chdir.c: Likewise.
23196 * sysdeps/mach/hurd/fchdir.c: Likewise.
23197 * sysdeps/mach/hurd/rename.c: Likewise.
23198 * sysdeps/mach/hurd/rmdir.c: Likewise.
23199 * sysdeps/mach/hurd/seekdir.c: Likewise.
23200 * sysdeps/mach/hurd/setsid.c: Likewise.
23201 * sysdeps/posix/wait3.c: Likewise.
23203 * All files with FSF copyright notices: Update copyright dates
23204 using scripts/update-copyrights.
23205 * intl/plural.c: Regenerated.
23206 * locale/programs/charmap-kw.h: Likewise.
23207 * locale/programs/locfile-kw.h: Likewise.
23209 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23211 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23214 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23215 calculation loop and add branch prediction.
23217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23218 check access beyond bounds of m1np.
23220 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23222 (__inv): Remove local variable MPTWO to use the global
23224 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23227 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23228 MP3HALFS static const.
23230 2013-01-01 David S. Miller <davem@davemloft.net>
23232 * po/ca.po: Update from translation team.
23234 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23236 * scripts/update-copyrights: New file.
23237 * Makeconfig: Reformat copyright notice.
23238 * ctype/ctype.h: Likewise.
23239 * debug/swprintf_chk.c: Likewise.
23240 * elf/dl-cache.c: Likewise.
23241 * elf/dl-debug.c: Likewise.
23242 * elf/dl-object.c: Likewise.
23243 * grp/initgroups.c: Likewise.
23244 * hurd/Makefile: Likewise.
23245 * hurd/hurd/signal.h: Likewise.
23246 * hurd/hurdfault.c: Likewise.
23247 * hurd/hurdioctl.c: Likewise.
23248 * hurd/hurdlookup.c: Likewise.
23249 * hurd/intr-msg.c: Likewise.
23250 * iconv/gconv_open.c: Likewise.
23251 * libio/swprintf.c: Likewise.
23252 * locale/lc-ctype.c: Likewise.
23253 * locale/nl_langinfo.c: Likewise.
23254 * mach/Machrules: Likewise.
23255 * mach/Makefile: Likewise.
23256 * malloc/obstack.h: Likewise.
23257 * manual/Makefile: Likewise.
23258 * manual/tsort.awk: Likewise.
23259 * misc/bits/stab.def: Likewise.
23260 * nis/nis_print_group_entry.c: Likewise.
23261 * nis/nis_table.c: Likewise.
23262 * nis/nss_compat/compat-pwd.c: Likewise.
23263 * nis/nss_compat/compat-spwd.c: Likewise.
23264 * po/Makefile: Likewise.
23265 * posix/fnmatch.c: Likewise.
23266 * posix/regex.h: Likewise.
23267 * resolv/Makefile: Likewise.
23268 * resolv/nss_dns/dns-network.c: Likewise.
23269 * resolv/res_hconf.c: Likewise.
23270 * scripts/gen-sorted.awk: Likewise.
23271 * soft-fp/soft-fp.h: Likewise.
23272 * stdio-common/printf.h: Likewise.
23273 * stdlib/monetary.h: Likewise.
23274 * stdlib/random.c: Likewise.
23275 * stdlib/random_r.c: Likewise.
23276 * sysdeps/generic/Makefile: Likewise.
23277 * sysdeps/gnu/Makefile: Likewise.
23278 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23301 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23302 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23303 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23306 * sysdeps/mach/hurd/errnos.awk: Likewise.
23307 * sysdeps/mach/hurd/fork.c: Likewise.
23308 * sysdeps/mach/hurd/getcwd.c: Likewise.
23309 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23310 * sysdeps/mach/hurd/mmap.c: Likewise.
23311 * sysdeps/mach/hurd/utimes.c: Likewise.
23312 * sysdeps/mach/hurd/xmknod.c: Likewise.
23313 * sysdeps/posix/profil.c: Likewise.
23314 * sysdeps/posix/readdir_r.c: Likewise.
23315 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23316 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23317 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23318 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23319 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23320 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23321 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23322 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23324 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23325 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23326 * sysdeps/pthread/lio_listio.c: Likewise.
23327 * sysdeps/sparc/dl-procinfo.h: Likewise.
23328 * sysdeps/unix/i386/sysdep.S: Likewise.
23329 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23330 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23331 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23332 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23334 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23335 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23336 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23337 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23338 * sysdeps/wordsize-32/divdi3.c: Likewise.
23339 * time/sys/time.h: Likewise.
23340 * wcsmbs/Makefile: Likewise.
23342 2013-01-01 David S. Miller <davem@davemloft.net>
23344 * po/fr.po: Update from translation team.
23346 * catgets/gencat.c: Update copyright year.
23347 * csu/version.c: Likewise.
23348 * debug/catchsegv.sh: Likewise.
23349 * debug/pcprofiledump.c: Likewise.
23350 * debug/xtrace.sh: Likewise.
23351 * elf/ldconfig.c: Likewise.
23352 * elf/ldd.bash.in: Likewise.
23353 * elf/pldd.c: Likewise.
23354 * elf/sotruss.ksh: Likewise.
23355 * elf/sprof.c: Likewise.
23356 * iconv/iconv_prog.c: Likewise.
23357 * iconv/iconvconfig.c: Likewise.
23358 * locale/programs/locale.c: Likewise.
23359 * locale/programs/localedef.c: Likewise.
23360 * login/programs/pt_chown.c: Likewise.
23361 * malloc/memusage.sh: Likewise.
23362 * malloc/memusagestat.c: Likewise.
23363 * malloc/mtrace.pl: Likewise.
23364 * nscd/nscd.c: Likewise.
23365 * nss/getent.c: Likewise.
23366 * nss/makedb.c: Likewise.
23367 * posix/getconf.c: Likewise.
23369 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23371 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23374 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23376 * math/bits/mathcalls.h (modf): Use __nonnull.
23378 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23380 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23381 (split): Use macro CN instead of the bare value.
23382 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23385 instead of the bare value.
23386 (power1): Likewise.
23388 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23390 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23394 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23396 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23397 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23398 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23399 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23401 2012-12-28 Andreas Jaeger <aj@suse.de>
23403 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23404 values are from Linux 3.7.
23406 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23407 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23409 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23411 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23416 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23417 variables with preprocessor constants.
23418 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23419 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23420 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23422 2012-12-27 Bruno Haible <bruno@clisp.org>
23425 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23428 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23430 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23431 and use variable directly.
23432 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23434 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23436 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23440 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23441 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23442 include directive. Remove local variable MPONE.
23443 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23444 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23447 2012-12-25 David S. Miller <davem@davemloft.net>
23449 * version.h (RELEASE): Set to "development".
23450 (VERSION): Set to "2.17.90".
23451 * NEWS: Add 2.18 section.
23453 2012-12-21 David S. Miller <davem@davemloft.net>
23455 * po/hr.po: Update from translation team.
23457 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23459 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23461 2012-12-19 Steve Ellcey <sellcey@mips.com>
23463 * NEWS: Mention new memcpy for MIPS.
23465 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23467 * manual/contrib.texi (Contributors): Spelling correction.
23469 2012-12-15 David S. Miller <davem@davemloft.net>
23471 * po/ru.po: Update from translation team.
23473 2012-12-13 David S. Miller <davem@davemloft.net>
23475 * NEWS: Mention IFUNC testsuite enhancements.
23477 * po/pl.po: Update from translation team.
23478 * po/bg.po: Likewise.
23480 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23481 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23483 2012-12-11 David S. Miller <davem@davemloft.net>
23485 * po/sv.po: Update from translation team.
23487 * po/vi.po: Update from translation team.
23489 * po/cs.po: Update from translation team.
23491 * po/de.po: Update from translation team.
23492 * po/eo.po: Likewise.
23493 * po/nl.po: Likewise.
23495 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23498 * manual/argp.texi (Argp Helper Functions): Move node to follow
23499 Argp Parsing State.
23502 * manual/conf.texi (Limits on File System Capacity): Mention if
23503 terminating null is included in the max size.
23505 2012-12-10 Andreas Jaeger <aj@suse.de>
23507 * po/cs.po: Update from translation team.
23509 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23511 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23512 void pointer and cast to uintptr_t.
23513 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23515 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23516 * sysdeps/s390/s390-64/memset.S: Likewise.
23518 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23521 * menual/message.texi (Message Translation): Fix typos.
23522 (Helper programs for gettext): Likewise.
23524 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23527 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23530 2012-12-07 David S. Miller <davem@davemloft.net>
23532 * po/libc.pot: Update.
23534 2012-12-07 Richard Henderson <rth@redhat.com>
23537 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23538 normal/normal case to before the switch.
23539 (_FP_DIV): Likewise.
23541 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23542 Mike Frysinger <vapier@gentoo.org>
23544 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23545 check for __NR_fadvise64_64.
23547 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23549 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23550 0, not just to plain "0" as a statement.
23551 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23554 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23556 * NEWS: Use sourceware.org in Bugzilla URL.
23558 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23561 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23563 * stdio-common/tst-put-error.c (do_test): Add newline to the
23564 padded test to ensure flush.
23566 2012-12-05 Jeff Law <law@redhat.com>
23568 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23570 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23572 * README: Don't refer to ports add-on as distributed separately.
23573 Mention AArch64 in list of systems supported in the ports add-on.
23575 * LICENSES: Add more non-FSF copyright and license notices.
23577 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23580 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23582 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23583 10000 as width of padded output.
23585 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23587 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23589 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23590 variable LX with __attribute__ ((unused)).
23591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23593 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23596 with __attribute__ ((unused)).
23598 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23600 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23602 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23604 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23605 (CFLAGS-nldbl-acos.c): New variable.
23606 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23607 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23608 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23609 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23610 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23611 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23612 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23613 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23614 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23615 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23616 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23617 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23618 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23619 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23620 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23621 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23622 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23623 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23624 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23625 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23626 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23627 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23628 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23705 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23708 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23709 whole low double instead of just low 47 bits when splitting values
23712 2012-12-03 Allan McRae <allan@archlinux.org>
23714 * manual/stdio.texi (Predefined Printf Handlers): Remove
23715 @hsep and @vsep usage.
23717 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23719 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23720 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23722 2012-12-03 Jeff Law <law@redhat.com>
23724 * time/sys/time.h (settimeofday): Do not mark TV argument
23727 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23729 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23730 when currently writing and seek to current position when not.
23731 * libio/Makefile (tests): Remove bug-fclose1.
23732 * libio/bug-fclose1.c: Delete.
23734 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23736 * manual/arith.texi (feenableexcept): Fix typo.
23737 (fedisableexcept): Likewise.
23739 2012-11-30 Roland McGrath <roland@hack.frob.com>
23741 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23742 second, differently-typed declaration, rather than a cast.
23744 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23746 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23747 * include/rpc/svc.h: ... here.
23749 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23752 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23753 depending n and resplen2 to catch cases where answer
23756 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23758 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23759 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23761 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23763 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23765 2012-11-29 Roland McGrath <roland@hack.frob.com>
23767 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23769 2012-11-28 Jeff Law <law@redhat.com>
23772 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23773 dataset_temporary. Track alloca usage into alloca_used.
23774 If dataset is large allocate and release it via malloc/free.
23776 2012-06-04 Florian Weimer <fweimer@redhat.com>
23779 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23781 2012-11-28 David S. Miller <davem@davemloft.net>
23783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23785 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23788 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23789 of pi/2 rounded to nearest to 64 bits.
23790 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23791 nearest to 64 bits.
23792 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23795 2012-11-28 Jeff Law <law@redhat.com>
23796 Martin Osvald <mosvald@redhat.com>
23799 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23800 * sunrpc/svc.c: Include time.h.
23801 (__svc_accept_failed): New function.
23802 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23803 any reason other than EINTR, call __svc_accept_failed.
23804 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23805 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23807 2012-11-28 Andreas Schwab <schwab@suse.de>
23809 * scripts/abilist.awk: Also handle indirect functions in .opd
23812 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23815 * sysdeps/x86/fpu/powl_helper.c: New file.
23816 * sysdeps/x86/fpu/Makefile: Likewise.
23817 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23819 (__ieee754_powl): Use __powl_helper for finite arguments except
23820 integer exponents below 8.
23821 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23823 (__ieee754_powl): Use __powl_helper for finite arguments except
23824 integer exponents below 8.
23825 * math/libm-test.inc (pow_test): Add more tests and enable some
23826 previously disabled tests.
23827 * sysdeps/i386/fpu/libm-test-ulps: Update.
23828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23830 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23831 Carlos O'Donell <carlos_odonell@mentor.com>
23833 * nss/makedb.c (is_prime): Assert that input is odd and greater
23834 than 4. Note that fact in a comment too.
23835 (next_prime): Add 4 to input.
23837 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23840 * libio/Makefile (tests): Add test case tst-fwrite-error.
23841 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23842 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23843 * libio/tst-fwrite-error.c: New test case.
23845 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23847 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23848 before casting to void *.
23849 * include/libc-internal.h (__pointer_type): New macro.
23850 (__integer_if_pointer_type_sub): Likewise.
23851 (__integer_if_pointer_type): Likewise.
23852 (cast_to_integer): Likewise.
23853 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23854 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23855 before casting to atomic64_t.
23856 (atomic_exchange_acq): Likewise.
23857 (__arch_exchange_and_add_body): Likewise.
23858 (__arch_add_body): Likewise.
23859 (atomic_add_negative): Likewise.
23860 (atomic_add_zero): Likewise.
23862 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23864 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23865 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23866 (add_fdes): Likewise.
23867 (linear_search_fdes): Likewise.
23868 (binary_search_unencoded_fdes): Likewise.
23870 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23872 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23874 2012-11-24 Adam Conrad <adconrad@0c3.net>
23876 * configure.in: Autodetect C++ header directories.
23877 * configure: Regenerated.
23879 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23881 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23883 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23887 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23889 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23890 LDBL_MANT_DIG == 106]: Disable some tests.
23891 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23893 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23898 input for small inputs. Return +/- pi/2 for large inputs.
23899 * math/libm-test.inc (atan_test): Add more tests.
23901 * sysdeps/generic/unwind-dw2-fde-glibc.c
23902 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23903 __attribute__ ((unused)).
23906 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23907 x * y if x and y are nonzero and z is zero.
23910 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23911 nonzero exponents with absolute value below 0x1p-117 to +/-
23915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23916 up arguments below 2**-450, not just those below 2**-500.
23917 * math/libm-test.inc (hypot_test): Add another test.
23920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23921 Return a+b for ratio over 2**120, not 2**60.
23922 * math/libm-test.inc (hypot_test): Add another test.
23924 * math/libm-test.inc (clog_test): Use
23925 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23926 (clog10_test): Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23931 2012-11-22 Andreas Schwab <schwab@suse.de>
23933 * sysdeps/i386/fpu/libm-test-ulps: Update.
23935 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23937 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23938 printf output with newline.
23940 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23943 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23944 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23945 -z nodlopen, -z initfirst and -z execstack support.
23946 * configure: Regenerated.
23948 * elf/elf.h (DF_1_NODIRECT): New macro.
23949 (DF_1_IGNMULDEF): Likewise.
23950 (DF_1_NOKSYMS): Likewise.
23951 (DF_1_NOHDR): Likewise.
23952 (DF_1_EDITED): Likewise.
23953 (DF_1_NORELOC): Likewise.
23954 (DF_1_SYMINTPOSE): Likewise.
23955 (DF_1_GLOBAUDIT): Likewise.
23956 (DF_1_SINGLETON): Likewise.
23957 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23958 DT_1_SUPPORTED_MASK bits.
23959 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23961 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23963 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23965 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23967 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23970 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23971 (sendmmsg): Move declarations...
23972 * socket/sys/socket.h: ... here.
23973 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23974 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23976 * socket/recvmmsg.c: ... this new file.
23977 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23978 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23979 definition of __sendmmsg hidden.
23980 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23981 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23982 Move ENOSYS stub into and include it from...
23983 * socket/sendmmsg.c: ... this new file.
23984 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23985 (sysdep_routines): Move recvmmsg and sendmmsg...
23986 * socket/Makefile (routines): ... here.
23987 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23988 (GLIBC_PRIVATE): Add __sendmmsg.
23989 * include/sys/socket.h (__sendmmsg): Add declarations.
23990 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23993 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23995 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23996 variable I1 with __attribute__ ((unused)).
23997 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23999 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24001 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24002 DUMMY variables with __attribute__ ((unused)).
24004 * bits/byteswap.h: Include <bits/types.h>.
24005 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24007 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24009 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24010 string_t. Do not manually set errno.
24011 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24012 length with __strnlen. Make sure to both set errno and return it on
24015 2012-11-19 David S. Miller <davem@davemloft.net>
24017 With help from Joseph Myers.
24018 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24019 very large arguments properly.
24020 * math/libm-test.inc (atan_test): New tests.
24021 (atan2_test): New tests.
24022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24025 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24028 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24031 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24032 [POSIX] (EADDRNOTAVAIL): Likewise.
24033 [POSIX] (EAFNOSUPPORT): Likewise.
24034 [POSIX] (EALREADY): Likewise.
24035 [POSIX] (ECONNABORTED): Likewise.
24036 [POSIX] (ECONNREFUSED): Likewise.
24037 [POSIX] (ECONNRESET): Likewise.
24038 [POSIX] (EDESTADDRREQ): Likewise.
24039 [POSIX] (EDQUOT): Likewise.
24040 [POSIX] (EHOSTUNREACH): Likewise.
24041 [POSIX] (EIDRM): Likewise.
24042 [POSIX] (EISCONN): Likewise.
24043 [POSIX] (ELOOP): Likewise.
24044 [POSIX] (EMULTIHOP): Likewise.
24045 [POSIX] (ENETDOWN): Likewise.
24046 [POSIX] (ENETUNREACH): Likewise.
24047 [POSIX] (ENOBUFS): Likewise.
24048 [POSIX] (ENODATA): Likewise.
24049 [POSIX] (ENOLINK): Likewise.
24050 [POSIX] (ENOMSG): Likewise.
24051 [POSIX] (ENOPROTOOPT): Likewise.
24052 [POSIX] (ENOSR): Likewise.
24053 [POSIX] (ENOSTR): Likewise.
24054 [POSIX] (ENOTCONN): Likewise.
24055 [POSIX] (ENOTSOCK): Likewise.
24056 [POSIX] (EOPNOTSUPP): Likewise.
24057 [POSIX] (EOVERFLOW): Likewise.
24058 [POSIX] (EPROTO): Likewise.
24059 [POSIX] (EPROTONOSUPPORT): Likewise.
24060 [POSIX] (EPROTOTYPE): Likewise.
24061 [POSIX] (ESTALE): Likewise.
24062 [POSIX] (ETIME): Likewise.
24063 [POSIX] (ETXTBSY): Likewise.
24064 [POSIX] (EWOULDBLOCK): Likewise.
24065 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24066 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24067 [POSIX] (SEEK_CUR): Likewise.
24068 [POSIX] (SEEK_END): Likewise.
24069 [POSIX || UNIX98] (mode_t): Do not require.
24070 [POSIX] (off_t): Likewise.
24071 [POSIX] (pid_t): Likewise.
24072 [POSIX] (sys/stat.h): Do not allow header.
24073 [POSIX] (unistd.h): Likewise.
24074 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24075 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24076 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24077 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24079 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24080 sigevent): Specify elements.
24081 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24083 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24084 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24086 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24087 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24088 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24089 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24090 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24091 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24092 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24093 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24094 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24095 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24096 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24097 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24098 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24099 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24101 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24103 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24105 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24107 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24108 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24109 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24110 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24111 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24112 Specify lower bound on value.
24113 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24114 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24115 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24117 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24118 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24119 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24120 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24122 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24124 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24125 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24127 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24128 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24129 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24130 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24131 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24132 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24134 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24135 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24137 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24138 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24141 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24143 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24144 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24145 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24150 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24152 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24155 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24156 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24162 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24163 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24164 specify as optional.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24168 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24169 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24170 [XPG3] (NL_LANGMAX): Likewise.
24171 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24172 [POSIX || XPG3] (NL_NMAX): Likewise.
24173 [POSIX || XPG3] (NL_SETMAX): Likewise.
24174 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24175 [XPG3] (NZERO): Likewise.
24176 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24177 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24178 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24179 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24180 (REG_ERANGE): Expect.
24181 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24183 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24184 Use (void) in prototype.
24185 [POSIX] (*_t): Allow.
24186 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24187 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24188 (WRDE_BADVAL): Expect.
24190 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24192 [XPG3 || XPG4] (O_RSYNC): Likewise.
24193 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24195 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24196 [XPG3 || XPG4] (sigqueue): Likewise.
24197 [XPG3 || XPG4] (sigtimedwait): Likewise.
24198 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24199 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24200 [XPG3 || XPG4] (vsnprintf): Likewise.
24201 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24203 [XPG3 || XPG4] (blksize_t): Likewise.
24204 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24206 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24207 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24208 [XPG3 || XPG4] (struct itimerspec): Likewise.
24209 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24210 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24211 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24212 [XPG3 || XPG4] (clockid_t): Likewise.
24213 [XPG3 || XPG4] (timer_t): Likewise.
24214 [XPG3 || XPG4] (clock_getres): Likewise.
24215 [XPG3 || XPG4] (clock_gettime): Likewise.
24216 [XPG3 || XPG4] (clock_settime): Likewise.
24217 [XPG3 || XPG4] (nanosleep): Likewise.
24218 [XPG3 || XPG4] (timer_create): Likewise.
24219 [XPG3 || XPG4] (timer_delete): Likewise.
24220 [XPG3 || XPG4] (timer_gettime): Likewise.
24221 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24222 [XPG3 || XPG4] (timer_settime): Likewise.
24223 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24224 [XPG3 || XPG4] (getlogin_r): Likewise.
24225 [XPG3 || XPG4] (pread): Likewise.
24226 [XPG3 || XPG4] (pthread_atfork): Likewise.
24227 [XPG3 || XPG4] (pwrite): Likewise.
24230 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24233 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24235 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24236 finalizing MALLSTREAM.
24238 * sysdeps/mach/hurd/syncfs.c: New file.
24240 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24243 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24244 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24245 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24246 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24247 (_nss_dns_gethostbyname4_r): Likewise.
24248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24249 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24251 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24254 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24256 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24258 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24259 * elf/cache.c (print_entry): Print ",AArch64" for
24262 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24263 * elf/cache.c (print_entry): Print ",hard-float" for
24266 2012-11-18 David S. Miller <davem@davemloft.net>
24268 With help from Joseph Myers.
24269 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24271 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24273 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24274 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24276 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24277 * math/libm-test.inc (y0_test): New tests.
24278 (y1_test): New tests.
24279 * sysdeps/i386/fpu/libm-test-ulps: Update.
24280 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24283 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24285 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24287 * configure: Regenerated.
24289 2012-11-17 David S. Miller <davem@davemloft.net>
24292 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24293 nonzero exponents with absolute value below 0x1p-128 to +/-
24296 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24298 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24300 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24302 * posix/getconf-speclist.c: New file.
24303 * posix/posix-envs.def: Likewise.
24304 * posix/confstr.c (START_ENV_GROUP): New macro.
24305 (END_ENV_GROUP): Likewise.
24306 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24307 (KNOWN_PRESENT_ENV_STRING): Likewise.
24308 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24309 (UNKNOWN_ENVIRONMENT): Likewise.
24310 (confstr): Include posix-envs.def instead of handling
24311 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24312 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24313 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24314 (END_ENV_GROUP): Likewise.
24315 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24316 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24317 (UNKNOWN_ENVIRONMENT): Likewise.
24318 (__sysconf): Include posix-envs.def instead of handling associated
24319 cases directly here.
24320 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24321 preprocessing getconf-speclist.c rather than running getconf or
24322 generating empty file.
24324 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24326 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24328 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24331 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24333 2012-11-16 David S. Miller <davem@davemloft.net>
24335 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24336 smaller than LDBL_EPSILON/2.0L, just return xm1.
24338 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24340 * elf/tst-array1.c (init): Set constructor priority to 1000.
24341 (fini): Set destructor priority to 1000.
24342 * elf/tst-array2dep.c: Likewise.
24344 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24347 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24348 (_IO_new_file_xsputn): Also return EOF if none of the input
24349 data was written when overflow failed.
24350 * libio/iopadn.c (_IO_padn): Likewise.
24351 * libio/iowpadn.c (_IO_wpadn): Likewise.
24352 * stdio-common/tst-put-error.c: Add copyright notice.
24353 (do_test): Add case for printing padded string.
24354 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24355 _IO_padn returned error.
24356 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24357 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24360 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24362 * libio/libioP.h: Add comment note that the references to C++
24363 bits are now obsolete.
24365 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24367 * math/libm-test.inc (check_complex): Use asprintf.
24369 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24371 * debug/pcprofiledump.c (print_version): Update copyright year.
24372 * malloc/memusagestat.c (print_version): Likewise.
24374 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24377 * elf/Makefile (tests): Add tst-audit8.
24378 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24379 ($(objpfx)tst-audit8.out): New target.
24380 (tst-audit8-ENV): New variable.
24381 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24382 audit if l_reloc_result is NULL.
24383 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24384 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24385 * elf/tst-audit8.c: New file.
24387 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24389 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24390 * misc/Makefile (CFLAGS-select.c): Define.
24391 * posix/Makefile (CFLAGS-pause.c): Define.
24393 2012-11-13 David S. Miller <davem@davemloft.net>
24395 * crypt/Makefile: Move test targets after toplevel Rules
24396 inclusion. Grab any necessary sysdep routines when linking.
24397 * crypt/md5.c (md5_process_block): Remove define, we will always
24398 name it __md5_process_block.
24399 (md5_finish_ctx): Update md5_process_block call.
24400 (md5_stream): Likewise.
24401 (md5_process_bytes): Likewise.
24402 (md5_process_block): Rename to __md5_process_block and move to ...
24403 * crypt/md5-block.c: ... here.
24404 * crypt/sha256.c (sha256_process_block): Move to ...
24405 * crypt/sha256-block.c: ... here.
24406 * crypt/sha512.c (sha512_process_block): Move to ...
24407 * crypt/sha512-block.c: ... here.
24408 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24410 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24411 * sysdeps/sparc/sparc64/multiarch/Makefile
24412 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24414 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24415 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24417 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24418 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24419 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24420 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24421 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24422 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24423 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24424 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24425 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24427 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24428 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24430 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24432 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24434 * timezone/tzselect.ksh: Update from tzcode git revision
24435 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24436 * timezone/zdump.c: Likewise.
24437 * timezone/zic.c: Likewise.
24438 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24439 in TZVERSION setting, not $(PKGVERSION).
24440 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24441 REPORT_BUGS_TO settings.
24444 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24447 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24449 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24450 detection to immediately after _FP_ROUND().
24451 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24454 2012-11-11 David S. Miller <davem@davemloft.net>
24456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24458 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24459 __close rather than their public counterparts.
24461 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24463 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24465 [UNIX98] (sem_timedwait): Do not expect.
24466 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24467 [XPG4 || UNIX98] (sockatmark): Do not expect.
24468 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24469 (clock_getcpuclockid): Do not expect.
24470 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24471 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24473 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24474 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24475 [UNIX98] (vwscanf): Likewise.
24476 [UNIX98] (vswscanf): Likewise.
24478 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24480 * timezone/version.h: Remove file.
24481 * timezone/README: Do not refer to version.h.
24482 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24483 $(objpfx)version.h.
24484 ($(objpfx)zdump.o): Likewise.
24485 ($(objpfx)version.h): New target.
24487 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24489 * timezone/README: Don't mention modification to tzselect.ksh.
24490 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24491 work on unmodified tzselect.ksh. Substitute version numbers in
24494 * Makefile (format-me): Remove.
24495 (INSTALL): Adjust indentation. Use commands directly instead of
24496 using $(format-me).
24498 * aclocal.m4 (ACX_PKGVERSION): New macro.
24499 (ACX_BUGURL): Likewise.
24500 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24501 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24502 (REPORT_BUGS_TO): Likewise.
24503 * configure: Regenerated.
24504 * config.h.in (PKGVERSION): New macro.
24505 (REPORT_BUGS_TO): Likewise.
24506 * config.make.in (PKGVERSION): New variable.
24507 (PKGVERSION_TEXI): Likewise.
24508 (REPORT_BUGS_TO): Likewise.
24509 (REPORT_BUGS_TEXI): Likewise.
24510 * Makefile (format-me): Use -I$(common-objpfx)manual.
24511 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24512 ($(common-objpfx)manual/%): New target.
24513 (manual/%): Remove target.
24514 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24515 (print_version): Use PKGVERSION.
24516 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24517 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24518 and REPORT_BUGS_TO.
24519 ($(objpfx)xtrace): Likewise.
24520 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24521 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24522 (print_version): Use PKGVERSION.
24523 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24524 (do_version): Use PKGVERSION.
24525 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24527 (common-ldd-rewrite): Likewise.
24528 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24529 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24530 (print_version): Use PKGVERSION.
24531 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24532 * elf/pldd.c (argp_program_bug_address): Remove variable.
24533 (more_help): New function.
24534 (argp): Use more_help.
24535 (print_version): Use PKGVERSION.
24536 * elf/sln.c (main): Use PKGVERSION.
24537 (usage): Use REPORT_BUGS_TO.
24538 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24539 (top level): Use PKGVERSION.
24540 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24541 (print_version): Use PKGVERSION.
24542 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24543 (print_version): Use PKGVERSION.
24544 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24545 (print_version): Use PKGVERSION.
24546 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24547 (print_version): Use PKGVERSION.
24548 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24549 (print_version): Use PKGVERSION.
24550 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24551 (print_version): Use PKGVERSION.
24552 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24554 ($(objpfx)memusage): Likewise.
24555 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24556 (do_version): Use PKGVERSION.
24557 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24558 (print_version): Use PKGVERSION.
24559 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24560 ($PKGVERSION): New variable.
24561 ($REPORT_BUGS_TO): Likewise.
24562 (usage): Use $REPORT_BUGS_TO.
24563 (top level): Use $PKGVERSION.
24564 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24565 ($(objpfx)pkgvers.texi): New rule.
24566 ($(objpfx)stamp-pkgvers): Likewise.
24567 * manual/install.texi: Include pkgvers.texi.
24568 (--with-pkgversion): Document new configure option.
24569 (--with-bugurl): Likewise.
24570 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24571 than necessarily for this particular distribution. Use
24572 REPORT_BUGS_TO for where to report bugs.
24573 * INSTALL: Regenerated.
24574 * manual/libc.texinfo: Include pkgvers.texi.
24575 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24576 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24577 (print_version): Use PKGVERSION.
24578 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24579 (print_version): Use PKGVERSION.
24580 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24581 (print_version): Use PKGVERSION.
24582 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24583 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24585 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24586 (print_version): Use PKGVERSION.
24587 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24588 (print_version): Use PKGVERSION.
24589 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24592 * timezone/checktab.awk: Update from tzcode 2012i.
24593 * timezone/ialloc.c: Likewise.
24594 * timezone/private.h: Likewise.
24595 * timezone/scheck.c: Likewise.
24596 * timezone/tzfile.h: Likewise.
24597 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24598 (TZVERSION): Hardcode tzcode version number.
24599 * timezone/zdump.c: Update from tzcode 2012i.
24600 * timezone/zic.c: Likewise.
24601 * timezone/version.h: New file.
24602 * timezone/README: Describe version.h. Update upstream location.
24605 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24606 (mktemp): Enable declaration.
24607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24608 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24624 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24625 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24626 for copies of such integer values.
24627 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24628 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24630 2012-11-09 Andreas Jaeger <aj@suse.de>
24632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24633 definitions and declarations that are provided by
24634 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24636 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24638 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24639 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24640 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24643 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24645 * elf/elf.h: Update comment before AArch64 relocations.
24647 2012-11-07 David S. Miller <davem@davemloft.net>
24649 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24650 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24651 (__start_context): Declare.
24652 (__makecontext_ret): Delete.
24653 (__makecontext): Hook up __start_context instead of
24655 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24656 (sysdep_routines): Add __start_context when in stdlib.
24658 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24660 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24661 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24662 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24664 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24665 (READELF): New variable. Use it instead of hardcoded "readelf".
24667 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24669 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24670 * sysdeps/x86/Makefile: Here.
24671 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24672 * sysdeps/x86/tst-xmmymm.sh: This.
24674 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24676 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24678 [UNIX98] (pthread_barrier_t): Do not expect.
24679 [UNIX98] (pthread_barrierattr_t): Likewise.
24680 [UNIX98] (pthread_spinlock_t): Likewise.
24681 [UNIX98] (pthread_barrier_destroy): Likewise.
24682 [UNIX98] (pthread_barrier_init): Likewise.
24683 [UNIX98] (pthread_barrier_wait): Likewise.
24684 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24685 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24686 [UNIX98] (pthread_barrierattr_init): Likewise.
24687 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24688 [UNIX98] (pthread_getcpuclockid): Likewise.
24689 [UNIX98] (pthread_mutex_timedlock): Likewise.
24690 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24691 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24692 [UNIX98] (pthread_sigmask): Likewise.
24693 [UNIX98] (pthread_spin_destroy): Likewise.
24694 [UNIX98] (pthread_spin_init): Likewise.
24695 [UNIX98] (pthread_spin_lock): Likewise.
24696 [UNIX98] (pthread_spin_trylock): Likewise.
24697 [UNIX98] (pthread_spin_unlock): Likewise.
24698 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24700 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24701 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24702 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24703 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24704 [XPG3 || XPG4] (pthread_key_t): Likewise.
24705 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24706 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24707 [XPG3 || XPG4] (pthread_once_t): Likewise.
24708 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24709 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24710 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24711 [XPG3 || XPG4] (pthread_t): Likewise.
24713 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24715 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24717 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24718 Change function return type to int.
24720 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24721 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24722 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24723 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24724 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24725 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24726 [!POSIX] (posix_madvise): Likewise.
24727 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24729 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24730 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24731 (mode_t): Likewise.
24732 (posix_mem_offset): Likewise.
24733 (posix_typed_mem_get_info): Likewise.
24734 (posix_typed_mem_open): Likewise.
24736 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24737 Change condition to [XOPEN2K8].
24739 * conform/conformtest.pl: Preprocess allow-header data with -x c
24740 instead of from stdin.
24741 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24742 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24743 [C99-based standards] (cerfc): Likewise.
24744 [C99-based standards] (cexp2): Likewise.
24745 [C99-based standards] (cexpm1): Likewise.
24746 [C99-based standards] (clog10): Likewise.
24747 [C99-based standards] (clog1p): Likewise.
24748 [C99-based standards] (clog2): Likewise.
24749 [C99-based standards] (clgamma): Likewise.
24750 [C99-based standards] (ctgamma): Likewise.
24751 [C99-based standards] (cerff): Likewise.
24752 [C99-based standards] (cerfcf): Likewise.
24753 [C99-based standards] (cexp2f): Likewise.
24754 [C99-based standards] (cexpm1f): Likewise.
24755 [C99-based standards] (clog10f): Likewise.
24756 [C99-based standards] (clog1pf): Likewise.
24757 [C99-based standards] (clog2f): Likewise.
24758 [C99-based standards] (clgammaf): Likewise.
24759 [C99-based standards] (ctgammaf): Likewise.
24760 [C99-based standards] (cerfl): Likewise.
24761 [C99-based standards] (cerfcl): Likewise.
24762 [C99-based standards] (cexp2l): Likewise.
24763 [C99-based standards] (cexpm1l): Likewise.
24764 [C99-based standards] (clog10l): Likewise.
24765 [C99-based standards] (clog1pl): Likewise.
24766 [C99-based standards] (clog2l): Likewise.
24767 [C99-based standards] (clgammal): Likewise.
24768 [C99-based standards] (ctgammal): Likewise.
24769 * conform/data/inttypes.h-data [C99-based standards]: Include
24770 stdint.h-data. Remove all expectations for stdint.h contents.
24771 [C99-based standards] (PRI*): Do not allow.
24772 [C99-based standards] (SCN*): Likewise.
24773 [C99-based standards] (*_t): Likewise.
24774 [C99-based-standards] (PRId8): Expect macro.
24775 [C99-based-standards] (PRIi8): Likewise.
24776 [C99-based-standards] (PRIo8): Likewise.
24777 [C99-based-standards] (PRIu8): Likewise.
24778 [C99-based-standards] (PRIx8): Likewise.
24779 [C99-based-standards] (PRIX8): Likewise.
24780 [C99-based-standards] (SCNd8): Likewise.
24781 [C99-based-standards] (SCNi8): Likewise.
24782 [C99-based-standards] (SCNo8): Likewise.
24783 [C99-based-standards] (SCNu8): Likewise.
24784 [C99-based-standards] (SCNx8): Likewise.
24785 [C99-based-standards] (PRIdLEAST8): Likewise.
24786 [C99-based-standards] (PRIiLEAST8): Likewise.
24787 [C99-based-standards] (PRIoLEAST8): Likewise.
24788 [C99-based-standards] (PRIuLEAST8): Likewise.
24789 [C99-based-standards] (PRIxLEAST8): Likewise.
24790 [C99-based-standards] (PRIXLEAST8): Likewise.
24791 [C99-based-standards] (SCNdLEAST8): Likewise.
24792 [C99-based-standards] (SCNiLEAST8): Likewise.
24793 [C99-based-standards] (SCNoLEAST8): Likewise.
24794 [C99-based-standards] (SCNuLEAST8): Likewise.
24795 [C99-based-standards] (SCNxLEAST8): Likewise.
24796 [C99-based-standards] (PRIdFAST8): Likewise.
24797 [C99-based-standards] (PRIiFAST8): Likewise.
24798 [C99-based-standards] (PRIoFAST8): Likewise.
24799 [C99-based-standards] (PRIuFAST8): Likewise.
24800 [C99-based-standards] (PRIxFAST8): Likewise.
24801 [C99-based-standards] (PRIXFAST8): Likewise.
24802 [C99-based-standards] (SCNdFAST8): Likewise.
24803 [C99-based-standards] (SCNiFAST8): Likewise.
24804 [C99-based-standards] (SCNoFAST8): Likewise.
24805 [C99-based-standards] (SCNuFAST8): Likewise.
24806 [C99-based-standards] (SCNxFAST8): Likewise.
24807 [C99-based-standards] (PRId16): Likewise.
24808 [C99-based-standards] (PRIi16): Likewise.
24809 [C99-based-standards] (PRIo16): Likewise.
24810 [C99-based-standards] (PRIu16): Likewise.
24811 [C99-based-standards] (PRIx16): Likewise.
24812 [C99-based-standards] (PRIX16): Likewise.
24813 [C99-based-standards] (SCNd16): Likewise.
24814 [C99-based-standards] (SCNi16): Likewise.
24815 [C99-based-standards] (SCNo16): Likewise.
24816 [C99-based-standards] (SCNu16): Likewise.
24817 [C99-based-standards] (SCNx16): Likewise.
24818 [C99-based-standards] (PRIdLEAST16): Likewise.
24819 [C99-based-standards] (PRIiLEAST16): Likewise.
24820 [C99-based-standards] (PRIoLEAST16): Likewise.
24821 [C99-based-standards] (PRIuLEAST16): Likewise.
24822 [C99-based-standards] (PRIxLEAST16): Likewise.
24823 [C99-based-standards] (PRIXLEAST16): Likewise.
24824 [C99-based-standards] (SCNdLEAST16): Likewise.
24825 [C99-based-standards] (SCNiLEAST16): Likewise.
24826 [C99-based-standards] (SCNoLEAST16): Likewise.
24827 [C99-based-standards] (SCNuLEAST16): Likewise.
24828 [C99-based-standards] (SCNxLEAST16): Likewise.
24829 [C99-based-standards] (PRIdFAST16): Likewise.
24830 [C99-based-standards] (PRIiFAST16): Likewise.
24831 [C99-based-standards] (PRIoFAST16): Likewise.
24832 [C99-based-standards] (PRIuFAST16): Likewise.
24833 [C99-based-standards] (PRIxFAST16): Likewise.
24834 [C99-based-standards] (PRIXFAST16): Likewise.
24835 [C99-based-standards] (SCNdFAST16): Likewise.
24836 [C99-based-standards] (SCNiFAST16): Likewise.
24837 [C99-based-standards] (SCNoFAST16): Likewise.
24838 [C99-based-standards] (SCNuFAST16): Likewise.
24839 [C99-based-standards] (SCNxFAST16): Likewise.
24840 [C99-based-standards] (PRId32): Likewise.
24841 [C99-based-standards] (PRIi32): Likewise.
24842 [C99-based-standards] (PRIo32): Likewise.
24843 [C99-based-standards] (PRIu32): Likewise.
24844 [C99-based-standards] (PRIx32): Likewise.
24845 [C99-based-standards] (PRIX32): Likewise.
24846 [C99-based-standards] (SCNd32): Likewise.
24847 [C99-based-standards] (SCNi32): Likewise.
24848 [C99-based-standards] (SCNo32): Likewise.
24849 [C99-based-standards] (SCNu32): Likewise.
24850 [C99-based-standards] (SCNx32): Likewise.
24851 [C99-based-standards] (PRIdLEAST32): Likewise.
24852 [C99-based-standards] (PRIiLEAST32): Likewise.
24853 [C99-based-standards] (PRIoLEAST32): Likewise.
24854 [C99-based-standards] (PRIuLEAST32): Likewise.
24855 [C99-based-standards] (PRIxLEAST32): Likewise.
24856 [C99-based-standards] (PRIXLEAST32): Likewise.
24857 [C99-based-standards] (SCNdLEAST32): Likewise.
24858 [C99-based-standards] (SCNiLEAST32): Likewise.
24859 [C99-based-standards] (SCNoLEAST32): Likewise.
24860 [C99-based-standards] (SCNuLEAST32): Likewise.
24861 [C99-based-standards] (SCNxLEAST32): Likewise.
24862 [C99-based-standards] (PRIdFAST32): Likewise.
24863 [C99-based-standards] (PRIiFAST32): Likewise.
24864 [C99-based-standards] (PRIoFAST32): Likewise.
24865 [C99-based-standards] (PRIuFAST32): Likewise.
24866 [C99-based-standards] (PRIxFAST32): Likewise.
24867 [C99-based-standards] (PRIXFAST32): Likewise.
24868 [C99-based-standards] (SCNdFAST32): Likewise.
24869 [C99-based-standards] (SCNiFAST32): Likewise.
24870 [C99-based-standards] (SCNoFAST32): Likewise.
24871 [C99-based-standards] (SCNuFAST32): Likewise.
24872 [C99-based-standards] (SCNxFAST32): Likewise.
24873 [C99-based-standards] (PRId64): Likewise.
24874 [C99-based-standards] (PRIi64): Likewise.
24875 [C99-based-standards] (PRIo64): Likewise.
24876 [C99-based-standards] (PRIu64): Likewise.
24877 [C99-based-standards] (PRIx64): Likewise.
24878 [C99-based-standards] (PRIX64): Likewise.
24879 [C99-based-standards] (SCNd64): Likewise.
24880 [C99-based-standards] (SCNi64): Likewise.
24881 [C99-based-standards] (SCNo64): Likewise.
24882 [C99-based-standards] (SCNu64): Likewise.
24883 [C99-based-standards] (SCNx64): Likewise.
24884 [C99-based-standards] (PRIdLEAST64): Likewise.
24885 [C99-based-standards] (PRIiLEAST64): Likewise.
24886 [C99-based-standards] (PRIoLEAST64): Likewise.
24887 [C99-based-standards] (PRIuLEAST64): Likewise.
24888 [C99-based-standards] (PRIxLEAST64): Likewise.
24889 [C99-based-standards] (PRIXLEAST64): Likewise.
24890 [C99-based-standards] (SCNdLEAST64): Likewise.
24891 [C99-based-standards] (SCNiLEAST64): Likewise.
24892 [C99-based-standards] (SCNoLEAST64): Likewise.
24893 [C99-based-standards] (SCNuLEAST64): Likewise.
24894 [C99-based-standards] (SCNxLEAST64): Likewise.
24895 [C99-based-standards] (PRIdFAST64): Likewise.
24896 [C99-based-standards] (PRIiFAST64): Likewise.
24897 [C99-based-standards] (PRIoFAST64): Likewise.
24898 [C99-based-standards] (PRIuFAST64): Likewise.
24899 [C99-based-standards] (PRIxFAST64): Likewise.
24900 [C99-based-standards] (PRIXFAST64): Likewise.
24901 [C99-based-standards] (SCNdFAST64): Likewise.
24902 [C99-based-standards] (SCNiFAST64): Likewise.
24903 [C99-based-standards] (SCNoFAST64): Likewise.
24904 [C99-based-standards] (SCNuFAST64): Likewise.
24905 [C99-based-standards] (SCNxFAST64): Likewise.
24906 [C99-based-standards] (PRIdMAX): Likewise.
24907 [C99-based-standards] (PRIiMAX): Likewise.
24908 [C99-based-standards] (PRIoMAX): Likewise.
24909 [C99-based-standards] (PRIuMAX): Likewise.
24910 [C99-based-standards] (PRIxMAX): Likewise.
24911 [C99-based-standards] (PRIXMAX): Likewise.
24912 [C99-based-standards] (SCNdMAX): Likewise.
24913 [C99-based-standards] (SCNiMAX): Likewise.
24914 [C99-based-standards] (SCNoMAX): Likewise.
24915 [C99-based-standards] (SCNuMAX): Likewise.
24916 [C99-based-standards] (SCNxMAX): Likewise.
24917 [C99-based-standards] (PRIdPTR): Likewise.
24918 [C99-based-standards] (PRIiPTR): Likewise.
24919 [C99-based-standards] (PRIoPTR): Likewise.
24920 [C99-based-standards] (PRIuPTR): Likewise.
24921 [C99-based-standards] (PRIxPTR): Likewise.
24922 [C99-based-standards] (PRIXPTR): Likewise.
24923 [C99-based-standards] (SCNdPTR): Likewise.
24924 [C99-based-standards] (SCNiPTR): Likewise.
24925 [C99-based-standards] (SCNoPTR): Likewise.
24926 [C99-based-standards] (SCNuPTR): Likewise.
24927 [C99-based-standards] (SCNxPTR): Likewise.
24928 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24930 * conform/data/stdint.h-data: Update comments to clarify
24932 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24934 [C99-based standards] (INT8_MAX): Likewise.
24935 [C99-based standards] (INT16_MIN): Likewise.
24936 [C99-based standards] (INT16_MAX): Likewise.
24937 [C99-based standards] (INT32_MIN): Likewise.
24938 [C99-based standards] (INT32_MAX): Likewise.
24939 [C99-based standards] (INT64_MIN): Likewise.
24940 [C99-based standards] (INT64_MAX): Likewise.
24941 [C99-based standards] (UINT8_MAX): Likewise.
24942 [C99-based standards] (UINT16_MAX): Likewise.
24943 [C99-based standards] (UINT32_MAX): Likewise.
24944 [C99-based standards] (UINT64_MAX): Likewise.
24945 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24946 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24947 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24948 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24949 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24950 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24951 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24952 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24953 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24954 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24955 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24956 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24957 [C99-based standards] (INT_FAST8_MIN): Likewise.
24958 [C99-based standards] (INT_FAST8_MAX): Likewise.
24959 [C99-based standards] (INT_FAST16_MIN): Likewise.
24960 [C99-based standards] (INT_FAST16_MAX): Likewise.
24961 [C99-based standards] (INT_FAST32_MIN): Likewise.
24962 [C99-based standards] (INT_FAST32_MAX): Likewise.
24963 [C99-based standards] (INT_FAST64_MIN): Likewise.
24964 [C99-based standards] (INT_FAST64_MAX): Likewise.
24965 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24966 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24967 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24968 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24969 [C99-based standards] (INTPTR_MIN): Likewise.
24970 [C99-based standards] (INTPTR_MAX): Likewise.
24971 [C99-based standards] (UINTPTR_MAX): Likewise.
24972 [C99-based standards] (INTMAX_MIN): Likewise.
24973 [C99-based standards] (INTMAX_MAX): Likewise.
24974 [C99-based standards] (UINTMAX_MAX): Likewise.
24975 [C99-based standards] (PTRDIFF_MIN): Likewise.
24976 [C99-based standards] (PTRDIFF_MAX): Likewise.
24977 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24978 [C99-based standards] (SIZE_MAX): Likewise.
24979 [C99-based standards] (WCHAR_MAX): Likewise.
24980 [C99-based standards] (WINT_MAX): Likewise.
24981 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24982 constraint on value.
24983 [C99-based standards] (WCHAR_MIN): Likewise.
24984 [C99-based standards] (WINT_MIN): Likewise.
24985 [C99-based standards] (*_t): Allow.
24986 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24987 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24988 Include math.h-data and complex.h-data. Remove all expectations
24989 of math.h and complex.h contents.
24990 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24992 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24993 (struct tm): Expect tag.
24994 [C99-based-standards] (wcstof): Expect function.
24995 [C99-based-standards] (wcstold): Likewise.
24996 [C99-based-standards] (wcstoll): Likewise.
24997 [C99-based-standards] (wcstoull): Likewise.
24998 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24999 macro-int-constant. Specify type.
25000 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25001 constraint on value.
25002 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25004 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25006 [ISO C standards]: Do not allow headers.
25007 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25008 wcs[abcdefghijklmnopqrstuvwxyz]*.
25009 [ISO C standards] (*_t): Do not allow.
25010 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25012 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25013 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25015 [ISO C standards]: Do not allow headers.
25016 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25017 is[abcdefghijklmnopqrstuvwxyz]*.
25018 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25019 to[abcdefghijklmnopqrstuvwxyz]*.
25020 [ISO C standards] (*_t): Do not allow.
25021 * conform/data/stdalign.h-data: New file.
25022 * conform/data/stdbool.h-data: Likewise.
25023 * conform/data/stdnoreturn.h-data: Likewise.
25025 2012-11-07 Roland McGrath <roland@hack.frob.com>
25028 * manual/filesys.texi (Directory Entries): Typo fix.
25029 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25031 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25033 * elf/elf.h (EM_AARCH64): New macro.
25034 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25035 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25036 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25037 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25038 (R_AARCH64_TLSDESC): Likewise.
25039 (NT_ARM_TLS): Likewise.
25040 (NT_ARM_HW_BREAK): Likewise.
25041 (NT_ARM_HW_WATCH): Likewise.
25043 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25046 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25047 (__ieee754_powl): Saturate nonzero exponents with absolute value
25048 below 0x1p-79 to +/- 0x1p-79.
25049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25050 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25051 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25052 nonzero exponents with absolute value below 0x1p-32 to +/-
25054 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25055 (__ieee754_powl): Saturate nonzero exponents with absolute value
25056 below 0x1p-79 to +/- 0x1p-79.
25057 * math/libm-test.inc (pow_test): Add more tests.
25059 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25061 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25062 _dl_s390_cap_flags with kernel. Increase string length.
25063 (_dl_s390_platforms): Add z196 and zEC12.
25065 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25067 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25068 Change XOPEN21K to XOPEN2K.
25070 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25072 * string/memmove.c: Use memcpy when possible.
25074 2012-11-06 Andreas Jaeger <aj@suse.de>
25076 * po/eo.po: Update from translation team.
25078 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25082 exponent and small x and y exponents, scale x or y up. Increase
25083 by 2 the exponent used in scaling up.
25084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25086 * math/libm-test.inc (fma_test): Add more tests.
25087 (fma_test_towardzero): Likewise.
25088 (fma_test_downward): Likewise.
25089 (fma_test_upward): Likewise.
25091 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25094 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25098 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25099 namespace for names of struct fields.
25100 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25102 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25103 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25105 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25108 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25110 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25112 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25116 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25119 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25123 definitely overflow as x * y not x * y + z.
25124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25126 * math/libm-test.inc (fma_test): Add more tests.
25127 (fma_test_towardzero): Likewise.
25128 (fma_test_downward): Likewise.
25129 (fma_test_upward): Likewise.
25131 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25135 * include/stub-tag.h: Remove file.
25136 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25138 * manual/maint.texi (Porting): Don't reference it.
25139 * Makerules ($(objpfx)stubs): Likewise.
25140 * dirent/closedir.c: Don't include <stub-tag.h>.
25141 * dirent/dirfd.c: Likewise.
25142 * dirent/fdopendir.c: Likewise.
25143 * dirent/getdents.c: Likewise.
25144 * dirent/getdents64.c: Likewise.
25145 * dirent/opendir.c: Likewise.
25146 * dirent/readdir.c: Likewise.
25147 * dirent/readdir64.c: Likewise.
25148 * dirent/readdir64_r.c: Likewise.
25149 * dirent/readdir_r.c: Likewise.
25150 * dirent/rewinddir.c: Likewise.
25151 * dirent/seekdir.c: Likewise.
25152 * dirent/telldir.c: Likewise.
25153 * gmon/profil.c: Likewise.
25154 * grp/setgroups.c: Likewise.
25155 * inet/if_index.c: Likewise.
25156 * io/access.c: Likewise.
25157 * io/chdir.c: Likewise.
25158 * io/chmod.c: Likewise.
25159 * io/chown.c: Likewise.
25160 * io/close.c: Likewise.
25161 * io/dup.c: Likewise.
25162 * io/dup2.c: Likewise.
25163 * io/dup3.c: Likewise.
25164 * io/euidaccess.c: Likewise.
25165 * io/faccessat.c: Likewise.
25166 * io/fchdir.c: Likewise.
25167 * io/fchmod.c: Likewise.
25168 * io/fchmodat.c: Likewise.
25169 * io/fchown.c: Likewise.
25170 * io/fchownat.c: Likewise.
25171 * io/fcntl.c: Likewise.
25172 * io/flock.c: Likewise.
25173 * io/fstatfs.c: Likewise.
25174 * io/fstatfs64.c: Likewise.
25175 * io/fstatvfs.c: Likewise.
25176 * io/fstatvfs64.c: Likewise.
25177 * io/futimens.c: Likewise.
25178 * io/fxstat.c: Likewise.
25179 * io/fxstat64.c: Likewise.
25180 * io/fxstatat.c: Likewise.
25181 * io/fxstatat64.c: Likewise.
25182 * io/getcwd.c: Likewise.
25183 * io/isatty.c: Likewise.
25184 * io/lchmod.c: Likewise.
25185 * io/lchown.c: Likewise.
25186 * io/link.c: Likewise.
25187 * io/linkat.c: Likewise.
25188 * io/lseek.c: Likewise.
25189 * io/lseek64.c: Likewise.
25190 * io/lxstat64.c: Likewise.
25191 * io/mkdir.c: Likewise.
25192 * io/mkdirat.c: Likewise.
25193 * io/mkfifo.c: Likewise.
25194 * io/mkfifoat.c: Likewise.
25195 * io/open.c: Likewise.
25196 * io/open64.c: Likewise.
25197 * io/openat.c: Likewise.
25198 * io/openat64.c: Likewise.
25199 * io/pipe.c: Likewise.
25200 * io/pipe2.c: Likewise.
25201 * io/poll.c: Likewise.
25202 * io/posix_fadvise.c: Likewise.
25203 * io/posix_fadvise64.c: Likewise.
25204 * io/posix_fallocate.c: Likewise.
25205 * io/posix_fallocate64.c: Likewise.
25206 * io/read.c: Likewise.
25207 * io/readlink.c: Likewise.
25208 * io/readlinkat.c: Likewise.
25209 * io/rmdir.c: Likewise.
25210 * io/sendfile.c: Likewise.
25211 * io/sendfile64.c: Likewise.
25212 * io/statfs.c: Likewise.
25213 * io/statfs64.c: Likewise.
25214 * io/statvfs.c: Likewise.
25215 * io/statvfs64.c: Likewise.
25216 * io/symlink.c: Likewise.
25217 * io/symlinkat.c: Likewise.
25218 * io/ttyname.c: Likewise.
25219 * io/ttyname_r.c: Likewise.
25220 * io/umask.c: Likewise.
25221 * io/unlink.c: Likewise.
25222 * io/unlinkat.c: Likewise.
25223 * io/utime.c: Likewise.
25224 * io/utimensat.c: Likewise.
25225 * io/write.c: Likewise.
25226 * io/xmknod.c: Likewise.
25227 * io/xmknodat.c: Likewise.
25228 * io/xstat.c: Likewise.
25229 * io/xstat64.c: Likewise.
25230 * login/getpt.c: Likewise.
25231 * login/grantpt.c: Likewise.
25232 * login/unlockpt.c: Likewise.
25233 * math/e_acoshl.c: Likewise.
25234 * math/e_acosl.c: Likewise.
25235 * math/e_asinl.c: Likewise.
25236 * math/e_atan2l.c: Likewise.
25237 * math/e_atanhl.c: Likewise.
25238 * math/e_coshl.c: Likewise.
25239 * math/e_expl.c: Likewise.
25240 * math/e_fmodl.c: Likewise.
25241 * math/e_gammal_r.c: Likewise.
25242 * math/e_hypotl.c: Likewise.
25243 * math/e_j0l.c: Likewise.
25244 * math/e_j1l.c: Likewise.
25245 * math/e_jnl.c: Likewise.
25246 * math/e_lgammal_r.c: Likewise.
25247 * math/e_log10l.c: Likewise.
25248 * math/e_log2l.c: Likewise.
25249 * math/e_logl.c: Likewise.
25250 * math/e_powl.c: Likewise.
25251 * math/e_rem_pio2l.c: Likewise.
25252 * math/e_sinhl.c: Likewise.
25253 * math/e_sqrtl.c: Likewise.
25254 * math/fclrexcpt.c: Likewise.
25255 * math/fedisblxcpt.c: Likewise.
25256 * math/feenablxcpt.c: Likewise.
25257 * math/fegetenv.c: Likewise.
25258 * math/fegetexcept.c: Likewise.
25259 * math/fegetround.c: Likewise.
25260 * math/feholdexcpt.c: Likewise.
25261 * math/fesetenv.c: Likewise.
25262 * math/fesetround.c: Likewise.
25263 * math/feupdateenv.c: Likewise.
25264 * math/fgetexcptflg.c: Likewise.
25265 * math/fraiseexcpt.c: Likewise.
25266 * math/fsetexcptflg.c: Likewise.
25267 * math/ftestexcept.c: Likewise.
25268 * math/k_cosl.c: Likewise.
25269 * math/k_rem_pio2l.c: Likewise.
25270 * math/k_sinl.c: Likewise.
25271 * math/k_tanl.c: Likewise.
25272 * math/s_asinhl.c: Likewise.
25273 * math/s_atanl.c: Likewise.
25274 * math/s_cbrtl.c: Likewise.
25275 * math/s_erfl.c: Likewise.
25276 * math/s_expm1l.c: Likewise.
25277 * math/s_log1pl.c: Likewise.
25278 * math/s_tanhl.c: Likewise.
25279 * misc/acct.c: Likewise.
25280 * misc/brk.c: Likewise.
25281 * misc/chflags.c: Likewise.
25282 * misc/chroot.c: Likewise.
25283 * misc/fchflags.c: Likewise.
25284 * misc/fgetxattr.c: Likewise.
25285 * misc/flistxattr.c: Likewise.
25286 * misc/fremovexattr.c: Likewise.
25287 * misc/fsetxattr.c: Likewise.
25288 * misc/fsync.c: Likewise.
25289 * misc/ftruncate.c: Likewise.
25290 * misc/futimes.c: Likewise.
25291 * misc/futimesat.c: Likewise.
25292 * misc/getdomain.c: Likewise.
25293 * misc/getdtsz.c: Likewise.
25294 * misc/gethostid.c: Likewise.
25295 * misc/gethostname.c: Likewise.
25296 * misc/getloadavg.c: Likewise.
25297 * misc/getpagesize.c: Likewise.
25298 * misc/getsysstats.c: Likewise.
25299 * misc/getxattr.c: Likewise.
25300 * misc/gtty.c: Likewise.
25301 * misc/ioctl.c: Likewise.
25302 * misc/lgetxattr.c: Likewise.
25303 * misc/listxattr.c: Likewise.
25304 * misc/llistxattr.c: Likewise.
25305 * misc/lremovexattr.c: Likewise.
25306 * misc/lsetxattr.c: Likewise.
25307 * misc/lutimes.c: Likewise.
25308 * misc/madvise.c: Likewise.
25309 * misc/mincore.c: Likewise.
25310 * misc/mlock.c: Likewise.
25311 * misc/mlockall.c: Likewise.
25312 * misc/mmap.c: Likewise.
25313 * misc/mprotect.c: Likewise.
25314 * misc/msync.c: Likewise.
25315 * misc/munlock.c: Likewise.
25316 * misc/munlockall.c: Likewise.
25317 * misc/munmap.c: Likewise.
25318 * misc/preadv.c: Likewise.
25319 * misc/preadv64.c: Likewise.
25320 * misc/ptrace.c: Likewise.
25321 * misc/pwritev.c: Likewise.
25322 * misc/pwritev64.c: Likewise.
25323 * misc/readv.c: Likewise.
25324 * misc/reboot.c: Likewise.
25325 * misc/remap_file_pages.c: Likewise.
25326 * misc/removexattr.c: Likewise.
25327 * misc/revoke.c: Likewise.
25328 * misc/select.c: Likewise.
25329 * misc/setdomain.c: Likewise.
25330 * misc/setegid.c: Likewise.
25331 * misc/seteuid.c: Likewise.
25332 * misc/sethostid.c: Likewise.
25333 * misc/sethostname.c: Likewise.
25334 * misc/setregid.c: Likewise.
25335 * misc/setreuid.c: Likewise.
25336 * misc/setxattr.c: Likewise.
25337 * misc/sstk.c: Likewise.
25338 * misc/stty.c: Likewise.
25339 * misc/swapoff.c: Likewise.
25340 * misc/swapon.c: Likewise.
25341 * misc/sync.c: Likewise.
25342 * misc/syncfs.c: Likewise.
25343 * misc/syscall.c: Likewise.
25344 * misc/truncate.c: Likewise.
25345 * misc/ualarm.c: Likewise.
25346 * misc/usleep.c: Likewise.
25347 * misc/ustat.c: Likewise.
25348 * misc/utimes.c: Likewise.
25349 * misc/vhangup.c: Likewise.
25350 * misc/writev.c: Likewise.
25351 * posix/_exit.c: Likewise.
25352 * posix/alarm.c: Likewise.
25353 * posix/execve.c: Likewise.
25354 * posix/fexecve.c: Likewise.
25355 * posix/fork.c: Likewise.
25356 * posix/fpathconf.c: Likewise.
25357 * posix/getaddrinfo.c: Likewise.
25358 * posix/getegid.c: Likewise.
25359 * posix/geteuid.c: Likewise.
25360 * posix/getgid.c: Likewise.
25361 * posix/getgroups.c: Likewise.
25362 * posix/getlogin.c: Likewise.
25363 * posix/getlogin_r.c: Likewise.
25364 * posix/getpgid.c: Likewise.
25365 * posix/getpid.c: Likewise.
25366 * posix/getppid.c: Likewise.
25367 * posix/getresgid.c: Likewise.
25368 * posix/getresuid.c: Likewise.
25369 * posix/getsid.c: Likewise.
25370 * posix/getuid.c: Likewise.
25371 * posix/glob64.c: Likewise.
25372 * posix/nanosleep.c: Likewise.
25373 * posix/pathconf.c: Likewise.
25374 * posix/pause.c: Likewise.
25375 * posix/posix_madvise.c: Likewise.
25376 * posix/pread.c: Likewise.
25377 * posix/pread64.c: Likewise.
25378 * posix/pwrite.c: Likewise.
25379 * posix/pwrite64.c: Likewise.
25380 * posix/sched_getaffinity.c: Likewise.
25381 * posix/sched_getp.c: Likewise.
25382 * posix/sched_gets.c: Likewise.
25383 * posix/sched_primax.c: Likewise.
25384 * posix/sched_primin.c: Likewise.
25385 * posix/sched_rr_gi.c: Likewise.
25386 * posix/sched_setaffinity.c: Likewise.
25387 * posix/sched_setp.c: Likewise.
25388 * posix/sched_sets.c: Likewise.
25389 * posix/sched_yield.c: Likewise.
25390 * posix/setgid.c: Likewise.
25391 * posix/setlogin.c: Likewise.
25392 * posix/setpgid.c: Likewise.
25393 * posix/setresgid.c: Likewise.
25394 * posix/setresuid.c: Likewise.
25395 * posix/setsid.c: Likewise.
25396 * posix/setuid.c: Likewise.
25397 * posix/sleep.c: Likewise.
25398 * posix/spawni.c: Likewise.
25399 * posix/sysconf.c: Likewise.
25400 * posix/times.c: Likewise.
25401 * posix/wait.c: Likewise.
25402 * posix/wait3.c: Likewise.
25403 * posix/wait4.c: Likewise.
25404 * posix/waitpid.c: Likewise.
25405 * resolv/gai_sigqueue.c: Likewise.
25406 * resource/getpriority.c: Likewise.
25407 * resource/getrlimit.c: Likewise.
25408 * resource/getrusage.c: Likewise.
25409 * resource/nice.c: Likewise.
25410 * resource/setpriority.c: Likewise.
25411 * resource/setrlimit.c: Likewise.
25412 * resource/ulimit.c: Likewise.
25413 * rt/aio_cancel.c: Likewise.
25414 * rt/aio_fsync.c: Likewise.
25415 * rt/aio_read.c: Likewise.
25416 * rt/aio_sigqueue.c: Likewise.
25417 * rt/aio_suspend.c: Likewise.
25418 * rt/aio_write.c: Likewise.
25419 * rt/clock_getres.c: Likewise.
25420 * rt/clock_gettime.c: Likewise.
25421 * rt/clock_nanosleep.c: Likewise.
25422 * rt/clock_settime.c: Likewise.
25423 * rt/lio_listio.c: Likewise.
25424 * rt/mq_close.c: Likewise.
25425 * rt/mq_getattr.c: Likewise.
25426 * rt/mq_notify.c: Likewise.
25427 * rt/mq_open.c: Likewise.
25428 * rt/mq_receive.c: Likewise.
25429 * rt/mq_send.c: Likewise.
25430 * rt/mq_setattr.c: Likewise.
25431 * rt/mq_timedreceive.c: Likewise.
25432 * rt/mq_timedsend.c: Likewise.
25433 * rt/mq_unlink.c: Likewise.
25434 * rt/shm_open.c: Likewise.
25435 * rt/shm_unlink.c: Likewise.
25436 * rt/timer_create.c: Likewise.
25437 * rt/timer_delete.c: Likewise.
25438 * rt/timer_getoverr.c: Likewise.
25439 * rt/timer_gettime.c: Likewise.
25440 * rt/timer_settime.c: Likewise.
25441 * setjmp/__longjmp.c: Likewise.
25442 * setjmp/setjmp.c: Likewise.
25443 * signal/kill.c: Likewise.
25444 * signal/killpg.c: Likewise.
25445 * signal/raise.c: Likewise.
25446 * signal/sigaction.c: Likewise.
25447 * signal/sigaltstack.c: Likewise.
25448 * signal/sigblock.c: Likewise.
25449 * signal/sigignore.c: Likewise.
25450 * signal/sigintr.c: Likewise.
25451 * signal/signal.c: Likewise.
25452 * signal/sigpause.c: Likewise.
25453 * signal/sigpending.c: Likewise.
25454 * signal/sigqueue.c: Likewise.
25455 * signal/sigreturn.c: Likewise.
25456 * signal/sigset.c: Likewise.
25457 * signal/sigsetmask.c: Likewise.
25458 * signal/sigstack.c: Likewise.
25459 * signal/sigsuspend.c: Likewise.
25460 * signal/sigtimedwait.c: Likewise.
25461 * signal/sigvec.c: Likewise.
25462 * signal/sigwait.c: Likewise.
25463 * signal/sigwaitinfo.c: Likewise.
25464 * signal/sysv_signal.c: Likewise.
25465 * socket/accept.c: Likewise.
25466 * socket/accept4.c: Likewise.
25467 * socket/bind.c: Likewise.
25468 * socket/connect.c: Likewise.
25469 * socket/getpeername.c: Likewise.
25470 * socket/getsockname.c: Likewise.
25471 * socket/getsockopt.c: Likewise.
25472 * socket/isfdtype.c: Likewise.
25473 * socket/listen.c: Likewise.
25474 * socket/recv.c: Likewise.
25475 * socket/recvfrom.c: Likewise.
25476 * socket/recvmsg.c: Likewise.
25477 * socket/send.c: Likewise.
25478 * socket/sendmsg.c: Likewise.
25479 * socket/sendto.c: Likewise.
25480 * socket/setsockopt.c: Likewise.
25481 * socket/shutdown.c: Likewise.
25482 * socket/sockatmark.c: Likewise.
25483 * socket/socket.c: Likewise.
25484 * socket/socketpair.c: Likewise.
25485 * stdio-common/ctermid.c: Likewise.
25486 * stdio-common/cuserid.c: Likewise.
25487 * stdio-common/remove.c: Likewise.
25488 * stdio-common/rename.c: Likewise.
25489 * stdio-common/renameat.c: Likewise.
25490 * stdio-common/tempname.c: Likewise.
25491 * stdlib/getcontext.c: Likewise.
25492 * stdlib/makecontext.c: Likewise.
25493 * stdlib/setcontext.c: Likewise.
25494 * stdlib/swapcontext.c: Likewise.
25495 * stdlib/system.c: Likewise.
25496 * streams/fattach.c: Likewise.
25497 * streams/fdetach.c: Likewise.
25498 * streams/getmsg.c: Likewise.
25499 * streams/getpmsg.c: Likewise.
25500 * streams/putmsg.c: Likewise.
25501 * streams/putpmsg.c: Likewise.
25502 * sysdeps/unix/bsd/getpt.c: Likewise.
25503 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25504 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25505 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25508 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25509 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25510 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25511 * sysvipc/msgctl.c: Likewise.
25512 * sysvipc/msgget.c: Likewise.
25513 * sysvipc/msgrcv.c: Likewise.
25514 * sysvipc/msgsnd.c: Likewise.
25515 * sysvipc/semctl.c: Likewise.
25516 * sysvipc/semget.c: Likewise.
25517 * sysvipc/semop.c: Likewise.
25518 * sysvipc/semtimedop.c: Likewise.
25519 * sysvipc/shmat.c: Likewise.
25520 * sysvipc/shmctl.c: Likewise.
25521 * sysvipc/shmdt.c: Likewise.
25522 * sysvipc/shmget.c: Likewise.
25523 * termios/tcdrain.c: Likewise.
25524 * termios/tcflow.c: Likewise.
25525 * termios/tcflush.c: Likewise.
25526 * termios/tcgetattr.c: Likewise.
25527 * termios/tcgetpgrp.c: Likewise.
25528 * termios/tcsendbrk.c: Likewise.
25529 * termios/tcsetattr.c: Likewise.
25530 * termios/tcsetpgrp.c: Likewise.
25531 * time/adjtime.c: Likewise.
25532 * time/clock.c: Likewise.
25533 * time/getitimer.c: Likewise.
25534 * time/gettimeofday.c: Likewise.
25535 * time/setitimer.c: Likewise.
25536 * time/settimeofday.c: Likewise.
25537 * time/stime.c: Likewise.
25538 * time/time.c: Likewise.
25540 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25542 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25545 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25547 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25549 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25553 FE_TONEAREST before applying Dekker multiplication and Knuth
25554 addition. Clear inexact exceptions and check for exact zero
25555 results afterwards.
25556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25557 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25558 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25559 * math/libm-test.inc (fma_test): Add more tests.
25560 (fma_test_towardzero): Likewise.
25561 (fma_test_downward): Likewise.
25562 (fma_test_upward): Likewise.
25563 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25565 (libc_fesetround): New macro.
25566 (libc_fesetroundf): Likewise.
25567 (libc_fesetroundl): Likewise.
25568 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25570 (libc_fesetround_387): Likewise.
25571 (libc_fesetroundf): New macro.
25572 (libc_fesetround): Likewise.
25573 (libc_fesetroundl): Likewise.
25574 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25576 (libc_fesetroundf): New macro.
25577 (libc_fesetround): Likewise.
25578 (libc_fesetroundl): Likewise.
25579 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25580 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25581 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25583 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25584 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25586 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25587 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25589 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25593 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25594 integer constant usable in #if and use that to give value to enum
25596 (FE_DIVBYZERO): Likewise.
25597 (FE_UNDERFLOW): Likewise.
25598 (FE_OVERFLOW): Likewise.
25599 (FE_INVALID): Likewise.
25600 (FE_INVALID_SNAN): Likewise.
25601 (FE_INVALID_ISI): Likewise.
25602 (FE_INVALID_IDI): Likewise.
25603 (FE_INVALID_ZDZ): Likewise.
25604 (FE_INVALID_IMZ): Likewise.
25605 (FE_INVALID_COMPARE): Likewise.
25606 (FE_INVALID_SOFTWARE): Likewise.
25607 (FE_INVALID_SQRT): Likewise.
25608 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25609 (FE_TONEAREST): Likewise.
25610 (FE_TOWARDZERO): Likewise.
25611 (FE_UPWARD): Likewise.
25612 (FE_DOWNWARD): Likewise.
25613 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25614 (FE_DIVBYZERO): Likewise.
25615 (FE_OVERFLOW): Likewise.
25616 (FE_UNDERFLOW): Likewise.
25617 (FE_INEXACT): Likewise.
25618 (FE_TONEAREST): Likewise.
25619 (FE_DOWNWARD): Likewise.
25620 (FE_UPWARD): Likewise.
25621 (FE_TOWARDZERO): Likewise.
25622 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25623 (FE_UNDERFLOW): Likewise.
25624 (FE_OVERFLOW): Likewise.
25625 (FE_DIVBYZERO): Likewise.
25626 (FE_INVALID): Likewise.
25627 (FE_TONEAREST): Likewise.
25628 (FE_TOWARDZERO): Likewise.
25629 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25630 (FE_OVERFLOW): Likewise.
25631 (FE_UNDERFLOW): Likewise.
25632 (FE_DIVBYZERO): Likewise.
25633 (FE_INEXACT): Likewise.
25634 (FE_TONEAREST): Likewise.
25635 (FE_TOWARDZERO): Likewise.
25636 (FE_UPWARD): Likewise.
25637 (FE_DOWNWARD): Likewise.
25638 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25639 (FE_DIVBYZERO): Likewise.
25640 (FE_OVERFLOW): Likewise.
25641 (FE_UNDERFLOW): Likewise.
25642 (FE_INEXACT): Likewise.
25643 (FE_TONEAREST): Likewise.
25644 (FE_DOWNWARD): Likewise.
25645 (FE_UPWARD): Likewise.
25646 (FE_TOWARDZERO): Likewise.
25648 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25650 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25652 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25654 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25655 commands. Quote $PWD.
25656 (blacklist_exports): Don't use remove_newlines. Replace "declare
25658 (remove_newlines): Remove.
25660 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25662 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25663 * stdlib/stdlib.h (atof): Moved to ...
25664 * include/bits/stdlib-float.h: Here. New file.
25665 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25666 * stdlib/bits/stdlib-float.h: New file.
25667 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25669 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25672 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25674 * conform/conformtest.pl (@headers): Add fenv.h.
25675 * conform/data/fenv.h-data: New file.
25676 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25677 include of <math/fenv.h>.
25679 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25680 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25681 && !UNIX98]. Enables tests for XOPEN2K8.
25682 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25683 POSIX2008]: Likewise.
25685 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25686 (struct rusage): Do not expect type or its members.
25689 * math/math.h (FP_NAN): Define macro to integer constant usable in
25690 #if and use that to give value to enum constant.
25691 (FP_INFINITE): Likewise.
25692 (FP_ZERO): Likewise.
25693 (FP_SUBNORMAL): Likewise.
25694 (FP_NORMAL): Likewise.
25696 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25698 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25699 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25702 2012-11-02 Roland McGrath <roland@hack.frob.com>
25704 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25705 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25706 autoconf-time if not.
25707 * configure.in: Remove AC_PREREQ.
25709 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25711 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25712 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25713 of the internal implementation.
25715 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25717 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25718 except include of <misc/sys/syslog.h>.
25720 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25723 function returns with a NULL context exit with zero.
25725 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25727 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25729 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25731 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25732 (run_program_cmd): This.
25733 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25734 (tst_langinfo): New variable. Use it.
25736 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25738 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25739 floating point opcodes.
25741 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25743 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25746 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25748 * sysdeps/mach/hurd/powerpc: Remove directory.
25749 * sysdeps/mach/powerpc: Likewise.
25751 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25753 * scripts/check-local-headers.sh: Ignore c++ headers.
25755 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25757 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25758 __libc_cleanup_region_start argument.
25760 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25765 x * y using scaling, not as x * y + z.
25766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25768 * math/libm-test.inc (fma_test): Add more tests.
25769 (fma_test_towardzero): Likewise.
25770 (fma_test_downward): Likewise.
25771 (fma_test_upward): Likewise.
25773 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25775 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25777 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25779 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25782 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25784 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25786 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25793 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25796 Fix the order of the list for glibc 2.17.
25797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25800 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25804 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25808 for low part of x being zero before using __atanl (y).
25809 * math/libm-test.inc (atan2_test): Add another test.
25811 * manual/install.texi (Configuring and compiling): Document
25812 general use of test-wrapper and test-wrapper-env.
25813 * INSTALL: Regenerated.
25815 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25816 (__fma): Do not extract and scale down low bits on after-rounding
25817 systems when result rounded to normal precision would have normal
25819 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25820 (__fmal): Do not extract and scale down low bits on after-rounding
25821 systems when result rounded to normal precision would have normal
25823 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25824 (__fmal): Do not extract and scale down low bits on after-rounding
25825 systems when result rounded to normal precision would have normal
25827 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25829 (fma_test): Add more tests.
25830 (fma_test_towardzero): Likewise.
25831 (fma_test_downward): Likewise.
25832 (fma_test_upward): Likewise.
25834 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25836 * sysdeps/i386/tininess.h: Renamed to ...
25837 * sysdeps/x86/tininess.h: This.
25838 * sysdeps/x86_64/tininess.h: Removed.
25840 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25842 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25843 input. Use $(build-program-cmd).
25844 ($(objpfx)tst-array1-static.out): Likewise.
25845 ($(objpfx)tst-array2.out): Likewise.
25846 ($(objpfx)tst-array3.out): Likewise.
25847 ($(objpfx)tst-array4.out): Likewise.
25848 ($(objpfx)tst-array5.out): Likewise.
25849 ($(objpfx)tst-array5-static.out): Likewise.
25851 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25853 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25856 * nss/nsswitch.h (nss_interface_function): Provide new
25857 macro for use with NSS functions.
25858 * grp/initgroups.c: Use new macro.
25859 * nss/getXXbyYY.c: Likewise.
25860 * nss/getXXbyYY_r.c: Likewise.
25861 * nss/getXXent.c: Likewise.
25862 * nss/getXXent_r.c: Likewise.
25863 * sysdeps/posix/getaddrinfo.c: Likewise.
25865 2012-10-30 Andreas Jaeger <aj@suse.de>
25867 * po/ru.po: Update Russion translation from translation project.
25869 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25873 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25874 result and shift together with sticky bit instead of replicating
25875 round-to-nearest rounding.
25876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25878 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25879 missing underflow exceptions.
25880 (fma_test_towardzero): Add more tests.
25881 (fma_test_downward): Likewise.
25882 (fma_test_upward): Likewise.
25885 * sysdeps/generic/tininess.h: New file.
25886 * sysdeps/i386/tininess.h: Likewise.
25887 * sysdeps/sh/tininess.h: Likewise.
25888 * sysdeps/x86_64/tininess.h: Likewise.
25889 * stdlib/tst-strtod-underflow.c: Likewise.
25890 * stdlib/tst-tininess.c: Likewise.
25891 * stdlib/strtod_l.c: Include <tininess.h>.
25892 (round_and_return): Do not set errno for exact underflow cases.
25893 Force an underflow exception when setting errno for underflow.
25894 Determine underflow based on rounding to normal precision if
25895 TININESS_AFTER_ROUNDING.
25896 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25897 ERANGE for exact underflow cases.
25898 * stdlib/Makefile (tests): Add tst-tininess and
25899 tst-strtod-underflow.
25900 ($(objpfx)tst-tininess): Use $(link-libm).
25901 ($(objpfx)tst-strtod-underflow): Likewise.
25903 2012-10-30 Andreas Jaeger <aj@suse.de>
25906 * elf/Makefile (tests): Remove conditional for have-initfini-array
25907 since this is now always required and the variable does not exist
25909 (tests-static): Likewise.
25910 (modules-names): Likewise.
25912 * po/eo.po: Add Esperanto translation from translation project.
25914 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25915 merged with constructor/destructor.
25916 (init_array): Likewise.
25917 * elf/tst-array2dep.c (fini_array): Likewise.
25918 (init_array): Likewise.
25920 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25922 * manual/message.texi: Delete @cartouche tags.
25924 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25926 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25928 * sysdeps/mach/hurd/fsync.c: Likewise.
25930 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25931 [_POSIX_REALTIME_SIGNALS]: Change condition to
25932 [_POSIX_REALTIME_SIGNALS > 0].
25934 2012-10-27 Andreas Jaeger <aj@suse.de>
25936 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25937 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25939 [__WORDSIZE != 64]: Likewise.
25941 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25943 * iconvdata/tst-table.sh: Remove ${SHELL}.
25944 * iconvdata/tst-tables.sh: Likewise.
25946 2012-10-25 David S. Miller <davem@davemloft.net>
25948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25949 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25955 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25956 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25959 2012-10-25 Roland McGrath <roland@hack.frob.com>
25961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25962 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25965 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25966 Jim Blandy <jimb@codesourcery.com>
25968 * scripts/cross-test-ssh.sh: New file.
25969 * manual/install.texi (Configuring and compiling): Document use of
25971 * INSTALL: Regenerated.
25973 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25975 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25978 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25980 * Makeconfig (run-program-prefix): Fix comment.
25982 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25983 Jim Blandy <jimb@codesourcery.com>
25985 * Makeconfig (test-wrapper): New variable,
25986 (test-wrapper-env): Likewise.
25987 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25988 (run-built-tests): Define to yes.
25989 (run-program-prefix): Use $(test-wrapper).
25990 (built-program-cmd): Likewise.
25991 * Rules (make-test-out): Use $(test-wrapper-env) and
25992 $(host-built-program-cmd).
25993 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25994 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25996 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25997 $(test-wrapper-env) to tst-rtld-load-self.sh.
25998 ($(objpfx)order2.out): Use $(test-wrapper).
25999 ($(objpfx)tst-initorder.out): Likewise.
26000 ($(objpfx)tst-initorder2.out): Likewise.
26001 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26002 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26003 (test_wrapper_env): New variable. Use it to run ld.so.
26004 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26005 Use it to run ld.so.
26006 (test_wrapper_env): Likewise.
26007 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26008 $(test-wrapper) to run-iconv-test.sh.
26009 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26010 (ICONV): Use $test_wrapper.
26011 * posix/Makefile ($(objpfx)globtest.out): Pass
26012 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26013 globtest.sh, not $(run-program-prefix).
26014 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26015 (test_wrapper): Likewise.
26016 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26017 set together with run_via_rtld_prefix.
26018 (run_program_prefix): Define in terms of test_wrapper and
26019 run_via_rtld_prefix.
26021 2012-10-24 Roland McGrath <roland@hack.frob.com>
26023 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26024 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26028 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26029 Declare __clock_getres, __clock_gettime, __clock_settime,
26030 __clock_nanosleep, and __clock_getcpuclockid.
26031 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26032 Remove librt_hidden_def (clock_gettime).
26033 * sysdeps/unix/clock_gettime.c: Likewise.
26034 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26035 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26036 * rt/clock_getres.c: Define __clock_getres as an alias.
26037 * sysdeps/posix/clock_getres.c: Likewise.
26038 * rt/clock_settime.c: Define __clock_settime as an alias.
26039 * sysdeps/unix/clock_settime.c: Likewise.
26040 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26041 * sysdeps/unix/clock_nanosleep.c: Likewise.
26042 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26043 * rt/clock-compat.c: New file.
26044 * rt/Makefile (librt-routines): Add clock-compat and move
26045 $(clock-routines) to ...
26046 (routines): ... here, new variable.
26047 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26048 Don't add get_clockfreq here.
26049 * rt/Versions (libc: GLIBC_2.17): New version set.
26050 Add clock_* symbols here.
26051 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26053 (GLIBC_2.17): Add clock_* symbols.
26054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26065 * NEWS: Mention the move.
26067 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26068 Use __open, __read, __close rather than their public counterparts.
26069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26070 (__get_clockfreq_via_cpuinfo): Likewise.
26071 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26072 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26074 * config.h.in (HAVE_IFUNC): New #undef.
26075 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26077 * configure: Regenerated.
26079 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26081 * configure.in: Move READELF check to start of file.
26082 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26083 libc_cv_asm_gnu_indirect_function in the process.
26084 * configure: Regenerated.
26086 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26088 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26089 send the output to /dev/null.
26090 (libc_cv_cc_with_libunwind): Likewise.
26091 (libc_cv_as_noexecstack): Likewise.
26092 * configure: Regenerate.
26094 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26096 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26098 * posix/globtest.sh (TMPDIR): Do not set.
26099 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26100 (testout): Likewise.
26102 2012-10-24 Andreas Jaeger <aj@suse.de>
26104 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26105 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26106 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26107 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26108 posix_fadvise64, posix_fallocate64.
26110 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26111 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26112 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26114 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26116 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26119 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26120 <bits/fcntl-linux.h>.
26121 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26124 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26125 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26126 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26127 [__WORDSIZE != 64]: Likewise.
26129 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26131 * Makeconfig (run-built-tests): New variable.
26132 * Rules [$(cross-compiling) = yes]: Change condition to
26133 [$(run-built-tests) = no].
26134 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26135 to [$(run-built-tests) = yes].
26136 * elf/Makefile [$(cross-compiling) = no]: Likewise
26137 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26138 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26139 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26140 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26141 * io/Makefile [$(cross-compiling) = no]: Likewise.
26142 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26143 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26144 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26145 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26146 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26147 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26148 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26149 * string/Makefile [$(cross-compiling) = no]: Likewise.
26151 * posix/Makefile ($(objpfx)globtest.out): Pass
26152 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26153 $(rtld-installed-name).
26154 * posix/globtest.sh (elf_objpfx): Remove variable.
26155 (rtld_installed_name): Likewise.
26156 (library_path): Likewise.
26157 (run_program_prefix): New variable. Use for running globtest
26160 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26161 Joseph Myers <joseph@codesourcery.com>
26163 * Makeconfig (host-built-program-cmd): New variable.
26164 * elf/Makefile (tst-stackguard1-ARGS): Use
26165 $(host-built-program-cmd).
26166 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26167 (tst-spawn-ARGS): Likewise.
26168 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26170 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26171 Jim Blandy <jimb@codesourcery.com>
26173 * Makeconfig (run-via-rtld-prefix): New variable.
26174 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26175 (built-program-cmd): Likewise.
26177 2012-10-22 Andreas Jaeger <aj@suse.de>
26179 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26180 __O_RSYNC if it exists, otherwise to O_SYNC.
26182 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26183 Joseph Myers <joseph@codesourcery.com>
26185 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26187 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26189 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26192 2012-10-22 Andreas Jaeger <aj@suse.de>
26194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26199 bits/fcntl-linux.h.
26201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26202 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26204 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26209 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26210 Joseph Myers <joseph@codesourcery.com>
26212 * config.make.in (NM): New variable.
26214 2012-10-21 Andreas Jaeger <aj@suse.de>
26216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26217 definitions and declarations that are provided by
26218 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26220 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26223 * elf/Makefile (tests-static): Add tst-leaks1-static.
26224 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26225 ($(objpfx)tst-leaks1-static): New rule.
26226 ($(objpfx)tst-leaks1-static-mem): Likewise.
26227 (tst-leaks1-static-ENV): New macro.
26228 * elf/dl-open.c (dl_open_worker): Check the main application
26229 only if SHARED is defined.
26230 * elf/tst-leaks1-static.c: New file.
26232 2012-10-20 Andreas Jaeger <aj@suse.de>
26234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26235 generic values for Linux.
26236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26237 and declarations that are provided by <bits/fcntl-linux.h> and
26238 include <bits/fcntl-linux.h>.
26239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26242 2012-10-20 Roland McGrath <roland@hack.frob.com>
26244 * io/fcntl.h: Move include of <bits/types.h> to the top and
26245 include it unconditionally.
26247 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26249 * wcsmbs/Makefile (tests-ifunc): New variable.
26250 (tests): Add $(tests-ifunc).
26251 * wcsmbs/test-wcschr-ifunc.c: New file.
26252 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26253 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26254 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26255 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26256 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26258 * string/Makefile (tests-ifunc): New variable.
26259 (tests): Add $(tests-ifunc).
26260 * string/test-memccpy.c (TEST_NAME): New macro.
26261 * string/test-memchr.c (TEST_NAME): Likewise.
26262 * string/test-memcmp.c (TEST_NAME): Likewise.
26263 * string/test-memcpy.c (TEST_NAME): Likewise.
26264 * string/test-memmem.c (TEST_NAME): Likewise.
26265 * string/test-memmove.c (TEST_NAME): Likewise.
26266 * string/test-memset.c (TEST_NAME): Likewise.
26267 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26268 * string/test-stpcpy.c (TEST_NAME): Likewise.
26269 * string/test-stpncpy.c (TEST_NAME): Likewise.
26270 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26271 * string/test-strcasestr.c (TEST_NAME): Likewise.
26272 * string/test-strcat.c (TEST_NAME): Likewise.
26273 * string/test-strchr.c (TEST_NAME): Likewise.
26274 * string/test-strcmp.c(TEST_NAME): Likewise.
26275 * string/test-strcpy.c (TEST_NAME): Likewise.
26276 * string/test-strcspn.c (TEST_NAME): Likewise.
26277 * string/test-strlen.c (TEST_NAME): Likewise.
26278 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26279 * string/test-strncmp.c (TEST_NAME): Likewise.
26280 * string/test-strncpy.c (TEST_NAME): Likewise.
26281 * string/test-strnlen.c (TEST_NAME): Likewise.
26282 * string/test-strpbrk.c (TEST_NAME): Likewise.
26283 * string/test-strrchr.c (TEST_NAME): Likewise.
26284 * string/test-strspn.c (TEST_NAME): Likewise.
26285 * string/test-strstr.c (TEST_NAME): Likewise.
26286 * string/test-bcopy-ifunc.c: New file.
26287 * string/test-bzero-ifunc.c: Likewise.
26288 * string/test-memccpy-ifunc.c: Likewise.
26289 * string/test-memchr-ifunc.c: Likewise.
26290 * string/test-memcmp-ifunc.c: Likewise.
26291 * string/test-memcpy-ifunc.c: Likewise.
26292 * string/test-memmem-ifunc.c: Likewise.
26293 * string/test-memmove-ifunc.c: Likewise.
26294 * string/test-mempcpy-ifunc.c: Likewise.
26295 * string/test-memset-ifunc.c: Likewise.
26296 * string/test-rawmemchr-ifunc.c: Likewise.
26297 * string/test-stpcpy-ifunc.c: Likewise.
26298 * string/test-stpncpy-ifunc.c: Likewise.
26299 * string/test-strcasecmp-ifunc.c: Likewise.
26300 * string/test-strcasestr-ifunc.c: Likewise.
26301 * string/test-strcat-ifunc.c: Likewise.
26302 * string/test-strchr-ifunc.c: Likewise.
26303 * string/test-strchrnul-ifunc.c: Likewise.
26304 * string/test-strcmp-ifunc.c: Likewise.
26305 * string/test-strcpy-ifunc.c: Likewise.
26306 * string/test-strcspn-ifunc.c: Likewise.
26307 * string/test-strlen-ifunc.c: Likewise.
26308 * string/test-strncasecmp-ifunc.c: Likewise.
26309 * string/test-strncat-ifunc.c: Likewise.
26310 * string/test-strncmp-ifunc.c: Likewise.
26311 * string/test-strncpy-ifunc.c: Likewise.
26312 * string/test-strnlen-ifunc.c: Likewise.
26313 * string/test-strpbrk-ifunc.c: Likewise.
26314 * string/test-strrchr-ifunc.c: Likewise.
26315 * string/test-strspn-ifunc.c: Likewise.
26316 * string/test-strstr-ifunc.c: Likewise.
26318 * debug/Makefile (tests-ifunc): New variable.
26319 (tests): Add $(tests-ifunc).
26320 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26321 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26322 * debug/test-stpcpy_chk-ifunc.c: New file.
26323 * debug/test-strcpy_chk-ifunc.c: Likewise.
26325 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26328 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26329 header is not read in.
26331 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26333 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26334 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26335 directly. Pass built executable to script as
26336 $(built-program-cmd).
26337 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26338 $testprogram without using LD_LIBRARY_PATH and $ldso.
26340 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26341 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26342 $(rtld-installed-name).
26343 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26344 (rtld_installed_name): Likewise.
26345 (library_path): Likewise.
26346 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26347 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26348 $(run-program-prefix) to tst-tables.sh.
26349 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26350 it to run tst-table-from and tst-table-to.
26351 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26352 Pass it to tst-table.sh.
26353 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26354 $(run-program-prefix) to tst-gettext.sh.
26355 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26357 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26359 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26360 to run tst-gettext.
26361 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26362 to run tst-gettext2.
26363 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26364 to run tst-translit.
26365 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26366 $(run-program-prefix) to tst-mtrace.sh.
26367 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26369 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26370 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26371 $(rtld-installed-name).
26372 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26373 (rtld_installed_name): Likewise.
26374 (run_program_prefix): New variable. Use it to run wordexp-test.
26376 * Makeconfig (ARCH): Remove all definitions.
26377 (machine): Likewise.
26378 [ARCH]: Remove conditional code.
26379 [!objdir]: Give error.
26380 [!objdir] (objpfx): Remove.
26381 [!objdir] (common-objpfx): Likewise.
26382 [!objdir] (common-objdir): Likewise.
26383 * configure.in (config_makefile): Remove. Hardcode Makefile in
26384 AC_CONFIG_FILES call.
26385 * configure: Regenerated.
26388 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26390 (testout): Likewise.
26392 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26393 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26394 $(rtld-installed-name).
26395 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26396 (rtld_installed_name): Likwise.
26397 (runit): Remove function.
26398 (run_getconf): New variable, Use it for running getconf binary.
26400 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26403 * string/test-memmem.c (check_result): New function.
26404 (do_one_test): Use it.
26405 (check1): New function.
26406 (test_main): Use it.
26408 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26410 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26412 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26414 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26415 (_G_LSEEK64): Likewise.
26416 (_G_MMAP64): Likewise.
26417 (_G_FSTAT64): Likewise.
26418 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26419 (_G_LSEEK64): Likewise.
26420 (_G_MMAP64): Likewise.
26421 (_G_FSTAT64): Likewise.
26422 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26423 unconditional. Call __mmap64 directly.
26424 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26425 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26426 __lseek64 directly.
26427 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26428 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26430 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26431 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26432 __lseek64 directly.
26433 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26434 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26435 __lseek64 directly.
26436 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26437 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26438 __lseek64 directly.
26439 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26440 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26441 __fxstat64 directly.
26442 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26443 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26445 (freopen64) [!_G_OPEN64]: Remove conditional code.
26446 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26448 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26449 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26451 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26452 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26454 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26455 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26457 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26458 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26460 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26461 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26463 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26464 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26466 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26468 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26471 * manual/memory.texi (Malloc Tunable Parameters): Add note
26472 about free list pointers overwriting some perturb bytes.
26473 Wording suggested by Roland McGrath.
26475 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26477 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26478 (lgamma_test): Likewise.
26479 (tgamma_test): Likewise.
26481 2012-10-16 Florian Weimer <fweimer@redhat.com>
26484 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26485 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26487 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26489 * NEWS: Mention BZ #14716.
26490 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26491 when removing AVAILABLE1_USES_J macro.
26493 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26495 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26496 (__bswap_64): __uint64_t for unsigned 64-bit int.
26498 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26500 * include/string.h (memmem): Declare libc hidden alias.
26501 * string/memmem.c (memmem): Define libc hidden alias.
26502 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26503 __read, __close instead of open, read, close.
26505 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26507 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26508 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26510 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26511 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26512 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26514 (__rawmemchr_sse2): Likewise.
26515 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26516 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26517 (__strchr_sse2): Likewise.
26518 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26519 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26520 (__strcasecmp_sse2): Likewise.
26521 (__strncasecmp_sse2): Likewise.
26522 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26523 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26524 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26525 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26526 (__strrchr_sse2): Likewise.
26527 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26529 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26530 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26531 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26532 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26533 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26534 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26535 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26537 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26538 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26539 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26540 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26541 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26542 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26543 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26544 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26545 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26546 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26547 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26548 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26549 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26550 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26551 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26552 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26553 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26554 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26555 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26556 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26557 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26558 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26560 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26562 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26563 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26564 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26565 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26567 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26569 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26570 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26571 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26572 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26574 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26575 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26576 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26577 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26578 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26579 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26580 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26581 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26582 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26583 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26584 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26585 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26586 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26587 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26588 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26590 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26591 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26592 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26593 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26594 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26595 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26596 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26597 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26598 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26599 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26600 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26601 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26602 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26603 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26604 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26605 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26606 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26607 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26608 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26609 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26612 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26613 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26614 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26616 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26617 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26618 * include/ifunc-impl-list.h: New file.
26619 * misc/ifunc-impl-list.c: Likewise.
26620 * misc/Makefile (routines): Add ifunc-impl-list.
26621 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26622 * string/test-string.h: Include <ifunc-impl-list.h>.
26623 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26624 TEST_NAME]: New variables.
26625 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26627 (test_init): Call __libc_ifunc_impl_list to initialize
26628 func_list if TEST_IFUNC and TEST_NAME are defined.
26630 * string/Makefile (strop-tests): Add bcopy and bzero.
26631 * string/test-bcopy.c: New file.
26632 * string/test-bzero.c: Likewise.
26633 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26635 * string/test-memset.c: Support bzero test if TEST_BZERO is
26637 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26639 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26641 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26644 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26646 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26647 * configure: Regenerated.
26649 * Makeconfig (+link-static-before-libc): Don't include
26650 $(link-static-libc).
26652 * libio/libio.h (_IO_pos_t): Remove.
26654 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26656 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26659 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26661 * crypt/crypt-entry.c: Include fips-private.h.
26662 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26663 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26664 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26665 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26667 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26669 * crypt/crypt-private.h: Include stdbool.h.
26670 (_ufc_setup_salt_r): Return bool.
26671 * crypt/crypt-entry.c: Include errno.h.
26672 (__crypt_r): Return NULL with EINVAL for bad salt.
26673 * crypt/crypt_util.c (bad_for_salt): New.
26674 (_ufc_setup_salt_r): Check that salt is long enough and within
26675 the specified alphabet.
26676 * crypt/badsalttest.c: New file.
26677 * crypt/Makefile (tests): Add it.
26678 ($(objpfx)badsalttest): New.
26680 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26682 * NEWS: Add entry for BZ #14602.
26684 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26686 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26688 * math/libm-test.inc: Update comment listing what functions and
26690 (isgreater_test): New function.
26691 (isgreaterequal_test): Likewise.
26692 (isless_test): Likewise.
26693 (islessequal_test): Likewise.
26694 (islessgreater_test): Likewise.
26695 (isunordered_test): Likewise.
26696 (main): Call the new functions.
26698 2012-10-09 Roland McGrath <roland@hack.frob.com>
26700 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26701 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26702 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26703 * sysdeps/i386/configure: Regenerated.
26704 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26705 * sysdeps/mach/configure: Regenerated.
26706 * sysdeps/mach/hurd/configure: Regenerated.
26707 * sysdeps/powerpc/configure: Regenerated.
26708 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26709 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26710 * sysdeps/s390/s390-32/configure: Regenerated.
26711 * sysdeps/s390/s390-64/configure: Regenerated.
26712 * sysdeps/sh/configure: Regenerated.
26713 * sysdeps/sparc/configure: Regenerated.
26714 * sysdeps/unix/sysv/linux/configure: Regenerated.
26715 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26716 * sysdeps/x86_64/configure: Regenerated.
26718 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26719 defined. Don't check if MAP is NULL.
26721 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26723 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26724 (_G_stat64): Likewise.
26725 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26726 (_G_stat64): Likewise.
26727 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26728 instead of struct _G_stat64.
26729 * libio/fileops.c (mmap_remap_check): Likewise.
26730 (decide_maybe_mmap): Likewise.
26731 (_IO_new_file_seekoff): Likewise.
26732 (_IO_file_stat): Likewise.
26733 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26735 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26736 instead of struct _G_stat64.
26737 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26739 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26742 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26744 (CHECK_EOL): New macro.
26745 (two_way_short_needle): Check beginning of haystack for EOL. Use
26747 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26748 Replace with CHECK_EOL.
26749 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26750 Replace with CHECK_EOL.
26752 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26754 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26756 * math/libm-test.inc: Update comment listing what functions and
26758 (finite_test): New function.
26759 (isinf_test): Likewise.
26760 (isnan_test): Likewise.
26761 (fpclassify_test): Test subnormal input.
26762 (isfinite_test): Likewise.
26763 (isnormal_test): Likewise.
26764 (main): Call the new functions.
26766 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26769 * Makerules (%.dynsym): Force C locale when running
26770 $(OBJDUMP) --dynamic-syms.
26772 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26774 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26777 2012-10-06 David S. Miller <davem@davemloft.net>
26779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26780 upper 32-bits of the length value in %o2 since we use branch-on-register
26781 tests which consider the entire 64-bit register.
26783 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26785 * string/test-strstr.c (check2): Add a test for page boundary.
26787 2012-10-05 David S. Miller <davem@davemloft.net>
26789 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26790 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26792 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26794 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26795 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26796 and bzero when HWCAP_SPARC_CRYPTO is present.
26798 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26801 * string/test-strstr.c (check2): New function.
26802 (test_main): Call check2.
26804 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26806 * string/bug-strcasestr1.c (do_test): Moved to ...
26807 * string/test-strcasestr.c (check1): Here. New function.
26808 (do_one_test): Break out result checking code into ...
26809 (check_result): This. New function.
26810 (do_one_test): Call check_result.
26811 (test_main): Call check1.
26812 * string/bug-strchr1.c (do_test): Moved to ...
26813 * string/test-strchr.c (check1): Here. New function.
26814 (do_one_test): Break out result checking code into ...
26815 (check_result): This. New function.
26816 (do_one_test): Call check_result.
26817 (test_main): Call check1.
26818 * string/bug-strstr1.c (main): Moved to ...
26819 * string/test-strstr.c (check1): Here. New function.
26820 (do_one_test): Break out result checking code into ...
26821 (check_result): This. New function.
26822 (do_one_test): Call check_result.
26823 (test_main): Call check1.
26824 * string/bug-strcasestr1.c: Removed.
26825 * string/bug-strchr1.c: Likewise.
26826 * string/bug-strstr1.c: Likewise.
26828 * elf/Makefile (dl-routines): Add hwcaps.
26829 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26830 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26831 (_dl_important_hwcaps): Moved to ...
26832 * elf/dl-hwcaps.c: Here. New file.
26833 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26836 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26837 if IS_IN_rtld isn't defined.
26839 * elf/dl-support.c (_dl_sysinfo_map): New.
26840 Include "get-dynamic-info.h" and "setup-vdso.h".
26841 (_dl_non_dynamic_init): Call setup_vdso.
26842 * elf/dynamic-link.h: Don't include <assert.h>.
26843 (elf_get_dynamic_info): Moved to ...
26844 * elf/get-dynamic-info.h: Here. New file.
26845 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26846 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26847 * elf/setup-vdso.h: Here. New file.
26848 * elf/rtld.c: Include "setup-vdso.h".
26849 (dl_main): Call setup_vdso.
26851 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26853 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26854 creal in comment listing functions tested. List finite, isinf,
26855 isnan, isless, islessequal, isgreater, isgreaterequal,
26856 islessgreater, isunordered, lgamma_r and pow10 as functions and
26857 macros not tested. Mention which functions not tested are aliases
26858 for other functions. Fix typo. Note that signs of NaNs are not
26861 * scripts/config.guess: Update from config.git.
26862 * scripts/config.sub: Likewise.
26864 2012-10-04 Roland McGrath <roland@hack.frob.com>
26866 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26867 * misc/madvise.c (madvise): Renamed to __madvise.
26868 Make madvise a weak alias.
26869 * include/sys/mman.h: Declare __madvise.
26870 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26871 * sysdeps/unix/syscalls.list
26872 (madvise): Make __madvise the strong name, and madvise a weak alias.
26873 * sysdeps/unix/sysv/linux/syscalls.list
26874 (madvise, mmap): Remove redundant entries.
26875 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26876 * malloc/malloc.c (mtrim): Likewise.
26877 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26879 2012-10-03 Roland McGrath <roland@hack.frob.com>
26881 * sysdeps/mach/hurd/dl-cache.c: File removed.
26882 * config.h.in (USE_LDCONFIG): New #undef.
26883 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26884 * configure: Regenerated.
26885 * elf/Makefile (dl-routines): Add dl-cache only under
26886 [$(use-ldconfig) = yes].
26887 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26888 cache on [USE_LDCONFIG].
26889 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26891 * elf/rtld.c (dl_main): Likewise.
26893 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26895 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26896 _SC_LEVEL4_CACHE_LINESIZE.
26898 2012-10-03 Roland McGrath <roland@hack.frob.com>
26900 * sysdeps/unix/bsd/confstr.h: File removed.
26902 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26904 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26907 2012-10-02 Roland McGrath <roland@hack.frob.com>
26909 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26910 Make 'mapoff' field ElfW(Off) rather than off_t.
26912 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26914 * nscd/Makefile: Remove nscd-cflags and all its users.
26915 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26916 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26919 * malloc.c (malloc_printerr): Clarify error message.
26921 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26925 Set bit_FMA_Usable if FMA is supported.
26926 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26928 (bit_FMA4_Usable): Updated.
26929 (index_FMA_Usable): New macro.
26930 (CPUID_FMA): Likewise
26931 (HAS_FMA): Defined with bit_FMA_Usable.
26933 2012-10-01 Roland McGrath <roland@hack.frob.com>
26935 * bits/types.h (__swblk_t): Type removed.
26936 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26937 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26938 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26939 (__SWBLK_T_TYPE): Likewise.
26940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26941 (__SWBLK_T_TYPE): Likewise.
26942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26943 (__SWBLK_T_TYPE): Likewise.
26944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26945 (__SWBLK_T_TYPE): Likewise.
26947 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26948 Honza Horak <hhorak@redhat.com>
26950 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26951 (xdr_mapname): Use YPMAXMAP as maxsize.
26952 (xdr_peername): Use YPMAXPEER as maxsize.
26953 (xdr_keydat): Use YPAXRECORD as maxsize.
26954 (xdr_valdat): Use YPMAXRECORD as maxsize.
26956 2012-10-01 Roland McGrath <roland@hack.frob.com>
26958 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26960 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26961 * csu/init-first.c: ... here.
26962 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26963 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26964 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26965 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26966 * sysdeps/i386/init-first.c: File removed.
26967 * sysdeps/sh/init-first.c: File removed.
26969 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26973 if x * y might underflow to zero and z is zero.
26974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26975 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26976 * math/libm-test.inc (min_subnorm_value): New variable.
26977 (fma_test): Add more tests.
26978 (fma_test_towardzero): Likewise.
26979 (fma_test_downward): Likewise
26980 (fma_test_upward): Likewise.
26981 (initialize): Set min_subnorm_value.
26983 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26989 mode for addition resulting in exact zero.
26990 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26995 * math/libm-test.inc (fma_test): Add more tests.
26996 (fma_test_towardzero): New function.
26997 (fma_test_downward): Likewise.
26998 (fma_test_upward): Likewise.
26999 (main): Call the new functions.
27001 2012-09-28 David S. Miller <davem@davemloft.net>
27003 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27005 2012-09-28 Roland McGrath <roland@hack.frob.com>
27007 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27008 instead of SIGALRM.
27010 * sysdeps/gnu/_G_config.h: Moved to ...
27011 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27012 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27013 * sysdeps/generic/_G_config.h: ... here.
27015 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27017 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27019 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27020 Conditionalize target on [libnss_test1.so-version].
27022 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27024 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27025 (elfobjdir): Move out of conditionals.
27027 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27028 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27029 (__nss_lookup_function): Conditionalize label remove_from_tree on
27030 [!DO_STATIC_NSS || SHARED], matching its only use.
27032 2012-09-28 David S. Miller <davem@davemloft.net>
27034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27035 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27037 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27039 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27040 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27041 when HWCAP_SPARC_CRYPTO is present.
27043 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27045 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27047 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27050 * stdio-common/vfprintf.c (process_string_arg): Revert
27053 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27055 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27057 * stdio-common/tst-sprintf.c: Include <locale.h>
27058 (main): Test sprintf's handling of incomplete multibyte
27061 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27063 * elf/dl-runtime.c (VERSYMIDX): Removed.
27064 * elf/dl-version.c (VERSYMIDX): Likewise.
27065 * elf/do-rel.h (VERSYMIDX): Likewise.
27066 (VALIDX): Likewise.
27067 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27068 * elf/rtld.c (VALIDX): Likewise.
27069 (ADDRIDX): Likewise.
27070 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27071 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27072 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27073 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27074 (VALIDX): Likewise.
27075 (ADDRIDX): Likewise.
27077 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27079 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27081 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27084 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27086 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27087 addresses are in the same scope as 192.0.2/24.
27088 * posix/gai.conf: Document new scope table defaults.
27090 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27093 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27094 for ftell. Compute offsets from write pointers instead.
27095 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27097 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27100 * libio/Makefile (tests): New test case tst-fseek.
27101 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27102 combination works in wide mode.
27103 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27104 state when the external buffer state changes.
27106 2012-09-27 David S. Miller <davem@davemloft.net>
27109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27110 pass reloc->r_addend in as the 'high' argument to
27111 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27115 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27117 * rt/tst-aio2.c: Include <pthread.h>.
27118 * rt/tst-aio3.c: Likewise.
27120 2012-09-27 Steve Ellcey <sellcey@mips.com>
27122 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27124 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27126 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27127 contents on [SHARED].
27129 2012-09-26 Marek Polacek <polacek@redhat.com>
27133 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27134 for C++ and GCC <4.3 as well as for non GCC compilers.
27136 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27140 2012-09-25 Roland McGrath <roland@hack.frob.com>
27142 * Makefile.in (all, install): Declare with .PHONY.
27143 Reported by Michael Hope <michael.hope@linaro.org>.
27145 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27147 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27148 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27150 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27152 (sydep_routines): Add the new and the internal functions.
27153 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27154 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27156 (GLIBC_2.17): Add the new function.
27157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27158 (GLIBC_2.17): Likewise.
27159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27160 (GLIBC_2.17): Likewise.
27161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27162 (GLIBC_2.17): Likewise.
27163 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27165 2012-09-25 Alan Modra <amodra@gmail.com>
27167 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27168 Add release barrier before setting once_control to say
27169 initialisation is done. Add hints on lwarx. Use macro in
27171 (clear_once_control): Add release barrier.
27173 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27176 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27178 * math/s_clog10.c (__clog10): Likewise.
27179 * math/s_clog10f.c (__clog10f): Likewise.
27180 * math/s_clog10l.c (__clog10l): Likewise.
27181 * math/s_clogf.c (__clogf): Likewise.
27182 * math/s_clogl.c (__clogl): Likewise.
27183 * math/Makefile (libm-calls): Add x2y2m1.
27184 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27185 (__x2y2m1): Likewise.
27186 (__x2y2m1l): Likewise.
27187 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27188 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27189 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27190 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27191 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27192 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27193 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27194 * sysdeps/i386/fpu/libm-test-ulps: Update.
27195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27198 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27199 int as type of variable DEPTH.
27200 (glob): Use size_t instead of int as type of variables NEWCOUNT
27203 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27205 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27206 Add s_sincosf-sse2.
27207 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27208 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27209 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27210 macros for using routine as __sincosf_ia32.
27211 Use macro for function declaration and weak_alias.
27212 * sysdeps/i386/fpu/libm-test-ulps: Update.
27214 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27217 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27218 subnormal argument.
27219 * math/s_cexpf.c (__cexpf): Likewise.
27220 * math/s_csinf.c (__csinf): Likewise.
27221 * math/s_csinhf.c (__csinhf): Likewise.
27222 * math/s_ctanf.c (__ctanf): Likewise.
27223 * math/s_ctanhf.c (__ctanhf): Likewise.
27224 * math/s_ccosh.c (__ccoshf): Likewise.
27225 * math/s_cexp.c (__cexpl): Likewise.
27226 * math/s_csin.c (__csin): Likewise.
27227 * math/s_csinh.c (__csinh): Likewise.
27228 * math/s_ctan.c (__ctan): Likewise.
27229 * math/s_ctanh.c (ctanh): Likewise.
27230 * math/s_ccoshl.c (__ccoshl): Likewise.
27231 * math/s_cexpl.c (__cexpl): Likewise.
27232 * math/s_csinl.c (__csinl): Likewise.
27233 * math/s_csinhl.c (__csinhl): Likewise.
27234 * math/s_ctanl.c (__ctanl): Likewise.
27235 * math/s_ctanhl.c (__ctanhl): Likewise.
27237 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27239 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27240 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27241 (_IO_off_t): Define to __off_t, not _G_off_t.
27242 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27243 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27244 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27245 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27246 type of __dummy and __dummy2 fields.
27247 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27248 (_G_ssize_t): Likewise.
27249 (_G_off_t): Likewise.
27250 (_G_pid_t): Likewise.
27251 (_G_uid_t): Likewise.
27252 (_G_wchar_t): Likewise.
27253 (_G_wint_t): Likewise.
27254 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27255 (_G_ssize_t): Likewise.
27256 (_G_off_t): Likewise.
27257 (_G_pid_t): Likewise.
27258 (_G_uid_t): Likewise.
27259 (_G_wchar_t): Likewise.
27260 (_G_wint_t): Likewise.
27261 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27262 (_G_ssize_t): Likewise.
27263 (_G_off_t): Likewise.
27264 (_G_pid_t): Likewise.
27265 (_G_uid_t): Likewise.
27266 (_G_wchar_t): Likewise.
27267 (_G_wint_t): Likewise.
27269 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27271 * malloc/arena.c: Include malloc-sysdep.h.
27272 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27273 is sufficient to shrink the heap or an unmap is needed.
27274 * sysdeps/generic/malloc-sysdep.h: New file. Define
27275 new function check_may_shrink_heap.
27276 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27277 new function check_may_shrink_heap.
27279 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27281 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27284 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27286 * catgets/test-gencat.sh: Add "set -e".
27287 * elf/tst-pathopt.sh: Likewise.
27288 * grp/tst_fgetgrent.sh: Likewise.
27289 * iconvdata/run-iconv-test.sh: Likewise.
27290 * intl/tst-gettext.sh: Likewise.
27291 * intl/tst-gettext2.sh: Likewise.
27292 * intl/tst-gettext4.sh: Likewise.
27293 * intl/tst-gettext6.sh: Likewise.
27294 * intl/tst-translit.sh: Likewise.
27295 * io/ftwtest-sh: Likewise.
27296 * libio/test-freopen.sh: Likewise.
27297 * malloc/tst-mtrace.sh: Likewise.
27298 * posix/globtest.sh: Likewise.
27299 * posix/tst-getconf.sh: Likewise.
27300 * posix/wordexp-tst.sh: Likewise.
27301 * stdio-common/tst-printf.sh: Likewise.
27302 * stdio-common/tst-unbputc.sh: Likewise.
27303 * stdlib/tst-fmtmsg.sh: Likewise.
27304 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27305 * catgets/Makefile: Do not specify -e option when running
27306 testsuite shell scripts.
27307 * elf/Makefile: Likewise.
27308 * grp/Makefile: Likewise.
27309 * iconvdata/Makefile: Likewise.
27310 * intl/Makefile: Likewise.
27311 * io/Makefile: Likewise.
27312 * libio/Makefile: Likewise.
27313 * malloc/Makefile: Likewise.
27314 * posix/Makefile: Likewise.
27315 * stdio-common/Makefile: Likewise.
27316 * stdlib/Makefile: Likewise.
27317 * sysdeps/x86_64/Makefile: Likewise.
27319 * io/ftwtest-sh: Add copyright header.
27320 * posix/globtest.sh: Likewise.
27321 * posix/tst-getconf.sh: Likewise.
27322 * posix/wordexp-tst.sh: Likewise.
27323 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27325 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27328 * Makeconfig (+link): Defined as $(+link-static) if
27329 $(build-shared) isn't yes.
27330 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27332 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27334 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27337 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27338 new chunk size with MALLOC_ALIGN_MASK.
27340 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27343 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27345 (__printf_fphex): Determine rounding using get_rounding_mode and
27347 * stdio-common/tst-printf-round.c (struct hex_test): New
27349 (hex_tests): New variable.
27350 (test_hex_in_one_mode): New function.
27351 (do_test): Also run tests for hex float output.
27353 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27355 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27356 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27357 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27358 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27359 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27360 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27361 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27364 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27366 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27367 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27368 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27369 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27371 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27374 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27376 * elf/tst-rtld-load-self.sh: New test.
27377 * elf/Makefile: Run it.
27379 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27381 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27382 (tst-writev-ENV): Remove.
27383 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27385 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27387 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27389 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27391 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27393 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27395 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27396 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27397 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27400 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27403 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27404 * config.make.in (have-cpp-asm-debuginfo): Removed.
27405 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27406 * configure: Regenerated.
27408 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27411 * stdio-common/printf_fp.c: Include <stdbool.h> and
27413 (___printf_fp): Determine rounding using get_rounding_mode and
27415 * stdio-common/tst-printf-round.c: New file.
27416 * stdio-common/Makefile (tests): Add tst-printf-round.
27417 (link-libm): New variable.
27418 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27420 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27423 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27424 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27426 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27429 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27431 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27432 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27433 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27434 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27436 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27439 * include/rounding-mode.h: New file.
27440 * sysdeps/generic/get-rounding-mode.h: Likewise.
27441 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27442 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27443 (MAX_VALUE): New macro.
27444 (MIN_VALUE): Likewise.
27445 (overflow_value): New function.
27446 (underflow_value): Likewise.
27447 (round_and_return): Use overflow_value and underflow_value to
27448 determine return values in overflow and underflow cases. Use
27449 round_away to determine rounding depending on rounding mode.
27450 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27451 determine return values in overflow and underflow cases.
27452 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27453 (struct test_results): New structure.
27454 (struct test): Use struct test_results to store expected results
27455 for all rounding modes.
27456 (TEST): Include expected results for all rounding modes.
27457 (test_in_one_mode): New function.
27458 (do_test): Use test_in_one_mode to compute and check results.
27459 Check results for all rounding modes.
27460 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27463 2012-12-09 Allan McRae <allan@archlinux.org>
27465 * sysdeps/i386/fpu/libm-test-ulps: Update
27467 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27469 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27470 (_G_int32_t): Likewise.
27471 (_G_uint16_t): Likewise.
27472 (_G_uint32_t): Likewise.
27473 (_G_HAVE_BOOL): Likewise.
27474 (_G_HAVE_ATEXIT): Likewise.
27475 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27476 (_G_HAVE_IO_FILE_OPEN): Likewise.
27477 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27478 (_G_int32_t): Likewise.
27479 (_G_uint16_t): Likewise.
27480 (_G_uint32_t): Likewise.
27481 (_G_HAVE_BOOL): Likewise.
27482 (_G_HAVE_ATEXIT): Likewise.
27483 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27484 (_G_HAVE_IO_FILE_OPEN): Likewise.
27485 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27486 (_G_int32_t): Likewise.
27487 (_G_uint16_t): Likewise.
27488 (_G_uint32_t): Likewise.
27489 (_G_HAVE_BOOL): Likewise.
27490 (_G_HAVE_ATEXIT): Likewise.
27491 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27492 (_G_HAVE_IO_FILE_OPEN): Likewise.
27494 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27496 * csu/libc-tls.c: Update copyright years.
27498 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27500 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27501 [!_G_USING_THUNKS]: Remove conditional code.
27502 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27503 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27505 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27506 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27507 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27508 (_G_VTABLE_LABEL_PREFIX): Likewise.
27509 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27510 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27511 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27512 (_G_VTABLE_LABEL_PREFIX): Likewise.
27513 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27514 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27515 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27516 (_G_VTABLE_LABEL_PREFIX): Likewise.
27517 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27519 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27521 * libio/Makefile: Include ../Makeconfig before tests.
27522 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27523 only if $(build-shared) is yes.
27525 * iconv/gconv_db.c: Update copyright years.
27527 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27530 unwind info if defined PIC. Fix special cases description.
27531 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27533 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27535 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27537 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27539 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27541 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27544 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27545 (LDLIBS-tst-chk4): This.
27546 (LDFLAGS-tst-chk5): Renamed to ...
27547 (LDLIBS-tst-chk5): This.
27548 (LDFLAGS-tst-chk6): Renamed to ...
27549 (LDLIBS-tst-chk6): This.
27550 (LDFLAGS-tst-lfschk4): Renamed to ...
27551 (LDLIBS-tst-lfschk4): This.
27552 (LDFLAGS-tst-lfschk5): Renamed to ...
27553 (LDLIBS-tst-lfschk5): This.
27554 (LDFLAGS-tst-lfschk6): Renamed to ...
27555 (LDLIBS-tst-lfschk6): This.
27557 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27558 on $(common-objpfx)soversions.mk.
27560 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27563 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27566 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27568 * malloc/arena.c (arena_get_retry): New function that gets
27569 another arena for the caller to try its request on.
27570 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27571 current arena cannot fulfill the request.
27572 (__libc_memalign): Likewise.
27573 (__libc_memalign): Likewise.
27574 (__libc_pvalloc): Likewise.
27575 (__libc_calloc): Likewise.
27577 2012-09-05 John Tobey <john.tobey@gmail.com>
27580 * manual/arith.texi (Operations on Complex): Fix description
27581 of carg branch cut.
27583 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27586 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27590 * manual/memory.texi (Memory): Make order of menu items match
27593 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27595 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27596 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27597 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27599 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27601 * csu/libc-tls.c (static_dtv): Renamed to ...
27602 (_dl_static_dtv): This. Make it global.
27603 (_dl_initial_dtv): Removed.
27604 (__libc_setup_tls): Updated.
27605 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27606 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27609 2012-09-06 Petr Machata <pmachata@redhat.com>
27611 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27612 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27613 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27614 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27616 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27619 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27620 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27623 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27626 * Makeconfig (link-static-before-libc): Replace $(+prector)
27628 (link-static-after-libc): Replace $(+postctor) with
27630 (link-bounded): Replace $(+prector)/$(+postctor) with
27631 $(+prectorT)/$(+postctorT).
27632 (+prectorT): New macro.
27633 (+postctorT): Likewise.
27635 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27637 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27638 (round_str): Handle values above the maximum for IBM long double
27640 * stdlib/tst-strtod-round.c (tests): Regenerated.
27642 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27644 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27646 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27647 zarch_nohighgprs around the zarch optimized routines.
27648 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27649 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27650 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27653 2012-09-05 David S. Miller <davem@davemloft.net>
27655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27657 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27658 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27659 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27660 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27663 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27665 * malloc/arena.c: Fold copyright years.
27666 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27668 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27670 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27672 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27674 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27678 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27679 change internal state upon failure.
27681 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27683 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27684 * malloc/memusage.c (mmap): Likewise.
27685 (mmap64, mremap): Likewise. Adjust name in comment.
27687 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27689 * libio/fileops.c: Fix typos in comments.
27690 * libio/oldfileops.c: Likewise.
27691 * libio/wfileops.c: Likewise.
27693 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27696 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27697 (tst-malloc-usable-ENV): Set environment for test case.
27698 * malloc/hooks.c (malloc_check_get_size): New function to get
27700 * malloc/malloc.c (musable): Use malloc_check_get_size.
27701 * malloc/tst-malloc-usable.c: New test case.
27703 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27705 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27707 2012-09-05 Allan McRae <allan@archlinux.org>
27710 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27711 determine header location.
27712 * configure: Regenerated.
27714 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27716 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27718 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27719 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27721 (test): Regenerate.
27723 2012-09-04 David S. Miller <davem@davemloft.net>
27725 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27726 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27727 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27729 2012-09-04 Florian Weimer <fweimer@redhat.com>
27731 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27734 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27736 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27739 * libio/iogetdelim.c: Include <limits.h>.
27740 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27741 + len + 1 would overflow.
27743 2012-09-03 Andreas Jaeger <aj@suse.de>
27745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27746 * sysdeps/i386/fpu/libm-test-ulps: Update.
27748 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27750 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27751 Add s_sinf-sse2, s_conf-sse2.
27753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27754 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27755 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27756 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27758 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27759 for using routine as __sinf_ia32.
27760 Use macro for function declaration and weak_alias.
27761 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27762 for using routine as __cosf_ia32.
27763 Use macro for function declaration and weak_alias.
27765 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27766 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27768 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27769 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27772 * math/libm-test.inc (cos_test): Add more test cases.
27773 (sin_test): Likewise.
27774 (sincos_test): Likewise.
27776 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27778 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27779 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27781 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27783 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27786 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27787 first element of the GOT.
27788 (elf_machine_load_address): Return the difference between
27789 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27791 2012-09-01 Allan McRae <allan@archlinux.org>
27794 * configure.in (AWK): Require gawk version 3.0 or later.
27795 * configure: Regenerated.
27797 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27799 * sysdeps/unix/sysv/linux/kernel-features.h
27800 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27801 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27802 [__NR_clock_getres]: Make code unconditional.
27803 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27804 (clock_getcpuclockid): Remove code left unreachable by removal of
27806 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27807 code unconditional.
27808 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27809 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27810 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27811 Make code unconditional.
27812 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27813 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27814 * sysdeps/unix/sysv/linux/clock_settime.c
27815 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27817 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27818 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27820 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27823 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27824 scripts/test-installation.pl.
27826 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27827 and $ld_so_version if it is set.
27829 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27832 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27833 failure if reading from procfs failed.
27834 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27836 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27838 * sysdeps/unix/sysv/linux/kernel-features.h
27839 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27840 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27841 Remove conditional code.
27842 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27843 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27844 Remove conditional code.
27845 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27846 * sysdeps/unix/sysv/linux/i386/fxstat.c
27847 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27848 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27849 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27850 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27851 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27852 * sysdeps/unix/sysv/linux/i386/lxstat.c
27853 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27855 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27856 Remove conditional code.
27857 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27858 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27859 Remove conditional code.
27860 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27861 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27862 <kernel-features.h>.
27863 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27865 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27866 Remove conditional code.
27867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27869 Remove conditional.
27871 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27874 * NEWS: Add fixed bug number.
27876 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27879 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27880 underflowing exponent in case of negative sign.
27881 * stdlib/tst-strtod-round-data: Add more tests.
27882 * stdlib/tst-strtod-round.c (tests): Regenerated.
27885 * stdlib/strtod_l.c (NDIG): Remove.
27886 (HEXNDIG): Likewise.
27887 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27888 smallest representable value.
27889 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27890 lie within an exact representation of 1/2 ulp of the result.
27891 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27893 (TENS_P9_IDX): Define unconditionally.
27894 (TENS_P9_SIZE): Likewise.
27895 (TENS_P10_IDX): Likewise.
27896 (TENS_P10_SIZE): Likewise.
27897 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27898 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27899 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27900 entries for 10^2^13 and 10^2^14.
27901 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27902 (TENS_P13_IDX): Define.
27903 (TENS_P13_SIZE): Likewise.
27904 (TENS_P14_IDX): Likewise.
27905 (TENS_P14_SIZE): Likewise.
27906 (_fpioconst_pow10): Change array size to
27907 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27909 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27910 1024]: Add entries for 10^2^13 and 10^2^14.
27911 [LAST_POW10 > _LAST_POW10]: Remove #error.
27912 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27913 (_fpioconst_pow10): Change array size to
27914 FPIOCONST_POW10_ARRAY_SIZE.
27915 * stdlib/gen-fpioconst.c: New file.
27916 * stdlib/gen-tst-strtod-round.c: Likewise.
27917 * stdlib/tst-strtod-round-data: Likewise.
27918 * stdlib/tst-strtod-round.c: Likewise.
27919 * stdlib/Makefile (tests): Add tst-strtod-round.
27922 * stdlib/strtod_l.c: Include <stdint.h>.
27923 (NDEBUG): Do not define.
27924 (round_and_return): Change EXPONENT parameter to type intmax_t.
27925 Rearrange calculations to avoid internal overflow possibilities.
27926 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27927 Rearrange calculations to avoid internal overflow possibilities.
27928 Assert that number fits inside MPNSIZE limbs.
27929 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27930 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27931 calculations and add assertions to avoid internal overflow
27932 possibilities. Add casts to avoid signed/unsigned operations.
27933 * stdlib/tst-strtod-overflow.c: New file.
27934 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27936 2012-08-25 Marek Polacek <polacek@redhat.com>
27938 * time/time.h: Fix some typos in comments.
27940 2012-08-23 Roland McGrath <roland@hack.frob.com>
27942 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27943 * posix/tst-rfc3484-2.c: Likewise.
27944 * posix/tst-rfc3484-3.c: Likewise.
27946 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27948 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27949 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27951 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27953 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27954 #include of fxstatat64.c.
27956 2012-08-22 Roland McGrath <roland@hack.frob.com>
27958 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27959 * shadow/getspent_r.c: Likewise.
27960 * shadow/getspnam.c: Likewise.
27961 * shadow/getspnam_r.c: Likewise.
27962 * gshadow/getsgent.c: Likewise.
27963 * gshadow/getsgent_r.c: Likewise.
27964 * gshadow/getsgnam.c: Likewise.
27965 * gshadow/getsgnam_r.c: Likewise.
27966 * inet/getnetbyad.c: Likewise.
27967 * inet/getnetbyad_r.c: Likewise.
27968 * inet/getnetbynm.c: Likewise.
27969 * inet/getnetbynm_r.c: Likewise.
27970 * inet/getnetent.c: Likewise.
27971 * inet/getnetent_r.c: Likewise.
27972 * inet/getproto.c: Likewise.
27973 * inet/getproto_r.c: Likewise.
27974 * inet/getprtent.c: Likewise.
27975 * inet/getprtent_r.c: Likewise.
27976 * inet/getprtname.c: Likewise.
27977 * inet/getprtname_r.c: Likewise.
27978 * inet/getrpcbyname.c: Likewise.
27979 * inet/getrpcbyname_r.c: Likewise.
27980 * inet/getrpcbynumber.c: Likewise.
27981 * inet/getrpcbynumber_r.c: Likewise.
27982 * inet/getrpcent.c: Likewise.
27983 * inet/getrpcent_r.c: Likewise.
27984 * inet/getaliasent.c: Likewise.
27985 * inet/getaliasent_r.c: Likewise.
27986 * inet/getaliasname.c: Likewise.
27987 * inet/getaliasname_r.c: Likewise.
27988 * nscd/getgrgid_r.c: Likewise.
27989 * nscd/getgrnam_r.c: Likewise.
27990 * nscd/gethstbyad_r.c: Likewise.
27991 * nscd/gethstbynm3_r.c: Likewise.
27992 * nscd/getpwnam_r.c: Likewise.
27993 * nscd/getpwuid_r.c: Likewise.
27994 * nscd/getsrvbynm_r.c: Likewise.
27995 * nscd/getsrvbypt_r.c: Likewise.
27996 * nscd/gai.c: Likewise.
27998 * configure.in (build_nscd): New substituted variable, set
27999 by --disable-build-nscd and defaults to $use_nscd.
28000 * configure: Regenerated.
28001 * config.make.in (build-nscd): New substituted variable.
28002 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28003 Change conditional to require [$(build-nscd) = yes] as well.
28004 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28007 * configure.in (use_nscd): New substituted variable, set by
28008 --disable-nscd. If enabled, define USE_NSCD.
28009 * configure: Regenerated.
28010 * config.h.in: Add USE_NSCD.
28011 * config.make.in (use-nscd): New substituted variable.
28012 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28013 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28014 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28015 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28016 (CFLAGS-getgrnam_r.c): Likewise.
28017 (CFLAGS-initgroups.c): Likewise.
28018 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28019 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28021 * inet/getnetgrent_r.c
28022 (nscd_setnetgrent): New function, broken out of ...
28023 (setnetgrent): ... here. Call it.
28024 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28025 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28026 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28027 * nscd/Makefile (routines, aux): Move definitions after include of
28028 Makeconfig. Conditionalize on [$(use-nscd) != no].
28029 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28030 Conditionalize on [USE_NSCD].
28031 (is_nscd, nscd_init_cb): Likewise.
28032 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28033 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28034 * nss/nss_db/db-init.c: Likewise.
28035 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28037 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28038 (make_request): Use it.
28039 (cache_valid_p): New function.
28040 (__check_pf): Use it.
28041 * NEWS: Add item for --disable-nscd.
28043 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28045 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28046 to support sed >= 4.2.1-20-ga9bf076.
28047 * configure: Regenerated.
28049 2012-08-22 Roland McGrath <roland@hack.frob.com>
28051 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28052 Conditionalize whole body on [IREL].
28054 2012-08-22 Jeff Law <law@redhat.com>
28057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28058 if the family is PF_UNSPEC.
28060 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28062 * Makerules (lib-version): Rename from V.
28063 (install-lib-nosubdir): Change V to lib-version.
28065 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28068 * powerpc32/power6/wcschr.c: New file.
28069 * powerpc32/power6/wcscpy.c: New file.
28070 * powerpc32/power6/wcsrchr.c: New file.
28071 * powerpc64/power6/wcschr.c: New file.
28072 * powerpc64/power6/wcscpy.c: New file.
28073 * powerpc64/power6/wcsrchr.c: New file.
28075 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28077 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28078 (two_way_short_needle): Use it.
28079 * string/strstr.c (AVAILABLE1_USES_J): Define.
28080 * string/strcasestr.c: Likewise.
28082 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28084 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28087 * NEWS: Add an entry.
28088 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28089 define their defaults.
28090 (two_way_short_needle): Detect end-of-string on-the-fly.
28091 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28092 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28093 * string/bug-strcasestr1.c: New test.
28094 * string/Makefile: Run it.
28096 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28099 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28100 the first character.
28102 2012-08-21 Roland McGrath <roland@hack.frob.com>
28104 * csu/elf-init.c (__libc_csu_irel): Function removed.
28105 * csu/libc-start.c (apply_irel): New function.
28106 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28108 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28110 * sysdeps/unix/sysv/linux/kernel-features.h
28111 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28112 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28113 <kernel-features.h>.
28114 [__NR_fadvise64_64]: Make code unconditional.
28115 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28116 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28117 !__NR_fadvise64_64)]: Likewise.
28118 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28119 !__NR_fadvise64_64))]: Likewise.
28120 [__NR_fadvise64]: Make code unconditional.
28121 [!__NR_fadvise64]: Remove conditional code.
28122 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28123 <kernel-features.h>.
28124 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28126 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28129 not include <kernel-features.h>.
28130 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28132 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28134 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28135 include <kernel-features.h>.
28136 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28138 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28141 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28143 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28144 slight instruction rearrangements per scrollpipe analysis.
28145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28147 2012-08-20 Roland McGrath <roland@hack.frob.com>
28149 * manual/syslog.texi (syslog; vsyslog, closelog):
28150 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28151 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28153 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28154 DSOCAPS to match condition on defining it.
28156 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28158 * sysdeps/unix/sysv/linux/kernel-features.h
28159 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28161 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28162 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28164 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28165 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28167 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28168 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28170 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28171 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28173 * sysdeps/unix/sysv/linux/kernel-features.h
28174 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28175 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28177 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28178 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28179 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28180 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28181 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28182 Make code unconditional.
28183 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28184 (__mmap64) [!__NR_mmap2]: Likewise.
28185 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28186 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28187 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28188 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28189 [__NR_mmap2]: Make code unconditional.
28190 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28191 (__mmap64) [!__NR_mmap2]: Likewise.
28193 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28195 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28197 2012-08-18 Andreas Jaeger <aj@suse.de>
28199 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28201 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28203 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28204 * include/unistd.h (__have_sock_cloexec): Likewise.
28205 (__have_pipe2): Likewise.
28206 (__have_dup3): Likewise.
28208 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28211 * include/unistd.h (__have_pipe2): Change define into an extern int.
28212 (__have_dup3): Likewise.
28213 * socket/have_sock_cloexec.c: Include fcntl.h.
28214 (__have_pipe2): New variable.
28215 (__have_dup3): Likewise.
28217 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28219 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28221 2012-08-17 Marek Polacek <polacek@redhat.com>
28223 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28224 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28226 2012-08-17 Roland McGrath <roland@hack.frob.com>
28228 * configure.in: Add AC_SUBST for sysheaders.
28229 * configure: Regenerated.
28230 * config.make.in (sysheaders): New substituted variable.
28232 * sysdeps/unix/mkfifo.c: Moved ...
28233 * sysdeps/posix/mkfifo.c: ... here.
28234 * sysdeps/unix/mkfifoat.c: Moved ...
28235 * sysdeps/posix/mkfifoat.c: ... here.
28237 * sysdeps/unix/utime.c: Moved ...
28238 * sysdeps/posix/utime.c: ... here.
28240 * sysdeps/unix/time.c: Moved ...
28241 * sysdeps/posix/time.c: ... here.
28242 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28243 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28245 * sysdeps/unix/nice.c: Moved ...
28246 * sysdeps/posix/nice.c: ... here.
28248 * sysdeps/unix/alarm.c: Moved ...
28249 * sysdeps/posix/alarm.c: ... here.
28251 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28253 2012-08-17 Jeff Law <law@redhat.com>
28255 * intl/Makefile (codeset_mo): New variable.
28256 ($(codeset_mo)): New target.
28257 (tst-codeset.out): Depend on that. Remove explicit rule.
28258 (tst-gettext3.out, tst-gettext5.out): Likewise.
28259 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28260 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28261 * intl/tst-codeset.sh: Remove.
28262 * intl/tst-gettext3.sh: Likewise.
28263 * intl/tst-gettext5.sh: Likewise.
28265 2012-08-17 Roland McGrath <roland@hack.frob.com>
28267 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28268 * sysdeps/unix/syscalls.list: ... here.
28270 * sysdeps/posix/getaddrinfo.c
28271 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28272 (gaiconf_init, gaiconf_reload): Use them.
28273 [!_STATBUF_ST_NSEC]
28274 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28275 Define using time_t rather than struct timespec.
28277 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28278 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28280 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28282 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28283 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28286 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28287 __libc_cleanup_push argument.
28289 * bits/param.h: New file.
28290 * misc/sys/param.h: New file.
28291 * include/sys/param.h: New file.
28292 * misc/Makefile (headers): Add bits/param.h.
28293 * sysdeps/generic/sys/param.h: File removed.
28294 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28295 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28296 * sysdeps/mach/hurd/bits/param.h: New file.
28297 * sysdeps/mach/hurd/sys/param.h: File removed.
28299 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28302 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28304 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28305 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28308 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28309 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28310 rather than -D_IO_MTSAFE_IO conditionally.
28311 * stdio-common/Makefile (CPPFLAGS): Likewise.
28312 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28313 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28314 Use $(libio-mtsafe).
28315 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28316 of -D_IO_MTSAFE_IO.
28317 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28318 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28319 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28320 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28321 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28322 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28323 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28324 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28325 (CFLAGS-fread_u_chk.c): Likewise.
28326 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28327 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28328 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28329 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28330 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28331 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28332 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28333 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28334 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28336 * libio/Makefile: Test [$(libc-reentrant) = yes]
28337 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28340 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28341 * sysdeps/pthread/configure: File removed.
28342 * sysdeps/pthread/Makeconfig: New file.
28343 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28344 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28346 2012-08-16 Gary Benson <gbenson@redhat.com>
28348 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28349 unmapping the first object in a namespace.
28351 2012-08-16 Roland McGrath <roland@hack.frob.com>
28353 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28354 (__internal_setnetgrent): ... this. Add internal_function to
28355 definition. Add libc_hidden_def.
28356 (setnetgrent): Update caller.
28357 (internal_endnetgrent): Renamed to ...
28358 (__internal_endnetgrent): ... this. Add internal_function to
28359 definition. Add libc_hidden_def.
28360 (endnetgrent): Update caller.
28361 (internal_getnetgrent_r): Renamed to ...
28362 (__internal_getnetgrent_r): ... this. Add internal_function to
28363 definition. Add libc_hidden_def.
28364 (__getnetgrent_r): Update caller.
28365 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28367 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28369 * stdlib/longlong.h: Update from GCC.
28371 2012-08-16 Roland McGrath <roland@hack.frob.com>
28373 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28374 on _QL, which is set by umul_ppmm but never used.
28375 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28376 variables, which are set by GMP macros but never used.
28377 * stdio-common/_itowa.c (_itowa): Likewise.
28378 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28379 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28381 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28383 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28384 struct La_sh_regs is not constant.
28385 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28386 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28387 and struct La_sparc64_regs are not constant.
28389 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28391 * sysdeps/unix/sysv/linux/kernel-features.h
28392 (__ASSUME_POSIX_TIMERS): Remove.
28393 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28394 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28395 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28396 Make code unconditional.
28397 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28398 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28399 Make code unconditional.
28400 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28401 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28402 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28403 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28404 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28405 Make code unconditional.
28406 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28407 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28408 (__libc_missing_posix_timers): Remove.
28410 2012-08-15 Roland McGrath <roland@hack.frob.com>
28412 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28413 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28415 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28417 * elf/dl-sym.c: Include <stdlib.h>.
28419 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28420 constants, which avoids warnings in 32-bit builds.
28422 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28423 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28425 * misc/lseek.c: File moved to ...
28426 * io/lseek.c: ... here.
28428 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28430 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28431 shifting LEN more than 31 bits at once.
28433 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28436 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28437 segmentation fault for a case of two empty input strings.
28438 * string/test-strncasecmp.c (check1): Renamed to...
28439 (bz12205): ...this.
28440 (bz14195): Add new testcase for two empty input strings and N > 0.
28441 (test_main): Call new testcase, adapt for renamed function.
28443 2012-08-15 Andreas Jaeger <aj@suse.de>
28446 * crypt/md5test2.c: New test, based on test supplied by Serge
28447 Belyshev <belyshev@depni.sinp.msu.ru>.
28448 * crypt/Makefile (xtests): Add md5test-giant..
28449 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28451 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28454 * crypt/md5.c (md5_process_block): Don't assume the buffer
28455 length is less than 2**32.
28456 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28457 length is less than 2**64.
28459 2012-08-15 Roland McGrath <roland@hack.frob.com>
28461 * string/str-two-way.h: Include <sys/param.h>.
28462 (MAX): Macro removed.
28464 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28465 Move #define and #undef of memmove to just before and after
28466 including <string.h>.
28468 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28469 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28470 and after including <string.h>. Move declarations of
28471 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28472 to before #include "string/memmove.c".
28474 * include/dirent.h: Declare __getdirentries.
28476 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28477 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28479 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28481 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28482 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28483 * sysdeps/i386/configure: Regenerated.
28484 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28485 STABS_CURRENT_FILE, and STABS_FUN.
28486 (END): Remove call to STABS_FUN_END.
28487 (STABS_CURRENT_FILE1): Delete.
28488 (STABS_CURRENT_FILE): Likewise.
28489 (STABS_FUN): Likewise.
28490 (STABS_FUN_END): Likewise.
28491 (STABS_FUN2): Likewise.
28492 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28493 * sysdeps/x86_64/configure: Regenerated.
28495 2012-08-14 Roland McGrath <roland@hack.frob.com>
28497 * elf/dl-open.c: Include <atomic.h>.
28498 * elf/dl-lookup.c: Likewise.
28500 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28502 * sysdeps/unix/sysv/linux/kernel-features.h
28503 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28504 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28506 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28508 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28509 condition on __ASSUME_CLONE_THREAD_FLAGS.
28511 2012-08-14 Andreas Jaeger <aj@suse.de>
28513 * sysdeps/i386/fpu/libm-test-ulps: Update.
28515 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28517 * include/atomic.h (atomic_exchange_and_add): Split into ...
28518 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28521 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28525 2012-08-13 Jeff Law <law@redhat.com>
28527 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28528 null byte in the output string.
28530 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28532 * sysdeps/unix/sysv/linux/kernel-features.h
28533 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28534 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28535 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28536 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28537 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28538 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28539 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28541 2012-08-09 Jeff Law <law@redhat.com>
28544 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28545 When avoid_arena is set, don't retry in the that arena. Pick the
28546 next one, whatever it might be.
28547 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28548 (arena_lock): Pass in new parameter to arena_get2.
28549 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28551 (__libc_malloc): Unify retrying after main arena failure with
28552 __libc_memalign version.
28553 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28555 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28558 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28559 to __redirect_strstr.
28560 (__strstr_sse42): Use typeof __redirect_strstr.
28561 (__strstr_ia32): Likewise.
28562 (__libc_strstr): New prototype.
28563 (strstr): Renamed to ...
28564 (__libc_strstr): This.
28565 (strstr): New strong alias of __libc_strstr.
28566 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28570 (__libc_time): New prototype.
28571 (time_ifunc): Replace time with __libc_time.
28572 (time): New strong alias and hidden definition of __libc_time.
28573 (__GI_time): Remove strong alias.
28574 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28575 Include <stddef.h>.
28576 (memmove): Redefined to __redirect_memmove.
28577 (__memmove_sse2): Use typeof __redirect_memmove.
28578 (__memmove_ssse3): Likewise.
28579 (__memmove_ssse3_back): Likewise.
28580 (__libc_memmove): New prototype.
28581 (memmove): Renamed to ...
28582 (__libc_memmove): This.
28583 (memmove): New strong alias of __libc_memmove.
28585 2012-08-08 Mark Salter <msalter@redhat.com>
28588 (R_MN10300_TLS_GD): Define.
28589 (R_MN10300_TLS_LD): Likewise.
28590 (R_MN10300_TLS_LDO): Likewise.
28591 (R_MN10300_TLS_GOTIE): Likewise.
28592 (R_MN10300_TLS_IE): Likewise.
28593 (R_MN10300_TLS_LE): Likewise.
28594 (R_MN10300_TLS_DTPMOD): Likewise.
28595 (R_MN10300_TLS_DTPOFF): Likewise.
28596 (R_MN10300_TLS_TPOFF): Likewise.
28597 (R_MN10300_SYM_DIFF): Likewise.
28598 (R_MN10300_ALIGN): Likewise.
28599 (R_MN10300_NUM): Update.
28601 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28603 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28606 2012-08-08 Roland McGrath <roland@hack.frob.com>
28608 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28610 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28611 sysdeps/unix -> sysdeps/posix move.
28612 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28614 2012-08-07 Allan McRae <allan@archlinux.org>
28617 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28618 (SUNOS_CPP): Likewise.
28619 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28621 (open_input): Call CPP using execvp.
28623 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28625 * sysdeps/unix/sysv/linux/kernel-features.h
28626 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28627 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28628 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28629 (__ASSUME_WAITID_SYSCALL): Likewise.
28630 * sysdeps/unix/sysv/linux/dl-execstack.c
28631 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28632 code unconditional.
28633 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28636 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28637 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28639 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28641 [__ASSUME_WAITID_SYSCALL]: Likewise.
28642 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28644 2012-08-07 Roland McGrath <roland@hack.frob.com>
28646 * sysdeps/unix/closedir.c: Renamed to ...
28647 * sysdeps/posix/closedir.c: ... here.
28648 * sysdeps/unix/dirfd.c: Renamed to ...
28649 * sysdeps/posix/dirfd.c: ... here.
28650 * sysdeps/unix/dirstream.h: Renamed to ...
28651 * sysdeps/posix/dirstream.h: ... here.
28652 * sysdeps/unix/fdopendir.c: Renamed to ...
28653 * sysdeps/posix/fdopendir.c: ... here.
28654 * sysdeps/unix/opendir.c: Renamed to ...
28655 * sysdeps/posix/opendir.c: ... here.
28656 * sysdeps/unix/readdir.c: Renamed to ...
28657 * sysdeps/posix/readdir.c: ... here.
28658 * sysdeps/unix/readdir_r.c: Renamed to ...
28659 * sysdeps/posix/readdir_r.c: ... here.
28660 * sysdeps/unix/rewinddir.c: Renamed to ...
28661 * sysdeps/posix/rewinddir.c: ... here.
28662 * sysdeps/unix/seekdir.c: Renamed to ...
28663 * sysdeps/posix/seekdir.c: ... here.
28664 * sysdeps/unix/telldir.c: Renamed to ...
28665 * sysdeps/posix/telldir.c: ... here.
28666 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28667 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28668 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28669 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28671 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28672 * bits/fcntl.h: ... here.
28674 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28676 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28677 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28678 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28679 (struct flock): Move l_start, l_len to the beginning.
28680 Use __pid_t for l_pid.
28681 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28682 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28683 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28684 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28685 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28686 [__USE_LARGEFILE64] (struct flock64): New type.
28687 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28689 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28690 * bits/dirent.h: ... here.
28692 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28693 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28695 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28697 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28698 Change from 2.6.0 to 2.6.16.
28699 * sysdeps/unix/sysv/linux/configure: Regenerated.
28700 * sysdeps/unix/sysv/linux/kernel-features.h
28701 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28702 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28704 (__ASSUME_UTIMES): Likewise.
28705 (__ASSUME_CLONE_STOPPED): Remove.
28706 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28707 architectures, not kernel version.
28708 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28709 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28710 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28711 (__ASSUME_WAITID_SYSCALL): Likewise.
28712 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28713 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28714 * README: State 2.6.16 as minimum Linux kernel version. Do not
28715 refer to older versions.
28717 2012-08-06 Roland McGrath <roland@hack.frob.com>
28719 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28720 Define alphasort64 as an alias.
28721 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28722 Define versionsort64 as an alias.
28723 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28724 Define scandir64 as an alias.
28725 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28726 Define scandirat64 as an alias.
28727 * dirent/alphasort64.c (alphasort64):
28728 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28729 * dirent/versionsort64.c: Likewise.
28730 * dirent/scandir64.c: Likewise.
28731 * dirent/scandirat64.c: Likewise.
28732 * sysdeps/wordsize-64/alphasort.c: File removed.
28733 * sysdeps/wordsize-64/alphasort64.c: File removed.
28734 * sysdeps/wordsize-64/scandir.c: File removed.
28735 * sysdeps/wordsize-64/scandir64.c: File removed.
28736 * sysdeps/wordsize-64/scandirat.c: File removed.
28737 * sysdeps/wordsize-64/scandirat64.c: File removed.
28738 * sysdeps/wordsize-64/versionsort.c: File removed.
28739 * sysdeps/wordsize-64/versionsort64.c: File removed.
28740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28749 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28751 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28753 [defined __arch64__ || defined __sparcv9]
28754 (__INO_T_MATCHES_INO64_T): New macro.
28755 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28756 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28757 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28758 * sysdeps/unix/sysv/linux/bits/dirent.h
28759 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28760 (_DIRENT_MATCHES_DIRENT64): New macro.
28762 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28763 Define lockf64 as an alias.
28764 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28765 Define fseeko64 as an alias.
28766 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28767 Define ftello64 as an alias.
28768 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28769 Define _IO_fgetpos64 and fgetpos64 as aliases.
28770 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28771 Define _IO_fsetpos64 and fsetpos64 as aliases.
28772 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28773 Conditionalize body on this.
28774 * libio/fseeko64.c: Likewise.
28775 * libio/ftello64.c: Likewise.
28776 * libio/iofgetpos64.c: Likewise.
28777 * libio/iofsetpos64.c: Likewise.
28778 * sysdeps/wordsize-64/lockf.c: File removed.
28779 * sysdeps/wordsize-64/lockf64.c: File removed.
28780 * sysdeps/wordsize-64/fseeko.c: File removed.
28781 * sysdeps/wordsize-64/fseeko64.c: File removed.
28782 * sysdeps/wordsize-64/ftello.c: File removed.
28783 * sysdeps/wordsize-64/ftello64.c: File removed.
28784 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28785 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28786 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28787 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28795 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28797 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28799 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28801 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28803 [defined __arch64__ || defined __sparcv9]
28804 (__OFF_T_MATCHES_OFF64_T): New macro.
28805 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28806 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28808 (__OFF_T_MATCHES_OFF64_T): New macro.
28810 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28812 * stdlib/secure-getenv.c (__secure_getenv): Replace
28813 GLIBC_2_16 with GLIBC_2_17.
28815 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28817 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28818 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28820 2012-08-03 David S. Miller <davem@davemloft.net>
28822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28824 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28826 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28828 (__ASSUME_CORRECT_SI_PID): Likewise.
28829 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28830 (__ASSUME_TMPFS_NAME): Likewise.
28831 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28832 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28833 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28834 (HAVE_AUX_SECURE): Make definition unconditional.
28835 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28836 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28838 2012-08-03 Roland McGrath <roland@hack.frob.com>
28840 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28841 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28842 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28843 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28844 __eloop_threshold instead of SYMLOOP_MAX.
28846 * sysdeps/generic/eloop-threshold.h: New file.
28847 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28849 * elf/chroot_canon.c (chroot_canon): Likewise.
28851 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28854 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28855 Change to 2.6.0 everywhere.
28856 * sysdeps/unix/sysv/linux/configure: Regenerated.
28857 * sysdeps/unix/sysv/linux/kernel-features.h
28858 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28859 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28861 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28862 (__ASSUME_FUTEX_REQUEUE): Remove.
28863 (__ASSUME_STATFS64): Define unconditionally.
28864 (__ASSUME_AT_SECURE): Likewise.
28865 (__ASSUME_CORRECT_SI_PID): Likewise.
28866 (__ASSUME_TGKILL): Define without depending on kernel version for
28868 (__ASSUME_UTIMES): Likewise.
28869 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28871 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28872 (__ASSUME_TMPFS_NAME): Likewise.
28873 * README: Update reference to Linux kernel versions.
28875 2012-08-02 Marek Polacek <polacek@redhat.com>
28878 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28879 libc_cv_asm_type_prefix with %.
28880 * configure: Regenerated.
28881 * include/libc-symbols.h: Remove comment about
28882 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28883 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28884 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28885 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28886 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28887 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28888 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28889 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28890 * elf/tst-unique2mod1.c: Likewise.
28891 * elf/tst-unique1mod2.c: Likewise.
28892 * elf/tst-unique1mod1.c: Likewise.
28893 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28894 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28895 Replace ASM_TYPE_DIRECTIVE with .type.
28896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28897 * sysdeps/i386/sysdep.h: Likewise.
28898 * sysdeps/x86_64/sysdep.h: Likewise.
28899 * sysdeps/sh/sysdep.h: Likewise.
28900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28901 Do not define ASM_TYPE_DIRECTIVE.
28902 * sysdeps/powerpc/sysdep.h: Likewise.
28903 * sysdeps/powerpc/powerpc32/sysdep.h:
28904 Replace ASM_TYPE_DIRECTIVE with .type.
28905 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28906 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28907 * sysdeps/i386/fpu/e_powf.S: Likewise.
28908 * sysdeps/i386/fpu/e_expl.S: Likewise.
28909 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28911 * sysdeps/i386/fpu/e_pow.S: Likewise.
28912 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28914 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28915 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28916 * sysdeps/i386/fpu/e_log2.S: Likewise.
28917 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28919 * sysdeps/i386/fpu/e_powl.S: Likewise.
28920 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28921 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28922 * sysdeps/i386/fpu/e_logl.S: Likewise.
28923 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28924 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28925 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28928 * sysdeps/i386/fpu/e_log.S: Likewise.
28929 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28930 * sysdeps/i386/fpu/e_logf.S: Likewise.
28931 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28932 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28933 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28934 * sysdeps/i386/fpu/e_log10.S: Likewise.
28935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28941 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28942 * sysdeps/i386/i686/strtok.S: Likewise.
28943 * sysdeps/i386/i386-mcount.S: Likewise.
28944 * sysdeps/i386/strtok.S: Likewise.
28945 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28948 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28949 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28950 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28951 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28952 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28953 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28954 * sysdeps/x86_64/_mcount.S: Likewise.
28955 * sysdeps/x86_64/strtok.S: Likewise.
28956 * sysdeps/sh/_mcount.S: Likewise.
28958 2012-08-01 Roland McGrath <roland@hack.frob.com>
28960 * libio/iofopen.c: Include <fcntl.h>.
28961 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28962 (_IO_fopen64, fopen64): Define as aliases.
28963 * libio/iofopen64.c: Include <fcntl.h>.
28964 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28965 Conditionalize body on this.
28966 * sysdeps/wordsize-64/iofopen.c: File removed.
28967 * sysdeps/wordsize-64/iofopen64.c: File removed.
28969 2012-08-01 Marek Polacek <polacek@redhat.com>
28971 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28972 Use dlfcn directly instead of a variable.
28973 (binfmt-subdir): Do not define.
28976 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28978 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28979 Remove all definitions.
28980 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28981 <kernel-features.h>.
28982 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28983 (miss_F_GETOWN_EX): Remove all definitions.
28984 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28986 [!__ASSUME_FCNTL64]: Remove conditional code.
28987 [__ASSUME_FCNTL64]: Make code unconditional.
28988 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28989 <kernel-features.h>.
28990 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28991 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28992 (lockf64) [__NR_fcntl64]: Make code unconditional.
28993 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28995 * sysdeps/unix/sysv/linux/kernel-features.h
28996 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28997 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28998 Make code unconditional.
28999 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29000 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29002 [__NR_vfork]: Make code unconditional.
29003 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29004 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29006 [__NR_vfork]: Make code unconditional.
29007 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29008 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29010 2012-08-01 Roland McGrath <roland@hack.frob.com>
29012 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29013 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29015 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29016 Define mkstemp64 as an alias.
29017 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29018 Define mkstemps64 as an alias.
29019 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29020 Define mkostemp64 as an alias.
29021 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29022 Define mkostemps64 as an alias.
29023 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29024 Conditionalize body on this.
29025 * misc/mkostemp64.c: Likewise.
29026 * misc/mkostemps64.c: Likewise.
29027 * misc/mkstemps64.c: Likewise.
29028 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29029 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29030 * sysdeps/wordsize-64/mkostemp.c: File removed.
29031 * sysdeps/wordsize-64/mkstemp.c: File removed.
29032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29033 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29034 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29035 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29038 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29039 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29040 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29041 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29043 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29044 compat_symbol macros from <shlib-compat.h> rather than the underlying
29045 default_symbol_version and symbol_version macros, so that DEFAULT
29046 lines in shlib-versions are respected.
29047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29049 2012-08-01 Florian Weimer <fweimer@redhat.com>
29051 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29052 Declare with warn_unused_result.
29053 (setgid, setregid, setegid, setresgid): Likewise.
29054 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29056 * WUR-REPORT: Remove set*id functions.
29058 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29060 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29062 2012-07-31 Roland McGrath <roland@hack.frob.com>
29065 * include/sys/socket.h (__libc_accept, __libc_accept4):
29066 Add attribute_hidden.
29067 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29069 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29071 * inet/getnetgrent_r.c (setup): Likewise.
29073 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29075 2012-07-31 David S. Miller <davem@davemloft.net>
29077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29079 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29082 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29083 value between 1.0 and 2.0 and smaller part has absolute value less
29085 * math/s_clog10.c (__clog10): Likewise.
29086 * math/s_clog10f.c (__clog10f): Likewise.
29087 * math/s_clog10l.c (__clog10l): Likewise.
29088 * math/s_clogf.c (__clogf): Likewise.
29089 * math/s_clogl.c (__clogl): Likewise.
29090 * math/libm-test.inc (clog_test): Add more tests.
29091 (clog10_test): Likewise.
29092 * sysdeps/i386/fpu/libm-test-ulps: Update.
29093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29095 2012-07-31 Florian Weimer <fweimer@redhat.com>
29097 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29098 Exit with zero in case no suitable GID is found, and write a
29099 message to standard error.
29101 2012-07-30 Roland McGrath <roland@hack.frob.com>
29103 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29105 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29106 (MAXPATHLEN): Removed.
29107 (NOGROUP, NODEV): New macros.
29108 (setbit, clrbit, isset, isclr): New macros.
29109 (howmany, roundup, powerof2): New macros.
29110 (DEV_BSIZE): New macro.
29112 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29113 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29115 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29116 definition on [!__NO_LONG_DOUBLE_MATH].
29118 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29119 PTR_MANGLE and PTR_DEMANGLE.
29121 * socket/accept4.c (accept4): Rename to __libc_accept4.
29122 Define accept4 as a weak alias.
29124 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29125 on [_DIRENT_HAVE_D_TYPE].
29126 * io/ftw.c (ftw_dir): Likewise.
29128 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29130 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29132 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29133 Use the BSD numbers rather than the arbitrary ones we had.
29134 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29135 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29136 (SIGXCPU, SIGXFSZ): New macros.
29139 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29140 initializer on [_LIBC_REENTRANT].
29142 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29143 definitions inside [_POSIX_MAPPED_FILES].
29145 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29147 * dirent/opendir.c: Include <fcntl.h>.
29149 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29150 (__libc_getspecific): Likewise.
29151 (__libc_key_create): Likewise.
29153 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29154 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29155 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29156 (tmpfile64): Define as alias.
29157 * sysdeps/wordsize-64/tmpfile.c: File removed.
29158 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29159 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29160 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29162 * stdio-common/vfscanf.c: Include <stdbool.h>.
29163 * nss/makedb.c: Likewise.
29164 * stdio-common/_i18n_number.h: Likewise.
29165 * argp/argp-help.c: Likewise.
29166 * posix/wordexp.c: Likewise.
29167 * sysdeps/posix/spawni.c: Likewise.
29168 * nss/nss_files/files-initgroups.c: Likewise.
29169 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29170 * nss/nss_files/files-initgroups.c: Likewise.
29171 * nss/nss_db/db-netgrp.c: Likewise.
29172 * nss/nss_db/db-initgroups.c: Likewise.
29173 * io/fchmodat.c: Include <sys/stat.h>.
29175 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29176 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29178 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29181 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29182 Add multiple inclusion protection.
29184 2012-07-27 David S. Miller <davem@davemloft.net>
29186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29188 2012-07-27 Gary Benson <gbenson@redhat.com>
29191 * elf/rtld.c: Include <stap-probe.h>.
29192 (dl_main): Added static probes "init_start" and "init_complete".
29193 * elf/dl-load.c: Include <stap-probe.h>.
29194 (lose): Take new parameter "nsid".
29195 Added static probe "map_failed".
29196 (_dl_map_object_from_fd): Pass namespace id to lose.
29197 Added static probe "map_start".
29198 (open_verify): Pass namespace id to lose.
29199 * elf/dl-open.c: Include <stap-probe.h>.
29200 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29201 and "reloc_complete".
29202 * elf/dl-close.c: Include <stap-probe.h>.
29203 (_dl_close_worker): Added static probes "unmap_start" and
29205 * elf/rtld-debugger-interface.txt: New file documenting the above.
29207 2012-07-26 Roland McGrath <roland@hack.frob.com>
29209 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29210 rather than a string variable.
29211 * sunrpc/rpc_main.c (h_output): Likewise.
29212 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29214 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29216 * inet/check_native.c: New file.
29218 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29221 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29222 if larger part has absolute value 1.0.
29223 * math/s_clog10.c (__clog10): Likewise.
29224 * math/s_clog10f.c (__clog10f): Likewise.
29225 * math/s_clog10l.c (__clog10l): Likewise.
29226 * math/s_clogf.c (__clogf): Likewise.
29227 * math/s_clogl.c (__clogl): Likewise.
29228 * math/libm-test.inc (clog_test): Add more tests.
29229 (clog10_test): Likewise.
29230 * sysdeps/i386/fpu/libm-test-ulps: Update.
29231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29233 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29234 (pltexit): Likewise.
29235 (La_regs): Likewise.
29236 (La_retval): Likewise.
29237 (int_retval): Likewise.
29238 Update #error for removed macros to refer only to definitions in
29240 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29242 (pltexit): Likewise.
29243 (La_regs): Likewise.
29244 (La_retval): Likewise.
29245 (int_retval): Likewise.
29246 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29248 (pltexit): Likewise.
29249 (La_regs): Likewise.
29250 (La_retval): Likewise.
29251 (int_retval): Likewise.
29252 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29254 (pltexit): Likewise.
29255 (La_regs): Likewise.
29256 (La_retval): Likewise.
29257 (int_retval): Likewise.
29258 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29260 (pltexit): Likewise.
29261 (La_regs): Likewise.
29262 (La_retval): Likewise.
29263 (int_retval): Likewise.
29264 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29266 (pltexit): Likewise.
29267 (La_regs): Likewise.
29268 (La_retval): Likewise.
29269 (int_retval): Likewise.
29270 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29272 (pltexit): Likewise.
29273 (La_regs): Likewise.
29274 (La_retval): Likewise.
29275 (int_retval): Likewise.
29276 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29277 macro definitions in tst-audit.h.
29278 * sysdeps/i386/tst-audit.h: New file.
29279 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29280 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29281 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29282 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29283 * sysdeps/sh/tst-audit.h: Likewise.
29284 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29285 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29286 * sysdeps/x86_64/tst-audit.h: Likewise.
29288 2012-07-26 Andreas Jaeger <aj@suse.de>
29290 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29293 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29294 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29295 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29297 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29298 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29299 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29301 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29304 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29306 (si_call_addr, si_syscall, si_arch): Define new macro.
29307 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29309 (si_call_addr, si_syscall, si_arch): Define new marcro.
29310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29312 (si_call_addr, si_syscall, si_arch): Define new macro.
29313 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29315 (si_call_addr, si_syscall, si_arch): Define new macro.
29317 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29321 Change to 2.4.21 where previously 2.4.1.
29322 * sysdeps/unix/sysv/linux/configure: Regenerated.
29323 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29324 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29325 Linux kernel version.
29326 (__ASSUME_STD_AUXV): Remove.
29327 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29329 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29330 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29331 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29332 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29333 (__ASSUME_NETLINK_SUPPORT): Likewise.
29334 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29335 (__no_netlink_support): Remove conditional definition.
29336 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29338 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29339 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29340 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29341 (if_nameindex_ioctl): Remove.
29342 (if_nameindex_netlink): Do not handle __no_netlink_support.
29343 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29345 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29346 Remove conditional code.
29347 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29349 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29351 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29352 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29353 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29355 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29356 [!__ASSUME_STD_AUXV]: Remove conditional code.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29358 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29359 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29361 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29362 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29364 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29366 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29367 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29369 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29371 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29374 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29377 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29378 code unconditional.
29379 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29381 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29383 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29386 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29388 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29391 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29392 code unconditional.
29393 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29395 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29397 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29400 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29401 code unconditional.
29402 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29404 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29406 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29409 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29411 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29412 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29413 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29414 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29415 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29416 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29417 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29418 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29419 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29420 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29421 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29422 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29423 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29424 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29425 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29426 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29427 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29429 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29431 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29432 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29435 2012-07-25 Florian Weimer <fweimer@redhat.com>
29437 * Versions.def: Add GLIBC_2.17.
29438 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29439 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29440 Introduce __libc_secure_getenv.
29441 * stdlib/Versions (2.17): Add secure_getenv
29442 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29443 * stdlib/secure-getenv.c: Rename __secure_getenv to
29444 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29445 symbol __secure_getenv for GLIBC_2.0.
29446 * stdlib/tst-secure-getenv.c: New.
29447 * stdlib/Makefile (tests): Add testcase.
29448 * manual/startup.texi (Environment Access): Document
29450 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29451 __libc_secure_getenv.
29452 * inet/ruserpass.c (ruserpass): Likewise.
29453 * malloc/mtrace.c (mtrace): Likewise.
29454 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29455 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29456 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29457 * sysdeps/posix/tempname.c: Likewise. Evaluate
29458 HAVE_SECURE_GETENV.
29459 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29460 __secure_getenv to __libc_secure_getenv.
29461 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29468 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29474 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29476 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29477 (struct La_i86_retval): Likewise.
29478 (struct La_x86_64_regs): Likewise.
29479 (struct La_x86_64_retval): Likewise.
29480 (struct La_x32_regs): Likewise.
29481 (struct La_x32_retval): Likewise.
29482 (struct La_ppc32_regs): Likewise.
29483 (struct La_ppc32_retval): Likewise.
29484 (struct La_ppc64_regs): Likewise.
29485 (struct La_ppc64_retval): Likewise.
29486 (struct La_sh_regs): Likewise.
29487 (struct La_sh_retval): Likewise.
29488 (struct La_s390_32_regs): Likewise.
29489 (struct La_s390_32_retval): Likewise.
29490 (struct La_s390_64_regs): Likewise.
29491 (struct La_s390_64_retval): Likewise.
29492 (struct La_sparc32_regs): Likewise.
29493 (struct La_sparc32_retval): Likewise.
29494 (struct La_sparc64_regs): Likewise.
29495 (struct La_sparc64_retval): Likewise.
29496 (struct audit_ifaces): Remove architecture-specific pltenter and
29498 * sysdeps/i386/ldsodefs.h: New file.
29499 * sysdeps/powerpc/ldsodefs.h: Likewise.
29500 * sysdeps/s390/ldsodefs.h: Likewise.
29501 * sysdeps/sh/ldsodefs.h: Likewise.
29502 * sysdeps/sparc/ldsodefs.h: Likewise.
29503 * sysdeps/x86_64/ldsodefs.h: Likewise.
29505 2012-07-25 Marek Polacek <polacek@redhat.com>
29508 * math/libm-test.inc (yn_test): Add another test.
29509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29510 to ERANGE when the result is +-Inf.
29511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29512 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29513 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29514 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29516 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29518 * conform/data/time.h-data (NULL): Use macro-constant. Require
29520 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29522 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29524 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29526 * configure.in <sysdeps resolving>: Correct printing
29528 * configure: Regenerate.
29530 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29532 * math/w_ilogb.c: Include <limits.h>.
29533 * math/w_ilogbl.c: Likewise.
29535 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29537 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29538 va_copy. Document allowing for unavailable va_copy only as
29539 pre-C99 compatibility.
29540 * manual/string.texi (Copying and Concatenation): Use va_copy
29541 instead of __va_copy in concat example.
29543 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29545 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29546 (__sendto): Use create_address_port. Initialize APORT and deallocate
29549 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29550 with O_NOLINK passed to __file_name_lookup.
29552 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29553 with O_NOLINK passed to __file_name_lookup.
29555 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29556 negative N or less than NGIDS.
29558 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29559 type to string_t. Set ERANGE as errno and return it if NAME is not big
29560 enough. Use memcpy instead of strncpy.
29562 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29564 * elf/Makefile (check-data): Remove.
29565 (localplt.data): New vpath directive.
29566 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29567 instead of $(check-data).
29568 * scripts/data/localplt-generic.data: Move to ...
29569 * sysdeps/generic/localplt.data: ... here.
29570 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29571 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29572 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29575 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29578 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29581 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29584 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29587 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29591 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29593 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29594 PPC32 and PPC64 files.
29595 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29596 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29598 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29600 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29601 __makecontext_ret to ...
29602 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29603 ... here and call exit if uc_link is NULL. New file.
29604 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29605 __makecontext_ret.S.
29606 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29607 __makecontext_ret to ...
29608 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29609 ... here and call exit if uc_link is NULL. New file.
29610 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29611 __makecontext_ret.S.
29613 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29615 * elf/elf.h (R_390_IRELATIVE): New definition.
29616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29617 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29618 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29620 (elf_machine_lazy_rel): Likewise.
29621 * sysdeps/s390/dl-irel.h: New file.
29622 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29623 * sysdeps/s390/s390-64/memset.S: New asm code.
29624 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29625 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29626 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29627 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29628 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29629 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29631 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29632 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29633 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29634 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29635 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29636 * sysdeps/s390/s390-32/memset.S: New asm code.
29637 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29639 2012-07-17 Marek Polacek <polacek@redhat.com>
29642 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29643 * sysdeps/s390/s390-64/configure.in: Likewise.
29644 * sysdeps/sparc/configure.in: Likewise.
29645 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29646 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29647 * sysdeps/i386/configure.in: Likewise.
29648 * sysdeps/x86_64/configure.in: Likewise.
29649 * sysdeps/sh/configure.in: Likewise.
29650 * sysdeps/s390/s390-32/configure: Regenerated.
29651 * sysdeps/s390/s390-64/configure: Likewise.
29652 * sysdeps/x86_64/configure: Likewise.
29653 * sysdeps/sh/configure: Likewise.
29654 * sysdeps/powerpc/powerpc64/configure: Likewise.
29655 * sysdeps/powerpc/powerpc32/configure: Likewise.
29656 * sysdeps/sparc/configure: Likwise.
29657 * sysdeps/i386/configure: Likewise.
29659 * elf/dl-open.c: Comment fixes.
29661 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29663 * Makefile [CXX] (check-data): Remove.
29664 [CXX] (c++-types.data): New vpath directive.
29665 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29666 vpath. Do not allow for C++ type data being missing.
29667 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29668 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29669 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29670 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29671 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29672 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29673 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29676 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29679 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29682 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29685 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29688 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29691 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29694 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29697 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29698 definitions to architecture-specific files.
29699 (TLS_IE): Likewise.
29700 (TLS_LD): Likewise.
29701 (TLS_GD): Likewise.
29702 * sysdeps/i386/tls-macros.h: New file.
29703 * sysdeps/powerpc/tls-macros.h: Likewise.
29704 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29705 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29706 * sysdeps/sh/tls-macros.h: Likewise.
29707 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29708 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29709 * sysdeps/x86_64/tls-macros.h: Likewise.
29711 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29713 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29714 zero value for regular exit case.
29716 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29717 (__start_context): Preserve zero value for regular exit case.
29719 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29720 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29722 * manual/setjmp.texi (setcontext): Clarify normal process
29723 termination when uc_link is the null pointer.
29724 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29727 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29729 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29730 preprocessor. Test for each exception mask separately.
29732 2012-07-16 Andreas Jaeger <aj@suse.de>
29734 * po/ru.po: Update from translation team.
29736 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29738 * conform/data/string.h-data (NULL): Use macro-constant. Require
29740 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29741 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29742 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29743 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29746 2012-07-13 Andreas Jaeger <aj@suse.de>
29748 * po/fr.po: Update from translation team.
29750 2012-07-12 Marek Polacek <polacek@redhat.com>
29753 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29754 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29757 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29760 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29761 Change to 2.4.1 where previously 2.4.0.
29762 * sysdeps/unix/sysv/linux/configure: Regenerated.
29763 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29764 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29766 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29767 (__ASSUME_AT_CLKTCK): Remove.
29768 (__ASSUME_AT_PAGESIZE): Likewise.
29769 (__ASSUME_AT_XID): Likewise.
29770 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29771 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29772 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29774 (HAVE_AUX_PAGESIZE): Likewise.
29775 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29776 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29777 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29779 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29783 the temporary buffer used to invoke __gethostbyname2_r,
29784 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29785 host_data / struct gaih_addrtuple.
29786 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29787 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29788 header file nss/nsswitch.h.
29789 * nss/nsswitch.h (global scope): Add definition of implementation
29790 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29791 resolv/nss_dns/dns-host.c).
29793 2012-07-11 Andreas Jaeger <aj@suse.de>
29795 * po/fr.po: Update from translation team.
29797 * po/sv.po: Update from translation team
29798 * po/fr.po: Another update from translation team.
29800 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29803 for subnormals or multiply small sinh result by itself.
29804 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29807 2012-07-11 David S. Miller <davem@davemloft.net>
29809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29811 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29814 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29815 (INTERNAL_MARK): Shift it here.
29817 2012-07-10 Marek Polacek <polacek@redhat.com>
29820 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29821 libc_cv_asm_global_directive with .globl.
29822 * configure: Regenerated.
29823 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29825 * sysdeps/i386/configure: Regenerated.
29826 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29828 * sysdeps/x86_64/configure: Regenerated.
29829 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29830 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29831 * elf/tst-unique2mod2.c: Likewise.
29832 * elf/tst-unique2mod1.c: Likewise.
29833 * elf/tst-unique1mod2.c: Likewise.
29834 * elf/tst-unique1mod1.c: Likewise.
29835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29836 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29837 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29838 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29839 * sysdeps/mach/sysdep.h: Likewise.
29840 * sysdeps/i386/sysdep.h: Likewise.
29841 * sysdeps/i386/i386-mcount.S: Likewise.
29842 * sysdeps/x86_64/_mcount.S: Likewise.
29843 * sysdeps/x86_64/sysdep.h: Likewise.
29844 * sysdeps/sh/_mcount.S: Likewise.
29845 * sysdeps/sh/sysdep.h: Likewise.
29846 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29847 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29848 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29849 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29850 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29851 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29852 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29853 * locale/localeinfo.h: Likewise.
29854 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29855 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29857 2012-07-09 Roland McGrath <roland@hack.frob.com>
29860 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29862 * manual/message.texi (The Uniforum approach): Likewise.
29863 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29864 (glibc iconv Implementation): Likewise.
29866 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29869 * math/s_clog.c (__clog): Avoid scaling a value down where that
29870 could result in underflow.
29871 * math/s_clog10.c (__clog10): Likewise.
29872 * math/s_clog10f.c (__clog10f): Likewise.
29873 * math/s_clog10l.c (__clog10l): Likewise.
29874 * math/s_clogf.c (__clogf): Likewise.
29875 * math/s_clogl.c (__clogl): Likewise.
29876 * math/libm-test.inc (clog_test): Add more tests.
29877 (clog10_test): Likewise.
29878 * sysdeps/i386/fpu/libm-test-ulps: Update.
29879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29881 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29884 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29885 by 7 not 8 to examine high bit of fractional part.
29888 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29889 for call to __mcount_internal.
29890 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29891 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29892 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29894 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29897 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29898 approximation for values within 0x1p-13f of an odd multiple of
29900 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29901 exception. Add more tests.
29902 * sysdeps/i386/fpu/libm-test-ulps: Update.
29905 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29906 inputs and return -1 for them. Do not check for +Inf in case not
29907 reachable for +Inf.
29908 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29909 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29910 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29911 and return -1 for them. Do not check for +Inf in case not
29912 reachable for +Inf.
29913 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29916 and return -1 for them. Do not check for +Inf in case not
29917 reachable for +Inf.
29918 * math/libm-test.inc (expm1_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-06 Mike Frysinger <vapier@gentoo.org>
29925 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29927 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29931 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29932 could result in spurious underflow. Scale down values above
29933 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29934 * math/s_csqrtf.c (__csqrtf): Likewise.
29935 * math/s_csqrtl.c (__csqrtl): Likewise.
29936 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29937 spurious underflow.
29938 * sysdeps/i386/fpu/libm-test-ulps: Update.
29939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29941 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29943 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29945 * catgets/xopen-msg.awk: New file.
29946 * catgets/xopen-msg.sed: Removed.
29948 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29950 * intl/po2test.awk: New file.
29951 * intl/po2test.sed: Removed.
29953 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29956 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29957 or multiply small sinh result by itself.
29958 * math/s_ctanf.c (__ctanf): Likewise.
29959 * math/s_ctanh.c (__ctanh): Likewise.
29960 * math/s_ctanhf.c (__ctanhf): Likewise.
29961 * math/s_ctanhl.c (__ctanhl): Likewise.
29962 * math/s_ctanl.c (__ctanl): Likewise.
29963 * math/libm-test.inc (ctan_test_tonearest): New function.
29964 (ctan_test_towardzero): Likewise.
29965 (ctan_test_downward): Likewise.
29966 (ctan_test_upward): Likewise.
29967 (ctanh_test_tonearest): Likewise.
29968 (ctanh_test_towardzero): Likewise.
29969 (ctanh_test_downward): Likewise.
29970 (ctanh_test_upward): Likewise.
29971 (main): Call these new functions.
29972 * sysdeps/i386/fpu/libm-test-ulps: Update.
29973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29975 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29977 * .gitignore: Delete /ports entry.
29979 2012-07-03 Andreas Jaeger <aj@suse.de>
29981 * po/bg.po: Update from translation team.
29982 * po/cs.po: Likewise.
29983 * po/de.po: Likewise.
29984 * po/hr.po: Likewise.
29985 * po/nl.pl: Likewise.
29986 * po/pl.po: Likewise.
29987 * po/vi.po: Likewise.
29989 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29991 * Makeconfig [!+link] (+link-before-libc): New variable.
29992 [!+link] (+link-after-libc): Likewise.
29993 [!+link] (+link-tests): Likewise.
29994 [!+link] (+link): Define in terms of $(+link-before-libc) and
29995 $(+link-after-libc).
29996 [!+link-static] (+link-static-before-libc): New variable.
29997 [!+link-static] (+link-static-after-libc): Likewise.
29998 [!+link-static] (+link-static-tests): Likewise.
29999 [!+link-static] (+link-static): Define in terms of
30000 $(+link-static-before-libc) and $(+link-static-after-libc).
30001 [build-shared] (link-libc-before-gnulib): New variable.
30002 [build-shared] (link-libc-tests): Likewise.
30003 [build-shared] (link-libc): Define in terms of
30004 $(link-libc-before-gnulib).
30005 [!build-shared] (link-libc-tests): New variable.
30006 (link-libc-static-tests): New variable.
30007 [!gnulib] (gnulib-arch): New variable.
30008 [!gnulib] (gnulib-tests): Likewise.
30009 [!gnulib] (static-gnulib-arch): Likewise.
30010 [!gnulib] (static-gnulib-tests): Likewise.
30011 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30012 Define with "=" instead of ":=".
30013 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30014 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30015 * Rules (binaries-all-notests): New variable.
30016 (binaries-all-tests): Likewise.
30017 (binaries-static-notests): Likewise.
30018 (binaries-static-tests): Likewise.
30019 (binaries-all): Define using $(binaries-all-notests) and
30020 $(binaries-all-tests).
30021 (binaries-static): Define using $(binaries-static-notests) and
30022 $(binaries-static-tests).
30023 (binaries-shared-tests): New variable.
30024 (binaries-shared-notests): Likewise.
30025 (binaries-shared): Remove variable.
30026 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30027 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30028 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30029 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30030 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30031 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30032 * elf/Makefile (sln-modules): New variable.
30033 (extra-objs): Add $(sln-modules:=.o).
30034 (ldconfig-modules): Add static-stubs.
30035 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30036 * elf/static-stubs.c: New file.
30039 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30040 by 7 not 8 to examine high bit of fractional part. Use volatile
30041 variables when splitting into final array of floats if
30042 __FLT_EVAL_METHOD__ != 0.
30043 * math/libm-test.inc (cos_test): Add another test.
30044 (sin_test): Likewise.
30045 * sysdeps/i386/fpu/libm-test-ulps: Update.
30048 * math/libm-test.inc (cosh_test): Add more tests.
30050 * version.h (RELEASE): Set to "development".
30051 (VERSION): Set to "2.16.90".
30053 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30055 * NEWS: Update copyright. Remove last-updated date.
30056 Mention math library bug fixes and timezone data changes.
30057 * README: Mention GNU/Hurd, x32, and HPPA support status.
30059 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30061 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30063 2012-06-27 Andreas Jaeger <aj@suse.de>
30065 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30067 2012-06-25 Andreas Jaeger <aj@suse.de>
30069 * sysdeps/s390/fpu/libm-test-ulps: Update.
30071 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30072 Thomas Schwinge <thomas@codesourcery.com>
30074 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30075 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30079 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30081 * sysdeps/mach/start.c: Remove file.
30082 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30083 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30084 * sysdeps/sh/init-first.c: Likewise.
30086 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30087 registers for frame unwinding purposes, add CFI directives.
30088 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30089 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30090 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30093 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30094 __fortify_fail returning.
30095 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30097 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30098 sysdeps/sh/____longjmp_chk.S.
30099 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30100 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30101 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30102 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30104 * sysdeps/sh/abort-instr.h: New file.
30105 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30106 process in case exit returns.
30108 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30109 initialize the GOT register before use.
30111 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30112 calculation of ARGC > 4.
30114 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30115 meaningful names to some local labels.
30117 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30118 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30120 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30121 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30122 (__arch_compare_and_exchange_val_16_acq): Likewise.
30123 (__arch_compare_and_exchange_val_32_acq): Likewise.
30124 (atomic_exchange_and_add): Fix gUSA sequence.
30125 (atomic_add): Likewise.
30126 (atomic_add_negative): Likewise.
30127 (atomic_add_zero): Likewise.
30128 (atomic_bit_test_set): Likewise.
30130 2012-06-22 Andreas Schwab <schwab@redhat.com>
30133 * include/link.h (struct link_map): Add l_free_initfini.
30134 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30136 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30137 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30138 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30141 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30143 * configure.in: Use AC_LANG_SOURCE.
30144 * configure: Regenerate.
30146 2012-06-22 Roland McGrath <roland@hack.frob.com>
30148 * configure.in (libc_cv_localstatedir): New substituted variable.
30149 * configure: Regenerated.
30150 * config.make.in (localstatedir): New variable, substituted from
30151 libc_cv_localstatedir.
30152 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30153 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30154 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30155 * sysdeps/gnu/configure: Regenerated.
30157 2012-06-21 Jeff Law <law@redhat.com>
30160 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30161 free. Simplify list management for _LIBC case.
30163 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30166 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30167 Clear sign bit of 64-bit integer value before comparing against
30170 * sysdeps/mach/configure: Regenerated.
30172 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30175 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30177 2012-06-21 Jeff Law <law@redhat.com>
30180 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30181 uint16_t for elements in the "seen" array to avoid char overflows.
30182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30183 * elf/dl-open.c (dl_open_worker): Likewise.
30185 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30187 * scripts/list-sources.sh: Scan PORTS for translations.
30188 * po/libc.pot: Regenerated.
30190 2012-06-21 Andreas Jaeger <aj@suse.de>
30193 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30195 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30196 * bits/byteswap-16.h (__bswap_16): Likewise.
30197 * bits/byteswap.h (__bswap_constant_16): Likewise.
30199 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30202 * sysdeps/i386/fpu_control.h: Removed.
30203 * sysdeps/x86_64/fpu_control.h: Moved to ...
30204 * sysdeps/x86/fpu_control.h: Here.
30206 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30207 (_FPU_SETCW): Likewise.
30209 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30212 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30213 * sysdeps/x86/fpu/bits/mathinline.h: This.
30214 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30218 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30219 functions if __x86_64__ is defined.
30221 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30223 * string/endian.h: Add !__ASSEMBLER__ condition for including
30224 conversion interfaces.
30226 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30230 of ABS(x) in calculating zero to negative powers other than odd
30232 * math/libm-test.inc (pow_test): Add more tests.
30234 2012-06-15 Andreas Jaeger <aj@suse.de>
30236 * manual/contrib.texi (Contributors): Update entry of Liubov
30237 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30240 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30242 * string/string.h: Add __wur to GNU version of strerror_r.
30244 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30247 * string/Makefile (tests): Add tst-strtok_r.
30248 * string/tst-strtok_r.c: New file.
30249 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30250 RAX_LP/RDX_LP on SAVE_PTR.
30252 2012-06-14 Roland McGrath <roland@hack.frob.com>
30254 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30256 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30258 * libm_test.inc (csqrt_test): Allow more spurious underflow
30260 (j0_test): Likewise.
30261 (j1_test): Likewise.
30262 (y0_test): Likewise.
30263 (y1_test): Likewise.
30265 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30267 * po/Makefile (libc.pot): Use UTF-8 charset.
30269 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30272 Suppress sign-conversion warning from FD_SET.
30273 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30274 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30275 not unsigned long int.
30276 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30278 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30282 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30283 __extern_always_inline instead of __extern_inline.
30284 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30285 (__signbit): Likewise.
30286 (__signbitl): Support C++ namespace.
30287 (lrintf): New inline function.
30289 (llrintf): Likewise.
30290 (llrint): Likewise.
30300 (floorf): Likewise.
30301 (nearbyint): Likewise.
30302 (nearbyintf): Likewise.
30304 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30306 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30307 non-default versions.
30309 2012-06-11 Roland McGrath <roland@hack.frob.com>
30312 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30314 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30316 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30317 (FE_UPWARD, FE_DOWNWARD): Don't define.
30318 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30319 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30321 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30323 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30324 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30326 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30328 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30330 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30331 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30333 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30336 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30337 * sysdeps/i386/fpu/Implies: New file.
30338 * sysdeps/x86_64/fpu/Implies: Likewise.
30339 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30340 * sysdeps/x86/fpu/bits/fenv.h: This.
30342 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30345 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30348 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30349 character 0xffff that matches the last element of the
30352 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30354 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30357 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30360 values higher than 25.6283.
30362 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30364 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30365 subnormal exponent extraction and add some __builtin_expect.
30366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30367 Fix for subnormal mantissa calculation.
30369 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30371 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30372 cpu2 is -1 and errno is not ENOSYS.
30374 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30377 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30378 * sysdeps/x86/bits/string.h: This.
30379 * sysdeps/x86_64/bits/string.h: Removed.
30381 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30382 if not compiling for x86-64, but compiling for >= i486.
30384 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30385 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30387 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30388 New macro from Linux kernel 3.4.0.
30389 (FP_XSTATE_MAGIC2): Likewise.
30390 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30391 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30392 (struct _fpx_sw_bytes): New struct.
30393 (struct _xsave_hdr): Likewise.
30394 (struct _ymmh_state): Likewise.
30395 (struct _xstate): Likewise.
30397 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30398 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30399 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30400 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30402 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30404 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30405 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30406 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30407 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30408 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30409 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30411 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30414 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30415 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30416 (sysdep_headers): Include sys/platform/ppc.h.
30417 * sysdeps/powerpc/test-gettimebase.c: Test for
30418 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30419 * manual/Makefile (appendices): Include platform.texi.
30420 * manual/contrib.texi (Contributors): Update @node pointers.
30421 * manual/maint.texi (Maintenance): Likewise.
30422 (Platform): New node.
30423 * manual/platform.texi: New file. Document the new features.
30425 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30426 Jakub Jelinek <jakub@redhat.com>
30429 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30430 where __builtin_expect is unavailable.
30432 2012-06-03 David S. Miller <davem@davemloft.net>
30434 * stdlib/longlong.h: Updated from GCC.
30436 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30439 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30440 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30443 (GLIBC_2.16): Likewise.
30445 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30449 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30452 (default-abi): New variable.
30453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30454 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30456 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30458 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30460 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30463 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30464 definition. Document in comment.
30466 2012-06-01 David S. Miller <davem@davemloft.net>
30468 * stdlib/longlong.h: Updated from GCC.
30470 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30473 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30474 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30475 sys/debugreg.h sys/io.h here.
30476 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30477 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30479 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30480 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30481 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30482 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30483 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30484 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30486 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30487 Define only if __x86_64__ is defined.
30489 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30492 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30493 Use int64_t for variable i.
30494 * math/libm-test.inc (fmod_test): Add more tests.
30496 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30497 z computation is not scheduled after fetestexcept.
30498 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30499 Use math_force_eval instead of asm to ensure calculation scheduled
30500 before exception test.
30501 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30502 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30504 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30507 computation is not scheduled after fetestexcept.
30509 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30512 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30513 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30515 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30517 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30518 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30520 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30523 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30525 (__WCHAR_MIN): Support __WORDSIZE == 64.
30526 (__WCHAR_MAX): Likewise.
30528 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30529 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30533 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30536 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30539 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30540 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30542 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30543 Defined to 1 if __x86_64__ isn't defined.
30544 (_STAT_VER_LINUX_OLD): New.
30545 (st_atime): Remove duplicate.
30546 (st_mtime): Likewise.
30547 (st_ctime): Likewise.
30549 2012-05-31 David S. Miller <davem@davemloft.net>
30551 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30554 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30556 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30560 * elf/dl-reloc.c: Include <_itoa.h>.
30561 (_dl_reloc_bad_type): Remove use of INTUSE.
30562 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30563 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30564 * stdio-common/psiginfo.c (psiginfo): Likewise.
30565 * stdio-common/psignal.c (psignal): Likewise.
30566 * string/strsignal.c (strsignal): Likewise.
30567 * include/signal.h (_sys_siglist): Declare hidden proto.
30568 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30569 INTVARDEF with libc_hidden_data_def.
30570 * stdio-common/itoa-udigits.c: Likewise.
30571 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30572 (_itoa_lower_digits_internal): Remove declaration.
30573 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30574 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30575 (_sys_sigabbrev_internal): Remove aliases.
30576 (_sys_siglist): Define hidden alias.
30578 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30583 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30586 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30587 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30589 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30590 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30591 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30592 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30594 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30596 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30597 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30598 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30600 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30608 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30609 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30610 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30613 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30614 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30615 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30616 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30617 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30619 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30620 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30622 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30623 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30629 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30630 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30632 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30634 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30635 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30636 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30638 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30640 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30642 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30644 * math/math.h (M_El): Use two more decimal places.
30645 (M_LOG2El): Likewise.
30646 (M_LOG10El): Likewise.
30647 (M_LN2l): Likewise.
30648 (M_LN10l): Likewise.
30650 (M_PI_2l): Likewise.
30651 (M_PI_4l): Likewise.
30652 (M_1_PIl): Likewise.
30653 (M_2_PIl): Likewise.
30654 (M_2_SQRTPIl): Likewise.
30655 (M_SQRT2l): Likewise.
30656 (M_SQRT1_2l): Likewise.
30658 2012-05-31 David S. Miller <davem@davemloft.net>
30660 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30661 values between float registers.
30662 * sysdeps/sparc/sparc64/memset.S: Likewise.
30663 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30665 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30667 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30668 -D_FORTIFY_SOURCE=1.
30669 (CPPFLAGS-tst-longjmp_chk.c): Define.
30670 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30671 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30672 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30673 CFLAGS-tst-wchar-h.c.
30675 2012-05-31 Marek Polacek <polacek@redhat.com>
30678 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30679 __endmntent_internal): Remove declaration.
30680 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30681 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30682 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30684 2012-05-30 David S. Miller <davem@davemloft.net>
30686 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30687 (___Q_simulate_exceptions): Use real FP ops rather than writing
30689 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30692 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30695 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30696 * sysdeps/x86/bits/xtitypes.h: This.
30698 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30699 * sysdeps/x86/bits/wordsize.h: This.
30701 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30702 * sysdeps/x86/bits/huge_vall.h: This.
30704 * sysdeps/i386/bits/select.h: Removed.
30705 * sysdeps/x86_64/bits/select.h: Renamed to ...
30706 * sysdeps/x86/bits/select.h: This.
30708 * sysdeps/i386/bits/setjmp.h: Removed.
30709 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30710 * sysdeps/x86/bits/setjmp.h: This.
30712 * sysdeps/i386/bits/mathdef.h: Removed.
30713 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30714 * sysdeps/x86/bits/mathdef.h: This.
30716 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30719 * include/sys/socket.h (__connect_internal)
30720 (__libc_sa_len_internal): Remove declaration.
30721 (__connect, __libc_sa_len): Declare hidden_proto.
30722 (SA_LEN): Remove use of INTUSE.
30723 * socket/connect.c: Add libc_hidden_def.
30724 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30725 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30726 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30728 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30729 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30730 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30731 of adding _internal alias.
30733 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30736 * sysdeps/i386/bits/link.h: Removed.
30737 * sysdeps/i386/bits/linkmap.h: Likewise.
30738 * sysdeps/x86_64/bits/link.h: Renamed to ...
30739 * sysdeps/x86/bits/link.h: This.
30740 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30741 * sysdeps/x86/bits/linkmap.h: This.
30743 * sysdeps/i386/bits/endian.h: Removed.
30744 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30745 * sysdeps/x86/bits/endian.h: This.
30747 * sysdeps/i386/bits/byteswap.h: Removed.
30748 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30749 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30750 * sysdeps/x86/bits/byteswap.h: This.
30751 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30752 * sysdeps/x86/bits/byteswap-16.h: This.
30753 * sysdeps/i386/Implies: Add x86.
30754 * sysdeps/x86_64/Implies: Likewise.
30756 2012-05-30 David S. Miller <davem@davemloft.net>
30758 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30759 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30760 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30761 (FP_TRAPPING_EXCEPTIONS): Define.
30762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30763 (FP_TRAPPING_EXCEPTIONS): Define.
30764 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30765 subnormals only when inexact has been signalled or underflow
30766 exceptions are enabled.
30767 (_FP_PACK_CANONICAL): Likewise.
30769 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30772 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30773 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30775 2012-05-30 Richard Henderson <rth@twiddle.net>
30777 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30778 with #ifndef NOT_IN_libc.
30780 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30781 marked to avoid plt entry.
30783 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30786 * Makeconfig (default-abi): New macro.
30787 (abi-includes): Likewise.
30788 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30789 $(abi-$(default-abi)-lib-soname) for soname if defined.
30790 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30792 * Makefile (installed-stubs): Likewise.
30793 * include/stubs-biarch.h: Removed.
30794 * scripts/lib-names.awk: Only handle one library at a time.
30795 * scripts/soversions.awk: Remove WORDSIZE support.
30796 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30798 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30800 (syscall-list-default-condition): Likewise.
30801 (syscall-list-default-condition): Likewise.
30802 (syscall-list-includes): Likewise.
30803 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30804 syscall-list-* with abi-*. Handle undefined abi-variants.
30805 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30806 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30807 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30808 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30809 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30810 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30812 (syscall-list-32-options): Likewise.
30813 (syscall-list-32-condition): Likewise.
30814 (syscall-list-64-options): Likewise.
30815 (syscall-list-64-condition): Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30818 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30821 (abi-64-ld-soname): New macro.
30822 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30823 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30826 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30827 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30829 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30831 * sysdeps/unix/sysv/linux/kernel-features.h
30832 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30833 * sysdeps/unix/sysv/linux/ftruncate64.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.
30839 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30840 include <kernel-features.h>.
30841 [!__NR_ftruncate64]: Remove conditional code.
30842 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30843 [__NR_ftruncate64]: Make code unconditional.
30844 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30846 include <kernel-features.h>.
30847 [!__NR_ftruncate64]: Remove conditional code.
30848 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30849 [__NR_ftruncate64]: Make code unconditional.
30850 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30852 include <kernel-features.h>.
30853 [!__NR_ftruncate64]: Remove conditional code.
30854 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30855 [__NR_ftruncate64]: Make code unconditional.
30856 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30858 * configure.in (libc_cv_fpie): Weaken to a compile test using
30859 LIBC_TRY_CC_OPTION.
30860 * configure: Regenerated.
30862 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30877 2012-05-27 David S. Miller <davem@davemloft.net>
30879 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30881 (__Q_simulate_exceptions): Return void. Change to simulate
30882 exceptions by writing into the %fsr.
30883 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30884 (__Qp_handle_exceptions): Likewise.
30886 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30887 __Qp_handle_exceptions.
30888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30889 __Qp_handle_exceptions.
30890 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30891 as unused and give dummy FP_RND_NEAREST initializer.
30892 (FP_INHIBIT_RESULTS): Define.
30893 (___Q_simulate_exceptions): Update declaration.
30894 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30896 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30897 as unused and give dummy FP_RND_NEAREST initializer.
30898 (__Qp_handle_exceptions): Update declaration.
30899 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30902 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30904 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30905 the temporary FPU control word.
30906 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30907 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30908 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30909 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30910 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30911 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30912 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30913 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30914 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30915 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30918 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30923 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30925 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30926 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30927 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30928 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30930 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30931 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30934 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30936 * po/h.po: Update from translation team.
30938 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30940 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30942 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30943 handling of denormals.
30944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30945 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30946 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30947 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30948 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30953 2012-05-26 Marek Polacek <polacek@redhat.com>
30956 * math/libm-test.inc (fma_test): Don't always expect underflow
30959 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30962 * elf/tst-execstack.c: Include stackinfo.h.
30963 (do_test): Adjust test case to ensure that pthread_getattr_np
30964 behaviour remains the same after marking stack executable.
30966 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30968 * sysdeps/unix/sysv/linux/kernel-features.h
30969 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30970 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30972 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30973 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30974 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30976 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30977 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30979 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30981 * configure.in: Define the default includes to being none.
30982 * configure: Regenerated.
30984 2012-05-25 Roland McGrath <roland@hack.frob.com>
30986 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30987 * sysdeps/x86_64/setjmp.S: Likewise.
30988 * sysdeps/i386/bsd-setjmp.S: Likewise.
30989 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30990 * sysdeps/i386/setjmp.S: Likewise.
30991 * sysdeps/i386/__longjmp.S: Likewise.
30992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30993 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30995 * include/stap-probe.h: New file.
30996 * configure.in: Handle --enable-systemtap.
30997 * configure: Regenerated.
30998 * config.h.in (USE_STAP_PROBE): New #undef.
30999 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31000 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31001 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31003 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31006 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31007 to 2.4.0 where earlier.
31008 * sysdeps/unix/sysv/linux/configure: Regenerated.
31009 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31010 <kernel-features.h>.
31011 [__ASSUME_32BITUIDS]: Make code unconditional.
31012 [!__ASSUME_32BITUIDS]: Remove conditional code.
31013 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31014 <kernel-features.h>.
31015 [__ASSUME_32BITUIDS]: Make code unconditional.
31016 [!__ASSUME_32BITUIDS]: Remove conditional code.
31017 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31018 [__ASSUME_32BITUIDS]: Make code unconditional.
31019 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31020 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31021 <kernel-features.h>.
31022 [__ASSUME_32BITUIDS]: Make code unconditional.
31023 [!__ASSUME_32BITUIDS]: Remove conditional code.
31024 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31025 <kernel-features.h>.
31026 [__ASSUME_32BITUIDS]: Make code unconditional.
31027 [!__ASSUME_32BITUIDS]: Remove conditional code.
31028 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31029 <kernel-features.h>.
31030 [__ASSUME_32BITUIDS]: Make code unconditional.
31031 [!__ASSUME_32BITUIDS]: Remove conditional code.
31032 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31033 <kernel-features.h>.
31034 [__ASSUME_32BITUIDS]: Make code unconditional.
31035 [!__ASSUME_32BITUIDS]: Remove conditional code.
31036 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31037 <kernel-features.h>.
31038 [__ASSUME_32BITUIDS]: Make code unconditional.
31039 [!__ASSUME_32BITUIDS]: Remove conditional code.
31040 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31041 <kernel-features.h>.
31042 [__ASSUME_32BITUIDS]: Make code unconditional.
31043 [!__ASSUME_32BITUIDS]: Remove conditional code.
31044 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31045 <kernel-features.h>.
31046 [__ASSUME_32BITUIDS]: Make code unconditional.
31047 [!__ASSUME_32BITUIDS]: Remove conditional code.
31048 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31049 <kernel-features.h>.
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
31061 <kernel-features.h>.
31062 [__NR_setresgid] (__setresgid): Do not declare.
31063 [__ASSUME_32BITUIDS]: Make code unconditional.
31064 [!__ASSUME_32BITUIDS]: Remove conditional code.
31065 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31066 <kernel-features.h>.
31067 [__NR_setresuid] (__setresuid): Do not declare.
31068 [__ASSUME_32BITUIDS]: Make code unconditional.
31069 [!__ASSUME_32BITUIDS]: Remove conditional code.
31070 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31071 <kernel-features.h>.
31072 [__ASSUME_32BITUIDS]: Make code unconditional.
31073 [!__ASSUME_32BITUIDS]: Remove conditional code.
31074 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31075 <kernel-features.h>.
31076 [__ASSUME_32BITUIDS]: Make code unconditional.
31077 [!__ASSUME_32BITUIDS]: Remove conditional code.
31078 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31079 <kernel-features.h>.
31080 [__ASSUME_32BITUIDS]: Make code unconditional.
31081 [!__ASSUME_32BITUIDS]: Remove conditional code.
31082 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31083 <kernel-features.h>.
31084 [__ASSUME_32BITUIDS]: Make code unconditional.
31085 [!__ASSUME_32BITUIDS]: Remove conditional code.
31086 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31087 <kernel-features.h>.
31088 [__ASSUME_32BITUIDS]: Make code unconditional.
31089 [!__ASSUME_32BITUIDS]: Remove conditional code.
31090 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31091 <kernel-features.h>.
31092 [__ASSUME_32BITUIDS]: Make code unconditional.
31093 [!__ASSUME_32BITUIDS]: Remove conditional code.
31094 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31095 <kernel-features.h>.
31096 [__ASSUME_32BITUIDS]: Make code unconditional.
31097 [!__ASSUME_32BITUIDS]: Remove conditional code.
31098 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31099 <kernel-features.h>.
31100 [__ASSUME_32BITUIDS]: Make code unconditional.
31101 [!__ASSUME_32BITUIDS]: Remove conditional code.
31102 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31103 <kernel-features.h>.
31104 [__ASSUME_32BITUIDS]: Make code unconditional.
31105 [!__ASSUME_32BITUIDS]: Remove conditional code.
31106 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31107 <kernel-features.h>.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/kernel-features.h
31111 (__ASSUME_SETRESUID_SYSCALL): Remove.
31112 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31113 (__ASSUME_32BITUIDS): Likewise.
31114 (__ASSUME_LDT_WORKS): Likewise.
31115 (__ASSUME_O_DIRECTORY): Likewise.
31116 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31117 architecture but not kernel version.
31118 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31119 (__ASSUME_MMAP2_SYSCALL): Likewise.
31120 (__ASSUME_STAT64_SYSCALL): Likewise.
31121 (__ASSUME_IPC64): Likewise.
31122 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31123 <kernel-features.h>.
31124 [__ASSUME_32BITUIDS]: Make code unconditional.
31125 [!__ASSUME_32BITUIDS]: Remove conditional code.
31126 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31127 <kernel-features.h>.
31128 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31130 132096]: Remove conditional code.
31131 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31132 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31133 <kernel-features.h>.
31134 [__ASSUME_32BITUIDS]: Make code unconditional.
31135 [!__ASSUME_32BITUIDS]: Remove conditional code.
31136 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
31141 <kernel-features.h>.
31142 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31144 (__setresgid): Do not declare.
31145 [__ASSUME_32BITUIDS]: Make code unconditional.
31146 [!__ASSUME_32BITUIDS]: Remove conditional code.
31147 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31148 <kernel-features.h>.
31149 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31151 (__setresuid): Do not declare.
31152 [__ASSUME_32BITUIDS]: Make code unconditional.
31153 [!__ASSUME_32BITUIDS]: Remove conditional code.
31154 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31155 <kernel-features.h>.
31156 [__ASSUME_32BITUIDS]: Make code unconditional.
31157 [!__ASSUME_32BITUIDS]: Remove conditional code.
31158 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31159 <kernel-features.h>.
31160 [__ASSUME_32BITUIDS]: Make code unconditional.
31161 [!__ASSUME_32BITUIDS]: Remove conditional code.
31163 2012-05-25 Richard Henderson <rth@twiddle.net>
31165 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31166 dl_hwcap to ifunc resolver.
31167 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31169 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31170 dl_hwcap to ifunc resolver.
31171 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31173 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31176 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31177 for |x| <= 2**-26, not 2**-57.
31178 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31181 2012-05-24 Jeff Law <law@redhat.com>
31183 * stdio-common/Makefile (tests): Add bug25.
31184 * stdio-common/bug25.c: New test.
31186 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31189 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31190 multiple of MALLOC_ALIGNMENT in size.
31191 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31193 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31195 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31197 (FILENAME_MAX): Use macro-int-constant.
31198 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31199 (_IOFBF): Use macro-int-constant.
31200 (_IOLBF): Likewise.
31201 (_IONBF): Likewise.
31202 (SEEK_CUR): Likewise.
31203 (SEEK_END): Likewise.
31204 (SEEK_SET): Likewise.
31205 (TMP_MAX): Likewise.
31206 (EOF): Use macro-int-constant. Require < 0.
31207 (NULL): Use macro-constant. Require == 0.
31208 (stdin): Require type to be FILE *.
31209 (stdout): Likewise.
31210 (stderr): Likewise.
31211 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31212 macro-int-constant.
31213 (EXIT_SUCCESS): Likewise.
31214 (NULL): Use macro-constant. Require == 0.
31215 (RAND_MAX): Use macro-int-constant.
31216 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31217 [C99-based standards] (strtof): Require function.
31218 [C99-based standards] (strtold): Likewise.
31219 [C99-based standards] (strtoll): Likewise.
31220 [C99-based standards] (strtoull): Likewise.
31221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31222 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31223 [ISO || ISO99 || ISO11] (math.h): Likewise.
31224 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31225 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31228 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31231 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31232 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31233 * intl/dgettext.c (DCGETTEXT): Likewise.
31234 * intl/gettext.c (DCGETTEXT): Likewise.
31235 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31236 * posix/regex_internal.h (gettext): Likewise.
31237 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31238 Remove declaration.
31239 * include/argz.h (__argz_count_internal)
31240 (__argz_stringify_internal): Remove declaration.
31241 (__argz_count, __argz_stringify): Declare hidden proto.
31242 * intl/dcgettext.c: Remove use of INTDEF.
31243 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31244 * string/argz-stringify.c: Likewise.
31245 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31246 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31247 Declare hidden proto.
31248 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31249 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31250 Declare hidden proto.
31251 * include/stdio.h (__asprintf_internal): Don't declare.
31252 (__asprintf): Don't define as macro. Declare hidden proto.
31253 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31254 (__fsetlocking): Declare hidden proto.
31255 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31256 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31258 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31259 (_IO_setlinebuf): Remove use of INTUSE.
31260 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31261 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31262 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31263 Remove declaration.
31264 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31265 (_IO_do_flush): Remove use of INTUSE.
31266 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31267 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31268 (_IO_adjust_column, _IO_least_wmarker)
31269 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31270 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31271 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31272 (_IO_default_doallocate, _IO_wdefault_doallocate)
31273 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31274 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31275 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31276 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31277 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31278 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31279 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31280 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31281 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31282 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31283 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31284 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31285 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31287 (_IO_flush_all_internal, _IO_adjust_column_internal)
31288 (_IO_default_uflow_internal, _IO_default_finish_internal)
31289 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31290 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31291 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31292 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31293 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31294 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31295 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31296 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31297 (_IO_file_close_internal, _IO_file_close_it_internal)
31298 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31299 (_IO_file_init_internal, _IO_file_attach_internal)
31300 (_IO_file_fopen_internal, _IO_file_read_internal)
31301 (_IO_file_sync_internal, _IO_file_seek_internal)
31302 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31303 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31304 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31305 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31306 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31307 (_IO_list_all_internal, _IO_link_in_internal)
31308 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31309 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31310 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31311 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31312 (_IO_do_write_internal, _IO_padn_internal)
31313 (_IO_getline_info_internal, _IO_getline_internal)
31314 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31315 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31316 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31317 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31318 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31319 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31320 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31321 with libc_hidden_ver, remove use of INTUSE.
31322 * libio/genops.c: Likewise.
31323 * libio/freopen.c: Likewise.
31324 * libio/freopen64.c: Likewise.
31325 * libio/iofclose.c: Likewise.
31326 * libio/iofdopen.c: Likewise.
31327 * libio/iofflush.c: Likewise.
31328 * libio/iofflush_u.c: Likewise.
31329 * libio/iofgets.c: Likewise.
31330 * libio/iofgets_u.c: Likewise.
31331 * libio/iofopen.c: Likewise.
31332 * libio/iofopncook.c: Likewise.
31333 * libio/iofread.c: Likewise.
31334 * libio/iofread_u.c: Likewise.
31335 * libio/ioftell.c: Likewise.
31336 * libio/iofwrite.c: Likewise.
31337 * libio/iogetline.c: Likewise.
31338 * libio/iogets.c: Likewise.
31339 * libio/iogetwline.c: Likewise.
31340 * libio/iopadn.c: Likewise.
31341 * libio/iopopen.c: Likewise.
31342 * libio/ioseekoff.c: Likewise.
31343 * libio/ioseekpos.c: Likewise.
31344 * libio/iosetbuffer.c: Likewise.
31345 * libio/iosetvbuf.c: Likewise.
31346 * libio/ioungetc.c: Likewise.
31347 * libio/ioungetwc.c: Likewise.
31348 * libio/iovdprintf.c: Likewise.
31349 * libio/iovsprintf.c: Likewise.
31350 * libio/iovsscanf.c: Likewise.
31351 * libio/memstream.c: Likewise.
31352 * libio/obprintf.c: Likewise.
31353 * libio/oldfileops.c: Likewise.
31354 * libio/oldiofclose.c: Likewise.
31355 * libio/oldiofdopen.c: Likewise.
31356 * libio/oldiofopen.c: Likewise.
31357 * libio/oldiopopen.c: Likewise.
31358 * libio/oldstdfiles.c: Likewise.
31359 * libio/putc.c: Likewise.
31360 * libio/setbuf.c: Likewise.
31361 * libio/setlinebuf.c: Likewise.
31362 * libio/stdfiles.c: Likewise.
31363 * libio/strops.c: Likewise.
31364 * libio/vasprintf.c: Likewise.
31365 * libio/vscanf.c: Likewise.
31366 * libio/vsnprintf.c: Likewise.
31367 * libio/vswprintf.c: Likewise.
31368 * libio/wfiledoalloc.c: Likewise.
31369 * libio/wfileops.c: Likewise.
31370 * libio/wgenops.c: Likewise.
31371 * libio/wmemstream.c: Likewise.
31372 * libio/wstrops.c: Likewise.
31373 * libio/__fpurge.c: Likewise.
31374 * libio/__fsetlocking.c: Likewise.
31375 * assert/assert.c: Likewise.
31376 * debug/fgets_chk.c: Likewise.
31377 * debug/fgets_u_chk.c: Likewise.
31378 * debug/fread_chk.c: Likewise.
31379 * debug/fread_u_chk.c: Likewise.
31380 * debug/gets_chk.c: Likewise.
31381 * debug/obprintf_chk.c: Likewise.
31382 * debug/vasprintf_chk.c: Likewise.
31383 * debug/vdprintf_chk.c: Likewise.
31384 * debug/vsnprintf_chk.c: Likewise.
31385 * debug/vsprintf_chk.c: Likewise.
31386 * malloc/mtrace.c: Likewise.
31387 * misc/error.c: Likewise.
31388 * misc/syslog.c: Likewise.
31389 * stdio-common/asprintf.c: Likewise.
31390 * stdio-common/fxprintf.c: Likewise.
31391 * stdio-common/getw.c: Likewise.
31392 * stdio-common/isoc99_fscanf.c: Likewise.
31393 * stdio-common/isoc99_scanf.c: Likewise.
31394 * stdio-common/isoc99_vfscanf.c: Likewise.
31395 * stdio-common/isoc99_vscanf.c: Likewise.
31396 * stdio-common/isoc99_vsscanf.c: Likewise.
31397 * stdio-common/printf-prs.c: Likewise.
31398 * stdio-common/printf_fp.c: Likewise.
31399 * stdio-common/printf_fphex.c: Likewise.
31400 * stdio-common/printf_size.c: Likewise.
31401 * stdio-common/putw.c: Likewise.
31402 * stdio-common/scanf.c: Likewise.
31403 * stdio-common/sprintf.c: Likewise.
31404 * stdio-common/tmpfile.c: Likewise.
31405 * stdio-common/vfprintf.c: Likewise.
31406 * stdio-common/vfscanf.c: Likewise.
31407 * stdlib/strfmon_l.c: Likewise.
31408 * sunrpc/openchild.c: Likewise.
31409 * sunrpc/xdr_stdio.c: Likewise.
31410 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31411 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31413 2012-05-24 Roland McGrath <roland@hack.frob.com>
31415 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31417 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31418 in the third column, to generate for the shared library an IFUNC
31419 that uses _dl_vdso_vsym.
31420 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31421 * Makeconfig (object-suffixes-noshared): New variable.
31423 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31424 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31425 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31426 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31429 * include/sys/time.h (__gettimeofday): Remove macro.
31430 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31431 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31433 (__gettimeofday): Add libc_hidden_def.
31434 (gettimeofday): Add libc_hidden_weak.
31435 * sysdeps/mach/gettimeofday.c: Likewise.
31436 * sysdeps/posix/gettimeofday.c: Likewise.
31437 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31438 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31440 (__gettimeofday_internal): Remove strong_alias.
31441 (__gettimeofday): Add libc_hidden_def.
31442 (gettimeofday): Add libc_hidden_weak.
31443 * sysdeps/unix/syscalls.list (gettimeofday):
31444 Remove __gettimeofday_internal alias.
31446 2012-05-24 Daniel Jacobowitz <drow@false.org>
31447 H.J. Lu <hongjiu.lu@intel.com>
31450 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31451 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31452 (largebin_index_32_big): New.
31453 (largebin_index): Use it for 16-byte alignment.
31454 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31455 correction with front_misalign.
31457 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31485 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31486 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31488 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31492 * math/libm-test.inc (exp_test): Add test from bug 14036.
31493 (pow_test): Add test from bug 10846.
31495 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31497 (special_function): Do not include flags in test name.
31498 (parse_args): Likewise.
31499 * sysdeps/i386/fpu/libm-test-ulps: Update.
31500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31501 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31502 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31505 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31507 * math/libm-test.inc ("Philosophy"): Update comment about
31509 (UNDERFLOW_EXCEPTION): New macro.
31510 (UNDERFLOW_EXCEPTION_OK): Likewise.
31511 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31512 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31513 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31514 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31515 (INVALID_EXCEPTION_OK): Update value.
31516 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31517 (OVERFLOW_EXCEPTION_OK): Likewise.
31518 (IGNORE_ZERO_INF_SIGN): Likewise.
31519 (test_exceptions): Handle underflow exceptions.
31520 (acos_test): Update for underflow exception expectations.
31521 (cexp_test): Likewise.
31522 (clog_test): Likewise.
31523 (clog10_test): Likewise.
31524 (csqrt_test): Likewise.
31525 (ctan_test): Likewise.
31526 (ctanh_test): Likewise.
31527 (exp_test): Likewise.
31528 (exp10_test): Likewise.
31529 (exp2_test): Likewise.
31530 (expm1_test): Likewise.
31531 (fma_test): Likewise.
31532 (j0_test): Likewise.
31533 (jn_test): Likewise.
31534 (nexttoward_test): Likewise.
31535 (pow_test): Likewise.
31536 (scalbn_test): Likewise.
31537 (scalbln_test): Likewise.
31538 (tan_test): Likewise.
31539 (y1_test): Likewise.
31540 * sysdeps/i386/fpu/libm-test-ulps: Update.
31541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31543 2012-05-23 David S. Miller <davem@davemloft.net>
31545 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31546 (__libc_sigaction): Remove unused local variables.
31548 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31550 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31552 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31554 mktime: avoid signed integer overflow
31555 * time/mktime.c (__mktime_internal): Do not mishandle the case
31556 where diff == INT_MIN.
31558 mktime: simplify computation of average
31559 * time/mktime.c (ranged_convert): Use new time_t_avg function
31560 instead of rolling our own (probably-slower) code.
31562 mktime: do not assume signed right shift propagates sign bit
31563 * time/mktime.c (isdst_differ): New static function.
31564 (__mktime_internal): No need to normalize tm_isdst now.
31565 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31568 mktime: merge another wrapv change from gnulib
31569 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31570 from some compilers.
31572 mktime: remove incorrect attempt at unusual arithmetics
31573 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31574 The code didn't really work on such machines anyway.
31575 (TYPE_MINIMUM): Assume two's complement.
31576 (twos_complement_arithmetic): Verify that long_int and time_t
31577 are two's complement (or unsigned, in the latter case).
31579 mktime: check signed shifts on long_int and time_t, too
31580 * time/mktime.c (SHR): Check that shifts work as desired
31581 on the types long_int and time_t too, as SHR is used on
31584 mktime: do not assume 'long' is wide enough
31585 * time/mktime.c (verify): Move decl up.
31586 (long_int): New type.
31587 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31588 to remove assumption in the code that 'long' is wide enough to
31589 store year values. This assumption is not true on x32 and on
31590 some non-glibc platforms.
31592 mktime: merge wrapv change from gnulib
31593 * time/mktime.c (WRAPV): New macro.
31594 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31595 (guess_time_tm, __mktime_internal): Do not assume that signed
31596 integer overflow wraps around; modern compilers generate code
31597 where this assumption is no longer valid.
31599 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31601 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31602 Replace "jmp L(pseudo_end)" with "ret".
31603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31606 2012-05-23 Andreas Jaeger <aj@suse.de>
31608 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31609 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31611 2012-05-23 Andreas Jaeger <aj@suse.de>
31612 Maximilian Attems <max@stro.at>
31614 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31617 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31619 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31620 code so that pseudo_end is just ret and the stack pointer is
31621 correct also for static library in error case.
31623 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31625 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31626 move to syscalls.list.
31627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31632 * manual/install.texi (Running make install): Do not mention Linux
31633 kernel version for which pt_chown is not needed.
31634 (Linux): Do not mention problems with nscd with 2.0 kernels.
31635 * INSTALL: Regenerated.
31637 2012-05-23 Andreas Jaeger <aj@suse.de>
31639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31640 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31642 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31643 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31644 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31646 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31648 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31652 * sysdeps/unix/sysv/linux/bits/in.h
31653 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31655 2012-05-22 Roland McGrath <roland@hack.frob.com>
31657 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31658 (PREPARE_VERSION): Just use assert instead, it will be elided
31659 under [NDEBUG] anyway.
31661 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31663 * sysdeps/unix/sysv/linux/Makefile: Include
31664 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31665 (sysdep_routines): Remove sysctl.
31666 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31667 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31668 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31669 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31670 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31672 2012-05-22 Andreas Jaeger <aj@suse.de>
31674 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31675 that pseudo_end is just ret and the stack pointer is correct also
31676 for static library in error case.
31678 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31681 * nss/nsswitch.c (defconfig_entries): New variable.
31682 (__nss_database_lookup): Don't leak defconfig entries.
31683 (nss_parse_service_list): Don't leak on error paths.
31684 (free_database_entries): New function.
31685 (free_defconfig): New function.
31686 (free_mem): Move common code to free_database_entries.
31688 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31690 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31692 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31694 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31695 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31698 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31699 (INTERNAL_SYSCALL_TYPES): Likewise.
31700 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31701 (LOAD_REGS_TYPES_[1-6]): Likewise.
31702 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31703 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31705 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31707 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31708 copysignl for GLIBC_2_0.
31709 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31710 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31712 logbl for GLIBC_2_0.
31713 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31714 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31716 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31719 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31721 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31724 * time/mktime.c: Update copyright years.
31726 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31728 mktime: merge comment-quoting-style change from gnulib
31729 * time/mktime.c: Quote 'like this' in comments.
31730 The GNU coding standards suggest that we no longer quote `like this',
31731 as "`" and "'" are typically rendered asymmetrically nowadays.
31732 The typical gnulib style is to quote 'like this' when quoting
31733 code, and "like this" when quoting English.
31735 * time/mktime.c (compile-command): Add "-I.".
31737 mktime: merge mktime-internal.h change from gnulib
31738 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31740 mktime: merge time_r change from gnulib
31741 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31743 mktime: merge DEBUG change from gnulib
31744 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31745 case system <time.h> has a #define.
31747 mktime: merge <sys/types.h> change from gnulib
31748 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31749 since <time.t> is now guaranteed to define time_t.
31751 mktime: merge HAVE_CONFIG_H change from gnulib
31752 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31754 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31759 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31761 (struct rusage): Use anonymous union to pad each field to
31764 2012-05-21 David S. Miller <davem@davemloft.net>
31766 * Makefules (o-iterator): Remove .s cases.
31767 (compile-command.s): Delete.
31768 (COMPILE.s): Delete.
31769 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31771 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31773 * configure.in (libc_cv_predef_stack_protector): Only consider
31774 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31775 * configure: Regenerated.
31777 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31779 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31780 New macro. Use R*LP on int and pointer.
31781 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31782 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31783 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31784 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31786 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31787 [__WORDSIZE_TIME64_COMPAT32] instead of
31788 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31789 (struct utmp): Likewise.
31790 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31791 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31793 (__WORDSIZE_TIME64_COMPAT32): This.
31794 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31795 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31796 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31797 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31798 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31799 (__WORDSIZE_TIME64_COMPAT32): New macro.
31801 2012-05-21 Andreas Jaeger <aj@suse.de>
31803 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31804 only if [SHARED]. Add prototype for __wcschr_ia32.
31806 2012-05-21 Roland McGrath <roland@hack.frob.com>
31808 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31809 of %rbp unmolested in the jmp_buf while mangling the low bits.
31810 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31811 unmolested high bits of %rbp while demangling the low bits.
31812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31814 2012-05-21 Andreas Jaeger <aj@suse.de>
31816 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31817 * sunrpc/svc_simple.c: Use it for registerrpc.
31818 * sunrpc/xcrypt.c: Use it for passwd2des.
31820 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31822 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31824 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31825 Don't define if [__SYSCALL_WORDSIZE != 32].
31826 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31829 2012-05-21 Bruno Haible <bruno@clisp.org>
31830 Andreas Jaeger <aj@suse.de>
31832 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31833 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31834 inptr and inend for must_buffer_ch.
31835 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31836 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31837 * stdio-common/Makefile (tests): Remove bug15.
31838 (bug15-ENV): Remove macro.
31839 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31842 2012-05-19 Andreas Jaeger <aj@suse.de>
31843 Roland McGrath <roland@hack.frob.com>
31845 * manual/contrib.texi: Completely rewritten. It contains now an
31846 alphabetical list of contributors and their contributions.
31848 2012-05-21 Richard Henderson <rth@twiddle.net>
31850 * misc/getauxval.c (__getauxval): Use unsigned long int.
31851 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31852 (getauxval): Use unsigned long int.
31854 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31856 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31858 2012-05-21 Roland McGrath <roland@hack.frob.com>
31860 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31861 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31862 __alignof__ (long double).
31864 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31868 2012-05-20 Richard Henderson <rth@twiddle.net>
31870 * misc/getauxval.c: New file.
31871 * misc/sys/auxv.h: New file.
31872 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31873 (routines): Add getauxval.
31874 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31875 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31876 * elf/dl-sysdep.c (_dl_auxv): Remove.
31877 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31878 * elf/dl-support.c (_dl_auxv): New variable.
31879 (_dl_aux_init): Initialize it.
31880 * manual/startup.texi (Auxiliary Vector): New node.
31881 * sysdeps/generic/bits/hwcap.h: New file.
31882 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31883 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31884 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31885 * sysdeps/sparc/sysdep.h: ... here. Include it.
31886 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31887 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31896 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31899 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31903 2012-05-19 David S. Miller <davem@davemloft.net>
31905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31907 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31910 * math/s_ccosh.c: Include <float.h>
31911 (__ccosh): Avoid internal overflow calculating sinh and cosh
31912 values before multiplying by sin and cos values.
31913 * math/s_ccoshf.c: Likewise.
31914 * math/s_ccoshl.c: Likewise.
31915 * math/s_csin.c: Likewise.
31916 * math/s_csinf.c: Likewise.
31917 * math/s_csinl.c: Likewise.
31918 * math/s_csinh.c: Likewise.
31919 * math/s_csinhf.c: Likewise.
31920 * math/s_csinhl.c: Likewise.
31921 * math/libm-test.inc (ccos_test): Add more tests.
31922 (ccosh_test): Likewise.
31923 (csin_test): Likewise.
31924 (csinh_test): Likewise.
31925 * sysdeps/i386/fpu/libm-test-ulps: Update.
31926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31928 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31930 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31931 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31933 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31935 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31937 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31938 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31939 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31940 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31941 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31942 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31943 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31944 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31945 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31946 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31947 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31948 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31949 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31950 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31951 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31952 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31953 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31954 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31955 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31956 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31957 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31958 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31959 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31960 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31961 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31962 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31963 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31964 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31965 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31966 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31967 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31969 2012-05-18 Andreas Jaeger <aj@suse.de>
31971 * csu/.gitignore: Delete.
31973 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31975 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31976 (timex): Use __syscall_slong_t.
31978 2012-05-18 Andreas Jaeger <aj@suse.de>
31979 Carlos O'Donell <carlos_odonell@mentor.com>
31981 * manual/install.texi (Configuring and compiling): Update
31982 description about files modified in the source directory.
31983 * INSTALL: Regenerated.
31985 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31987 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31988 value. Use "or" to set return value to -1.
31989 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31990 negate return value.
31992 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31994 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31995 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31996 failure if the compiler has Graphite support disabled.
31997 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31999 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32000 (CFLAGS-memmove.c): Likewise.
32001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32004 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32006 * sysdeps/x86_64/x32/_itoa.h: New file.
32008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32009 getdents system call only if kernel and user dirents have the
32010 same d_ino and d_off.
32012 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32013 LLONG_MAX != LONG_MAX.
32014 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32015 (_fitoa_word): Likewise.
32017 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32019 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32021 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32023 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32024 include <bits/wordsize.h>. Check __x86_64__ instead of
32026 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32027 if __x86_64__ is defined. Use anonymous union on fpstate.
32029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32032 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32034 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32035 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32036 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32037 Refer to _rtld_local_ro instead of _rtld_global_ro.
32038 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32040 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32042 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32044 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32045 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32046 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32048 * sysdeps/powerpc/powerpc32/dl-machine.c
32049 (__elf_machine_runtime_setup) [PROF]: Don't reference
32052 2012-05-18 Andreas Jaeger <aj@suse.de>
32054 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32055 function only available for GCCs before 3.4 since GCC 3.4
32056 introduced a builtin.
32058 (llrintf): Likewise.
32059 (llrint): Likewise.
32066 (nearbyint): Likewise.
32067 (nearbyintf): Likewise.
32071 (floorf): Likewise.
32073 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32075 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32076 on both fields and cast pointer to __syscall_ulong_t.
32078 * bits/types.h (__fsword_t): New type.
32079 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32080 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32082 (__FSWORD_T_TYPE): Likewise.
32083 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32084 (__FSWORD_T_TYPE): Likewise.
32085 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32086 (__FSWORD_T_TYPE): Likewise.
32087 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32088 (__FSWORD_T_TYPE): Likewise.
32089 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32090 __SWORD_TYPE with __fsword_t.
32091 (statfs64): Likewise.
32093 2012-05-17 David S. Miller <davem@davemloft.net>
32095 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32097 2012-05-17 Andreas Jaeger <aj@suse.de>
32099 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32102 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32104 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32106 2012-05-17 Andreas Jaeger <aj@suse.de>
32108 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32111 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32113 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32115 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32118 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32120 2012-05-17 Andreas Jaeger <aj@suse.de>
32121 Carlos O'Donell <carlos_odonell@mentor.com>
32124 * sysdeps/x86_64/multiarch/init-arch.h
32125 (bit_YMM_Usable): Rename to...
32126 (bit_AVX_Usable): ... this.
32127 (bit_FMA4_Usable): New macro.
32128 (bit_XMM_state): New macro.
32129 (bit_YMM_state): New macro.
32130 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32131 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32132 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32133 (CPUID_OSXSAVE): New macro.
32134 (CPUID_AVX): New macro.
32135 (CPUID_FMA4): New macro.
32136 (index_YMM_Usable): Rename to...
32137 (index_AVX_Usable): ... this.
32138 (HAS_AVX): Use HAS_ARCH_FEATURE.
32139 (HAS_FMA4): Likewise.
32140 (HAS_YMM_USABLE): Remove.
32141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32142 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32144 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32145 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32146 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32147 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32148 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32150 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32152 * math/libm-test.c: Support platforms without multiple rounding modes.
32153 * math/bug-nextafter.c: Support platforms without FP exceptions.
32154 * math/bug-nexttoward.c: Likewise.
32155 * math/test-fenv.c: Likewise.
32156 * math/test-misc.c: Likewise.
32157 * stdlib/bug-getcontext.c: Likewise.
32159 2012-05-17 Andreas Jaeger <aj@suse.de>
32161 * manual/examples/search.c (critter_cmp): Change signature to
32163 * manual/string.texi (Collation Functions): Likewise.
32165 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32167 * bits/types.h: Fold copyright years.
32168 * bits/typesizes.h: Likewise.
32169 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32173 * time/time.h: Likewise.
32175 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32178 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32179 in instead of returning them. Return void.
32180 (__libc_mallinfo): Accumulate over all arenas.
32181 (__malloc_stats): Adjust for change in int_mallinfo interface.
32183 2012-05-16 Roland McGrath <roland@hack.frob.com>
32186 * configure.in (NM): Add AC_CHECK_TOOL for it.
32187 (libc_extra_cflags): New substituted variable.
32188 Check for -fstack-protector being used implicitly.
32189 * configure: Regenerated.
32190 * config.make.in (config-extra-cflags): New variable,
32191 gets @libc_extra_cflags@.
32192 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32195 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32196 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32197 * configure: Regenerated.
32198 * config.make.in (CPPUNDEFS): New substituted variable.
32199 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32200 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32201 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32203 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32205 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32206 (mq_attr): Use __syscall_slong_t.
32208 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32210 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32211 Check __x86_64__ instead of __WORDSIZE.
32212 (_STAT_VER_LINUX): Likewise.
32213 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32214 __syscall_ulong_t and __syscall_slong_t.
32215 (stat64): Likewise.
32217 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32219 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32221 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32223 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32227 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32230 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32231 include <bits/wordsize.h>. Check __x86_64__ instead of
32233 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32235 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32237 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32238 include <bits/wordsize.h>. Check __x86_64__ instead of
32240 (user_regs_struct): Use "__extension__ unsigned long long"
32241 instead of "unsigned long" if __x86_64__ is defined.
32242 (user): Likewise. Pad after pointer field if __ILP32__ is
32245 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32247 * configure.in (makeinfo): Require version 4.5 or later. Allow
32249 * configure: Regenerated.
32250 * manual/install.texi (texinfo): Increase version requirement to
32252 * INSTALL: Regenerated.
32254 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32258 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32260 * sysdeps/x86_64/x32/ffs.c: New file.
32262 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32264 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32265 defined. Use __syscall_ulong_t.
32266 (shminfo): Use __syscall_ulong_t.
32267 (shm_info): Likewise.
32269 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32272 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32274 (msgqnum_t): Use __syscall_ulong_t.
32275 (msglen_t): Likewise.
32276 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32279 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32280 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32282 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32284 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32285 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32287 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32290 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32291 include <bits/wordsize.h>. Check __x86_64__ instead of
32294 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32295 "unsigned long long int" if __x86_64__ is defined.
32296 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32299 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32300 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32304 (GET_PC): Cast to uintptr_t first.
32305 (GET_FRAME): Likewise.
32306 (GET_STACK): Likewise.
32308 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32310 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32311 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32312 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32313 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32315 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32316 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32317 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32318 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32320 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32321 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32323 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32324 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32325 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32326 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32327 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32328 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32329 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32330 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32331 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32332 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32333 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32334 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32335 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32336 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32338 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32340 * Makerules (+depfiles): Also collect depfiles from .oS in
32342 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32343 .oS, $(libnldbl-routines)).
32345 * Makerules (native-compile-mkdep-flags): Define.
32346 * sunrpc/Makefile (extra-objs): Add $(addprefix
32347 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32348 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32349 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32350 calling $(make-target-directory).
32352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32354 * bits/types.h (__snseconds_t): Removed.
32355 * time/time.h (struct timespec): Replace __snseconds_t with
32357 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32358 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32361 (__SNSECONDS_T_TYPE): Likewise.
32362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32363 (__SNSECONDS_T_TYPE): Likewise.
32364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32365 (__SNSECONDS_T_TYPE): Likewise.
32367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32369 * sysdeps/mach/hurd/bits/typesizes.h
32370 (__SYSCALL_SLONG_TYPE): New macro.
32371 (__SYSCALL_ULONG_TYPE): Likewise.
32373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32375 * bits/types.h (__syscall_slong_t): New type.
32376 (__syscall_ulong_t): Likewise.
32378 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32379 (__SYSCALL_ULONG_TYPE): Likewise.
32380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32381 (__SYSCALL_SLONG_TYPE): Likewise.
32382 (__SYSCALL_ULONG_TYPE): Likewise.
32383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32384 (__SYSCALL_SLONG_TYPE): Likewise.
32385 (__SYSCALL_ULONG_TYPE): Likewise.
32386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32387 (__SYSCALL_SLONG_TYPE): Likewise.
32388 (__SYSCALL_ULONG_TYPE): Likewise.
32390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32392 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32393 Add sigaltstack-offsets.sym.
32394 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32395 <sigaltstack-offsets.h>.
32396 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32397 longjmp_msg pointer.
32398 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32399 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32401 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32403 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32405 * elf/stackguard-macros.h: Remove file.
32406 * sysdeps/generic/stackguard-macros.h: New file.
32407 * sysdeps/i386/stackguard-macros.h: Likewise.
32408 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32409 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32410 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32411 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32412 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32413 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32414 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32415 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32416 <elf/stackguard-macros.h>.
32419 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32420 __aligned__ in attribute.
32421 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32422 (gregset_t): Likewise.
32424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32426 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32427 * sysdeps/x86_64/64/Implies-after: Here. New file.
32428 * sysdeps/x86_64/x32/Implies-after: New file.
32430 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32432 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32433 and access return value for _dl_profile_fixup. Use R10_LP to
32436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32438 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32442 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32443 * sysdeps/x86_64/x32/sysdep.h: New file.
32445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32447 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32448 * sysdeps/x86_64/setjmp.S: Likewise.
32450 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32453 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32454 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32455 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32456 remove unused global constant.
32458 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32460 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32461 include of <not-cancel.h>.
32463 2012-05-15 Roland McGrath <roland@hack.frob.com>
32465 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32467 2012-05-15 Jeff Law <law@redhat.com>
32468 Andreas Jaeger <aj@suse.de>
32471 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32473 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32474 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32475 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32476 code changing __hst_map_handle.map.
32478 2012-05-15 Roland McGrath <roland@hack.frob.com>
32480 * configure.in (sysnames): Look for Implies-before and Implies-after
32482 * configure: Regenerated.
32484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32486 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32487 8-byte data alignment with LP_SIZE alignment.
32489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32491 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32496 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32501 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32504 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32509 (stackinfo_sub_sp): Likewise.
32511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32518 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32528 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32532 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32533 into R11_LP and load __x86_64_shared_cache_size_half into
32536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32538 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32541 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32549 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32550 powerpc32/power7/fpu/s_logb.c via #include.
32551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32552 powerpc32/power7/fpu/s_logbf.c via #include.
32553 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32554 powerpc32/power7/fpu/s_logbl.c via #include.
32556 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32558 * README.libm: Remove file.
32560 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32562 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32563 count for x32. Use R*_LP and omit operand-size suffix.
32565 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32567 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32568 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32569 * sysdeps/x86_64/x32/shlib-versions: New file.
32571 2012-05-14 Roland McGrath <roland@hack.frob.com>
32573 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32574 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32575 Use _dl_fatal_printf instead.
32577 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32579 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32580 set if not set by the user. Do not allow for being unset.
32581 * sysdeps/unix/sysv/linux/configure: Regenerated.
32583 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32585 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32586 the `q' suffix from lea and replace .quad with ASM_ADDR.
32588 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32591 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32593 (PTR_DEMANGLE): Likewise.
32595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32597 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32599 (ASM_ADDR): Likewise.
32600 (RAX_LP): Likewise.
32601 (RBP_LP): Likewise.
32602 (RBX_LP): Likewise.
32603 (RCX_LP): Likewise.
32604 (RDI_LP): Likewise.
32605 (RSI_LP): Likewise.
32606 (RSP_LP): Likewise.
32609 (R10_LP): Likewise.
32610 (R10_LP): Likewise.
32611 (R11_LP): Likewise.
32612 (R12_LP): Likewise.
32613 (R13_LP): Likewise.
32614 (R14_LP): Likewise.
32615 (R15_LP): Likewise.
32617 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32619 * sysdeps/x86_64/x32/dl-machine.h: New file.
32621 2012-05-14 Andreas Jaeger <aj@suse.de>
32623 * manual/Makefile (subdir): Remove export of subdir.
32624 (all): Remove target.
32625 (.PHONY): Remove all from list.
32626 (mkinstalldirs): Remove.
32627 (.PHONY): Remove installdirs from list.
32628 ($(inst_infodir)/libc.info): Use make-target-directory.
32629 (installdirs): Remove.
32630 (subdir_%): Remove.
32631 (glibc-targets): Remove.
32634 ($(objpfx)stubs ../po/manual.pot): Remove.
32635 ($(objpfx)stamp%): Remove.
32636 (make-target-directory): Remove.
32637 (subdir_install): Remove.
32638 (routines): Remove.
32645 * manual/.gitignore: Remove, it's not needed anymore.
32646 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32648 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32650 (texis): Renamed to $(objpfx)texis.
32651 (texis-path): New, contains path to generated files.
32652 (chapters.%): Use texis-path for complete path, add extra argument
32654 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32655 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32656 (summary,texi, stamp-summary): Use complete path of
32657 files. Generate files in build dir.
32658 (dir-add.texi): Build in build dir.
32659 (libm-err.texi,stamp-libm-err): Likewise.
32660 (version.texi, stamp-version): Likewise.
32661 (.%c.texi): Likewise.
32662 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32663 (mostlyclean): Remove target.
32664 (realclean): Remove target.
32665 (generated): Add new variable with contents from mostlyclean and
32666 realclean, remove entries duplicated in common-mostlyclean, add
32667 stamp-libm-err and stamp-version.
32668 (generated-dirs): Add libc directory.
32669 ($(inst_infodir)/libc.info): Install files from build dir.
32671 * manual/install.texi (Configuring and compiling): Adjust since
32672 the info files are not part of the tar ball anymore.
32674 2012-05-14 Andreas Jaeger <aj@suse.de>
32676 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32679 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32683 to 2.2.0 where earlier.
32684 * sysdeps/unix/sysv/linux/configure: Regenerated.
32685 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32686 Remove conditional code.
32687 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32688 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32689 Remove conditional code.
32690 [!__NR_lchown]: Likewise.
32691 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32692 [__NR_lchown]: Likewise.
32693 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32694 comment referencing __ASSUME_LCHOWN_SYSCALL.
32695 * sysdeps/unix/sysv/linux/i386/sigaction.c
32696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32698 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32699 Remove conditional code.
32700 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32701 (__protocol_available): Remove #if 0 code.
32702 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32704 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32705 * sysdeps/unix/sysv/linux/kernel-features.h
32706 (__ASSUME_GETCWD_SYSCALL): Don't define.
32707 (__ASSUME_REALTIME_SIGNALS): Likewise.
32708 (__ASSUME_PREAD_SYSCALL): Likewise.
32709 (__ASSUME_PWRITE_SYSCALL): Likewise.
32710 (__ASSUME_POLL_SYSCALL): Likewise.
32711 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32712 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32714 (__ASSUME_SIOCGIFNAME): Don't define.
32715 (__ASSUME_MSG_NOSIGNAL): Likewise.
32716 (__ASSUME_SENDFILE): Define unconditionally.
32717 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32718 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32720 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32721 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32722 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32723 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32724 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32725 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32726 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32728 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32731 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32734 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32735 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32737 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32740 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32741 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32743 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32744 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32746 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32749 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32750 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32751 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32752 Remove conditional code.
32753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32754 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32755 Remove conditional code.
32756 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32757 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32758 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32759 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32760 Remove conditional code.
32761 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32762 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32763 Remove conditional code.
32764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32765 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32766 Remove conditional code.
32767 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32768 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32769 Remove conditional code.
32770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32771 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32772 Remove conditional code.
32773 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32774 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32775 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32776 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32777 * sysdeps/unix/sysv/linux/sigaction.c
32778 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32779 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32780 * sysdeps/unix/sysv/linux/sigpending.c
32781 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32782 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32783 * sysdeps/unix/sysv/linux/sigprocmask.c
32784 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32785 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32786 * sysdeps/unix/sysv/linux/sigsuspend.c
32787 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32788 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32789 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32790 (__libc_missing_rt_sigs): Remove.
32791 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32792 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32793 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32794 Remove conditional code.
32795 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32798 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32799 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32801 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32803 2012-05-14 Andreas Jaeger <aj@suse.de>
32805 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32806 it's not used in glibc.
32807 (__coshm1): Likewise.
32808 (__acosh1p): Likewise.
32811 * manual/string.texi (Copying and Concatenation): Add missing
32812 variable in concat example.
32813 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32815 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32818 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32819 __builtin_clzl with __builtin_clzll.
32821 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32824 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32827 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32829 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32830 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32831 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32832 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32834 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32836 * NEWS: Update ia64 info.
32838 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32840 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32843 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32845 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32846 * sysdeps/unix/syscalls.list (dup3): Likewise.
32847 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32848 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32850 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32852 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32853 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32855 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32857 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32859 (TLS_IE): Use mov/add instead of movq/addq to load thread
32861 (TLS_GD_PREFIX): New.
32864 2012-05-11 David S. Miller <davem@davemloft.net>
32866 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32867 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32868 (_FPU_SETCW): Likewise.
32870 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32872 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32873 is 32-byte aligned.
32875 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32878 * iconvdata/gb18030.c: Update tables.
32879 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32880 characters specially.
32881 (BODY for TO_LOOP): Add encoding of missing ranges.
32883 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32886 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32887 * sysdeps/mach/hurd/dup3.c: Likewise.
32888 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32889 * sysdeps/powerpc/memmove.c:: Likewise.
32891 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32893 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32894 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32896 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32898 * elf/elf.h (R_X86_64_RELATIVE64): New.
32899 (R_X86_64_NUM): Updated.
32900 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32901 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32902 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32903 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32904 tst-quad1pie tst-quad2pie
32905 (modules-names): Add tst-quadmod1 tst-quadmod2.
32906 ($(objpfx)tst-quad1): New dependency.
32907 ($(objpfx)tst-quad2): Likewise.
32908 ($(objpfx)tst-quad1pie): Likewise.
32909 ($(objpfx)tst-quad2pie): Likewise.
32910 * sysdeps/x86_64/tst-quad1.c: New file.
32911 * sysdeps/x86_64/tst-quad1pie.c: New file.
32912 * sysdeps/x86_64/tst-quad2.c: Likewise.
32913 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32914 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32915 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32916 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32917 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32921 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32922 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32923 * streams/stropts.h (t_scalar_t): Define type.
32925 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32926 (_PATH_PRESERVE): Set to "/var/lib".
32927 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32929 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32932 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32933 if __dir_mkfile succeeded.
32935 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32936 checking for _hurd_dtablesize. Unlock it right after having
32937 finished _hurd_dtable allocation.
32939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32941 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32942 * sysdeps/mach/hurd/configure: Regenerated.
32943 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32944 special-casing to...
32945 * sysdeps/gnu/configure.in: ... this new file.
32946 * sysdeps/unix/sysv/linux/configure: Regenerated.
32947 * sysdeps/gnu/configure: New generated file.
32949 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32950 for Linux: use nsec instead of usec, as well as:
32951 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32952 members of type struct timespec.
32953 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32955 (struct stat64): Likewise.
32956 (_STATBUF_ST_NSEC): New macro.
32957 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32959 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32960 __strtoul_internal rather than strtoul.
32962 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32964 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32967 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32969 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32970 which preserves existing values.
32971 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32973 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32975 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32976 TIMEOUT values. Return EINVAL for NFDS values either negative or
32977 greater than FD_SETSIZE.
32979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32981 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32982 allocated, call __vm_protect to finish enabling the existing space, and
32983 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32984 allocate the remainder.
32986 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32988 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32989 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32993 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32994 sysdeps/mach/hurd/readlink.c.
32996 * posix/tst-sysconf.c (posix_options): Only use
32997 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32998 _POSIX_SYNCHRONIZED_IO when they are defined
32999 * sysdeps/mach/hurd/bits/posix_opt.h:
33000 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33001 (_XOPEN_REALTIME): Undefine macro.
33002 (_XOPEN_REALTIME_THREADS): Undefine macro.
33003 (_XOPEN_SHM): Undefine macro.
33004 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33006 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33008 (_POSIX_ASYNC_IO): Undefine macro.
33009 (_POSIX_PRIORITIZED_IO): Undefine macro.
33010 (_POSIX_SPIN_LOCKS): Define macro to -1.
33012 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33013 SA_NODEFER, SA_RESETHAND.
33014 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33015 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33020 * elf/Makefile (pldd-modules): Define unconditionally.
33022 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33024 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33026 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33028 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33029 Return ENOENT when name is empty.
33030 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33034 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33036 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33038 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33040 Fix mlock in all cases except non-readable pages.
33041 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33042 instead of VM_PROT_ALL as parameter to __vm_wire function.
33044 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33045 (__mkdir): When path is `/', just fail with EEXIST.
33046 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33050 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33051 <sys/uio.h> (for writev).
33052 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33053 and <sys/param.h> (for MIN).
33055 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33057 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33058 REQUESTED_TIME. Properly set the remaining time and return EINTR
33061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33063 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33064 Depend on against $(link-rpcuserlibs).
33066 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33068 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33069 (__libc_stack_end): Do not use attribute_relro.
33070 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33071 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33072 to libthread-provided value.
33073 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33076 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33079 * bits/libc-lock.h (__libc_once_get): New macro.
33080 * sysdeps/mach/bits/libc-lock.h: Likewise.
33081 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33083 instead of using implementation details.
33085 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33086 * libio/freopen.c: Likewise.
33087 * libio/freopen64.c: Likewise.
33088 * misc/syslog.c: Likewise.
33089 * nscd/connections.c: Likewise.
33090 * nscd/netgroupcache.c: Likewise.
33091 * sysdeps/posix/getcwd.c: Likewise.
33093 2012-05-10 Roland McGrath <roland@hack.frob.com>
33095 * math/w_ilogbf.c: Add #include <limits.h>.
33097 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33099 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33100 path instead of returning without unlocking.
33102 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33103 immediate-write ioctls.
33104 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33108 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33109 __builtin_frame_address instead of making assumptions about the
33110 location of the return address relative to DATA. Force early load of
33111 the return address.
33112 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33113 __builtin_frame_address.
33116 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33117 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33118 implement dup3 and do some further code clean-ups.
33119 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33120 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33122 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33124 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33126 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33127 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33128 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33129 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33130 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33133 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33134 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33135 when handler == SIG_ERR, not when handler != SIG_ERR.
33137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33139 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33140 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33143 accept4 for GNU Hurd.
33144 * include/sys/socket.h (__libc_accept4): New prototype.
33145 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33146 to implement __libc_accept4.
33147 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33149 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33151 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33152 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33153 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33154 signal-defines.sym.
33156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33158 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33160 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33162 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33163 assertion on O_CLOEXEC flag.
33164 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33165 * hurd/intern-fd.c: Likewise.
33166 * hurd/port2fd.c: Likewise.
33168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33171 * bits/in.h (IPV6_PKTINFO): Define new macro.
33172 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33174 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33179 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33181 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33184 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33185 * math/libm-test.inc (logb_test) : Additional logb tests.
33187 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33188 Andreas Jaeger <aj@suse.de>
33190 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33191 * configure: Regenerated.
33192 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33193 * config.make.in (link-obsolete-rpc): New substituted variable.
33194 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33195 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33196 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33197 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33198 so that libc.a contains the symbols.
33199 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33200 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33201 * sunrpc/auth_none.c: Likewise.
33202 * sunrpc/auth_unix.c: Likewise.
33203 * sunrpc/authdes_prot.c: Likewise.
33204 * sunrpc/authuxprot.c: Likewise.
33205 * sunrpc/clnt_gen.c: Likewise.
33206 * sunrpc/clnt_perr.c: Likewise.
33207 * sunrpc/clnt_raw.c: Likewise.
33208 * sunrpc/clnt_simp.c: Likewise.
33209 * sunrpc/clnt_tcp.c: Likewise.
33210 * sunrpc/clnt_udp.c: Likewise.
33211 * sunrpc/clnt_unix.c: Likewise.
33212 * sunrpc/des_crypt.c: Likewise.
33213 * sunrpc/des_soft.c: Likewise.
33214 * sunrpc/get_myaddr.c: Likewise.
33215 * sunrpc/key_call.c: Likewise.
33216 * sunrpc/key_prot.c: Likewise.
33217 * sunrpc/netname.c: Likewise.
33218 * sunrpc/pm_getmaps.c: Likewise.
33219 * sunrpc/pm_getport.c: Likewise.
33220 * sunrpc/pmap_clnt.c: Likewise.
33221 * sunrpc/pmap_prot.c: Likewise.
33222 * sunrpc/pmap_prot2.c: Likewise.
33223 * sunrpc/pmap_rmt.c: Likewise.
33224 * sunrpc/publickey.c: Likewise.
33225 * sunrpc/rpc_cmsg.c: Likewise.
33226 * sunrpc/rpc_common.c: Likewise.
33227 * sunrpc/rpc_dtable.c: Likewise.
33228 * sunrpc/rpc_prot.c: Likewise.
33229 * sunrpc/rpc_thread.c: Likewise.
33230 * sunrpc/rtime.c: Likewise.
33231 * sunrpc/svc.c: Likewise.
33232 * sunrpc/svc_auth.c: Likewise.
33233 * sunrpc/svc_raw.c: Likewise.
33234 * sunrpc/svc_run.c: Likewise.
33235 * sunrpc/svc_tcp.c: Likewise.
33236 * sunrpc/svc_udp.c: Likewise.
33237 * sunrpc/svc_unix.c: Likewise.
33238 * sunrpc/svcauth_des.c: Likewise.
33239 * sunrpc/xcrypt.c: Likewise.
33240 * sunrpc/xdr.c: Likewise.
33241 * sunrpc/xdr_array.c: Likewise.
33242 * sunrpc/xdr_float.c: Likewise.
33243 * sunrpc/xdr_intXX_t.c: Likewise.
33244 * sunrpc/xdr_mem.c: Likewise.
33245 * sunrpc/xdr_rec.c: Likewise.
33246 * sunrpc/xdr_ref.c: Likewise.
33247 * sunrpc/xdr_sizeof.c: Likewise.
33248 * sunrpc/xdr_stdio.c: Likewise.
33250 2012-05-10 Roland McGrath <roland@hack.frob.com>
33252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33253 change. Update copyright years.
33255 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33257 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33259 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33260 Joseph Myers <joseph@codesourcery.com>
33261 Paul Pluzhnikov <ppluzhnikov@google.com>
33264 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33266 [cross-compiling] (extra-libs): Likewise.
33267 [cross-compiling] (extra-libs-others): Likewise.
33268 [cross-compiling] (librpcsvc-routines): Likewise.
33269 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33270 [cross-compiling] (omit-deps): Likewise.
33271 (sunrpc-CPPFLAGS): New variable.
33272 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33273 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33274 (cross-rpcgen-objs): New variable.
33275 (extra-objs): Append $(cross-rpcgen-objs).
33276 ($(cross-rpcgen-objs)): New rule.
33277 ($(objpfx)cross-rpcgen): Likewise.
33278 (rpcgen-cmd): Define to use $(built-program-file). Expand
33280 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33281 ($(objpfx)x%.stmp): Likewise.
33282 * sunrpc/proto.h [IS_IN_build] (_): Define.
33283 [IS_IN_build] (_libc_intl_domainname): Likewise.
33285 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33287 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33288 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33289 and R_X86_64_TPOFF64.
33291 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33293 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33294 sysdeps/unix/sysv/syscalls.list.
33297 * sysdeps/unix/sysv/syscalls.list: Remove file.
33299 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33302 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33303 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33304 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33305 (__LC_IDENTIFICATION): Make these macros useful in #if
33306 expressions, as required by C99.
33308 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33310 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33311 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33314 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33316 * stdlib/longlong.h: Updated from GCC.
33318 2012-05-09 Andreas Jaeger <aj@suse.de>
33320 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33321 default is first entry.
33322 (run_mode): Set type.
33323 (main): Remove informal message about syslog.
33324 (options): Fix typo.
33327 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33330 (llrintf): Likewise.
33331 (llrint): Likewise.
33334 (nearbyint): Likewise.
33335 (nearbyintf): Likewise.
33337 2012-05-09 Andreas Jaeger <aj@suse.de>
33338 Pedro Alves <palves@redhat.com>
33340 * nscd/nscd.c (run_mode): Use enum.
33341 (main): Cleanup coding style issue.
33343 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33344 Andreas Jaeger <aj@suse.de>
33346 * nscd/nscd.c (go_background): Replaced with...
33347 (run_mode): ... this.
33348 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33349 (options): Add -F --foreground.
33350 (main): Implement it.
33351 (parse_opt): Parse it.
33353 2012-05-09 Andreas Jaeger <aj@suse.de>
33356 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33357 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33358 -Wconversion warning.
33359 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33362 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33364 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33366 (LC_ALL): Use macro-int-constant.
33367 (LC_COLLATE): Likewise.
33368 (LC_CTYPE): Likewise.
33369 (LC_MESSAGES): Likewise.
33370 (LC_MONETARY): Likewise.
33371 (LC_NUMERIC): Likewise.
33372 (LC_TIME): Likewise.
33373 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33374 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33376 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33378 [C99-based standards] (float_t): Expect type.
33379 [C99-based standards] (double_t): Expect type.
33380 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33382 [C99-based standards] (HUGE_VALL): Likewise.
33383 [C99-based standards] (INFINITY): Likewise.
33384 [C99-based standards] (NAN): Likewise.
33385 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33386 [C99-based standards] (FP_NAN): Likewise.
33387 [C99-based standards] (FP_NORMAL): Likewise.
33388 [C99-based standards] (FP_SUBNORMAL): Likewise.
33389 [C99-based standards] (FP_ZERO): Likewise.
33390 [C99-based standards] (FP_FAST_FMA): Use
33391 optional-macro-int-constant. Specify type. Require == 1.
33392 [C99-based standards] (FP_FAST_FMAF): Likewise.
33393 [C99-based standards] (FP_FAST_FMAL): Likewise.
33394 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33395 [C99-based standards] (FP_ILOGBNAN): Likewise.
33396 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33398 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33399 [C99-based standards] (math_errhandling): Specify type.
33400 [ISO99 || ISO11] (signgam): Do not allow.
33401 [non-C99-based standards] (copysignf): Do not allow.
33402 [non-C99-based standards] (exp2f): Likewise.
33403 [non-C99-based standards] (log2f): Likewise.
33404 [non-C99-based standards] (modff): Allow.
33405 [non-C99-based standards] (erff): Do not allow.
33406 [non-C99-based standards] (erfcf): Likewise.
33407 [non-C99-based standards] (gammaf): Likewise.
33408 [non-C99-based standards] (hypotf): Likewise.
33409 [non-C99-based standards] (j0f): Likewise.
33410 [non-C99-based standards] (j1f): Likewise.
33411 [non-C99-based standards] (jnf): Likewise.
33412 [non-C99-based standards] (lgammaf): Likewise.
33413 [non-C99-based standards] (tgammaf): Likewise.
33414 [non-C99-based standards] (y0f): Likewise.
33415 [non-C99-based standards] (y1f): Likewise.
33416 [non-C99-based standards] (ynf): Likewise.
33417 [non-C99-based standards] (isnanf): Likewise.
33418 [non-C99-based standards] (acoshf): Likewise.
33419 [non-C99-based standards] (asinhf): Likewise.
33420 [non-C99-based standards] (atanhf): Likewise.
33421 [non-C99-based standards] (cbrtf): Likewise.
33422 [non-C99-based standards] (expm1f): Likewise.
33423 [non-C99-based standards] (ilogbf): Likewise.
33424 [non-C99-based standards] (log1pf): Likewise.
33425 [non-C99-based standards] (logbf): Likewise.
33426 [non-C99-based standards] (nextafterf): Likewise.
33427 [non-C99-based standards] (remainderf): Likewise.
33428 [non-C99-based standards] (rintf): Likewise.
33429 [non-C99-based standards] (scalbf): Likewise.
33430 [non-C99-based standards] (copysignl): Likewise.
33431 [non-C99-based standards] (exp2l): Likewise.
33432 [non-C99-based standards] (log2l): Likewise.
33433 [non-C99-based standards] (modfl): Allow.
33434 [non-C99-based standards] (erfl): Do not allow.
33435 [non-C99-based standards] (erfcl): Likewise.
33436 [non-C99-based standards] (gammal): Likewise.
33437 [non-C99-based standards] (hypotl): Likewise.
33438 [non-C99-based standards] (j0l): Likewise.
33439 [non-C99-based standards] (j1l): Likewise.
33440 [non-C99-based standards] (jnl): Likewise.
33441 [non-C99-based standards] (lgammal): Likewise.
33442 [non-C99-based standards] (tgammal): Likewise.
33443 [non-C99-based standards] (y0l): Likewise.
33444 [non-C99-based standards] (y1l): Likewise.
33445 [non-C99-based standards] (ynl): Likewise.
33446 [non-C99-based standards] (isnanl): Likewise.
33447 [non-C99-based standards] (acoshl): Likewise.
33448 [non-C99-based standards] (asinhl): Likewise.
33449 [non-C99-based standards] (atanhl): Likewise.
33450 [non-C99-based standards] (cbrtl): Likewise.
33451 [non-C99-based standards] (expm1l): Likewise.
33452 [non-C99-based standards] (ilogbl): Likewise.
33453 [non-C99-based standards] (log1pl): Likewise.
33454 [non-C99-based standards] (logbl): Likewise.
33455 [non-C99-based standards] (nextafterl): Likewise.
33456 [non-C99-based standards] (remainderl): Likewise.
33457 [non-C99-based standards] (rintl): Likewise.
33458 [non-C99-based standards] (scalbl): Likewise.
33459 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33460 [non-C99-based standards] (FP_*): Do not allow.
33461 [C99-based standards] (FP_*): Change to
33462 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33463 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33465 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33466 (SIG_ERR): Likewise.
33467 [X/Open-based standards] (SIG_HOLD): Likewise.
33468 (SIG_IGN): Likewise.
33469 (SIGABRT): Use macro-int-constant. Specify type. Require
33471 (SIGFPE): Likewise.
33472 (SIGILL): Likewise.
33473 (SIGINT): Likewise.
33474 (SIGSEGV): Likewise.
33475 (SIGTER): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33494 [X/Open-based standards] (SIGTRAP): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33499 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33502 2012-05-08 Ian Wienand <ianw@vmware.com>
33505 * time/tzset.c (__tzset_parse_tz): Update default rules for
33506 daylight time changes in the Energy Policy Act of 2005.
33508 2012-05-09 Andreas Jaeger <aj@suse.de>
33511 * elf/ldconfig.c (parse_conf): Change string to make clear that
33512 ldconfig only issued a warning if ld.so.conf does not exist.
33514 2012-05-08 David S. Miller <davem@davemloft.net>
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33517 movxtod instead of popping the value on the stack.
33519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33521 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33523 * config.h.in: Add HAVE_ARM_PCS_VFP.
33525 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33528 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33529 checking but the checks are disabled for any reason.
33531 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33533 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33534 and ELF64_R_TYPE with ELFW(R_TYPE).
33536 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33538 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33539 (ulimit): Likewise.
33541 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33542 (settimeofday): Likewise.
33544 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33546 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33547 a struct th_u2 inside the union, and move tu_block/tu_code into
33548 a new th_u3 union of tu_block/tu_code inside of that. Move
33549 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33550 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33551 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33552 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33553 (th_stuff): Change to th_u1.tu_stuff.
33555 (th_msg): Change to th_u1.th_u2.tu_data.
33557 2012-05-07 David S. Miller <davem@davemloft.net>
33559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33562 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33563 (SETUP_PIC_REG): Use it.
33564 (SETUP_PIC_REG_LEAF): Use it.
33566 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33570 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33572 (EXPL_FINITE): Likewise.
33573 (FLDLOG): Likewise.
33574 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33575 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33577 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33579 (EXPL_FINITE): Likewise.
33580 (FLDLOG): Likewise.
33581 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33582 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33584 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33585 test of -max_value argument for long double.
33586 * sysdeps/i386/fpu/libm-test-ulps: Update.
33587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33589 2012-05-06 David S. Miller <davem@davemloft.net>
33591 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33592 quad soft-float symbols whose references which are compiler
33594 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33596 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33602 (EXPL_FINITE): Likewise.
33603 (FLDLOG): Likewise.
33606 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33607 Adjust comments for base varying.
33608 (__expl_finite): Change alias to EXPL_FINITE.
33609 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33611 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33612 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33613 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33614 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33615 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33617 (EXPL_FINITE): Likewise.
33618 (FLDLOG): Likewise.
33621 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33622 Adjust comments for base varying.
33623 (__expl_finite): Change alias to EXPL_FINITE.
33624 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33629 * math/libm-test.inc (check_float_internal): Correct ulp
33630 calculation for subnormal expected results.
33632 2012-05-06 Andreas Jaeger <aj@suse.de>
33634 * Makeconfig (+math-flags): New, set to -frounding-math.
33635 (+cflags): Add +math-flags so that all of glibc gets compiled with
33638 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33640 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33642 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33648 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33649 (__ieee754_expl): Allow for and saturate large arguments.
33650 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33651 (u_threshold): Likewise.
33652 (__exp): Call __ieee754_exp before checking for overflow and
33654 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33655 (u_threshold): Likewise.
33656 (__expf): Call __ieee754_expf before checking for overflow and
33658 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33659 (u_threshold): Likewise.
33660 (__expl): Call __ieee754_expl before checking for overflow and
33662 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33663 (__ieee754_expl): Allow for and saturate large arguments.
33664 * math/libm-test.inc (exp_test): Add another test. Do not allow
33665 missing overflow exception on overflow.
33666 (expm1_test): Do not allow missing overflow exception on overflow.
33668 * sysdeps/i386/fpu/e_expl.c: Move to ...
33669 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33670 rather than using inline asm.
33671 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33672 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33673 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33675 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33678 (signal): Likewise.
33682 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33684 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33685 sysdeps/unix/common/syscalls.list.
33686 (fchmod): Likewise.
33687 (fchown): Likewise.
33688 (ftruncate): Likewise.
33689 (getrusage): Likewise.
33690 (gettimeofday): Likewise.
33691 (setpgid): Likewise.
33692 (setregid): Likewise.
33693 (setreuid): Likewise.
33694 (sigaction): Likewise.
33695 (truncate): Likewise.
33696 (vhangup): Likewise.
33697 * sysdeps/unix/common/syscalls.list: Remove file.
33698 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33699 * sysdeps/unix/sysv/linux/Implies: Likewise.
33701 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33703 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33705 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33709 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33712 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33715 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33718 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33721 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33724 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33727 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33731 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33735 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33738 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33742 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33746 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33748 * sysdeps/unix/common/bits/dirent.h: Remove file.
33749 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33751 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33752 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33753 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33754 * sysdeps/unix/bsd/isatty.c: Likewise.
33755 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33756 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33757 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33759 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33762 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33763 long double comparison inaccuracies.
33764 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33767 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33769 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33772 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33776 nonzero digits before rounding a hex value.
33777 * stdlib/tst-strtod.c (tests): Add another test.
33779 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33781 * sysdeps/s390/fpu/libm-test-ulps: Update.
33783 2012-05-03 Andreas Jaeger <aj@suse.de>
33785 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33786 does not get optimized out.
33787 (malloc_opt_barrier): New.
33789 2012-05-03 Andreas Jaeger <aj@suse.de>
33790 Roland McGrath <roland@hack.frob.com>
33792 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33793 intermediate file deletion.
33794 (generated): Add .symlist files.
33796 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33799 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33800 Redirect under this condition.
33801 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33802 [__USE_GNU] (__dprintf_chk): Not under this condition.
33803 [__USE_GNU] (__vdprintf_chk): Likewise.
33804 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33805 under this condition.
33806 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33807 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33808 [__USE_XOPEN2K8] (vdprintf): Likewise.
33809 [__USE_GNU] (__dprintf_chk): Not under this condition.
33810 [__USE_GNU] (__vdprintf_chk): Likewise.
33811 [__USE_GNU] (dprintf): Likewise.
33812 [__USE_GNU] (vdprintf): Likewise.
33814 2012-05-03 Roland McGrath <roland@hack.frob.com>
33816 * elf/Makefile (common-generated): Set this instead of generated for
33817 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33818 $(all-built-dso)-derived lists.
33820 2012-05-03 Andreas Jaeger <aj@suse.de>
33822 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * FAQ.in: Likewise.
33826 * scripts/gen-FAQ.pl: Likewise.
33827 * manual/install.texi (Installation): Point to online location of
33829 * Makefile (files-for-dist): Remove FAQ.
33832 2012-05-02 Allan McRae <allan@archlinux.org>
33834 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33835 (LDFLAGS-reldepmod5.so): Likewise.
33836 (LDFLAGS-reldep6mod1.so): Likewise.
33837 (LDFLAGS-reldep6mod4.so): Likewise.
33838 (LDFLAGS-reldep8mod3.so): Likewise.
33839 (LDFLAGS-unload4mod1.so): Likewise.
33840 (LDFLAGS-unload4mod2.so): Likewise.
33841 (LDFLAGS-tst-initorder): Likewise.
33842 (LDFLAGS-tst-initordera2.so): Likewise.
33843 (LDFLAGS-tst-initordera3.so): Likewise.
33844 (LDFLAGS-tst-initordera4.so): Likewise.
33845 (LDFLAGS-tst-initorderb2.so): Likewise.
33846 (LDFLAGS-noload): Likewise.
33847 (LDFLAGS-next): Likewise.
33848 (LDFLAGS-order2mod1.so): Likewise.
33849 (LDFLAGS-order2mod2.so): Likewise.
33850 (LDFLAGS-tst-initorder2): Likewise.
33851 (LDFLAGS-tst-initorder2a.so): Likewise.
33852 (LDFLAGS-tst-initorder2b.so): Likewise.
33853 (LDFLAGS-tst-initorder2c.so): Likewise.
33854 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33856 2012-05-02 David S. Miller <davem@davemloft.net>
33858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33860 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33863 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33865 2012-05-02 Andreas Jaeger <aj@suse.de>
33867 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33868 since we manipulate rounding mode.
33869 (CPPFLAGS-test-idouble.c): Likewise.
33870 (CPPFLAGS-test-ifloat.c): Likewise.
33871 (CFLAGS-test-ldouble.c): Likewise.
33872 (CFLAGS-test-double.c): Likewise.
33873 (CFLAGS-test-float.c): Likewise.
33874 (CFLAGS-test-misc.c): Likewise.
33875 (CFLAGS-test-test-fenv.c): Likewise.
33877 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33881 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33882 comparisons to determine direction to adjust input.
33884 2012-05-01 Roland McGrath <roland@hack.frob.com>
33886 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33887 output to the target.
33889 * scripts/localplt.awk: New file.
33890 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33891 (check-localplt-CFLAGS): Variable removed.
33892 ($(all-built-dso:=.jmprel)): New static pattern rule.
33893 (generated): Add those targets.
33894 (localplt-built-dso): New variable.
33895 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33897 * elf/check-localplt.c: File removed.
33899 * scripts/check-execstack.awk: New file.
33900 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33901 (check-execstack-CFLAGS): Variable removed.
33902 ($(objpfx)check-execstack.h): Target removed.
33903 ($(objpfx)execstack-default): New target.
33904 (generated): Add that instead of check-execstack.h.
33905 ($(all-built-dso:=.phdr)): New static pattern rule.
33906 (generated): Add those targets.
33907 * elf/check-execstack.c: File removed.
33909 * scripts/check-textrel.awk: New file.
33910 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33911 (check-textrel-CFLAGS): Variable removed.
33912 (all-built-dso): Use := to define.o
33913 ($(all-built-dso:=.dyn)): New static pattern rule.
33914 (generated): Add those targets.
33915 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33916 * config.make.in (READELF): New substituted variable.
33917 * elf/check-textrel.c: File removed.
33919 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33921 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33923 * conform/data/ctype.h-data [C99-based standards] (isblank):
33925 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33926 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33927 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33928 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33929 Specify type. Require positive value.
33930 (EILSEQ): Likewise.
33931 (ERANGE): Likewise.
33932 [ISO || POSIX] (EILSEQ): Do not expect.
33933 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33934 Specify type. Require positive value.
33935 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33936 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33937 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33938 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33939 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33941 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33943 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33944 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33946 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33947 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33948 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33949 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33950 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33951 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33952 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33953 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33954 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33955 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33956 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33957 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34009 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34010 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34011 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34013 (FLT_ROUNDS): Expect as macro, not constant.
34014 (FLT_MANT_DIG): Use macro-int-constant.
34015 (DBL_MANT_DIG): Likewise.
34016 (LDBL_MANT_DIG): Likewise.
34017 (FLT_DIG): Likewise.
34018 (DBL_DIG): Likewise.
34019 (LDBL_DIG): Likewise.
34020 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34021 (DBL_MIN_EXP): Likewise.
34022 (LDBL_MIN_EXP): Likewise.
34023 (FLT_MAX_EXP): Use macro-int-constant.
34024 (DBL_MAX_EXP): Likewise.
34025 (LDBL_MAX_EXP): Likewise.
34026 (FLT_MAX_10_EXP): Likewise.
34027 (DBL_MAX_10_EXP): Likewise.
34028 (LDBL_MAX_10_EXP): Likewise.
34029 (FLT_MAX): Use macro-constant.
34030 (DBL_MAX): Likewise.
34031 (LDBL_MAX): Likewise.
34032 (FLT_EPSILON): Use macro-constant. Give upper bound.
34033 (DBL_EPSILON): Likewise.
34034 (LDBL_EPSILON): Likewise.
34035 (FLT_MIN): Likewise.
34036 (DBL_MIN): Likewise.
34037 (LDBL_MIN): Likewise.
34038 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34039 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34040 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34041 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34042 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34043 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34044 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34045 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34046 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34047 [ISO11] (FLT_TRUE_MIN): Likewise.
34048 [ISO11] (LDBL_TRUE_MIN): Likewise.
34049 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34050 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34051 (SCHAR_MIN): Use macro-int-constant. Specify type.
34052 (SCHAR_MAX): Likewise.
34053 (UCHAR_MAX): Likewise.
34054 (CHAR_MIN): Likewise.
34055 (CHAR_MAX): Likewise.
34056 (MB_LEN_MAX): Use macro-int-constant.
34057 (SHRT_MIN): Use macro-int-constant. Specify type.
34058 (SHRT_MAX): Likewise.
34059 (USHRT_MAX): Likewise.
34060 (INT_MAX): Likewise.
34061 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34063 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34065 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34067 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34068 bound negative. Suffix upper bound with "L".
34069 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34071 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34073 [C99-based standards] (LLONG_MAX): Likewise.
34074 [C99-based standards] (ULLONG_MAX): Likewise.
34075 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34077 [ISO11] (max_align_t): Require type.
34078 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34080 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34081 from $CFLAGS, without defining away __attribute__ calls.
34082 (checknamespace): Use $CFLAGS_namespace.
34084 * conform/conformtest.pl (@keywords): Only include C99 keywords
34085 for standards based on C99 or C11.
34087 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34089 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34092 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34093 usability of symbols in #if.
34095 * conform/conformtest.pl: If macro or constant types start
34096 "promoted:", expect the symbol to be of the following type
34097 promoted by the integer promotions.
34099 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34100 in one place. Also handle "macro-constant".
34102 * conform/conformtest.pl: Only accept expected macro values with
34103 "==". Parse all "macro" lines in one place.
34104 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34106 * conform/conformtest.pl: Handle braced types on "constant" lines
34107 instead of handling "typed-constant".
34108 * conform/data/signal.h-data: Use "constant" instead of
34111 * conform/conformtest.pl: Handle "optional-" at start of lines in
34112 one place rather than duplicating several cases. Handle each
34113 format of "macro" line with initial "optional-".
34115 * conform/conformtest.pl: Only accept expected constant or
34116 optional-constant values with "==". Parse all "constant" lines in
34117 one place. Parse all "optional-constant" lines in one place.
34118 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34119 * conform/data/fmtmsg.h-data: Likewise.
34120 * conform/data/netinet/in.h-data: Likewise.
34121 * conform/data/tar.h-data: Likewise.
34122 * conform/data/limits.h-data: Use "==" form on "constant" and
34123 "optional-constant" lines.
34125 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34126 Use -std=c99 for XOPEN2K.
34127 (@knownproblems): Remove.
34128 (newtoken): Don't check %isknown.
34130 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34131 Do not expect macro.
34132 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34133 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34134 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34135 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34136 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34137 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34138 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34139 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34140 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34141 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34142 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34144 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34145 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34146 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34147 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34148 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34149 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34150 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34151 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34160 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34162 [XPG3] (acosh): Likewise.
34163 [XPG3] (asinh): Likewise.
34164 [XPG3] (atanh): Likewise.
34165 [XPG3] (cbrt): Likewise.
34166 [XPG3] (expm1): Likewise.
34167 [XPG3] (ilogb): Likewise.
34168 [XPG3] (log1p): Likewise.
34169 [XPG3] (logb): Likewise.
34170 [XPG3] (nextafter): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34173 [XPG3] (remainder): Likewise.
34174 [XPG3] (rint): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34182 [UNIX98 || XOPEN2K] (scalb): Expect.
34183 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34184 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34195 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34196 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34205 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34206 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34321 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34322 _XOPEN_SOURCE_EXTENDED for XPG4.
34324 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34326 * Makeconfig (localtime): Remove variable.
34327 (inst_localtime-file): Likewise.
34329 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34350 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34354 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34355 comparisons to determine direction to adjust input.
34356 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34357 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34360 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34364 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34365 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34367 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34369 * math/libm-test.inc (nexttoward_test): Add more tests.
34371 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34375 in version GLIBC_2.1, not GLIBC_2.0.
34376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34379 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34382 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34384 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34385 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34386 * math/libm-test.inc (acos_test): Add more tests.
34387 (asin_test): Likewise.
34388 * sysdeps/i386/fpu/libm-test-ulps: Update.
34389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34392 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34394 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34395 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34396 * math/libm-test.inc (acos_test_tonearest): New function.
34397 (acos_test_towardzero): Likewise.
34398 (acos_test_downward): Likewise.
34399 (acos_test_upward): Likewise.
34400 (asin_test_tonearest): Likewise.
34401 (asin_test_towardzero): Likewise.
34402 (asin_test_downward): Likewise.
34403 (asin_test_upward): Likewise.
34404 (main): Call the new functions.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34410 * math/e_exp10.c: Include <float.h>.
34411 (__ieee754_exp10): Handle underflow here rather than multiplying
34412 large negative argument by M_LN10.
34413 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34415 * math/e_exp10l.c: Include <float.h>.
34416 (__ieee754_exp10l): Handle underflow here rather than multiplying
34417 large negative argument by M_LN10l.
34418 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34419 spurious overflow exception on underflow.
34421 2012-04-29 Marek Polacek <polacek@redhat.com>
34423 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34424 (__fortify_function): New macro.
34425 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34426 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34427 __extern_always_inline.
34428 * libio/bits/stdio2.h: Likewise.
34429 * libio/bits/stdio.h: Likewise.
34430 * string/string.h: Likewise.
34431 * string/bits/string3.h: Likewise.
34432 * include/stdio.h: Likewise.
34433 * stdlib/bits/stdlib.h: Likewise.
34434 * stdlib/stdlib.h: Likewise.
34435 * rt/bits/mqueue2.h: Likewise.
34436 * rt/mqueue.h: Likewise.
34437 * posix/bits/unistd.h: Likewise.
34438 * posix/unistd.h: Likewise.
34439 * io/bits/poll2.h: Likewise.
34440 * io/bits/fcntl2.h: Likewise.
34441 * io/fcntl.h: Likewise.
34442 * io/sys/poll.h: Likewise.
34443 * misc/bits/syslog.h: Likewise.
34444 * misc/bits/syslog-ldbl.h: Likewise.
34445 * misc/sys/syslog.h: Likewise.
34446 * socket/bits/socket2.h: Likewise.
34447 * socket/sys/socket.h: Likewise.
34448 * debug/tst-chk1.c: Likewise.
34449 * wcsmbs/bits/wchar2.h: Likewise.
34450 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34451 * wcsmbs/wchar.h: Likewise.
34453 2012-04-29 Andreas Jaeger <aj@suse.de>
34455 * Makerules (tests): Remove enable-check-abi protection.
34456 (check-abi-warn): Remove.
34457 (check-abi-%): Remove check-abi-warn usage.
34459 * configure.in: Remove check-abi configure option.
34460 * configure: Regenerated.
34461 * config.make.in (enable-check-abi): Remove.
34463 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34466 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34467 double functions to double *_finite functions.
34470 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34471 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34473 * stdio-common/Makefile (tests): Add tst-sprintf3.
34474 * stdio-common/tst-sprintf3.c: New file.
34476 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34477 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34479 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34481 * conform/conformtest.pl: Remove duplicate typed-constant
34484 2012-04-28 David S. Miller <davem@davemloft.net>
34486 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34487 (check-abi-%): Remove AWK script prerequisite and explicit
34489 (check-abi): Rewrite to just diff the symlist with the abilist.
34490 (config-tls, config-abi-config): Delete, no longer used.
34491 (update-abi-%): Remove AWK script and explicit abilist directory.
34492 (update-abi): Rewrite to simply compare and conditionally copy the
34493 symlist and the sysdep abilist file. Remove update-abi-config
34495 * abilist/ld.abilist: Remove.
34496 * abilist/libBrokenLocale.abilist: Remove.
34497 * abilist/libanl.abilist: Remove.
34498 * abilist/libcrypt.abilist: Remove.
34499 * abilist/libdl.abilist: Remove.
34500 * abilist/librt.abilist: Remove.
34501 * abilist/libthread_db.abilist: Remove.
34502 * abilist/libutil.abilist: Remove.
34503 * scripts/extract-abilist.awk: Remove.
34504 * scripts/merge-abilist.awk: Remove.
34505 * sysdeps/generic/libcidn.abilist: New file.
34506 * sysdeps/generic/libnss_compat.abilist: New file.
34507 * sysdeps/generic/libnss_db.abilist: New file.
34508 * sysdeps/generic/libnss_dns.abilist: New file.
34509 * sysdeps/generic/libnss_files.abilist: New file.
34510 * sysdeps/generic/libnss_hesiod.abilist: New file.
34511 * sysdeps/generic/libnss_nis.abilist: New file.
34512 * sysdeps/generic/libnss_nisplus.abilist: New file.
34513 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34514 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34515 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34517 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34518 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34519 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34520 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34521 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34522 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34523 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34524 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34525 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34527 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34528 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34529 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34530 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34532 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34533 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34534 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34535 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34536 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34537 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34539 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34540 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34541 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34543 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34544 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34646 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34647 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34648 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34651 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34652 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34653 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34654 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34655 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34656 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34657 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34658 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34659 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34711 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34713 * conform/conformtest.pl: Fix typo in handling typed-constant from
34716 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34718 * README: Cut down references to pre-2.6 Linux kernels and
34719 Linuxthreads. Update lists of configurations in libc and ports
34720 and sort alphabetically. Say "or newer" with Linux kernel version
34723 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34725 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34728 * math/libm-test.inc (logb_test_downward): New test to expose
34729 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34732 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34735 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34737 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34738 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34740 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34742 * sysdeps/unix/i386/brk.S: Remove file.
34743 * sysdeps/unix/i386/dl-brk.S: Likewise.
34744 * sysdeps/unix/i386/pipe.S: Likewise.
34745 * sysdeps/unix/i386/sigreturn.S: Likewise.
34746 * sysdeps/unix/i386/syscall.S: Likewise.
34747 * sysdeps/unix/i386/vfork.S: Likewise.
34748 * sysdeps/unix/i386/wait.S: Likewise.
34750 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34751 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34753 * configure.in (arm*-none*): Do not allow without
34754 --enable-hacker-mode.
34755 (netbsd*): Remove case setting base_os.
34756 (386bsd*): Likewise.
34757 (freebsd*): Likewise.
34760 (sunos*): Likewise.
34761 (ultrix*): Likewise.
34762 (newsos*): Likewise.
34763 (dynix*): Likewise.
34769 (minix*): Likewise.
34770 (irix4*): Likewise.
34771 (irix6*): Likewise.
34772 (solaris[2-9]*): Likewise.
34774 * configure: Regenerated.
34776 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34779 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34780 overflow or cancellation in calculating denominator.
34781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34783 down expression to avoid unexpected rounding in newer GCCs.
34784 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34786 2012-04-26 David S. Miller <davem@davemloft.net>
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34789 long-double compat symbols.
34790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34804 2012-04-25 David S. Miller <davem@davemloft.net>
34806 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34807 HWCAP_* values only after the memory barriers have been defined.
34808 (atomic_full_barrier): Define.
34809 (atomic_read_barrier): Define.
34810 (atomic_write_barrier): Define.
34812 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34814 * shlib-versions: Add libgcc_s version information.
34815 * sysdeps/generic/libgcc_s.h: Remove.
34816 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34818 * sysdeps/gnu/unwind-resume.c: Likewise.
34819 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34821 2012-04-25 David S. Miller <davem@davemloft.net>
34823 * sysdeps/unix/sparc/brk.S: Delete.
34824 * sysdeps/unix/sparc/dl-brk.S: Delete.
34825 * sysdeps/unix/sparc/pipe.S: Delete.
34826 * sysdeps/unix/sparc/sysdep.S: Delete.
34827 * sysdeps/unix/sparc/sysdep.h: Delete.
34828 * sysdeps/unix/sparc/vfork.S: Delete.
34829 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34830 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34831 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34832 (ret_ERRVAL, r0, r1, MOVE): Define.
34833 (JUMPTARGET): Remove.
34834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34835 sysdeps/unix/sparc/sysdep.h
34836 (ENTRY, END): Remove.
34837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34839 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34841 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34842 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34845 * timezone/README: Update upstream location and email address for
34847 * timezone/zdump.c: Update from tzcode 2012b.
34848 * timezone/zic.c: Likewise.
34850 * configure.in (libc_cv_as_needed): Remove test.
34851 * configure: Regenerated.
34852 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34853 conditional definition.
34854 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34855 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34856 * config.make.in (have-as-needed): Remove variable.
34858 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34859 Paul Pluzhnikov <ppluzhnikov@google.com>
34861 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34864 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34866 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34867 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34868 * sysdeps/sh/strlen.S: Likewise.
34870 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34872 * sysdeps/unix/fork.S: Remove file.
34873 * sysdeps/unix/i386/fork.S: Likewise.
34874 * sysdeps/unix/sparc/fork.S: Likewise.
34876 * sysdeps/unix/system.c: Remove file.
34877 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34879 * sysdeps/unix/getegid.S: Remove file.
34880 * sysdeps/unix/geteuid.S: Likewise.
34882 2012-04-24 Roland McGrath <roland@hack.frob.com>
34884 * scripts/check-localplt.awk: New file.
34885 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34887 * scripts/data/localplt-generic.data: Add a comment.
34889 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34890 NODE when __dir_mkfile failed.
34891 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34892 Reported by Ludovic Courtès <ludo@gnu.org>.
34894 2012-04-24 Andreas Jaeger <aj@suse.de>
34896 * Makerules (common-clean): Also remove gen-as-const-headers
34899 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34901 * Makerules (native-compile): Do not change working directory for
34902 build. Use $(OUTPUT_OPTION) in command.
34903 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34905 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34908 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34909 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34910 * math/libm-test.inc (floor_test): Add more tests.
34911 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34913 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34915 * sysdeps/unix/getdents.c: Remove file.
34916 * sysdeps/unix/sysv/getdents.c: Likewise.
34917 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34919 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34920 sysdeps/unix/mman/syscalls.list.
34922 (mprotect): Likewise.
34924 (munmap): Likewise.
34925 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34926 * sysdeps/unix/mman/syscalls.list: Remove.
34927 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34929 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34930 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34931 * configure: Regenerated.
34932 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34933 $(libgcc_s_suffix).
34934 * config.make.in (libgcc_s_suffix): Remove variable.
34936 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34938 * sysdeps/unix/sysv/gethostname.c: Move to ...
34939 * sysdeps/posix/gethostname.c: ... here.
34941 * sysdeps/unix/execve.S: Remove file.
34943 * sysdeps/unix/_exit.S: Remove file.
34945 2012-04-23 Andreas Jaeger <aj@suse.de>
34948 * manual/Makefile: Remove make dist support, there's no
34949 need for a stand-alone documentation tar ball.
34950 (TEXI2DVI): Define always, it's not in Makeconfig.
34953 (edition): Removed.
34954 (glibc-doc-$(edition).tar): Removed
34958 (ETAGS): Remove, it's in Makeconfig.
34959 (move-if-change): Remove, it's in Makeconfig.
34961 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34964 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34965 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34966 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34967 (strtod_l, strtof_l, strtold_l): Remove __wur.
34968 It is not necessarily an error to ignore strtol's return value.
34969 One can reliably look at the stored endptr to decide whether
34970 the number had valid syntax.
34972 2012-04-21 Andreas Jaeger <aj@suse.de>
34975 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34977 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34979 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34980 * sysdeps/unix/sysv/Versions: Remove file.
34982 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34987 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34990 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34991 version from __vm86.
34993 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34995 * sysdeps/unix/common/lxstat.c: Remove file.
34996 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34998 * sysdeps/unix/sysv/Makefile: Remove file.
35000 * sysdeps/unix/sysv/direct.h: Remove file.
35002 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35003 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35004 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35005 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35006 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35007 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35008 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35010 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35012 * sysdeps/unix/xmknod.c: Remove file.
35013 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35015 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35017 * sysdeps/unix/sysv/i386/time.S: Remove file.
35019 * sysdeps/unix/fxstat.c: Remove file.
35020 * sysdeps/unix/xstat.c: Likewise.
35021 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35023 * sysdeps/unix/sysv/sigaction.c: Remove file.
35025 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35026 (sysdep_headers): Remove variable.
35027 [termio.h not in sysdep_headers] (generated): Likewise.
35028 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35029 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35030 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35031 * sysdeps/unix/sysv/tcflow.c: Likewise.
35032 * sysdeps/unix/sysv/tcflush.c: Likewise.
35033 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35034 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35035 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35036 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35037 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35039 * sysdeps/unix/siglist.c: Remove file.
35041 * sysdeps/unix/getppid.S: Remove file.
35043 * sysdeps/unix/mkdir.c: Remove file.
35044 * sysdeps/unix/rmdir.c: Likewise.
35046 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35048 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35050 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35051 errlist-compat value.
35053 2012-04-18 David S. Miller <davem@davemloft.net>
35055 * sysdeps/generic/memcopy.h (reg_char): Delete.
35056 * debug/strcat_chk.c: Use char, not reg_char.
35057 * debug/strcpy_chk.c: Likewise.
35058 * debug/strncat_chk.c: Likewise.
35059 * debug/strncpy_chk.c: Likewise.
35060 * string/memchr.c: Likewise.
35061 * string/memrchr.c: Likewise.
35062 * string/rawmemchr.c: Likewise.
35063 * string/strcat.c: Likewise.
35064 * string/strchr.c: Likewise.
35065 * string/strchrnul.c: Likewise.
35066 * string/strcmp.c: Likewise.
35067 * string/strcpy.c: Likewise.
35068 * string/strncat.c: Likewise.
35069 * string/strncmp.c: Likewise.
35070 * string/strncpy.c: Likewise.
35072 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35074 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35075 __builtin_memcopy is called when src and dest ranges are known to not
35078 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35080 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35081 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35082 fwd_align_merge macro call.
35083 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35084 bwd_align_merge macro call.
35085 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35087 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35089 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35090 bwd_align_merge macros.
35091 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35092 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35093 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35095 2012-04-18 David S. Miller <davem@davemloft.net>
35097 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35099 2012-04-18 Andreas Jaeger <aj@suse.de>
35102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35103 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35104 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35106 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35107 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35108 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35110 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35111 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35112 Adjust for changed ldbl-128 files.
35114 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35115 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35116 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35118 2012-04-17 David S. Miller <davem@davemloft.net>
35120 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35122 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35124 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35125 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35126 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35127 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35128 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35129 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35131 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35134 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35135 * math/libm-test.inc: Add ilogb errno and exception tests.
35136 * math/w_ilogb.c: New file: ilogb wrapper.
35137 * math/w_ilogbf.c: New file: ilogbf wrapper.
35138 * math/w_ilogbl.c: New file: ilogbl wrapper.
35139 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35140 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35141 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35142 exception being thrown with 0.0 as argument.
35143 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35144 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35145 exception being thrown with 0.0 as argument.
35146 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35147 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35148 exception being thrown with 0.0 as argument.
35149 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35150 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35151 exception being thrown with 0.0 as argument.
35152 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35153 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35154 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35155 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35156 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35157 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35158 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35159 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35160 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35162 2012-04-17 Petr Baudis <pasky@ucw.cz>
35164 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35167 2012-04-16 Marek Polacek <polacek@redhat.com>
35169 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35171 2012-04-16 Marek Polacek <polacek@redhat.com>
35173 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35174 operands of fdivp instruction.
35176 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35178 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35179 * elf/tst-auditmod3b.c: Likewise.
35180 * elf/tst-auditmod4b.c: Likewise.
35181 * elf/tst-auditmod5b.c: Likewise.
35182 * elf/tst-auditmod6b.c: Likewise.
35183 * elf/tst-auditmod6c.c: Likewise.
35184 * elf/tst-auditmod7b.c: Likewise.
35185 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35186 * sysdeps/x86_64/preconfigure.in: Likewise.
35187 * sysdeps/x86_64/preconfigure: Regenerated.
35189 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35191 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35194 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35196 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35197 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35199 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35202 * locale/iso-639.def: Fix gl language name. Spotted by
35205 2012-04-12 Roland McGrath <roland@hack.frob.com>
35208 * libio/libio.h (__io_write_fn): Update comment.
35210 2012-04-12 Petr Baudis <pasky@ucw.cz>
35213 * stdio.texi (Hook Functions): The user provided writer function
35214 is not allowed to return -1.
35216 2012-04-11 David S. Miller <davem@davemloft.net>
35218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35220 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35222 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35223 Add a leading slash to rtkaio.
35225 2012-04-11 Jim Meyering <meyering@redhat.com>
35228 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35229 It is not necessarily an error to ignore fwrite's return
35230 value. One can reliably use ferror to test for errors after
35233 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35235 * bits/types.h (__snseconds_t): New type.
35236 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35238 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35240 (__SNSECONDS_T_TYPE): Likewise.
35241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35242 (__SNSECONDS_T_TYPE): Likewise.
35243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35244 (__SNSECONDS_T_TYPE): Likewise.
35246 2012-04-10 Andreas Jaeger <aj@suse.de>
35249 * manual/time.texi (Processor Time): Return type of times is
35250 elapsed real time since an arbitrary point in the past.
35251 (CPU Time): Move CLK_TCK from here...
35252 (Processor Time): ...to here. Correct description.
35253 * manual/conf.texi (Constants for Sysconf): Correct description of
35256 2012-04-10 David S. Miller <davem@davemloft.net>
35259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35260 where the is a gap between DT_REL(A) and DT_JMPREL.
35262 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35264 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35265 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35266 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35268 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35270 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35271 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35272 (dl_main): Handle --inhibit-cache.
35273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35275 * elf/dl-load.c (_dl_map_object): Use it.
35276 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35278 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35281 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35282 (__ieee754_powl): Saturate large exponents rather than testing for
35283 overflow of y*log2(x).
35284 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35285 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35289 * math/s_ctan.c: Include <float.h>.
35290 (__ctan): Avoid internal overflow or cancellation in calculating
35292 * math/s_ctanf.c: Likewise.
35293 * math/s_ctanl.c: Likewise.
35294 * math/s_ctanh.c: Likewise.
35295 * math/s_ctanhf.c: Likewise.
35296 * math/s_ctanhl.c: Likewise.
35297 * math/libm-test.inc (ctan_test): Add more tests.
35298 (ctanh_test): Likewise.
35299 * sysdeps/i386/fpu/libm-test-ulps: Update.
35300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35302 2012-04-09 Andreas Jaeger <aj@suse.de>
35305 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35306 is an optional BSD extension.
35309 * manual/stdio.texi (Opening Streams): Document additional fopen
35312 2012-04-09 Roland McGrath <roland@hack.frob.com>
35314 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35315 %eax without telling the compiler.
35317 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35320 * manual/install.texi: Use sourceware.org.
35322 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35325 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35326 (__ieee754_pow): Generate overflow and underflow using huge*huge
35327 and tiny*tiny rather than just returning constant infinity or zero
35328 for large exponents.
35329 * math/libm-test.inc (pow_test): Require overflow exceptions for
35330 applicable cases of large exponents.
35333 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35334 (__ieee754_pow): Use iterative multiplication algorithm only for
35335 integer exponents with absolute value below 1024. Check for odd
35336 integer exponents when using algorithm for real exponents.
35337 * math/libm-test.inc (pow_test): Add more tests.
35338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35340 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35343 * math/libm-test.inc (exp_test): Do not allow overflow exception
35346 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35349 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35350 instead of __kernel_standard_f.
35352 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35354 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35355 * sysdeps/x86_64/memset_chk.S: Likewise.
35357 2012-04-08 Andreas Jaeger <aj@suse.de>
35360 * manual/startup.texi (Environment Access): Describe return value
35361 for putenv and setenv.
35364 * manual/filesys.texi (Directory Entries): Add description for
35368 * manual/filesys.texi (Directory Entries): Clarify that it's file
35369 system not operating system in the description of DT_UNKNOWN.
35372 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35374 2012-04-08 Stephen Compall <s11@member.fsf.org>
35377 * manual/llio.texi (Opening and Closing Files): Add cross
35378 reference to explain mode argument.
35380 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35382 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35383 * sysdeps/x86_64/memset_chk.S: Likewise.
35385 2012-04-07 David S. Miller <davem@davemloft.net>
35387 * elf/elf.h (R_SPARC_WDISP10): Define.
35388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35391 R_SPARC_SIZE64 and R_SPARC_H34.
35393 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35395 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35396 conditions and remove no longer applicable assertion.
35398 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35400 * bits/byteswap.h: Include <features.h>.
35401 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35402 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35404 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35406 * bits/byteswap.h (__bswap_16): Removed.
35407 Include <bits/byteswap-16.h> to get __bswap_16.
35408 * sysdeps/i386/bits/byteswap.h: Likewise.
35409 * sysdeps/s390/bits/byteswap.h: Likewise.
35410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35411 * bits/byteswap-16.h: New file.
35412 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35413 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35414 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35415 * string/Makefile (headers): Add bits/byteswap-16.h.
35417 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35420 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35422 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35423 * nss/tst-nss-static.c: New.
35425 2012-04-06 Robert Millan <rmh@gnu.org>
35428 * manual/llio.texi (File Position Primitive): lseek
35429 refers to WHENCE when it really means OFFSET.
35431 2012-04-06 Andreas Jaeger <aj@suse.de>
35433 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35434 strncmp declarations.
35436 * abilist/libc.abilist: Add __poll and __ppoll.
35438 2012-04-05 David S. Miller <davem@davemloft.net>
35440 * scripts/check-local-headers.sh: Accept a host triplet in the
35441 path matched by the exclude regexp.
35443 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35445 * sysdeps/powerpc/powerpc32/dl-machine.h
35446 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35447 * sysdeps/s390/s390-32/dl-machine.h
35448 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35449 * sysdeps/sparc/sparc32/dl-machine.h
35450 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35451 * sysdeps/sparc/sparc64/dl-machine.h
35452 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35454 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35456 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35457 undefined symbol errors.
35459 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35462 2012-04-05 Michael Matz <matz@suse.de>
35465 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35467 2012-04-05 Andreas Jaeger <aj@suse.de>
35470 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35473 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35475 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35476 which ROUND is no valid rounding mode.
35478 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35480 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35482 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35484 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35486 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35487 an exception using FPU order intentionally.
35489 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35491 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35492 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35493 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35494 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35496 2012-04-05 Simon Josefsson <simon@josefsson.org>
35499 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35500 EINVAL when BUFLEN is too smal.
35502 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35505 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35506 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35508 2012-04-03 Andreas Jaeger <aj@suse.de>
35511 * manual/setjmp.texi (System V contexts): Fix sentence.
35514 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35515 New macro for this case.
35516 [!__GNUC__] (__bswap_64): New inline function for this case.
35517 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35518 * bits/byteswap.h: Likewise.
35519 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35520 ull, guard with __GLIBC_HAVE_LONG_LONG.
35522 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35523 __GLIBC_HAVE_LONG_LONG.
35525 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35526 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35528 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35531 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35532 inptr and inend, rather than using last_ch.
35534 2012-04-02 David S. Miller <davem@davemloft.net>
35536 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35537 * stdio-common/printf-parse.h (read_int): Change return type to
35538 'int', return -1 on INT_MAX overflow.
35539 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35540 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35541 overflows INT_MAX. Check for overflow of in-format-string precision
35542 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35543 SIZE_MAX not INT_MAX for integer overflow test.
35544 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35545 skip the construct in the format string but do not record anything.
35546 * stdio-common/bug22.c: Adjust to test both width/prevision
35547 INT_MAX overflow as well as total length INT_MAX overflow. Check
35548 explicitly for proper errno values.
35550 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35552 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35554 * string/test-strcmp.c [! WIDE]: Likewise.
35555 * time/tst-mktime2.c: Likewise for INT_MAX.
35556 * string/test-string.h: #include <sys/param.h> for MIN.
35558 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35559 * sysdeps/i386/init-first.c (init): Likewise.
35560 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35561 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35562 * sysdeps/sh/init-first.c (init): Likewise.
35564 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35566 * po/ru.po: Update from translation team.
35567 * po/vi.po: Likewise.
35569 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35571 * resolv/nss_dns/dns-host.c: Merge copyright years.
35573 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35575 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35576 Optimize memcpy with prefetch if
35577 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35578 src, dst pointers have unequal 16 byte alignments.
35580 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35583 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35584 from a CNAME entry and return the minimum ttl for the query.
35585 (gaih_getanswer_slice): Likewise.
35587 2012-03-30 Jeff Law <law@redhat.com>
35589 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35591 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35592 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35594 * resolv/nss_dns/dns-host.c: Update copyright year.
35596 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35598 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35599 requests to save a system call. Fix check that all bytes are sent.
35601 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35602 comments for sendmmsg.
35604 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35607 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35608 with only 1 character between 0x0041 and 0x01b0.
35609 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35610 * wcsmbs/tst-mbsnrtowcs.c: New file.
35612 2012-03-29 David S. Miller <davem@davemloft.net>
35614 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35615 small copies by hand.
35617 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35620 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35621 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35624 2012-03-28 David S. Miller <davem@davemloft.net>
35626 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35627 that branches into memcpy.
35628 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35629 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35631 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35634 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35635 implementation too.
35636 * sysdeps/sparc/mempcpy.S: New file.
35638 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35639 the IFUNC routine in the libc case.
35640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35642 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35643 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35644 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35645 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35646 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35647 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35648 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35649 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35651 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35652 loop to 256 bytes instead of 64 bytes and fix test signedness.
35654 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35655 * sysdeps/sparc/sparc32/Makefile: rather than here...
35656 * sysdeps/sparc/sparc64/Makefile: and here.
35658 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35660 * malloc/mallocbug.c: Avoid warnings about unused variables.
35662 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35665 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35666 in the right place. Discard and retry query if response is
35667 larger than input buffer size.
35669 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35674 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35675 x for large integer exponent.
35676 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35677 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35678 sign of result as needed afterwards.
35679 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35680 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35681 result for underflowing pow the same as for overflow.
35682 (__kernel_standard_l): Handle powl overflow and underflow here
35683 rather than calling __kernel_standard.
35684 * math/libm-test.inc (pow_test): Add more tests.
35699 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35700 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35701 (__kernel_standard_l): New function.
35702 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35704 * math/w_acosl.c (__acosl): Likewise.
35705 * math/w_asinl.c (__asinl): Likewise.
35706 * math/w_atan2l.c (__atan2l): Likewise.
35707 * math/w_atanhl.c (__atanhl): Likewise.
35708 * math/w_coshl.c (__coshl): Likewise.
35709 * math/w_exp10l.c (__exp10l): Likewise.
35710 * math/w_exp2l.c (__exp2l): Likewise.
35711 * math/w_fmodl.c (__fmodl): Likewise.
35712 * math/w_hypotl.c (__hypotl): Likewise.
35713 * math/w_j0l.c (__j0l, __y0l): Likewise.
35714 * math/w_j1l.c (__j1l, __y1l): Likewise.
35715 * math/w_jnl.c (__jnl, __ynl): Likewise.
35716 * math/w_lgammal.c (__lgammal): Likewise.
35717 * math/w_log10l.c (__log10l): Likewise.
35718 * math/w_log2l.c (__log2l): Likewise.
35719 * math/w_logl.c (__logl): Likewise.
35720 * math/w_powl.c (__powl): Likewise.
35721 * math/w_remainderl.c (__remainderl): Likewise.
35722 * math/w_scalbl.c (sysv_scalbl): Likewise.
35723 * math/w_sinhl.c (__sinhl): Likewise.
35724 * math/w_sqrtl.c (__sqrtl): Likewise.
35725 * math/w_tgammal.c (__tgammal): Likewise.
35726 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35727 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35728 * math/libm-test.inc (acos_test): Add more tests.
35729 (acosh_test): Likewise.
35730 (asin_test): Likewise.
35731 (atanh_test): Likewise.
35732 (exp_test): Likewise.
35733 (exp10_test): Likewise.
35734 (exp2_test): Likewise.
35735 (expm1_test): Likewise.
35736 (lgamma_test): Likewise.
35737 (log_test): Likewise.
35738 (log10_test): Likewise.
35739 (log1p_test): Likewise.
35740 (log2_test): Likewise.
35741 (pow_test): Do not allow some spurious overflow exceptions.
35742 (sqrt_test): Add more tests.
35743 (tgamma_test): Likewise.
35744 (y0_test): Likewise.
35745 (y1_test): Likewise.
35746 (yn_test): Likewise.
35748 2012-03-27 Anton Blanchard <anton@samba.org>
35750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35752 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35753 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35756 2012-03-27 David S. Miller <davem@davemloft.net>
35758 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35760 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35761 have-as-vis3 check.
35763 2012-03-27 Andreas Jaeger <aj@suse.de>
35765 * sysdeps/x86_64/elf/configure.in: Moved to ...
35766 * sysdeps/x86_64/configure.in: ... here.
35767 * sysdeps/x86_64/elf/start.S: Moved to ...
35768 * sysdeps/x86_64/start.S: ... here.
35769 * sysdeps/x86_64/elf/configure: Delete.
35771 * sysdeps/x86_64/configure.in: Merge contents from
35772 sysdeps/i386/configure.in (without i686 check).
35774 * sysdeps/i386/elf/Versions: Merge into ...
35775 * sysdeps/i386/Versions: ... this.
35776 * sysdeps/i386/elf/Versions: Delete file.
35777 * sysdeps/i386/elf/start.S: Moved to ...
35778 * sysdeps/i386/start.S: ...here.
35779 * sysdeps/i386/elf/configure.in: Merge into...
35780 * sysdeps/i386/configure.in: ...here.
35781 * sysdeps/i386/elf/configure.in: Delete file.
35782 * sysdeps/i386/elf/configure: Delete file.
35784 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35785 * debug/backtracesyms.c: ... here.
35786 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35787 * debug/backtracesymsfd.c: ... here.
35788 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35789 * sysdeps/generic/ifunc-sel.h: ... here.
35791 * sysdeps/unix/i386/start.c: Delete file.
35792 * sysdeps/unix/sparc/start.c: Delete file.
35793 * sysdeps/unix/start.c: Delete file.
35795 * sysdeps/sh/elf/configure.in: Moved to ...
35796 * sysdeps/sh/configure.in: ... here.
35797 * sysdeps/sh/elf/start.S: Moved to ...
35798 * sysdeps/sh/start.S: ... here.
35799 * sysdeps/sh/elf/configure: Delete file.
35801 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35802 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35803 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35804 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35805 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35806 * sysdeps/powerpc/powerpc64/start.S: here.
35807 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35808 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35809 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35810 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35811 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35813 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35814 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35815 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35816 * sysdeps/powerpc/powerpc32/start.S: ... here.
35817 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35818 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35819 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35821 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35822 * sysdeps/powerpc/ifunc-sel.h: ... here.
35823 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35824 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35826 * sysdeps/sparc/elf/configure.in: Moved to ...
35827 * sysdeps/sparc/configure.in: ... here.
35828 * sysdeps/sparc/elf/configure: Delete file.
35829 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35830 * sysdeps/sparc/sparc32/start.S: ... here.
35831 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35832 * sysdeps/sparc/sparc64/start.S: ... here.
35833 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35834 * sysdeps/sparc/sparc32/Makefile: ... this.
35835 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35836 * sysdeps/sparc/sparc64/Makefile: ... this.
35838 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35839 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35840 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35841 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35842 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35843 * sysdeps/s390/s390-32/setjmp.S: ... here.
35844 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35845 * sysdeps/s390/s390-32/configure.in: ... here.
35846 * sysdeps/s390/s390-32/elf/configure: Delete file.
35847 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35848 * sysdeps/s390/s390-32/start.S: ... here.
35850 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35851 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35852 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35853 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35854 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35855 * sysdeps/s390/s390-64/setjmp.S: ... here.
35856 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35857 * sysdeps/s390/s390-64/configure.in: ... here
35858 * sysdeps/s390/s390-64/elf/configure: Delete file.
35859 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35860 * sysdeps/s390/s390-64/start.S: ... here.
35861 * sysdeps/s390/s390-64/elf/configure: Delete.
35863 * configure.in: Remove support for elf directories in sysdeps.
35865 * configure: Regenerated.
35866 * sysdeps/i386/configure: Regenerated.
35867 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35868 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35869 * sysdeps/s390/s390-32/configure: Regenerated.
35870 * sysdeps/s390/s390-64/configure: Regenerated.
35871 * sysdeps/sh/configure: Regenerated.
35872 * sysdeps/sparc/configure: Regenerated.
35873 * sysdeps/x86_64/configure: Regenerated.
35875 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35879 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35880 denormal result into account.
35882 2012-03-25 Roland McGrath <roland@hack.frob.com>
35884 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35885 Reported by Allan McRae <allan@archlinux.org>.
35887 2012-03-23 Jeff Law <law@redhat.com>
35889 * nss/getnssent.c (__nss_getent): Fix typo.
35891 2012-03-23 David S. Miller <davem@davemloft.net>
35893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35895 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35897 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35898 to pad to uint64_t for each field.
35899 (dl_tls_index): Replace unsigned long with uint64_t.
35901 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35902 Paul Pluzhnikov <ppluzhnikov@google.com>
35905 * grp/Makefile (otherlibs): Don't set it.
35906 * inet/Makefile (otherlibs): Likewise.
35907 * login/Makefile (otherlibs): Likewise.
35908 * nscd/Makefile (otherlibs): Likewise.
35909 * posix/Makefile (otherlibs): Likewise.
35910 * pwd/Makefile (otherlibs): Likewise.
35911 * rt/Makefile (otherlibs): Likewise.
35912 * sunrpc/Makefile (otherlibs): Likewise.
35913 * nss/Makefile (otherlibs): Likewise.
35914 Add libnss_files to routines and static-only-routines.
35915 ($(objpfx)getent): Remove rule.
35916 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35917 static-only-routines.
35919 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35922 * math/s_cexp.c: Include <float.h>.
35923 (__cexp): Handle exp result overflowing not necessarily
35924 overflowing both real and imaginary parts of result.
35925 * math/s_cexpf.c: Likewise.
35926 * math/s_cexpl.c: Likewise.
35927 * math/libm-test.inc (cexp_test): Add more tests.
35928 * sysdeps/i386/fpu/libm-test-ulps: Update.
35929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35931 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35933 * include/link.h (ELFW): New macro.
35934 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35935 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35937 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35939 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35942 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35944 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35946 (struct La_x32_retval): Likewise.
35948 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35950 * sysdeps/x86_64/preconfigure.in: New file.
35951 * sysdeps/x86_64/preconfigure: New generated file.
35953 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35956 * math/e_exp2l.c: Include <float.h>.
35957 (__ieee754_exp2l): Handle overflow and underflow cases
35958 separately. Only pass fractional part of argument to
35960 * math/libm-test.inc (exp2_test): Add more tests.
35962 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35963 negating x to take absolute value.
35964 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35966 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35967 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35969 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35970 computing low part if x was negated.
35971 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35973 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35975 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35976 la_x32_gnu_pltexit.
35977 (pltexit): Cast int_retval to ptrdiff_t.
35978 * elf/tst-auditmod3b.c: Likewise.
35979 * elf/tst-auditmod4b.c: Likewise.
35980 * elf/tst-auditmod5b.c: Likewise.
35981 * elf/tst-auditmod6b.c: Likewise.
35982 * elf/tst-auditmod6c.c: Likewise.
35983 * elf/tst-auditmod7b.c: Likewise.
35985 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35986 and x32_gnu_pltexit.
35988 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35989 __ELF_NATIVE_CLASS.
35990 (La_x32_regs): New macro.
35991 (La_x32_retval): Likewise.
35992 (la_x32_gnu_pltenter): New function prototype.
35993 (la_x32_gnu_pltexit): Likewise.
35995 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35997 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36002 * configure.in (libc_cv_cc_nofma): Check for option to disable
36003 generation of FMA instructions.
36004 * configure: Regenerate.
36005 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36006 * sysdeps/ieee754/dbl-64/Makefile: New file.
36007 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36008 Remove brandred-fma4.
36009 (CFLAGS-brandred-fma4.c): Remove.
36010 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36011 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36013 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36016 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36018 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36019 LLONG_MAX != LONG_MAX.
36020 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36021 (_fitoa_word): Likewise.
36022 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36023 LLONG_MAX != LONG_MAX.
36024 * stdio-common/_itowa.h: Include <_itoa.h>.
36025 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36026 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36027 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36028 only if not defined.
36029 (_ITOA_WORD_TYPE): Likewise.
36030 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36031 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36033 2012-03-21 David S. Miller <davem@davemloft.net>
36035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36037 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36039 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36040 of x86_64 when setting libc_cv_slibdir, libdir and
36042 * sysdeps/unix/sysv/linux/configure: Regenerated.
36044 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36046 * manual/lang.texi (Old Varargs): Remove section.
36047 (How Variadic): Update menu.
36048 (va_start): Do not mention varargs.h.
36050 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36051 Joseph Myers <joseph@codesourcery.com>
36053 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36055 * configure: Regenerated.
36057 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36059 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36060 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36063 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36066 * Makefile (files-for-dist): Remove NOTES.
36067 (NOTES): Remove rule.
36068 * README: Don't refer to NOTES.
36069 * manual/creature.texi: Don't include macros.texi.
36070 * manual/intro.texi (creature.texi): Remove comment referring to
36073 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36074 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36075 * configure: Regenerated.
36076 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36077 LIBC_TRY_CC_OPTION.
36078 (libc_cv_as_i686): Likewise.
36079 (libc_cv_cc_avx): Likewise.
36080 (libc_cv_cc_sse2avx): Likewise.
36081 (libc_cv_cc_fma4): Likewise.
36082 (libc_cv_cc_novzeroupper): Likewise.
36083 * sysdeps/i386/configure: Regenerated.
36086 * sysdeps/i386/fpu/s_cexp.S: Remove.
36087 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36088 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36089 * math/libm-test.inc (cexp_test): Add more tests.
36090 * sysdeps/i386/fpu/libm-test-ulps: Update.
36091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36093 2012-03-21 Allan McRae <allan@archlinux.org>
36095 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36097 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36100 * math/w_exp2.c: Do not include <float.h>.
36101 (o_threshold, u_threshold): Remove.
36102 (__exp2): Calculate result before checking finiteness and calling
36104 * math/w_exp2f.c: Likewise.
36105 * math/w_exp2l.c: Likewise.
36106 * math/libm-test.inc (exp2_test): Require overflow exception for
36110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36111 range of signed 64-bit integers before using fistpll. Remove
36112 checks for whether integers fit in mantissa bits.
36113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36114 the range of signed 32-bit integers before using fistpl. Remove
36115 checks for whether integers fit in mantissa bits.
36116 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36117 (__ieee754_powl): Test for y outside the range of signed 64-bit
36118 integers before using fistpll. Reduce 64-bit values to 63-bit
36120 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36121 divide-by-zero is raised for zero to large negative powers.
36122 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36123 (__ieee754_powl): Test for y outside the range of signed 64-bit
36124 integers before using fistpll. Reduce 64-bit values to 63-bit
36126 * math/libm-test.inc (pow_test): Add more tests.
36128 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36130 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36131 <stdio-common/_itoa.h>.
36132 * debug/segfault.c: Likewise.
36133 * elf/dl-cache.c: Likewise.
36134 * elf/dl-minimal.c: Likewise.
36135 * elf/dl-misc.c: Likewise.
36136 * elf/dl-sysdep.c: Likewise.
36137 * elf/dl-version.c: Likewise.
36138 * elf/rtld.c: Likewise.
36139 * hurd/hurdsock.c: Likewise.
36140 * hurd/lookup-retry.c: Likewise.
36141 * malloc/malloc.c: Likewise.
36142 * malloc/mtrace.c: Likewise.
36143 * nscd/nscd_getgr_r.c: Likewise.
36144 * nscd/nscd_getpw_r.c: Likewise.
36145 * nscd/nscd_getserv_r.c: Likewise.
36146 * posix/getopt_init.c: Likewise.
36147 * posix/wordexp.c: Likewise.
36148 * stdio-common/_itoa.c: Likewise.
36149 * stdio-common/printf_fphex.c: Likewise.
36150 * stdio-common/vfprintf.c: Likewise.
36151 * string/_strerror.c: Likewise.
36152 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36153 * sysdeps/i386/i686/hp-timing.h: Likewise.
36154 * sysdeps/mach/_strerror.c: Likewise.
36155 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36156 * sysdeps/mach/hurd/sethostid.c: Likewise.
36157 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36158 * sysdeps/mach/xpg-strerror.c: Likewise.
36159 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36160 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36161 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36162 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36163 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36164 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36165 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36166 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36167 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36168 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36169 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36170 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36171 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36172 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36173 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36174 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36175 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36176 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36177 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36178 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36179 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36181 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36183 * stdio-common/_itoa.h: Moved to ...
36184 * sysdeps/generic/_itoa.h: Here.
36186 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36188 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36189 instead of "_itoa.h" and "_itowa.h".
36190 * stdio-common/vfprintf.: Likewise.
36192 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36194 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36196 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36197 (__signbit): Likwise.
36198 (llrintf): Likwise.
36201 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36203 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36206 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36208 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36209 OVERFLOW_EXCEPTION_OK.
36210 * math/libm-test.inc ("Philosophy"): Update comment about
36212 (OVERFLOW_EXCEPTION): Define.
36213 (OVERFLOW_EXCEPTION_OK): Likewise.
36214 (INVALID_EXCEPTION_OK): Renumber.
36215 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36216 (IGNORE_ZERO_INF_SIGN): Likewise.
36217 (test_exceptions): Handle FE_OVERFLOW.
36218 (exp10_test): Expect overflow exceptions.
36219 (exp2_test): Likewise.
36220 (expm1_test): Likewise.
36221 (nextafter_test): Likewise.
36222 (pow_test): Likewise.
36223 (scalbn_test): Likewise.
36224 (scalbln_test): Likewise.
36226 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36228 * sysdeps/x86_64/bits/atomic.h
36229 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36231 (atomic_exchange_acq): Likewise.
36232 (__arch_exchange_and_add_body): Likewise.
36233 (__arch_add_body): Likewise.
36234 (atomic_add_negative): Likewise.
36235 (atomic_add_zero): Likewise.
36237 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36239 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36240 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36242 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36244 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36245 Check __x86_64__ instead of __WORDSIZE.
36247 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36249 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36251 2012-03-19 David S. Miller <davem@davemloft.net>
36253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36255 * sysdeps/sparc/fpu/fenv_private.h: New file.
36256 * sysdeps/sparc/fpu/math_private.h: Use it.
36257 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36259 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36260 (libc_feholdexcept_setroundl): Remove.
36261 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36263 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36264 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36266 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36268 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36269 int64_t instead of long int.
36270 (INSERT_WORDS64): Likwise.
36272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36274 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36275 _Unwind_GetCFA return to _Unwind_Ptr first.
36277 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36280 * math/s_clog.c: Include <float.h>.
36281 (__clog): Scale large or subnormal inputs.
36282 * math/s_clogf.c: Likewise.
36283 * math/s_clogl.c: Likewise.
36284 * math/s_clog10.c: Include <float.h>.
36285 (M_LOG10_2): Define.
36286 (__clog10): Scale large or subnormal inputs.
36287 * math/s_clog10f.c: Likewise.
36288 * math/s_clog10l.c: Likewise.
36289 * math/libm-test.inc (clog_test): Add more tests.
36290 (clog10_test): Likewise.
36291 * sysdeps/i386/fpu/libm-test-ulps: Update.
36292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36295 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36297 * math/libm-test.inc (atan2_test): Add another test.
36299 * Makerules (common-objdir-compile): Remove.
36300 * sysdeps/unix/Makefile (config-generated): Do not add
36301 $(unix-generated) to variable.
36302 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36303 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36305 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36307 [generic bits/local_lim.h] (before-compile): Do not append to
36309 [generic bits/local_lim.h] (common-generated): Likewise.
36310 [generic sys/param.h] (before-compile): Do not append to variable.
36311 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36312 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36313 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36314 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36316 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36317 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36318 [generic sys/param.h] ($(addprefix
36319 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36320 [generic sys/param.h] (common-generated): Do not append to
36322 [generic sys/param.h] (sysdep_headers): Likewise.
36323 [generic bits/errno.h] (before-compile): Do not append to
36325 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36327 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36328 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36329 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36330 [generic bits/errno.h] (common-generated): Do not append to
36332 [generic bits/ioctls.h] (before-compile): Do not append to
36334 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36336 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36337 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36338 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36340 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36341 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36342 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36343 [generic bits/ioctls.h] (common-generated): Do not append to
36345 [generic sys/syscall.h] (syscall.h): Remove variable.
36346 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36348 [generic sys/syscall.h] (before-compile): Do not append to
36350 [generic sys/syscall.h] (common-generated): Likewise.
36351 * sysdeps/unix/errnos-tmpl.c: Remove file.
36352 * sysdeps/unix/errnos.awk: Likewise.
36353 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36354 * sysdeps/unix/ioctls.awk: Likewise.
36355 * sysdeps/unix/mk-local_lim.c: Likewise.
36356 * sysdeps/unix/snarf-ioctls: Likewise.
36358 2012-03-19 Richard Henderson <rth@twiddle.net>
36360 * sysdeps/i386/fpu/fenv_private.h: New file.
36361 * sysdeps/i386/fpu/math_private.h: Use it.
36362 (math_opt_barrier, math_force_eval): Remove.
36363 (libc_feholdexcept_setround_53bit): Remove.
36364 (libc_feupdateenv_53bit): Remove.
36365 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36366 (math_opt_barrier, math_force_eval): Remove.
36367 (libc_feholdexcept): Remove.
36368 (libc_feholdexcept_setround): Remove.
36369 (libc_fetestexcept, libc_fesetenv): Remove.
36370 (libc_feupdateenv_test): Remove.
36371 (libc_feupdateenv, libc_feholdsetround): Remove.
36372 (libc_feresetround): Remove.
36374 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36375 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36377 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36378 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36379 (libc_feupdateenv_testl): New.
36380 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36381 (libc_feupdateenv_testf): New.
36382 (libc_feupdateenv): Use libc_feupdateenv_test.
36383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36386 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36387 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36388 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36389 (libc_feresetround_noex): New.
36390 (libc_feresetround_noexf): New.
36391 (libc_feresetround_noexl): New.
36392 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36393 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36394 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36395 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36398 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36400 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36402 SET_RESTORE_ROUND_NOEX.
36403 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36404 SET_RESTORE_ROUND_NOEXF.
36405 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36406 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36407 (libc_feholdsetroundf): New.
36408 (libc_feresetround, libc_feresetroundf): New.
36410 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36411 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36412 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36414 * sysdeps/generic/math_private.h: Include <fenv.h>.
36415 (default_libc_feholdexcept): New.
36416 (default_libc_feholdexcept_setround): New.
36417 (default_libc_fesetenv, default_libc_feupdateenv): New.
36418 (libc_feholdexcept): Only define if undefined.
36419 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36420 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36421 (libc_feholdexcept_setroundl): Likewise.
36422 (libc_feholdexcept_setround_53bit): Likewise.
36423 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36424 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36425 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36426 (libc_feupdateenv_53bit): Likewise.
36427 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36428 (libc_feholdexcept): Convert from macro to inline function.
36429 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36430 (libc_fesetenv, libc_feupdateenv): Likewise.
36432 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36433 not previously defined.
36434 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36435 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36436 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36437 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36438 * sysdeps/ieee754/flt-32/math_private.h: New file.
36439 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36440 math_private.h below SET_FLOAT_WORD.
36441 (__isnan, __isinf_ns, __finite): Remove.
36442 (__isnanf, __isinf_nsf, __finitef): Remove.
36444 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36448 2012-03-17 David S. Miller <davem@davemloft.net>
36451 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36454 2012-03-16 David S. Miller <davem@davemloft.net>
36456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36460 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36462 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36463 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36464 sysdep_routines when subdir is sysvipc.
36465 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36466 __getshmlba helper.
36468 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36470 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36472 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36475 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36477 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36478 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36479 (__lround): Renamed to ...
36480 (__llround): This. Replace long int with long long int.
36481 Define lround functions as aliases of llround functions.
36482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36484 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36486 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36487 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36488 adresses to uintptr_t. Replace "long int" and "unsigned long
36489 int" with "greg_t" on va_arg.
36491 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36493 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36494 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36496 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36497 Move e_machine check before EI_CLASS check. Handle x32
36498 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36499 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36500 SKIP_EM_IA_64 and include
36501 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36503 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36504 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36505 (add_system_dir): New macro.
36507 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36508 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36510 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36521 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36523 * math/w_j0f.c (j0f): Likewise.
36525 * math/w_j0l.c (__j0l): Likewise.
36527 * math/w_j1.c (j1): Likewise.
36529 * math/w_j1f.c (j1f): Likewise.
36531 * math/w_j1l.c (__j1l): Likewise.
36533 * math/w_jn.c (jn): Likewise.
36535 * math/w_jnf.c (jnf): Likewise.
36537 * math/w_jnl.c (__jnl): Likewise.
36539 * math/libm-test.inc (j0_test): Add more tests.
36540 (j1_test): Likewise.
36541 (jn_test): Likewise. Add trailing semicolon to existing test.
36542 (y0_test): Likewise.
36543 (y1_test): Likewise.
36544 * sysdeps/i386/fpu/libm-test-ulps: Update.
36545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36549 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36550 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36551 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36552 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36553 (__tanl): Set errno for infinite argument.
36554 * sysdeps/i386/fpu/mptan.c: Remove.
36555 * sysdeps/i386/fpu/s_tan.S: Likewise.
36556 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36557 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36558 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36559 * math/libm-test.inc (tan_test): Add more tests and enable more
36560 tests for double and long double.
36561 * sysdeps/i386/fpu/libm-test-ulps: Update.
36562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36564 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36566 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36567 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36569 2012-03-16 Roland McGrath <roland@hack.frob.com>
36571 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36572 * configure.in: Use it for both main tree and add-ons.
36573 * configure: Regenerated.
36575 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36577 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36579 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36581 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36585 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36586 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36587 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36588 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36589 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36591 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36593 != 0 for prec == 2.
36594 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36595 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36596 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36597 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36598 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36599 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36600 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36601 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36602 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36603 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36604 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36605 * math/libm-test.inc (cos_test): Add more tests and enable more
36606 tests for long double.
36607 (sin_test): Likewise.
36608 (sincos_test): Likewise.
36609 * sysdeps/i386/fpu/libm-test-ulps: Update.
36610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36612 2012-03-16 David S. Miller <davem@davemloft.net>
36614 * sysdeps/sparc/fpu/math_private.h: New file.
36616 2012-03-15 David S. Miller <davem@davemloft.net>
36618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36632 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36633 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36635 * sysdeps/sparc/sparc-ifunc.h: New file.
36636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36679 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36681 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36683 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36687 2012-03-15 Andreas Jaeger <aj@suse.de>
36690 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36691 ieee754/flt-32 implementation for sin, cos and sincos.
36692 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36693 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36694 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36695 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36696 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36697 ieee754/flt-32 implementation for tan.
36699 * math/libm-test.inc (cos_test): Enable some large input tests for
36701 (sin_test): Likewise.
36702 (sincos_test): Likewise.
36703 (tan_test): Add tests for large input.
36705 * sysdeps/i386/fpu/libm-test-ulps: Update.
36707 2012-03-15 Andreas Jaeger <aj@suse.de>
36710 * math/libm-test.inc (cos_test): Add more test cases.
36711 (sin_test): Likewise.
36712 (sincos_test): Likewise.
36714 2012-03-15 Andreas Jaeger <aj@suse.de>
36717 * math/libm-test.inc (cos_test): Add a test case for large input
36719 (sin_test): Likewise.
36720 (sincos_test): Likewise.
36722 2012-03-15 Andreas Jaeger <aj@suse.de>
36723 Joseph Myers <joseph@codesourcery.com>
36726 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36727 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36728 * sysdeps/i386/fpu/branred.c: Likewise.
36729 * sysdeps/i386/fpu/dosincos.c: Likewise.
36730 * sysdeps/i386/fpu/mpa.c: Likewise.
36731 * sysdeps/i386/fpu/s_cos.S: Likewise.
36732 * sysdeps/i386/fpu/s_sin.S: Likewise.
36733 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36734 * sysdeps/i386/fpu/sincos32.c: Likewise.
36736 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36738 (libc_feupdateenv_53bit): Define.
36739 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36741 (libc_feupdateenv_53bit): Define.
36743 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36744 53 bit (without extend i386 double precision).
36746 * math/libm-test.inc (sincos_test): Add tests for large input.
36750 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36752 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36756 2012-03-15 David S. Miller <davem@davemloft.net>
36758 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36759 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36760 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36761 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36785 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36786 fmin/fmax sysdep routines.
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36789 2012-03-14 David S. Miller <davem@davemloft.net>
36791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36795 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36796 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36803 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36804 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36811 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36812 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36819 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36863 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36868 * sysdeps/sparc/configure.in: New file.
36869 * sysdeps/sparc/configure: Generate.
36870 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36871 * configure: Regenerate.
36872 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36873 * config.make.in (have-as-vis3): New.
36874 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36875 available use -Av9d instead of -Av9a.
36876 * sysdeps/sparc/sparc64/Makefile: Likewise.
36877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36887 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36888 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36892 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36893 fzeros/fnegs to load 0x80000000 into a float register instead of
36895 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36897 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36901 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36902 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36903 ($(inst_includedir)/bits/syscall.h): Remove rule.
36904 ($(objpfx)bits/syscall.d): Include instead of
36905 $(objpfx)syscall-list.d.
36906 (generated): Change syscall-list.h and syscall-list.d to
36907 bits/syscall.h and bits/syscall.d.
36909 2012-03-14 Roland McGrath <roland@hack.frob.com>
36912 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36914 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36917 * math/s_csqrt.c: Include <float.h>.
36918 (__csqrt): Scale large or subnormal inputs.
36919 * math/s_csqrtf.c: Likewise.
36920 * math/s_csqrtl.c: Likewise.
36921 * math/libm-test.inc (csqrt_test): Add more tests.
36922 * sysdeps/i386/fpu/libm-test-ulps: Update.
36923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36926 * math/libm-test.inc (hypot_test): Add more tests.
36928 2012-03-13 David S. Miller <davem@davemloft.net>
36931 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36932 double-precision for the calculation instead of scaling.
36934 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36936 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36937 manipulate bits before adding and subtracting TWO52[sx].
36938 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36939 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36943 2012-03-13 David S. Miller <davem@davemloft.net>
36945 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36946 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36948 rtld-global-offsets.h
36949 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36951 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36954 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36956 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36957 'err' in the ifdef scope in which it is actually used.
36959 * nss/nss_db/db-init.c: Include string.h
36961 2012-03-12 David S. Miller <davem@davemloft.net>
36963 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36964 masking out of the most significant byte of random value used.
36965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36966 Fix coding style in previous change.
36968 * sysdeps/unix/sysv/linux/kernel-features.h
36969 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36970 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36972 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36975 2012-03-11 David S. Miller <davem@davemloft.net>
36977 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36978 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36979 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36980 for 'resultvar' otherwise things get truncated on 64-bit.
36982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36983 Fix masking out of the most significant byte of random value used.
36985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36987 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36991 2012-03-09 David S. Miller <davem@davemloft.net>
36993 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36994 variables with appropriate CPP guards.
36995 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36996 from the frame pointer, not the stack pointer. Correct layout
36997 comments. Fix test on resulting framesize and the management of
36998 the outregs buffer for pltexit. Preserve floating point return
36999 values across _dl_call_pltexit call.
37000 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37001 framesize and the management of the outregs buffer for pltexit.
37002 Preserve floating point return values across _dl_call_pltexit
37004 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37005 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37006 (la_sparc64_gnu_pltexit): New functions.
37007 (print_exit): Fix format string for return register value.
37009 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37011 * sunrpc/Makefile (others): Add rpcgen.
37012 ($(objpfx)rpcgen): Remove special build rule and dependency on
37014 * sunrpc/rpcgen.c: New file.
37016 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37019 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37020 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37021 * sysdeps/i386/crti.S: Likewise.
37022 * sysdeps/i386/crtn.S: Likewise.
37023 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37024 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37025 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37026 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37027 * sysdeps/sh/crti.S: Likewise.
37028 * sysdeps/sh/crtn.S: Likewise.
37029 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37032 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37034 * locale/programs/locfile-kw.gperf: Likewise.
37035 * locale/programs/charmap-kw.h: Regenerated.
37036 * locale/programs/locfile-kw.h: Likewise.
37039 * intl/plural.y: Replace FSF snail mail address with URL.
37040 * intl/plural.c: Regenerated.
37042 2012-03-09 Richard Henderson <rth@twiddle.net>
37044 * include/math_private.h: Remove file.
37045 * math/math_private.h: Move file ...
37046 * sysdeps/generic/math_private.h: ... here.
37048 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37049 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37050 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37052 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37053 and <math_private.h>.
37054 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37055 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37056 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37057 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37058 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37079 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37080 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37142 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37145 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37147 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37148 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37149 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37150 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37151 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37154 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37155 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37156 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37158 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37159 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37160 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37161 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37168 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37170 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37171 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37172 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37173 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37174 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37175 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37176 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37177 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37178 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37182 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37186 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37187 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37190 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37191 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37193 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37196 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37203 * sysdeps/ieee754/k_standard.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37214 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37216 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37217 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37218 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37221 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37224 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37225 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37323 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37326 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37329 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37331 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37336 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37341 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37364 * sysdeps/ieee754/s_lib_version.c: Likewise.
37365 * sysdeps/ieee754/s_matherr.c: Likewise.
37366 * sysdeps/ieee754/s_signgam.c: Likewise.
37367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37369 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37370 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37371 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37372 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37373 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37374 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37375 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37376 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37377 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37378 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37379 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37380 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37381 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37382 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37383 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37384 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37385 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37389 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37391 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37392 * sunrpc/rpc_main.c: Likewise.
37393 * sunrpc/rpc_svcout.c: Likewise.
37395 2012-03-09 David S. Miller <davem@davemloft.net>
37397 * include/math_private.h: New file.
37399 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37401 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37402 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37403 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37404 from <bits/socket_type.h>.
37405 (enum __socket_type): Don't define here.
37406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37408 bits/socket_type.h.
37411 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37412 checking __USE_GNU.
37414 * Makerules ($(inst_includedir)/%.h): New rule.
37415 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37416 (install-others): Remove variable setting.
37417 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37419 2012-03-08 Richard Henderson <rth@twiddle.net>
37421 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37422 from macro to inline function; merge with the
37423 !__LIBC_INTERNAL_MATH_INLINES version.
37424 (__ieee754_sqrtf): Likewise.
37426 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37427 to inline function.
37428 (__rintf, __floor, __floorf): Likewise.
37430 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37431 macro to inline function.
37432 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37434 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37435 not <math/math_private.h>.
37437 2012-03-08 David S. Miller <davem@davemloft.net>
37439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37441 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37443 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37445 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37447 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37448 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37450 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37452 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37453 be defined individually, they must be defined as a block. Define
37454 S for printing a string instead of hidint the different by using a
37455 macro for adding the 'l'.
37456 * stdio-common/tst-fphex-wide.c: Adjust.
37458 2012-03-07 Marek Polacek <polacek@redhat.com>
37460 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37462 2012-03-08 Marek Polacek <polacek@redhat.com>
37465 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37466 * stdio-common/tst-fphex.c: Define a few macros to make the
37467 test reusable. Use them.
37468 * stdio-common/tst-fphex-wide.c: New file.
37470 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37473 * manual/macros.texi (gnusystems): New macro.
37474 (nongnusystems): Likewise.
37475 (gnulinuxhurdsystems): Likewise.
37476 (gnuhurdsystems): Likewise..
37477 (gnulinuxsystems): Likewise.
37478 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37479 variants of the GNU system, not "GNU system".
37480 * manual/conf.texi: Likewise.
37481 * manual/errno.texi: Likewise. Update example of errno macro
37483 * manual/filesys.texi: Likewise.
37484 (getumask): Document as specific to GNU/Hurd.
37485 * manual/install.texi: Likewise. Reword some references to
37487 * manual/intro.texi: Likewise.
37488 * manual/io.texi: Likewise.
37489 (File Name Portability): Detail which constraints are inapplicable
37490 to all GNU systems and which are only inapplicable to GNU/Hurd.
37491 * manual/job.texi: Likewise.
37492 * manual/llio.texi: Likewise.
37493 (O_NOCTTY): Document as present on GNU/Linux.
37494 * manual/maint.texi: Likewise.
37495 * manual/memory.texi: Likewise.
37496 * manual/pattern.texi: Likewise.
37497 * manual/pipe.texi: Likewise.
37498 * manual/process.texi: Likewise.
37499 * manual/resource.texi: Likewise.
37500 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37502 * manual/setjmp.texi: Likewise.
37503 * manual/signal.texi: Likewise.
37504 * manual/startup.texi: Likewise.
37505 * manual/stdio.texi: Likewise.
37506 * manual/terminal.texi: Likewise.
37507 (ONLCR): Document as POSIX.
37508 (OXTABS): Document availability on GNU/Linux as XTABS.
37509 (ONOEOT): Document availability separately from other bits.
37510 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37511 * manual/time.texi: Likewise.
37512 * manual/users.texi: Likewise.
37513 * INSTALL: Regenerated.
37514 * sysdeps/gnu/errlist.c: Regenerated.
37516 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37517 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37518 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37520 * configure: Regenerated.
37522 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37524 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37525 default includes instead of AC_HEADER_CHECK.
37526 * sysdeps/i386/configure: Regenerated.
37529 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37530 * math/s_cacoshf.c (__cacoshf): Likewise.
37531 * math/s_cacoshl.c (__cacoshl): Likewise.
37532 * math/s_casinh.c (__casinh): Set signs of result from argument.
37533 * math/s_casinhf.c (__casinhf): Likewise.
37534 * math/s_casinhl.c (__casinhl): Likewise.
37535 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37536 (casinh_test): Add more tests.
37537 * sysdeps/i386/fpu/libm-test-ulps: Update.
37538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37540 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37542 * po/zh_TW.po: Update from translation team.
37544 * login/Makefile (distribute): Remove variable.
37545 * catgets/Makefile: Likewise.
37546 * mach/Makefile: Likewise.
37547 * malloc/Makefile: Likewise.
37548 * misc/Makefile: Likewise.
37549 * iconv/Makefile: Likewise.
37550 * nscd/Makefile: Likewise.
37551 * hurd/Makefile: Likewise.
37552 * manual/Makefile: Likewise.
37553 * locale/Makefile: Likewise.
37554 * intl/Makefile: Likewise.
37555 * conform/Makefile: Likewise.
37556 * nss/Makefile: Likewise.
37557 * time/Makefile: Likewise.
37558 * soft-fp/Makefile: Likewise.
37559 * dirent/Makefile: Likewise.
37560 * gmon/Makefile: Likewise.
37561 * po/Makefile: Likewise.
37562 * rt/Makefile: Likewise.
37563 * socket/Makefile: Likewise.
37564 * math/Makefile: Likewise.
37565 * signal/Makefile: Likewise.
37566 * debug/Makefile: Likewise.
37567 * elf/Makefile: Likewise.
37568 * timezone/Makefile: Likewise.
37569 * stdlib/Makefile: Likewise.
37570 * iconvdata/Makefile: Likewise.
37571 * sunrpc/Makefile: Likewise.
37572 * io/Makefile: Likewise.
37573 * argp/Makefile: Likewise.
37574 * inet/Makefile: Likewise.
37575 * hesiod/Makefile: Likewise.
37576 * grp/Makefile: Likewise.
37577 * csu/Makefile: Likewise.
37578 * wctype/Makefile: Likewise.
37579 * crypt/Makefile: Likewise.
37580 * libio/Makefile: Likewise.
37581 * string/Makefile: Likewise.
37582 * nis/Makefile: Likewise.
37583 * resolv/Makefile: Likewise.
37584 * stdio-common/Makefile: Likewise.
37585 * wcsmbs/Makefile: Likewise.
37586 * dlfcn/Makefile: Likewise.
37587 * posix/Makefile: Likewise.
37590 * timezone/Makefile: Don't install timezone files, just the programs
37593 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37595 * nss/databases.def: Add missing gshadow entry.
37597 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37599 2012-03-06 Marek Polacek <polacek@redhat.com>
37602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37603 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37604 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37605 * stdio-common/tst-long-dbl-fphex.c: New file.
37607 2012-03-06 David S. Miller <davem@davemloft.net>
37609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37610 (set_obp_int): New function.
37611 (get_obp_int): New function.
37612 (__get_clockfreq_via_dev_openprom): Likewise.
37613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37614 Avoid unused variable warnings on 'val' and use builtin_expect.
37615 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37617 (INLINE_CLONE_SYSCALL): Likewise.
37619 2012-03-05 David S. Miller <davem@davemloft.net>
37621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37623 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37627 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37628 only for |x| >= 40.
37629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37631 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37634 Replace gettimeofday with __vdso_gettimeofday.
37636 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37637 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37638 __vdso_clock_gettime and __vdso_getcpu.
37640 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37641 time with __vdso_time.
37643 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37645 * manual/lang.texi (size_t): Note types to which size_t may be
37646 equivalent with the GNU C Library, but do not describe when
37647 differences between them are significant.
37649 2012-03-05 Andreas Jaeger <aj@suse.de>
37651 * sysdeps/i386/fpu/libm-test-ulps: Update.
37653 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37656 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37657 (__ieee754_pow): Save and restore rounding mode and use
37658 round-to-nearest for main computations.
37659 * math/libm-test.inc (pow_test_tonearest): New function.
37660 (pow_test_towardzero): Likewise.
37661 (pow_test_downward): Likewise.
37662 (pow_test_upward): Likewise.
37663 (main): Call the new functions.
37664 * sysdeps/i386/fpu/libm-test-ulps: Update.
37665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37668 * math/libm-test.inc (cosh_test_tonearest): New function.
37669 (cosh_test_towardzero): Likewise.
37670 (cosh_test_downward): Likewise.
37671 (cosh_test_upward): Likewise.
37672 (sinh_test_tonearest): Likewise.
37673 (sinh_test_towardzero): Likewise.
37674 (sinh_test_downward): Likewise.
37675 (sinh_test_upward): Likewise.
37676 (main): Call the new functions.
37677 * sysdeps/i386/fpu/libm-test-ulps: Update.
37678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37680 2012-03-05 Tom de Vries <tom@codesourcery.com>
37682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37683 default stack guard is set in last bytes.
37684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37686 2012-03-05 Kees Cook <keescook@chromium.org>
37688 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37691 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37692 possibly allocate from heap instead of stack.
37693 * stdio-common/bug-vfprintf-nargs.c: New file.
37694 * stdio-common/Makefile (tests): Add nargs overflow test.
37696 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37700 2012-03-03 Marek Polacek <polacek@redhat.com>
37702 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37703 * math/math_private.h: Likewise.
37704 * stdlib/tst-strtod.c: Likewise.
37705 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37706 * sysdeps/x86_64/bits/atomic.h: Likewise.
37708 2012-03-02 David S. Miller <davem@davemloft.net>
37710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37714 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37715 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37716 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37717 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37719 2012-03-02 Roland McGrath <roland@hack.frob.com>
37722 * manual/examples/README: New file, says the example source files
37723 can be used under GPL>=2.
37724 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37725 line containing just "*/".
37726 * manual/examples/add.c: Add copyright header (GPL>=2).
37727 * manual/examples/argp-ex1.c: Likewise.
37728 * manual/examples/argp-ex2.c: Likewise.
37729 * manual/examples/argp-ex3.c: Likewise.
37730 * manual/examples/argp-ex4.c: Likewise.
37731 * manual/examples/atexit.c: Likewise.
37732 * manual/examples/db.c: Likewise.
37733 * manual/examples/dir.c: Likewise.
37734 * manual/examples/dir2.c: Likewise.
37735 * manual/examples/execinfo.c: Likewise.
37736 * manual/examples/filecli.c: Likewise.
37737 * manual/examples/filesrv.c: Likewise.
37738 * manual/examples/fmtmsgexpl.c: Likewise.
37739 * manual/examples/genpass.c: Likewise.
37740 * manual/examples/inetcli.c: Likewise.
37741 * manual/examples/inetsrv.c: Likewise.
37742 * manual/examples/isockad.c: Likewise.
37743 * manual/examples/longopt.c: Likewise.
37744 * manual/examples/memopen.c: Likewise.
37745 * manual/examples/memstrm.c: Likewise.
37746 * manual/examples/mkfsock.c: Likewise.
37747 * manual/examples/mkisock.c: Likewise.
37748 * manual/examples/mygetpass.c: Likewise.
37749 * manual/examples/pipe.c: Likewise.
37750 * manual/examples/popen.c: Likewise.
37751 * manual/examples/rprintf.c: Likewise.
37752 * manual/examples/search.c: Likewise.
37753 * manual/examples/select.c: Likewise.
37754 * manual/examples/setjmp.c: Likewise.
37755 * manual/examples/sigh1.c: Likewise.
37756 * manual/examples/sigusr.c: Likewise.
37757 * manual/examples/stpcpy.c: Likewise.
37758 * manual/examples/strdupa.c: Likewise.
37759 * manual/examples/strftim.c: Likewise.
37760 * manual/examples/strncat.c: Likewise.
37761 * manual/examples/subopt.c: Likewise.
37762 * manual/examples/swapcontext.c: Likewise.
37763 * manual/examples/termios.c: Likewise.
37764 * manual/examples/testopt.c: Likewise.
37765 * manual/examples/testpass.c: Likewise.
37766 * manual/examples/timeval_subtract.c: Likewise.
37769 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37771 * manual/timeval_subtract.c.texi: ... here, new file.
37773 2012-03-02 David S. Miller <davem@davemloft.net>
37775 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37777 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37780 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37781 (__sin): Save and restore rounding mode and use round-to-nearest
37782 for all computations.
37783 (__cos): Save and restore rounding mode and use round-to-nearest
37784 for all computations.
37785 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37787 (tan): Save and restore rounding mode and use round-to-nearest for
37789 * math/libm-test.inc (cos_test_tonearest): New function.
37790 (cos_test_towardzero): Likewise.
37791 (cos_test_downward): Likewise.
37792 (cos_test_upward): Likewise.
37793 (sin_test_tonearest): Likewise.
37794 (sin_test_towardzero): Likewise.
37795 (sin_test_downward): Likewise.
37796 (sin_test_upward): Likewise.
37797 (tan_test_tonearest): Likewise.
37798 (tan_test_towardzero): Likewise.
37799 (tan_test_downward): Likewise.
37800 (tan_test_upward): Likewise.
37801 (main): Call the new functions.
37802 * sysdeps/i386/fpu/libm-test-ulps: Update.
37803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37806 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37807 small n, then large n, before computing and testing k+n.
37808 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37813 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37814 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37815 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37816 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37821 * math/libm-test.inc (scalbn_test): Add more tests.
37822 (scalbln_test): Likewise.
37824 * manual/filesys.texi (mode_t): Describe constraints on size and
37825 signedness, not exact equivalence to a particular type.
37827 (ino64_t): Likewise.
37829 (nlink_t): Likewise.
37830 (blkcnt_t): Likewise.
37831 (blkcnt64_t): Likewise.
37832 * manual/llio.texi (off_t): Likewise.
37835 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37836 (__ieee754_exp): Save and restore rounding mode and use
37837 round-to-nearest for all computations.
37838 * math/libm-test.inc (exp_test_tonearest): New function.
37839 (exp_test_towardzero): Likewise.
37840 (exp_test_downward): Likewise.
37841 (exp_test_upward): Likewise.
37842 (main): Call the new functions.
37843 * sysdeps/i386/fpu/libm-test-ulps: Update.
37844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37846 2012-03-01 Chris Demetriou <cgd@google.com>
37848 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37849 have predictable order.
37851 2012-03-01 David S. Miller <davem@davemloft.net>
37853 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37855 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37856 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37857 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37858 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37860 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37861 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37862 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37864 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37865 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37866 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37867 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37868 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37873 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37876 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37877 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37878 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37883 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37884 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37885 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37886 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37890 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37892 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37893 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37894 * sysdeps/sparc/elf/configure: Regenerated.
37896 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37898 * configure.in (AS, LD): Require binutils 2.20 or later.
37899 * configure: Regenerated.
37900 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37901 as required minimum version.
37902 * INSTALL: Regenerated.
37906 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37907 before squaring exponent.
37908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37909 bottom long double and 27 bits of top long double before squaring
37911 * math/libm-test.inc (erfc_test): Add more tests.
37912 * sysdeps/i386/fpu/libm-test-ulps: Update.
37913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37916 2012-03-01 Kai Tietz <ktietz@redhat.com>
37918 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37919 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37920 containing bit-fields.
37921 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37922 * soft-fp/single.h (_FP_UNION_S): Likewise.
37923 * soft-fp/double.h (_FP_UNION_D): Likewise.
37925 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37928 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37929 not include ../strcmp.S.
37930 [USE_AS_STRNCASECMP_L]: Likewise.
37931 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37932 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37933 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37934 (__strncasecmp_l_ia32): Define as alias to
37935 __strncasecmp_l_nonascii.
37938 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37939 * sysdeps/i386/fpu/libm-test-ulps: Update.
37940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37942 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37945 2012-02-29 Jeff Law <law@redhat.com>
37947 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37948 out of bounds read.
37950 2012-02-29 Marek Polacek <polacek@redhat.com>
37953 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37954 * elf/Makefile: Add rules to run tst-unused-dep.out.
37956 2012-02-28 David S. Miller <davem@davemloft.net>
37958 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37959 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37962 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37963 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37965 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37967 * math/libm-test.inc (llround_test): Move one test from
37968 lround_test. Use TEST_f_L in moved test.
37969 (lround_test): Move misplaced test to llround_test. Add testcase
37972 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37974 * sysdeps/x86_64/fpu/e_expf.S: New file.
37975 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37977 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37980 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37981 of remain_len that may cause incomplete multi-byte character and
37983 * posix/bug-regex33.c: New file.
37984 * posix/Makefile (tests): Add bug-regex33.
37986 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37988 * manual/macros.texi: New file.
37989 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37990 * manual/libc.texinfo: Include macros.texi.
37991 * manual/creatute.texi: Likewise.
37992 * manual/install.texi: Likewise.
37993 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37994 @glibcadj{} in references to the GNU C Library.
37995 * manual/charset.texi: Likewise.
37996 * manual/conf.texi: Likewise.
37997 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37998 when not using those macros.
37999 * manual/creature.texi: Likewise.
38000 * manual/crypt.texi: Likewise.
38001 * manual/errno.texi: Likewise.
38002 * manual/filesys.texi: Likewise.
38003 * manual/header.texi: Likewise.
38004 * manual/install.texi: Likewise.
38005 * manual/intro.texi: Likewise.
38006 * manual/io.texi: Likewise.
38007 * manual/job.texi: Likewise.
38008 * manual/lang.texi: Likewise.
38009 * manual/libc.texiinfo: Likewise.
38010 * manual/llio.texi: Likewise.
38011 * manual/locale.texi: Likewise.
38012 * manual/maint.texi: Likewise.
38013 * manual/math.texi: Likewise.
38014 * manual/memory.texi: Likewise.
38015 * manual/message.texi: Likewise.
38016 * manual/nss.texi: Likewise.
38017 * manual/pattern.texi: Likewise.
38018 * manual/process.texi: Likewise.
38019 * manual/resource.texi: Likewise.
38020 * manual/search.texi: Likewise.
38021 * manual/setjmp.texi: Likewise.
38022 * manual/signal.texi: Likewise.
38023 * manual/socket.texi: Likewise.
38024 * manual/startup.texi: Likewise.
38025 * manual/stdio.texi: Likewise.
38026 * manual/string.texi: Likewise.
38027 * manual/sysinfo.texi: Likewise.
38028 * manual/syslog.texi: Likewise.
38029 * manual/terminal.texi: Likewise.
38030 * manual/time.texi: Likewise.
38031 * manual/users.texi: Likewise.
38032 * INSTALL: Regenerated.
38033 * NOTES: Regenerated.
38034 * sysdeps/gnu/errlist.c: Regenerated.
38036 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38038 * include/dirent.h: Include <dirstream.h> before
38041 2012-02-28 David S. Miller <davem@davemloft.net>
38043 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38044 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38045 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38046 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38048 2012-02-27 David S. Miller <davem@davemloft.net>
38050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38052 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38053 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38056 frame pointer instead of stack pointer relative arg slot.
38057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38061 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38064 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38066 2012-02-27 David S. Miller <davem@davemloft.net>
38068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38072 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38073 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38074 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38075 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38077 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38079 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38080 later. Allow versions 5-9.
38081 * configure: Regenerated.
38082 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38083 required minimum version and 4.6 as recommended version. Do not
38084 mention bugs in GCC 2.7 and 2.8.
38085 * INSTALL: Regenerated.
38087 2012-02-27 David S. Miller <davem@davemloft.net>
38089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38095 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38096 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38099 manipulate bits before adding and subtracting TWO112[sx].
38100 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38102 2012-02-27 Roland McGrath <roland@hack.frob.com>
38105 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38106 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38107 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38108 being in POSIX, because they are in 1003.1-2008.
38110 * rt/tst-aio.c: Include <fcntl.h>.
38111 * rt/tst-aio7.c: Likewise.
38112 * rt/tst-aio64.c: Likewise.
38114 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38116 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38118 * manual/install.texi (--with-headers): Describe headers as
38119 interface headers, not private headers.
38120 (Specific advice for GNU/Linux systems): Describe use of headers
38121 from "make headers_install", not private headers from older
38123 * INSTALL: Regenerated.
38124 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38126 * sysdeps/unix/sysv/linux/configure: Regenerated.
38128 * manual/llio.texi (fclean): Remove documentation.
38130 * manual/Makefile (libc-texi-generated): New variable. Include
38132 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38133 $(libc-texi-generated), not duplicated list of files.
38134 (version.texi, stamp-version): New rules.
38135 (realclean): Remove $(libc-texi-generated), not individual files
38136 from that list. Do not remove dir-add.texinfo.
38137 * manual/libc.texinfo: Comment out uses of edition numbers and
38138 references to printed manual. Remove last-updated dates.
38139 (EDITION): Comment out.
38141 (VERSION, UPDATED): Remove.
38142 (version.texi): Include.
38144 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38146 * sysdeps/posix/spawni.c: Include <signal.h>.
38147 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38148 * sysdeps/pthread/aio_fsync.c: Likewise.
38150 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38152 * conform/Makefile (tests): Run only when not cross-compiling and
38153 when fast-check is not defined.
38155 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38156 * conform/data/limits.h-data: Fixes for POSIX2008.
38157 * conform/run-conformtest.sh: Run all tests.
38158 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38160 * include/bits/dlfcn.h: Likewise.
38161 * include/langinfo.h: Likewise.
38162 * include/monetary.h: Likewise.
38163 * include/sys/poll.h: Likewise.
38165 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38167 * posix/spawn.h: Define __need_sigset_t.
38168 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38169 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38170 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38171 to get sigevent_t only.
38172 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38173 only for __USE_GNU.
38174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38175 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38176 process_vm_writev only for __USE_GNU.
38177 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38179 * conform/Makefile: For now ignore errors from run-conformtest.
38180 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38181 POSIX to avoid namespace pollution. Don't prepend headers.
38182 * conform/data/aio.h-data: Fixes for POSIX testing.
38183 * conform/data/fcntl.h-data: Likewise.
38184 * conform/data/glob.h-data: Likewise.
38185 * conform/data/grp.h-data: Likewise.
38186 * conform/data/pthread.h-data: Likewise.
38187 * conform/data/pwd.h-data: Likewise.
38188 * conform/data/signal.h-data: Likewise.
38189 * conform/data/spawn.h-data: Likewise.
38190 * conform/data/stdio.h-data: Likewise.
38191 * conform/data/stdlib.h-data: Likewise.
38192 * conform/data/stropts.h-data: Likewise.
38193 * conform/data/sys/mman.h-data: Likewise.
38194 * conform/data/sys/stat.h-data: Likewise.
38195 * conform/data/sys/types.h-data: Likewise.
38196 * conform/data/sys/wait.h-data: Likewise.
38197 * conform/data/time.h-data: Likewise.
38198 * conform/data/unistd.h-data: Likewise.
38199 * conform/data/utime.h-data: Likewise.
38201 * io/sys/stat.h: fchmod was always in POSIX.
38202 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38203 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38204 * rt/aio.h: Define __need_timespec before including <time.h>.
38205 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38206 struct. Add forward declaration of pthread_attr_t and use it in
38208 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38210 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38211 always remove CLK_TCK definition.
38213 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38215 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38217 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38219 * conform/run-conformtest.sh: New file.
38220 * conform/Makefile: Run run-conformtest for tests.
38221 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38224 * conform/data/uchar.h-data: New file.
38225 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38226 * conform/data/arpa/inet.h-data: Likewise.
38227 * conform/data/assert.h-data: Likewise.
38228 * conform/data/complex.h-data: Likewise.
38229 * conform/data/cpio.h-data: Likewise.
38230 * conform/data/ctype.h-data: Likewise.
38231 * conform/data/dirent.h-data: Likewise.
38232 * conform/data/dlfcn.h-data: Likewise.
38233 * conform/data/errno.h-data: Likewise.
38234 * conform/data/fcntl.h-data: Likewise.
38235 * conform/data/float.h-data: Likewise.
38236 * conform/data/fmtmsg.h-data: Likewise.
38237 * conform/data/fnmatch.h-data: Likewise.
38238 * conform/data/ftw.h-data: Likewise.
38239 * conform/data/glob.h-data: Likewise.
38240 * conform/data/grp.h-data: Likewise.
38241 * conform/data/iconv.h-data: Likewise.
38242 * conform/data/inttypes.h-data: Likewise.
38243 * conform/data/langinfo.h-data: Likewise.
38244 * conform/data/libgen.h-data: Likewise.
38245 * conform/data/limits.h-data: Likewise.
38246 * conform/data/locale.h-data: Likewise.
38247 * conform/data/math.h-data: Likewise.
38248 * conform/data/monetary.h-data: Likewise.
38249 * conform/data/mqueue.h-data: Likewise.
38250 * conform/data/ndbm.h-data: Likewise.
38251 * conform/data/net/if.h-data: Likewise.
38252 * conform/data/netdb.h-data: Likewise.
38253 * conform/data/netinet/in.h-data: Likewise.
38254 * conform/data/nl_types.h-data: Likewise.
38255 * conform/data/poll.h-data: Likewise.
38256 * conform/data/pthread.h-data: Likewise.
38257 * conform/data/pwd.h-data: Likewise.
38258 * conform/data/regex.h-data: Likewise.
38259 * conform/data/sched.h-data: Likewise.
38260 * conform/data/search.h-data: Likewise.
38261 * conform/data/semaphore.h-data: Likewise.
38262 * conform/data/setjmp.h-data: Likewise.
38263 * conform/data/signal.h-data: Likewise.
38264 * conform/data/spawn.h-data: Likewise.
38265 * conform/data/stdarg.h-data: Likewise.
38266 * conform/data/stdio.h-data: Likewise.
38267 * conform/data/stdlib.h-data: Likewise.
38268 * conform/data/string.h-data: Likewise.
38269 * conform/data/strings.h-data: Likewise.
38270 * conform/data/stropts.h-data: Likewise.
38271 * conform/data/sys/ipc.h-data: Likewise.
38272 * conform/data/sys/mman.h-data: Likewise.
38273 * conform/data/sys/msg.h-data: Likewise.
38274 * conform/data/sys/resource.h-data: Likewise.
38275 * conform/data/sys/select.h-data: Likewise.
38276 * conform/data/sys/sem.h-data: Likewise.
38277 * conform/data/sys/shm.h-data: Likewise.
38278 * conform/data/sys/socket.h-data: Likewise.
38279 * conform/data/sys/stat.h-data: Likewise.
38280 * conform/data/sys/statvfs.h-data: Likewise.
38281 * conform/data/sys/time.h-data: Likewise.
38282 * conform/data/sys/timeb.h-data: Likewise.
38283 * conform/data/sys/times.h-data: Likewise.
38284 * conform/data/sys/types.h-data: Likewise.
38285 * conform/data/sys/uio.h-data: Likewise.
38286 * conform/data/sys/un.h-data: Likewise.
38287 * conform/data/sys/utsname.h-data: Likewise.
38288 * conform/data/sys/wait.h-data: Likewise.
38289 * conform/data/syslog.h-data: Likewise.
38290 * conform/data/tar.h-data: Likewise.
38291 * conform/data/termios.h-data: Likewise.
38292 * conform/data/utime.h-data: Likewise.
38293 * conform/data/utmpx.h-data: Likewise.
38294 * conform/data/varargs.h-data: Likewise.
38295 * conform/data/wchar.h-data: Likewise.
38296 * conform/data/wctype.h-data: Likewise.
38297 * conform/data/wordexp.h-data: Likewise.
38299 * include/stropts.h: New file.
38300 * include/uchar.h: New file.
38301 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38302 * include/assert.h: Likewise.
38303 * include/ctype.h: Likewise.
38304 * include/dirent.h: Likewise.
38305 * include/dlfcn.h: Likewise.
38306 * include/fcntl.h: Likewise.
38307 * include/fnmatch.h: Likewise.
38308 * include/glob.h: Likewise.
38309 * include/grp.h: Likewise.
38310 * include/libio.h: Likewise.
38311 * include/locale.h: Likewise.
38312 * include/math.h: Likewise.
38313 * include/net/if.h: Likewise.
38314 * include/netdb.h: Likewise.
38315 * include/netinet/in.h: Likewise.
38316 * include/pthread.h: Likewise.
38317 * include/pwd.h: Likewise.
38318 * include/regex.h: Likewise.
38319 * include/sched.h: Likewise.
38320 * include/search.h: Likewise.
38321 * include/setjmp.h: Likewise.
38322 * include/signal.h: Likewise.
38323 * include/stdio.h: Likewise.
38324 * include/stdlib.h: Likewise.
38325 * include/string.h: Likewise.
38326 * include/sys/cdefs.h: Likewise.
38327 * include/sys/mman.h: Likewise.
38328 * include/sys/msg.h: Likewise.
38329 * include/sys/resource.h: Likewise.
38330 * include/sys/select.h: Likewise.
38331 * include/sys/socket.h: Likewise.
38332 * include/sys/stat.h: Likewise.
38333 * include/sys/statvfs.h: Likewise.
38334 * include/sys/time.h: Likewise.
38335 * include/sys/times.h: Likewise.
38336 * include/sys/uio.h: Likewise.
38337 * include/sys/utsname.h: Likewise.
38338 * include/sys/wait.h: Likewise.
38339 * include/termios.h: Likewise.
38340 * include/time.h: Likewise.
38341 * include/ulimit.h: Likewise.
38342 * include/unistd.h: Likewise.
38343 * include/utime.h: Likewise.
38344 * include/wchar.h: Likewise.
38345 * include/wctype.h: Likewise.
38346 * include/wordexp.h: Likewise.
38348 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38350 * time/time.h: TIME_UTC must be a macro.
38351 Make timespec_get available for ISO C11 only as well.
38353 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38355 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38356 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38358 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38360 * configure.in: Use -o not -a in test for unsupported multi-arch.
38362 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38364 * manual/texinfo.tex: Update to version 2012-01-19.16.
38366 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38368 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38370 2012-02-24 Roland McGrath <roland@hack.frob.com>
38373 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38374 * manual/fdl-1.3.texi: New file.
38375 * manual/fdl-1.1.texi: File removed.
38378 * manual/libc.texinfo (FDL_VERSION): New @set.
38379 Use it for mention of FDL in cover text.
38380 (Documentation License): Use it in @include file name.
38382 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38383 Roland McGrath <roland@hack.frob.com>
38386 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38387 (not LONG_LONG_MAX and LONG_LONG_MIN.
38388 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38389 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38391 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38397 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38398 manipulate bits before adding and subtracting TWO23[sx].
38399 * math/libm-test.inc (nearbyint_test): Add more tests.
38401 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38404 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38405 bits before adding and subtracting TWO23[sx].
38406 * math/libm-test.inc (rint_test): Add more tests.
38407 (rint_test_tonearest): Likewise.
38408 (rint_test_towardzero): Likewise.
38409 (rint_test_downward): Likewise.
38410 (rint_test_upward: Likewise.
38412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38415 * include/stdc-predef.h: New file. Extracted from features.h.
38416 * include/features.h: Include stdc-predef.h.
38417 * Makefile (headers): Add stdc-predef.h.
38418 * CONFORMANCE (Compiler limitations): Update.
38420 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38422 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38424 2012-02-21 David S. Miller <davem@davemloft.net>
38426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38429 2012-02-20 David S. Miller <davem@davemloft.net>
38431 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38432 using a normal save/restore sequence, rather than allocating a
38433 dummy stack frame just to store a frame pointer and restore.
38434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38436 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38438 * manual/install.texi: Fix stray word in line-wrapped comment.
38440 2012-02-20 David S. Miller <davem@davemloft.net>
38442 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38443 both binutils and gcc support GOTDATA.
38445 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38446 "rd %pc" in the PIC register setup sequences.
38448 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38449 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38450 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38451 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38452 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38454 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38457 (SYSCALL_ERROR_HANDLER): Likewise.
38458 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38459 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38461 (SYSCALL_ERROR_HANDLER): Likewise.
38463 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38464 (HAVE_GCC_GOTDATA): New.
38465 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38466 relocation support in both binutils and gcc.
38467 * sysdeps/sparc/elf/configure: Regenerate.
38469 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38470 * sysdeps/sparc/sparc32/elf/configure: Delete.
38471 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38472 * sysdeps/sparc/sparc64/elf/configure: Delete.
38473 * sysdeps/sparc/elf/configure.in: New file.
38474 * sysdeps/sparc/elf/configure: Generate.
38476 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38477 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38478 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38479 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38480 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38482 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38484 * manual/install.texi: Do not mention specific glibc version
38486 * manual/libc.texinfo (VERSION, UPDATED): Update.
38487 (@copying): Use @copyright{} and range of years.
38489 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38492 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38493 [crti.S not in sysdirs] (generated): Do not append.
38494 [crti.S not in sysdirs] (omit-deps): Likewise.
38495 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38496 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38497 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38498 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38499 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38501 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38502 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38503 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38504 * csu/defs.awk: Remove file.
38505 * sysdeps/generic/initfini.c: Likewise.
38506 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38508 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38511 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38513 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38514 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38515 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38518 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38520 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38521 (__EPOLL_PACKED): Define to empty if not defined by
38523 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38527 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38529 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38530 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38532 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38534 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38538 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38540 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38543 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38547 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38550 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38552 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38554 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38555 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38557 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38559 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38562 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38564 * math/w_acos.c: Use non-signaling floating-point comparisons.
38565 * math/w_acosf.c: Likewise.
38566 * math/w_acosh.c: Likewise.
38567 * math/w_acoshf.c: Likewise.
38568 * math/w_acoshl.c: Likewise.
38569 * math/w_acosl.c: Likewise.
38570 * math/w_asin.c: Likewise.
38571 * math/w_asinf.c: Likewise.
38572 * math/w_asinl.c: Likewise.
38573 * math/w_atanh.c: Likewise.
38574 * math/w_atanhf.c: Likewise.
38575 * math/w_atanhl.c: Likewise.
38576 * math/w_exp2.c: Likewise.
38577 * math/w_exp2f.c: Likewise.
38578 * math/w_exp2l.c: Likewise.
38579 * math/w_j0.c: Likewise.
38580 * math/w_j0f.c: Likewise.
38581 * math/w_j0l.c: Likewise.
38582 * math/w_j1.c: Likewise.
38583 * math/w_j1f.c: Likewise.
38584 * math/w_j1l.c: Likewise.
38585 * math/w_jn.c: Likewise.
38586 * math/w_jnf.c: Likewise.
38587 * math/w_log.c: Likewise.
38588 * math/w_log10.c: Likewise.
38589 * math/w_log10f.c: Likewise.
38590 * math/w_log10l.c: Likewise.
38591 * math/w_log2.c: Likewise.
38592 * math/w_log2f.c: Likewise.
38593 * math/w_log2l.c: Likewise.
38594 * math/w_logf.c: Likewise.
38595 * math/w_logl.c: Likewise.
38596 * math/w_sqrt.c: Likewise.
38597 * math/w_sqrtf.c: Likewise.
38598 * math/w_sqrtl.c: Likewise.
38599 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38600 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38601 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38602 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38603 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38605 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38608 * manual/string.texi (strnlen): Use correct parameter name in
38609 equivalent expression.
38611 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38614 * manual/users.texi (seteuid): Consistently use neweuid for
38617 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38620 * manual/nss.texi (Services in the NSS configuration): Correct
38621 list of services in example configuration file.
38623 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38626 * manual/arith.texi: Remove statements about negative zero
38627 behaving identically to zero.
38629 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38632 * manual/install.texi: Do not document upgrading from libc5.
38634 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38637 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38639 2012-02-18 David S. Miller <davem@davemloft.net>
38641 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38642 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38643 %o7 across the call.
38644 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38647 SETUP_PIC_REG_LEAF.
38648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38649 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38650 * sysdeps/sparc/crtn.S: Likewise.
38652 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38654 * aout/Makefile: Remove.
38656 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38659 * manual/examples/argp-ex1.c (main): Format definition in GNU
38661 * manual/examples/argp-ex2.c (main): Likewise.
38662 * manual/examples/argp-ex3.c (main): Likewise.
38663 * manual/examples/argp-ex4.c (main): Likewise.
38664 * manual/examples/longopt.c (main): Use new-style prototype
38666 * manual/examples/strncat.c (main): Specify return type and use
38667 (void) for arguments.
38668 * manual/examples/subopt.c (main): Use char **argv argument.
38670 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38673 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38676 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38679 * manual/string.texi (strchr): Change when strchrnul is
38682 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38685 * manual/locale.texi (setlocale): Document LOCPATH.
38687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38690 * manual/process.texi (execle): Move @dots{} before last argument.
38692 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38695 * manual/charset.texi (Generic Charset Conversion): Fix typo
38696 (LC_TYPE -> LC_CTYPE).
38698 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38701 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38702 (scalbnf): Likewise.
38703 (scalbnl): Likewise.
38704 (scalbln): Likewise.
38705 (scalblnf): Likewise.
38706 (scalblnl): Likewise.
38707 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38708 (vwarnx): Likewise.
38711 * manual/filesys.texi (telldir): Use braces around return type.
38712 * manual/llio.texi (mmap): Add space after comma.
38713 (mmap64): Likewise.
38714 * manual/math.texi (jn): Use @var{} on parameter names.
38720 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38722 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38724 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38725 (sched_get_priority_max): Likewise.
38726 * manual/signal.texi (sigvec): Add space after comma.
38727 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38729 (if_indextoname): Likewise.
38730 (if_freenameindex): Likewise.
38731 (sendto): Use ',' instead of '.' in prototype.
38732 * manual/startup.texi (syscall): Use @dots{} instead of literal
38734 * manual/stdio.texi (__fpending): Separate initial words of
38735 paragraph from @deftypefun line.
38736 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38738 (vsyslog): Use @var{} on parameter names.
38739 * manual/terminal.texi (stty): Use @var{} on parameter names.
38740 * manual/users.texi (getutmp): Use @var{} on parameter names.
38741 (getutmpx): Likewise.
38743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38746 * manual/stdio.texi (fopen): Fix typos in description of
38749 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38752 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38753 get clock_id definition.
38755 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38758 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38759 (madvise): Cast every argument to void on its own.
38761 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38764 * manual/startup.texi (Exit Status): Fix typo.
38766 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38769 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38770 * manual/examples/argp-ex2.c: Likewise.
38771 * manual/examples/argp-ex3.c: Likewise.
38773 2012-02-16 Richard Henderson <rth@redhat.com>
38775 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38776 * sysdeps/s390/s390-32/initfini.c: Remove.
38777 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38778 * sysdeps/s390/s390-64/initfini.c: Remove.
38780 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38782 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38783 compiler output for sysdeps/generic/initfini.c.
38784 * sysdeps/sh/elf/initfini.c: Remove file.
38786 2012-02-16 David S. Miller <davem@davemloft.net>
38789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38791 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38792 * sysdeps/sparc/crti.S: New file.
38793 * sysdeps/sparc/crtn.S: New file.
38794 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38795 * sysdeps/sparc/sparc64/Makefile: Likewise.
38797 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38800 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38802 2012-02-15 Roland McGrath <roland@hack.frob.com>
38805 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38807 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38808 (write, read, close): Likewise.
38809 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38811 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38813 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38814 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38815 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38816 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38818 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38822 2012-02-14 Marek Polacek <polacek@redhat.com>
38824 * sysdeps/x86_64/crti.S: New file.
38825 * sysdeps/x86_64/crtn.S: New file.
38826 * sysdeps/x86_64/elf/initfini.c: Remove file.
38828 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38830 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38831 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38832 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38833 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38835 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38839 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38841 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38842 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38843 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38844 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38846 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38850 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38852 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38853 __feraiseexcept instead of feraiseexcept.
38855 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38856 nanosleep invocations.
38857 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38858 strings, and add error checking for a nanosleep invocations.
38860 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38862 Replace FSF snail mail address with URLs, as per GNU coding standards.
38863 Most of the snail mail addresses were wrong anyway, and omitting
38864 them makes the source code easier to maintain. Almost all of the
38865 changes are to license notices and to locale LC_IDENTIFICATION
38866 addresses, except for this one:
38867 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38868 not its snail mail address.
38870 2012-02-09 Richard Henderson <rth@twiddle.net>
38872 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38873 of kernel-features.h.
38875 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38877 2012-02-08 Marek Polacek <polacek@redhat.com>
38879 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38880 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38881 * sysdeps/gnu/_G_config.h: Likewise.
38882 * sysdeps/generic/_G_config.h: Likewise.
38884 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38886 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38890 * sysdeps/powerpc/powerpc32/crti.S: New file.
38891 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38892 * sysdeps/powerpc/powerpc64/crti.S: New file.
38893 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38895 * Makeconfig (have-initfini): Don't set.
38896 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38897 * configure.in (nopic_initfini): Don't substitute.
38898 * config.h.in (HAVE_INITFINI): Don't #undef.
38899 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38900 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38902 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38904 Support crti.S and crtn.S provided directly by architectures.
38905 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38906 [crti.S in sysdirs] (omit-deps): Likewise.
38907 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38908 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38909 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38910 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38911 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38912 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38913 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38914 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38915 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38916 compiler output for sysdeps/generic/initfini.c.
38917 * sysdeps/i386/elf/Makefile: Remove file.
38918 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38920 2012-02-07 Marek Polacek <polacek@redhat.com>
38922 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38923 * sysdeps/gnu/_G_config.h: Likewise.
38924 * sysdeps/mach/hurd/_G_config.h: Likewise.
38926 2012-02-07 Marek Polacek <polacek@redhat.com>
38928 * math/Makefile (tests): Add tst-CMPLX2.
38929 * math/tst-CMPLX2.c: New file.
38931 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38935 * math/libm-test.inc (jn_test): Add missing L suffix.
38937 2012-02-06 Marek Polacek <polacek@redhat.com>
38939 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38940 * sysdeps/i386/fpu/e_powf.S: Likewise.
38941 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38942 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38944 * sysdeps/i386/fpu/e_pow.S: Likewise.
38945 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38946 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38947 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38948 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38949 * sysdeps/i386/fpu/e_log2.S: Likewise.
38950 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38952 * sysdeps/i386/fpu/e_powl.S: Likewise.
38953 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38954 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38955 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38956 * sysdeps/i386/fpu/e_logl.S: Likewise.
38957 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38958 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38959 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38960 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38963 * sysdeps/i386/fpu/e_log.S: Likewise.
38964 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38965 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38966 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38967 * sysdeps/i386/fpu/e_logf.S: Likewise.
38968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38969 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38970 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38971 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38972 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38973 * sysdeps/i386/fpu/e_log10.S: Likewise.
38974 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38976 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38977 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38978 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38979 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38980 * sysdeps/i386/asm-syntax.h: Likewise.
38981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38983 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38984 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38985 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38986 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38987 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38988 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38989 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38990 * sysdeps/powerpc/sysdep.h: Likewise.
38991 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38992 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38994 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38997 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38999 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39001 * sysdeps/i386/sysdep.h: Include <features.h>.
39002 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39005 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39007 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39009 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39012 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39014 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39015 (SETUP_PIC_REG): Use GET_PC_THUNK.
39016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39019 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39021 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39022 for non-PIC compilation.
39023 (SETUP_PIC_REG): Add .p2align directive.
39024 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39025 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39028 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39029 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39032 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39033 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39034 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39035 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39036 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39037 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39038 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39039 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39040 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39041 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39042 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39043 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39044 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39046 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39047 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39051 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39052 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39053 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39054 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39055 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39056 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39059 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39060 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39062 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39063 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39066 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39068 * math/tst-CMPLX.c: Include <stdio.h>.
39070 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39072 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39074 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39075 * sysdeps/sparc/bits/mathdef.h: Likewise.
39077 2012-01-31 Marek Polacek <polacek@redhat.com>
39079 * libio/libio.h: Don't define _PARAMS.
39080 * locale/programs/config.h: Don't define PARAMS.
39081 * stdlib/strtol_l.c: Likewise.
39082 (__strtol_l): Remove PARAMS from the prototype.
39084 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39086 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39087 names. Just use the correct names. Remove unnecessary wrapper
39089 * malloc/arena.c: Likewise.
39090 * malloc/hooks.c: Likewise.
39092 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39093 ARENA_TEST says not to. Simplify test for creation of a new arena.
39094 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39096 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39098 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39100 (update_get_addr): New function.
39101 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39102 GET_ADDR_MODULE parameter.
39104 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39106 * crypt/cert.c: Remove __STDC__ conditionals.
39107 * crypt/crypt-entry.c: Likewise.
39108 * crypt/crypt_util.c: Likewise.
39109 * libio/filedoalloc.c: Likewise.
39110 * libio/fileops.c: Likewise.
39111 * libio/genops.c: Likewise.
39112 * libio/iofclose.c: Likewise.
39113 * libio/iofdopen.c: Likewise.
39114 * libio/iofopen.c: Likewise.
39115 * libio/iofopen64.c: Likewise.
39116 * libio/iogetdelim.c: Likewise.
39117 * libio/iopopen.c: Likewise.
39118 * libio/obprintf.c: Likewise.
39119 * libio/oldfileops.c: Likewise.
39120 * libio/oldiofclose.c: Likewise.
39121 * libio/oldiofdopen.c: Likewise.
39122 * libio/oldiofopen.c: Likewise.
39123 * libio/oldiopopen.c: Likewise.
39124 * libio/wfiledoalloc.c: Likewise.
39125 * libio/wgenops.c: Likewise.
39126 * locale/programs/xmalloc.c: Likewise.
39127 * misc/syslog.c: Likewise.
39128 * stdio-common/xbug.c: Likewise.
39129 * string/memchr.c: Likewise.
39130 * string/memcmp.c: Likewise.
39131 * string/memrchr.c: Likewise.
39132 * string/rawmemchr.c: Likewise.
39133 * sysdeps/posix/getcwd.c: Likewise.
39134 * time/strftime_l.c: Likewise.
39136 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39138 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39139 * config.make.in (config-cflags-sse2avx): Define.
39140 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39143 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39145 * scripts/config.guess: Update from upstream config git repository.
39146 * scripts/config.sub: Likewise.
39148 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39150 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39152 (R_TILEPRO_*, R_TILEGX_*): New macros.
39154 * scripts/firstversions.awk: Fix bug in version range handling.
39156 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39158 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39160 * include/sys/epoll.h: New file.
39161 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39164 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39166 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39167 Avoid unnecessary __WORDSIZE == 64 test.
39168 (fmaxf): Use VEX format if possible.
39173 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39174 * math/math_private.h: Remove libc_fegetround* and
39176 * sysdeps/i386/configure.in: Check for -msse2avx.
39177 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39178 also if SSE2AVX is defined.
39179 Remove libc_fegetround* and libc_fesetround*.
39180 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39181 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39182 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39186 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39187 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39190 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39192 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39194 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39198 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39201 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39203 * Makeconfig (libm): Define.
39204 * elf/Makefile: Add rules to build and run tst-relsort1.
39205 * elf/tst-relsort1.c: New file.
39206 * elf/tst-relsort1mod1.c: New file.
39207 * elf/tst-relsort1mod2.c: New file.
39209 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39211 * math/s_ldexp.c: Remove __STDC__ conditionals.
39212 * math/s_ldexpf.c: Likewise.
39213 * math/s_ldexpl.c: Likewise.
39214 * math/s_nextafter.c: Likewise.
39215 * math/s_nexttowardf.c: Likewise.
39216 * math/s_significand.c: Likewise.
39217 * math/s_significandf.c: Likewise.
39218 * math/s_significandl.c: Likewise.
39219 * math/w_jnl.c: Likewise.
39220 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39221 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39222 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39223 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39224 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39226 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39229 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39230 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39232 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39233 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39234 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39235 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39236 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39241 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39246 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39248 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39249 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39250 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39251 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39252 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39254 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39255 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39256 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39257 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39258 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39259 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39260 * sysdeps/ieee754/k_standard.c: Likewise.
39261 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39262 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39263 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39264 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39265 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39266 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39267 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39268 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39269 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39270 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39271 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39272 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39273 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39274 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39275 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39276 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39277 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39280 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39283 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39322 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39327 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39340 * sysdeps/ieee754/s_matherr.c: Likewise.
39341 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39342 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39346 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39348 * crypt/md5.h: Remove __STDC__ conditionals.
39349 * libio/libioP.h: Likewise.
39350 * locale/programs/config.h: Likewise.
39351 * sysdeps/generic/sysdep.h: Likewise.
39352 * sysdeps/i386/asm-syntax.h: Likewise.
39353 * sysdeps/s390/asm-syntax.h: Likewise.
39354 * sysdeps/unix/sysdep.h: Likewise.
39355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39358 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39360 * libio/libio.h: Remove __STDC__ conditionals.
39361 * malloc/obstack.h: Likewise.
39362 * math/complex.h: Likewise.
39363 * math/math.h: Likewise.
39364 * sysdeps/generic/_G_config.h: Likewise.
39365 * sysdeps/gnu/_G_config.h: Likewise.
39366 * sysdeps/mach/hurd/_G_config.h: Likewise.
39367 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39368 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39369 * sysdeps/sparc/bits/mathdef.h: Likewise.
39371 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39374 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39375 Clean up HAS_* macros.
39376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39377 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39382 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39383 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39384 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39385 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39387 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39389 * elf/tst-unique3.cc (gets): Remove declaration.
39390 * elf/tst-unique3lib.cc (gets): Likewise.
39391 * elf/tst-unique3lib2.cc (gets): Likewise.
39392 * elf/tst-unique4.cc (gets): Likewise.
39394 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39396 * include/stdio.h: Add C++ protection. Add gets declarations and
39398 * debug/tst-chk1.c: Don't declare gets here.
39399 * stdio-common/tst-gets.c: Likewise.
39401 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39403 * posix/glob: Remove directory.
39405 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39407 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39409 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39411 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39412 of the non-standard EPFNOSUPPORT.
39414 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39416 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39417 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39418 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39420 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39422 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39424 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39426 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39428 * nscd/grpcache.c (cache_addgr): Likewise.
39429 * nscd/hstcache.c (cache_addhst): Likewise.
39430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39431 * nscd/pwdcache.c (cache_addpw): Likewise.
39432 * nscd/servicescache.c (cache_addserv): Likewise.
39434 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39436 * malloc/malloc.c: Various cleanups.
39437 * malloc/hooks.c: Likewise.
39439 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39440 * stdlib/bug-fmtmsg1.c: New file.
39442 * stdlib/fmtmsg.c (init): Add missing unlock.
39443 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39445 2012-01-12 Marek Polacek <polacek@redhat.com>
39447 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39450 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39452 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39454 macro to ensure uniqueness of label name.
39455 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39456 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39458 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39460 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39462 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39463 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39467 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39469 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39471 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39473 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39475 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39477 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39482 * math/bits/math-finite.h: Add ldexp support.
39484 2012-01-10 Marek Polacek <polacek@redhat.com>
39486 * locale/programs/localedef.h (show_archive_content): Add noreturn
39489 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39491 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39493 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39495 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39497 * io/Makefile (headers): Add bits/poll2.h.
39499 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39502 typo #include statement.
39504 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39506 * include/sys/cdefs.h: Define __attribute_alloc_size.
39507 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39508 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39509 * elf/pldd.c: Likewise.
39510 * iconv/iconv_charmap.c: Likewise.
39511 * iconv/iconvconfig.c: Likewise.
39512 * iconv/strtab.c: Likewise.
39513 * locale/programs/locale.c: Likewise.
39514 * locale/programs/localedef.h: Likewise.
39515 * locale/programs/simple-hash.c: Likewise.
39516 * nscd/nscd.h: Likewise.
39517 * nss/makedb.c: Likewise.
39518 * sysdeps/generic/ldconfig.h: Likewise.
39519 * locale/programs/localedef.c: Remove xmalloc prototype.
39520 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39522 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39524 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39527 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39529 * math/Makefile (tests): Add tst-CMPLX.
39530 * math/tst-CMPLX.c: New file.
39532 * math/complex.h (CMPLXL): Fix typo.
39534 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39535 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39537 * debug/tst-chk1.c: Add poll and ppoll tests.
39538 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39539 * include/sys/poll.h: Add hidden proto for ppoll.
39540 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39541 * sysdeps/mach/hurd/ppoll.c: Likewise.
39542 * io/ppoll.c: Likewise.
39543 * debug/poll_chk.c: New file.
39544 * debug/ppoll_chk.c: New file.
39545 * include/bits/poll2.h: New file.
39546 * io/bits/poll2.h: New file.
39549 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39551 * configure.in: static is always set to yes. Remove.
39552 * config.make.in: Don't set build-static.
39553 * Makeconfig: Remove use of build-static.
39554 * dlfcn/Makefile: Likewise.
39555 * elf/Makefile: Likewise.
39556 * math/Makefile: Likewise.
39557 * misc/Makefile: Likewise.
39558 * nptl/Makefile: Likewise.
39559 * sysdeps/mach/hurd/Makefile: Likewise.
39561 * configure.in: PWD_P is not used anymore.
39562 * config.make.in: Remove PWD_P entry.
39564 * configure.in: Remove last remnants of RANLIB.
39565 No need to check for signed size_t anymore.
39566 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39568 Remove __builtin_expect test because we require at least gcc 3.4.
39569 * aclocal.m4: Likewise.
39571 * wcsmbs/mbrtoc16.c: Implement using towc function.
39572 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39573 * wcsmbs/wcsmbsload.c: Likewise.
39574 * iconv/gconv_simple.c: Likewise.
39575 * iconv/gconv_int.h: Likewise.
39576 * iconv/gconv_builtin.h: Likewise.
39577 * iconv/iconv_prog.c: Remove CHAR16 handling.
39579 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39581 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39583 * configure.in: Remove --with-elf and --enable-bounded options.
39584 Dont set base_machine for ia64. More non-ELF conditions removed.
39585 Remove testing and setting of leading underscore information.
39586 * config.make.in (build-bounded): Set to no.
39587 * config.h.in: Remove NO_UNDERSCORES entry.
39588 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39590 * csu/start.c: Remove !NO_UNDERSCORE code.
39591 * locale/localeinfo.h: Likewise.
39592 * sysdeps/generic/machine-gmon.h: Likewise.
39593 * sysdeps/generic/sysdep.h: Likewise.
39594 * sysdeps/i386/sysdep.h: Likewise.
39595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39596 * sysdeps/mach/sysdep.h: Likewise.
39597 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39599 * sysdeps/sh/sysdep.h: Likewise.
39600 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39601 * sysdeps/unix/i386/sysdep.S: Likewise.
39602 * sysdeps/unix/sparc/start.c: Likewise.
39603 * sysdeps/unix/sparc/sysdep.S: Likewise.
39604 * sysdeps/unix/sparc/sysdep.h: Likewise.
39605 * sysdeps/unix/start.c: Likewise.
39606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39607 * sysdeps/x86_64/sysdep.h: Likewise.
39609 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39612 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39614 * argp/argp-fmtstream.h: Use const instead __const.
39615 * argp/argp.h: Likewise.
39616 * assert/assert.h: Likewise.
39617 * bits/fenv.h: Likewise.
39618 * bits/sched.h: Likewise.
39619 * bits/sigset.h: Likewise.
39620 * bits/sigthread.h: Likewise.
39621 * catgets/nl_types.h: Likewise.
39622 * conform/data/pthread.h-data: Likewise.
39623 * crypt/crypt-private.h: Likewise.
39624 * crypt/crypt.h: Likewise.
39625 * crypt/crypt_util.c: Likewise.
39626 * ctype/ctype.h: Likewise.
39627 * debug/execinfo.h: Likewise.
39628 * debug/mbsnrtowcs_chk.c: Likewise.
39629 * debug/mbsrtowcs_chk.c: Likewise.
39630 * debug/wcsnrtombs_chk.c: Likewise.
39631 * debug/wcsrtombs_chk.c: Likewise.
39632 * debug/wcstombs_chk.c: Likewise.
39633 * dirent/dirent.h: Likewise.
39634 * dlfcn/dlfcn.h: Likewise.
39635 * elf/neededtest4.c: Likewise.
39636 * grp/grp.h: Likewise.
39637 * gshadow/gshadow.h: Likewise.
39638 * iconv/gconv.h: Likewise.
39639 * iconv/gconv_int.h: Likewise.
39640 * iconv/gconv_simple.c: Likewise.
39641 * iconv/iconv.h: Likewise.
39642 * iconv/loop.c: Likewise.
39643 * iconv/skeleton.c: Likewise.
39644 * include/aio.h: Likewise.
39645 * include/aliases.h: Likewise.
39646 * include/argz.h: Likewise.
39647 * include/arpa/inet.h: Likewise.
39648 * include/assert.h: Likewise.
39649 * include/dirent.h: Likewise.
39650 * include/dlfcn.h: Likewise.
39651 * include/execinfo.h: Likewise.
39652 * include/fcntl.h: Likewise.
39653 * include/fenv.h: Likewise.
39654 * include/glob.h: Likewise.
39655 * include/grp.h: Likewise.
39656 * include/libintl.h: Likewise.
39657 * include/mntent.h: Likewise.
39658 * include/netdb.h: Likewise.
39659 * include/pwd.h: Likewise.
39660 * include/rpc/netdb.h: Likewise.
39661 * include/sched.h: Likewise.
39662 * include/search.h: Likewise.
39663 * include/shadow.h: Likewise.
39664 * include/signal.h: Likewise.
39665 * include/stdio.h: Likewise.
39666 * include/stdlib.h: Likewise.
39667 * include/string.h: Likewise.
39668 * include/sys/socket.h: Likewise.
39669 * include/sys/stat.h: Likewise.
39670 * include/sys/statfs.h: Likewise.
39671 * include/sys/statvfs.h: Likewise.
39672 * include/sys/syslog.h: Likewise.
39673 * include/sys/time.h: Likewise.
39674 * include/sys/uio.h: Likewise.
39675 * include/time.h: Likewise.
39676 * include/unistd.h: Likewise.
39677 * include/utmp.h: Likewise.
39678 * include/wchar.h: Likewise.
39679 * include/wctype.h: Likewise.
39680 * inet/aliases.h: Likewise.
39681 * inet/arpa/inet.h: Likewise.
39682 * inet/netinet/ether.h: Likewise.
39683 * inet/netinet/in.h: Likewise.
39684 * intl/libintl.h: Likewise.
39685 * io/bits/fcntl2.h: Likewise.
39686 * io/fcntl.h: Likewise.
39687 * io/ftw.h: Likewise.
39688 * io/sys/poll.h: Likewise.
39689 * io/sys/stat.h: Likewise.
39690 * io/sys/statfs.h: Likewise.
39691 * io/sys/statvfs.h: Likewise.
39692 * io/utime.h: Likewise.
39693 * libio/bits/stdio.h: Likewise.
39694 * libio/bits/stdio2.h: Likewise.
39695 * libio/libio.h: Likewise.
39696 * libio/libioP.h: Likewise.
39697 * libio/stdio.h: Likewise.
39698 * locale/lc-ctype.c: Likewise.
39699 * locale/locale.h: Likewise.
39700 * login/utmp.h: Likewise.
39701 * malloc/arena.c: Likewise.
39702 * malloc/malloc.c: Likewise.
39703 * malloc/malloc.h: Likewise.
39704 * malloc/mcheck.c: Likewise.
39705 * malloc/mtrace.c: Likewise.
39706 * math/bits/mathcalls.h: Likewise.
39707 * math/fenv.h: Likewise.
39708 * math/math_private.h: Likewise.
39709 * misc/bits/error.h: Likewise.
39710 * misc/bits/syslog.h: Likewise.
39711 * misc/err.h: Likewise.
39712 * misc/error.h: Likewise.
39713 * misc/fstab.h: Likewise.
39714 * misc/mntent.h: Likewise.
39715 * misc/regexp.h: Likewise.
39716 * misc/search.h: Likewise.
39717 * misc/sgtty.h: Likewise.
39718 * misc/sys/mman.h: Likewise.
39719 * misc/sys/syslog.h: Likewise.
39720 * misc/sys/uio.h: Likewise.
39721 * misc/sys/xattr.h: Likewise.
39722 * misc/ttyent.h: Likewise.
39723 * nis/rpcsvc/ypclnt.h: Likewise.
39724 * nss/nss.h: Likewise.
39725 * posix/bits/unistd.h: Likewise.
39726 * posix/fnmatch.h: Likewise.
39727 * posix/glob.h: Likewise.
39728 * posix/sched.h: Likewise.
39729 * posix/spawn.h: Likewise.
39730 * posix/sys/wait.h: Likewise.
39731 * posix/unistd.h: Likewise.
39732 * posix/wordexp.h: Likewise.
39733 * pwd/pwd.h: Likewise.
39734 * resolv/netdb.h: Likewise.
39735 * resource/sys/resource.h: Likewise.
39736 * rt/aio.h: Likewise.
39737 * rt/bits/mqueue2.h: Likewise.
39738 * rt/mqueue.h: Likewise.
39739 * shadow/shadow.h: Likewise.
39740 * signal/signal.h: Likewise.
39741 * socket/send.c: Likewise.
39742 * socket/sendto.c: Likewise.
39743 * socket/sys/socket.h: Likewise.
39744 * stdio-common/printf.h: Likewise.
39745 * stdlib/bits/stdlib.h: Likewise.
39746 * stdlib/fmtmsg.h: Likewise.
39747 * stdlib/monetary.h: Likewise.
39748 * stdlib/stdlib.h: Likewise.
39749 * stdlib/ucontext.h: Likewise.
39750 * streams/stropts.h: Likewise.
39751 * string/argz.h: Likewise.
39752 * string/bits/string2.h: Likewise.
39753 * string/string.h: Likewise.
39754 * string/strings.h: Likewise.
39755 * sunrpc/rpc/auth.h: Likewise.
39756 * sunrpc/rpc/auth_des.h: Likewise.
39757 * sunrpc/rpc/clnt.h: Likewise.
39758 * sunrpc/rpc/netdb.h: Likewise.
39759 * sunrpc/rpc/pmap_clnt.h: Likewise.
39760 * sunrpc/rpc/xdr.h: Likewise.
39761 * sysdeps/generic/inttypes.h: Likewise.
39762 * sysdeps/generic/net/if.h: Likewise.
39763 * sysdeps/generic/sys/swap.h: Likewise.
39764 * sysdeps/gnu/net/if.h: Likewise.
39765 * sysdeps/gnu/utmpx.h: Likewise.
39766 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39767 * sysdeps/i386/i486/bits/string.h: Likewise.
39768 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39769 * sysdeps/s390/bits/string.h: Likewise.
39770 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39771 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39772 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39773 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39774 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39775 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39776 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39777 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39778 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39779 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39780 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39781 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39782 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39783 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39784 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39785 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39786 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39789 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39791 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39792 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39793 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39794 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39795 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39796 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39798 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39800 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39801 * sysvipc/sys/ipc.h: Likewise.
39802 * sysvipc/sys/msg.h: Likewise.
39803 * sysvipc/sys/sem.h: Likewise.
39804 * sysvipc/sys/shm.h: Likewise.
39805 * termios/termios.h: Likewise.
39806 * time/sys/time.h: Likewise.
39807 * time/time.h: Likewise.
39808 * wcsmbs/bits/wchar2.h: Likewise.
39809 * wcsmbs/uchar.h: Likewise.
39810 * wcsmbs/wchar.h: Likewise.
39811 * wctype/wctype.h: Likewise.
39814 * Makeconfig: Remove all but ELF support including AIX support.
39815 * Makerules: Likewise.
39816 * config.h.in: Likewise.
39817 * config.make.in: Likewise.
39818 * configure: Likewise.
39819 * configure.in: Likewise.
39820 * csu/Makefile: Likewise.
39821 * csu/version.c: Likewise.
39822 * debug/Makefile: Likewise.
39823 * dlfcn/Makefile: Likewise.
39824 * elf/Makefile: Likewise.
39825 * extra-lib.mk: Likewise.
39826 * iconv/Makefile: Likewise.
39827 * include/libc-symbols.h: Likewise.
39828 * include/shlib-compat.h: Likewise.
39829 * resolv/Makefile: Likewise.
39830 * resolv/res_libc.c: Likewise.
39831 * rt/Makefile: Likewise.
39832 * sysdeps/i386/asm-syntax.h: Likewise.
39833 * sysdeps/i386/sysdep.h: Likewise.
39834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39835 * sysdeps/mach/sysdep.h: Likewise.
39836 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39837 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39838 * sysdeps/s390/asm-syntax.h: Likewise.
39839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39841 * sysdeps/sh/sysdep.h: Likewise.
39842 * sysdeps/unix/sparc/sysdep.h: Likewise.
39843 * sysdeps/wordsize-32/divdi3.c: Likewise.
39844 * sysdeps/x86_64/sysdep.h: Likewise.
39846 * argp/Versions: Remove _argp_unlock_xxx.
39849 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39850 * abilist/libBrokenLocale.abilist: Likewise.
39851 * abilist/libanl.abilist: Likewise.
39852 * abilist/libc.abilist: Likewise.
39853 * abilist/libcrypt.abilist: Likewise.
39854 * abilist/libdl.abilist: Likewise.
39855 * abilist/libm.abilist: Likewise.
39856 * abilist/libnsl.abilist: Likewise.
39857 * abilist/libpthread.abilist: Likewise.
39858 * abilist/libresolv.abilist: Likewise.
39859 * abilist/librt.abilist: Likewise.
39860 * abilist/libthread_db.abilist: Likewise.
39861 * abilist/libutil.abilist: Likewise.
39862 * abilist/libnss_db.abilist: New file.
39864 * scripts/abilist.awk: Add support for indirect functions.
39866 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39868 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39870 * shlib-versions: Remove entries for ports architectures.
39872 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39874 * elf/stackguard-macros.h: Remove support for IA-64.
39875 * elf/tst-auditmod1.c: Likewise.
39876 * sysdeps/generic/ldsodefs.h: Likewise.
39878 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39879 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39883 * configure.in: Remove --enable-omitfp support.
39885 * config.make.in: Likewise.
39886 * Makeconfig: Likewise.
39887 * manual/install.texi: Likewise.
39889 In case anyone cares, the IA-64 architecture could move to ports.
39890 * sysdeps/ia64/*: Removed.
39891 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39892 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39895 * configure.in: Remove entries for unsupported architectures.
39898 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39899 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39901 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39902 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39903 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39904 fall back to using wcrtomb.
39905 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39906 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39908 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39909 * wcsmbs/tst-c16c32-1.c: New file.
39911 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39914 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39916 * elf/tst-unique3.cc: Add explicit declaration of gets.
39917 * elf/tst-unique3lib.cc: Likewise.
39918 * elf/tst-unique3lib2.cc: Likewise.
39919 * elf/tst-unique4.cc: Likewise.
39921 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39923 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39926 * assert/assert.h (static_assert): Don't define for C++.
39927 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39928 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39930 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39932 * iconv/loop.c (single loop): Fix assertion in storing of
39935 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39937 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39939 * posix/getconf.c: Update copyright year.
39940 * nss/getent.c: Likewise.
39941 * nss/makedb.c: Likewise.
39942 * iconv/iconvconfig.c: Likewise.
39943 * iconv/iconv_prog.c: Likewise.
39944 * elf/ldconfig.c: Likewise.
39945 * elf/pldd.c: Likewise.
39946 * elf/sotruss.ksh: Likewise.
39947 * catgets/gencat.c: Likewise.
39948 * csu/version.c: Likewise.
39949 * elf/ldd.bash.in: Likewise.
39950 * elf/sprof.c (print_version): Likewise.
39951 * locale/programs/locale.c: Likewise.
39952 * locale/programs/localedef.c: Likewise.
39953 * login/programs/pt_chown.c: Likewise.
39954 * nscd/nscd.c (print_version): Likewise.
39955 * debug/xtrace.sh: Likewise.
39956 * malloc/memusage.sh: Likewise.
39957 * malloc/mtrace.pl: Likewise.
39958 * debug/catchsegv.sh: Likewise.
39960 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39962 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39965 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39968 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39969 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39971 * iconv/gconv_int.h: Likewise.
39972 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39973 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39974 from libc for GLIBC_2.16.
39975 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39976 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39977 * wcsmbs/uchar.h: Really define mbstate_t.
39978 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39979 * wcsmbs/c16rtomb.c: New file.
39980 * wcsmbs/mbrtoc16.c: New file.
39981 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39982 for C/POSIX locale.
39983 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39984 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39986 * wcsmbs/wchar.h: Add missing __restrict.
39988 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39991 * time/Makefile (routines): Add timespec_get.
39992 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39993 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39994 timespec for ISO C11.
39995 * time/timespec_get.c: New file.
39996 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39997 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40000 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40001 * stdlib/stdlib.h: Declare aligned_alloc.
40002 * Versions.def: Add GLIBC_2.16 for libc.
40003 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40006 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40009 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40013 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40016 * assert/assert.h (static_assert): Define.
40018 * version.h: Update for 2.16 development version.
40021 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40024 * version.h (RELEASE): Bump for 2.15 release.
40025 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40027 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40028 Patch by Marek Polacek <mpolacek@redhat.com>.
40030 * bits/byteswap.h: Protect long long constants with __extension__.
40031 * sysdeps/i386/bits/byteswap.h: Likewise.
40032 * sysdeps/ia64/bits/byteswap.h: Likewise.
40033 * sysdeps/s390/bits/byteswap.h: Likewise.
40034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40036 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40040 destination buffer.
40041 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40043 2011-12-23 Marek Polacek <polacek@redhat.com>
40045 * elf/dl-addr.c (determine_info): Add inline keyword.
40046 * elf/tst-auditmod4b.c (check_avx): Likewise.
40047 * elf/tst-auditmod6b.c (check_avx): Likewise.
40048 * elf/tst-auditmod6c.c (check_avx): Likewise.
40049 * elf/tst-auditmod7b.c (check_avx): Likewise.
40051 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40053 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40056 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40059 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40060 processing for last bytes.
40062 2011-08-06 Bruno Haible <bruno@clisp.org>
40065 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40066 U+0385, not to U+1FEE.
40069 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40070 entry for U+00A5 U+0301.
40072 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40075 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40076 buffer for the output is too small.
40078 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40082 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40083 SSE flags if possible.
40085 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40089 processing for last bytes.
40091 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40093 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40094 (syscall-list-default-options, syscall-list-default-condition)
40095 (syscall-list-includes): Define.
40096 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40097 list of ABIs and options and #if conditions for each ABI. Do not
40098 handle common syscalls between ABIs specially.
40099 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40101 (syscall-list-variants, syscall-list-32bit-options)
40102 (syscall-list-32bit-condition, syscall-list-64bit-options)
40103 (syscall-list-64bit-condition): Define.
40104 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40105 (syscall-list-variants, syscall-list-32bit-options)
40106 (syscall-list-32bit-condition, syscall-list-64bit-options)
40107 (syscall-list-64bit-condition): Define.
40108 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40110 (syscall-list-variants, syscall-list-32bit-options)
40111 (syscall-list-32bit-condition, syscall-list-64bit-options)
40112 (syscall-list-64bit-condition): Define.
40113 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40115 (syscall-list-variants, syscall-list-32bit-options)
40116 (syscall-list-32bit-condition, syscall-list-64bit-options)
40117 (syscall-list-64bit-condition): Define.
40119 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40121 * locale/iso-639.def: Add brx entry.
40124 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40125 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40127 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40128 __feraiseexcept_renamed.
40130 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40133 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40134 EPOLLET with unsigned values.
40135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40136 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40138 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40139 to large cancellation.
40140 * math/s_cacoshf.c: Likewise.
40141 * math/s_cacoshl.c: Likewise.
40143 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40147 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40148 * math/s_cacoshf.c: Likewise.
40149 * math/s_cacoshl.c: Likewise.
40151 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40154 * iconv/gconv.h: Define __GCONV_SWAP.
40155 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40156 * iconvdata/utf-16.c: Likewise.
40157 * iconvdata/utf-32.c: Likewise.
40159 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40162 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40163 numerator after shifting it by one limb.
40165 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40168 under [__USE_EXTERN_INLINES].
40170 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40173 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40175 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40177 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40178 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40180 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40181 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40182 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40183 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40184 for strncasecmp/strncasecmp_l compilation.
40185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40186 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40188 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40191 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40194 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40197 * time/tzfile.c (__tzfile_read): Check values from file header.
40199 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40201 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40202 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40203 * powerpc/powerpc32/dl-start.S: Likewise.
40204 * powerpc/powerpc32/elf/start.S: Likewise.
40205 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40206 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40207 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40208 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40209 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40210 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40211 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40212 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40213 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40214 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40215 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40216 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40217 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40218 * powerpc/powerpc32/memset.S: Likewise.
40219 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40220 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40221 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40222 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40223 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40224 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40225 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40226 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40227 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40228 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40229 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40230 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40231 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40233 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40235 * math/libm-test.inc: Added more nearbyint tests.
40236 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40241 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40243 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40246 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40248 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40249 Add wcscpy-ssse3 wcscpy-c.
40250 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40251 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40252 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40253 * sysdeps/x86_64/wcschr.S: New file.
40254 * sysdeps/x86_64/wcsrchr.S: New file.
40255 * string/test-strcmp.c: Remove checking of wcscmp function for
40257 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40258 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40259 wcsrchr-sse2 wcsrchr-c.
40260 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40261 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40262 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40263 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40264 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40265 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40266 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40267 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40268 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40269 * wcsmbc/wcschr.c (WCSCHR): New macro.
40271 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40273 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40274 * wcsmbs/test-wcsrchr.c: New file.
40275 * string/test-strrchr.c: Add wcsrchr support.
40277 * wcsmbs/test-wcscpy.c: New file.
40278 * string/test-strcpy.c: Add wcscpy support.
40281 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40283 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40286 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40289 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40291 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40293 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40294 Minor optimizations.
40296 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40297 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40298 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40300 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40302 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40303 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40304 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40305 for gcc to avoid warnings.
40306 * inet/Makefile (tests): Add tst-checks.
40307 * inet/tst-checks.c: New file.
40309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40312 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40315 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40316 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40318 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40320 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40322 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40325 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40327 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40329 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40330 conditional on GCC version.
40331 (__arch_compare_and_exchange_val_8_acq)
40332 (__arch_compare_and_exchange_val_16_acq)
40333 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40334 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40335 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40337 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40339 * sysdeps/sh/backtrace.c: New file.
40341 2011-12-02 Andreas Schwab <schwab@redhat.com>
40343 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40346 2011-12-01 Andreas Schwab <schwab@redhat.com>
40348 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40349 falling back to utime.
40351 2011-11-30 Andreas Schwab <schwab@redhat.com>
40353 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40354 expectations for float.
40356 2011-11-29 Andreas Schwab <schwab@redhat.com>
40358 * locale/weight.h (findidx): Add parameter len.
40359 * locale/weightwc.h (findidx): Likewise.
40360 * posix/fnmatch_loop.c (FCT): Adjust caller.
40361 * posix/regcomp.c (build_equiv_class): Likewise.
40362 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40363 * posix/regexec.c (check_node_accept_bytes): Likewise.
40364 * string/strcoll_l.c (STRCOLL): Likewise.
40365 * string/strxfrm_l.c (STRXFRM): Likewise.
40367 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40369 * Makefile.in: Remove CVSOPT handling.
40370 * configure.in: Remove use of AC_REVISION.
40371 * iconvdata/Makefile (distribute): No need to filter out CVS.
40372 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40375 2011-11-16 Andreas Schwab <schwab@redhat.com>
40377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40378 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40379 [USE_AS_STRNCASECMP_L]: Likewise.
40380 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40381 NO_TLS_DIRECT_SEG_REFS.
40382 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40383 Fix argument offsets for non-PIC.
40384 [USE_AS_STRNCASECMP_L]: Likewise.
40385 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40386 NO_TLS_DIRECT_SEG_REFS.
40388 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40390 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40392 * locale/loadlocale.c (_nl_load_locale): Likewise.
40394 2011-11-15 Andreas Schwab <schwab@redhat.com>
40396 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40397 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40399 (SYSCALL_GETTIME): Set errno on error.
40401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40402 count references to noai6ai_cached.
40404 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40406 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40408 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40409 FD_CLOEXEC for /proc/self/maps.
40411 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40412 FD_CLOEXEC for /proc/meminfo.
40414 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40417 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40418 FD_CLOEXEC for given file.
40420 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40422 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40423 FD_CLOEXEC for /etc/hosts.
40424 (_gethtent): Likewise.
40426 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40428 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40429 cancellation and set FD_CLOEXEC for /etc/netgroup.
40431 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40432 reading /etc/publickey.
40434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40435 allow cancellation when reading /etc/group.
40437 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40439 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40441 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40442 when using data file.
40444 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40446 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40447 (write_nis_obj): Use "c" and "e" in fopen.
40449 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40451 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40453 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40455 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40457 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40460 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40462 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40464 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40466 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40467 file parsing and set FD_CLOEXEC.
40469 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40471 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40473 2011-11-14 Andreas Schwab <schwab@redhat.com>
40475 * malloc/arena.c (arena_get2): Don't call reused_arena when
40476 _int_new_arena failed.
40478 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40480 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40481 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40483 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40486 to compile strcasecmp and strncasecmp.
40487 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40488 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40492 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40494 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40495 locale-defines.sym to gen-as-const-headers.
40496 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40497 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40499 to compile strcasecmp and strncasecmp.
40500 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40501 strcasecmp_l and strncasecmp_l.
40502 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40503 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40504 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40505 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40506 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40507 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40508 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40509 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40510 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40511 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40512 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40514 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40516 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40517 result of SYSDEP_GETTIME_CPU to retval.
40518 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40519 parameter list to macro. Remove trailing semicolon. Adjust users.
40521 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40524 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40526 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40529 from unused variable.
40531 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40533 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40536 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40539 * sunrpc/rpc_prot.c (rejected): Fix case value.
40541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40542 unsigned long long int to avoid warnings in shift.
40544 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40546 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40549 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40550 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40551 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40553 * nis/nis_table.c (nis_list): Use variable of correct type for
40554 result of __follow_path call.
40556 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40558 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40559 of math functions ceil, trunc, floor, round, and sqrt, when
40560 avaliable on the platform.
40561 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40563 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40565 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40567 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40569 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40572 2011-11-11 Roland McGrath <roland@hack.frob.com>
40574 * include/unistd.h: Fix __readlink return type.
40575 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40577 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40579 * stdlib/ucontext.h: Undo last change for makecontext.
40581 2011-11-11 Andreas Schwab <schwab@redhat.com>
40583 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40585 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40586 * setjmp/setjmp.h: Mark functions as non-leaf.
40587 * setjmp/bits/setjmp2.h: Likewise.
40588 * stdlib/ucontext.h: Likewise.
40590 2011-11-10 Andreas Schwab <schwab@redhat.com>
40592 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40593 (reused_arena): Don't check arena limit.
40594 (arena_get2): Atomically check arena limit.
40596 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40598 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40599 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40604 2011-11-07 Andreas Schwab <schwab@redhat.com>
40606 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40607 handler when locking.
40609 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40610 Fix size of allocated buffer.
40612 2011-11-04 Andreas Schwab <schwab@redhat.com>
40615 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40616 declarations for long double functions.
40617 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40619 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40621 2011-11-03 Andreas Schwab <schwab@redhat.com>
40623 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40626 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40629 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40631 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40633 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40635 * include/alloca.h (stackinfo_alloca_round): Define.
40636 (extend_alloca): Use it.
40637 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40638 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40641 * scripts/check-local-headers.sh: Ignore libaudit.h.
40643 * nscd/Makefile (extra-objs): Make recursively expanded.
40645 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40647 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40650 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40651 * posix/tst-rfc3484-2.c: Likewise.
40652 * posix/tst-rfc3484-3.c: Likewise.
40654 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40656 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40658 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40659 process_vm_writev from libc using GLIBC_2.15 version.
40661 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40663 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40665 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40668 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40671 * nss/getent.c (initgroups_keys): Show error message in case no group
40674 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40675 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40676 __bump_nl_timestamp.
40677 * nscd/connections (nscd_init): When host database is served open
40678 netlink socket and request notification about configuration changes.
40679 (main_loop_poll): Track netlink file descriptor and bump timestamp
40680 in case data becomes available.
40681 (main_loop_epoll): Likewise.
40682 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40683 (database_pers_head): Add extra_data fileds.
40684 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40685 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40686 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40689 in6ai data, call __free_in6ai.
40690 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40691 Add -DHAVE_NETLINK.
40692 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40693 interface information. Reuse previous data if netlink timestamp
40695 (__bump_nl_timestamp): New function.
40696 (__free_in6ai): New function.
40698 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40700 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40701 close_not_cancel_no_status here.
40702 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40704 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40707 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40710 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40711 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40712 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40714 2011-07-03 Andreas Jaeger <aj@suse.de>
40717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40718 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40719 * math/libm-test.inc (sin_test): Add test case.
40721 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40724 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40725 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40727 * elf/chroot_canon.c (chroot_canon): Cleanups.
40729 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40732 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40733 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40735 * string/test-strchr.c: Make usable for strchrnul testing.
40736 * string/test-strchrnul.c: New file.
40737 * string/Makefile (strop-tests): Add strchrnul.
40739 * po/it.po: Update from translation team.
40740 * po/es.po: Likewise.
40742 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40745 the three constants needed as parameters. Drop the others.
40746 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40747 __m128i_strloadu_tolower.
40748 Create and initialize variable zero and use it in all the places
40749 where _mm_setzero_si128 was used.
40751 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40752 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40753 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40754 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40756 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40757 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40758 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40759 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40760 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40761 __mpranred, __mptan.
40762 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40763 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40764 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40765 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40766 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40767 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40769 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40770 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40772 2011-10-28 Andreas Schwab <schwab@redhat.com>
40774 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40775 redefine if SHARED.
40776 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40779 wide char related routines to wcsmbs subdir.
40781 2011-10-27 Andreas Schwab <schwab@redhat.com>
40784 * misc/sys/cdefs.h (__THROWNL): Define.
40785 * posix/unistd.h: Use __THREADNL instead of __THREAD
40786 for memory synchronization functions.
40788 2011-10-26 Roland McGrath <roland@hack.frob.com>
40791 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40793 * manual/stdio.texi (Obstack Streams): Node removed.
40795 2011-10-26 Andreas Schwab <schwab@redhat.com>
40797 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40798 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40799 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40801 * math/math_private.h (math_force_eval): Allow non-addressable
40803 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40807 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40808 file is not needed.
40810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40817 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40823 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40824 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40825 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40826 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40829 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40830 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40832 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40833 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40834 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40835 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40836 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40837 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40839 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40840 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40843 place. Use VEX encoding when compiling for AVX.
40845 2011-10-25 Andreas Schwab <schwab@redhat.com>
40847 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40848 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40850 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40852 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40854 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40855 useless if() expression.
40856 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40857 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40868 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40869 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40870 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40871 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40872 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40873 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40874 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40876 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40878 2011-10-25 Andreas Schwab <schwab@redhat.com>
40880 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40884 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40886 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40887 .text section. Avoid duplicate constants.
40888 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40898 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40900 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40905 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40911 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40912 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40913 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40914 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40915 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40916 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40917 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40918 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40919 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40921 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40922 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40923 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40924 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40925 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40926 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40927 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40928 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40934 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40936 * sysdeps/x86_64/dla.h: Move to ...
40937 * sysdeps/x86_64/fpu/dla.h: ...here.
40938 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40939 situations. Use __builtin_fma only for gcc 4.6 and up.
40941 * config.make.in: Add have-mfma4 entry.
40942 * configure.in: Substitute libc_cv_cc_fma4.
40943 * math/Makefile (dbl-only-routines): Add sincostab.
40944 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40945 Use __sincostab not sincos.
40946 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40953 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40954 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40955 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40956 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40958 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40959 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40961 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40962 define aliases when function name is a macro.
40963 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40964 sysdeps/ieee754/dbl-64/sincos.tbl.
40965 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40966 fma4-enabled routines.
40967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40968 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40976 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40977 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40979 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40989 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40994 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40995 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40996 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40998 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41009 2011-10-24 Andreas Schwab <schwab@redhat.com>
41011 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41013 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41015 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41017 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41021 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41022 Remove unused variable magic_bits.
41023 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41025 * string/strnlen.c: Define and use STRNLEN macro.
41026 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41027 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41029 * wcsmbs/wcslen.c: Define and use WCSLEN.
41030 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41031 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41032 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41033 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41034 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41035 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41038 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41041 strnlen-sse2-no-bsf.
41042 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41044 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41045 Add strnlen support.
41046 (USE_AS_STRNLEN): New macro.
41047 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41049 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41050 * sysdeps/x86_64/wcslen.S: New file.
41052 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41054 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41055 XMM-moves are used for copying on small sizes.
41057 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41059 * wcsmbs/Makefile (strop-tests): Add wcschr.
41060 * wcsmbs/test-wcschr.c: New file.
41061 * string/test-strchr.c: Update.
41062 Add wcschr support.
41065 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41067 * wcsmbs/Makefile (strop-tests): Add wcslen.
41068 * wcsmbs/test-wcslen.c: New file.
41069 * string/test-strlen.c: Update.
41070 Add wcslen support.
41073 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41075 * po/it.po: Update from translation team.
41077 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41079 * sysdeps/x86_64/wcscmp.S: Update.
41080 Fix wrong comparison semantics.
41081 wcscmp shall use signed comparison not unsigned.
41082 Don't use substraction to avoid overflow bug.
41083 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41084 * wcsmbc/wcscmp.c: Likewise.
41085 * string/test-strcmp.c: Likewise.
41086 Add new tests to check cases with negative values.
41088 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41090 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41091 * sysdeps/x86_64/dla.h: ...here. New file.
41092 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41102 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41105 __ynl_finite aliases.
41107 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41111 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41113 [DLA_FMA] (EMULV): Use DLA_FMA.
41114 [DLA_FMA] (MUL12): Use EMULV.
41115 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41116 that are not needed.
41117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41125 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41127 * math/s_nan.c: Undef __nan.
41128 * math/s_nanf.c: Undef __nanf.
41129 * math/s_nanl.c: Undef __nanl.
41130 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41133 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41135 * math/s_catan.c: Add branch predictions.
41136 * math/s_catanf.c: Likewise.
41137 * math/s_catanh.c: Likewise.
41138 * math/s_catanhf.c: Likewise.
41139 * math/s_catanhl.c: Likewise.
41140 * math/s_catanl.c: Likewise.
41141 * math/s_cexp.c: Likewise.
41142 * math/s_cexpf.c: Likewise.
41143 * math/s_cexpl.c: Likewise.
41144 * math/s_clog.c: Likewise.
41145 * math/s_clog10.c: Likewise.
41146 * math/s_clog10f.c: Likewise.
41147 * math/s_clog10l.c: Likewise.
41148 * math/s_clogf.c: Likewise.
41149 * math/s_clogl.c: Likewise.
41150 * math/s_csqrt.c: Likewise.
41151 * math/s_csqrtf.c: Likewise.
41152 * math/s_csqrtl.c: Likewise.
41153 * math/s_ctanf.c: Likewise.
41154 * math/s_ctanh.c: Likewise.
41155 * math/s_ctanhf.c: Likewise.
41156 * math/s_ctanhl.c: Likewise.
41157 * math/s_ctanl.c: Likewise.
41159 * math/math_private.h: Define __nan, __nanf, __nanl.
41160 * math/s_cacosh.c: Include <math_private.h>.
41161 * math/s_cacoshl.c: Likewise.
41162 * math/s_casinh.c: Likewise.
41163 * math/s_casinhf.c: Likewise.
41164 * math/s_casinhl.c: Likewise.
41165 * math/s_ccos.c: Rely entire on ccosh.
41166 * math/s_ccosf.c: Rely entire on ccoshf.
41167 * math/s_ccosl.c: Rely entirely on ccoshl.
41168 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41169 Remove tests for FE_INVALID.
41170 * math/s_ccoshf.c: Likewise.
41171 * math/s_ccoshl.c: Likewise.
41172 * math/s_csin.c: Likewise.
41173 * math/s_csinf.c: Likewise.
41174 * math/s_csinh.c Likewise.
41175 * math/s_csinhf.c: Likewise.
41176 * math/s_csinhl.c: Likewise.
41177 * math/s_csinl.c: Likewise.
41178 * math/s_ctan.c: Likewise.
41179 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41180 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41183 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41186 compilation problems.
41188 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41191 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41193 * sysdeps/i386/configure.in: Test for -mfma4 option.
41194 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41195 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41196 COMMON_CPUID_INDEX_80000001.
41197 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41198 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41199 use it if FMA3 is not supported.
41200 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41202 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41203 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41205 2011-10-20 Andreas Schwab <schwab@redhat.com>
41208 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41209 it would create a cycle with a link time dependency.
41211 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41213 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41215 * string/Makefile (strop-tests): Add rawmemchr.
41216 * string/test-rawmemchr.c: New file.
41218 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41220 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41221 when compiling str{,n}casecmp and when AVX is available. Hook up
41222 new optimized code in initializers.
41224 2011-10-19 Andreas Schwab <schwab@redhat.com>
41226 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41227 __feraiseexcept instead of feraiseexcept.
41229 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41231 * math/math_private.h: Define defaults for libc_fetestexcept and
41233 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41234 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41236 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41238 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41239 libc_fetestexcept and libc_feupdateenv.
41241 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41242 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41243 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41244 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41245 libc_feholdexcept_setround.
41247 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41248 Add s_nearbyint-c and s_nearbyintf-c.
41249 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41250 nearbyintf inlines.
41251 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41252 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41253 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41254 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41256 * math/math_private.h: Define defaults for libc_fegetround,
41257 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41258 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41259 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41260 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41261 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41262 standard functions.
41263 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41264 Remove comments and hacks for old compiler versions.
41265 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41266 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41267 libc_feholdexceptl.
41269 2011-10-18 Andreas Schwab <schwab@redhat.com>
41271 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41272 (__feraiseexcept_renamed): Add __NTH.
41273 (feraiseexcept): Add __NTH. Rename local variables to fix
41274 namespace violations.
41276 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41278 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41280 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41282 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41283 recently added interfaces.
41284 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41286 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41287 about macro parameter expansion.
41289 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41290 __NO_MATH_INLINES is defined. Cleanups.
41292 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41293 and __floorf is target has SSE4.1.
41294 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41295 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41296 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41299 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41301 (floorf): Likewise.
41303 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41305 2011-10-17 Andreas Schwab <schwab@redhat.com>
41307 * misc/sys/cdefs.h: Fix last change.
41309 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41312 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41314 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41316 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41318 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41319 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41321 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41322 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41323 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41324 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41325 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41326 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41327 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41328 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41329 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41330 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41331 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41332 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41333 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41334 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41335 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41336 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41337 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41339 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41340 ceil, ceilf, floor, floorf.
41342 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41343 Perform IRELATIVE relocations last.
41345 * elf/do-rel.h: Add another parameter nrelative, replacing the
41346 local variable with the same name. Change name of the function
41347 to end in Rel or Rela (uppercase).
41348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41349 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41350 elf_dynamic_do_##reloc function.
41352 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41354 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41355 is sufficient, at least on modern CPUs.
41357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41359 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41360 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41362 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41364 * math/bits/math-finite.h: Add entries for exp.
41365 * math/e_expl.c: Add __*_finite alias.
41366 * sysdeps/i386/fpu/e_exp.S: Likewise.
41367 * sysdeps/i386/fpu/e_expf.S: Likewise.
41368 * sysdeps/i386/fpu/e_expl.c: Likewise.
41369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41370 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41371 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41373 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41374 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41375 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41377 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41378 is sufficient, at least on modern CPUs.
41380 * ctype/ctype-info.c (__ctype_init): Define.
41381 * include/ctype.h (__ctype_init): Declare.
41382 (__ctype_b_loc): The variable is always initialized.
41383 (__ctype_toupper_loc): Likewise.
41384 (__ctype_tolower_loc): Likewise.
41385 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41386 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41388 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41390 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41392 * configure.in: Also look in $cxxmachine/include for C++ system
41395 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41397 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41398 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41399 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41400 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41402 (USE_AS_WMEMCMP): New macro.
41404 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41405 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41406 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41407 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41409 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41410 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41411 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41412 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41413 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41415 (USE_AS_WMEMCMP): New macro.
41416 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41417 * sysdeps/string/test-memcmp.c: Update.
41418 Fix simple_wmemcmp.
41420 * wcsmbs/wmemcmp.c: Update.
41421 (WMEMCMP): New macro.
41424 2011-10-12 Andreas Jaeger <aj@suse.de>
41427 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41429 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41431 * libio/iofwide.c (do_length): Avoid warning.
41433 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41435 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41437 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41439 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41440 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41441 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41442 * sysdeps/i386/i686/fpu/e_log.S: New file.
41443 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41444 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41446 * ctype/ctype.h: Add support for inlined isXXX functions when
41447 compiling C++ code.
41449 2011-10-14 Andreas Schwab <schwab@redhat.com>
41451 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41455 2011-10-13 Roland McGrath <roland@hack.frob.com>
41458 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41460 2011-10-13 Andreas Schwab <schwab@redhat.com>
41462 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41463 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41466 * sysdeps/x86_64/memrchr.S: Check for zero size.
41468 * string/stratcliff.c: Add memrchr tests.
41470 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41473 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41474 rawmemchr-sse2 rawmemchr-sse2-bsf.
41475 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41476 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41477 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41478 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41479 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41480 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41481 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41482 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41483 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41484 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41485 * string/memrchr.c (MEMRCHR): New macro.
41487 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41489 Add integration with gcc's -ffinite-math-only and optimize wrapper
41491 * Versions.def: Define GLIBC_2.15 version for libm.
41492 * math/Makefile (headers): Add bits/math-finite.h.
41493 * math/bits/math-finite.h: New file.
41494 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41495 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41496 * math/e_acoshl.c: Add __*_finite alias.
41497 * math/e_acosl.c: Likewise.
41498 * math/e_asinl.c: Likewise.
41499 * math/e_atan2l.c: Likewise.
41500 * math/e_atanhl.c: Likewise.
41501 * math/e_coshl.c: Likewise.
41502 * math/e_exp10.c: Likewise.
41503 * math/e_exp10f.c: Likewise.
41504 * math/e_exp10l.c: Likewise.
41505 * math/e_exp2l.c: Likewise.
41506 * math/e_fmodl.c: Likewise.
41507 * math/e_gammal_r.c: Likewise.
41508 * math/e_hypotl.c: Likewise.
41509 * math/e_j0l.c: Likewise.
41510 * math/e_j1l.c: Likewise.
41511 * math/e_jnl.c: Likewise.
41512 * math/e_lgammal_r.c: Likewise.
41513 * math/e_log10l.c: Likewise.
41514 * math/e_log2l.c: Likewise.
41515 * math/e_logl.c: Likewise.
41516 * math/e_powl.c: Likewise.
41517 * math/e_sinhl.c: Likewise.
41518 * math/e_sqrtl.c: Likewise.
41519 * math/e_scalb.c: Completely rewritten and optimized.
41520 * math/e_scalbf.c: Likewise.
41521 * math/e_scalbl.c: Likewise.
41522 * math/w_acos.c: Likewise.
41523 * math/w_acosf.c: Likewise.
41524 * math/w_acosl.c: Likewise.
41525 * math/w_acosh.c: Likewise.
41526 * math/w_acoshf.c: Likewise.
41527 * math/w_acoshl.c: Likewise.
41528 * math/w_asin.c: Likewise.
41529 * math/w_asinf.c: Likewise.
41530 * math/w_asinl.c: Likewise.
41531 * math/w_atan2.c: Likewise.
41532 * math/w_atan2f.c: Likewise.
41533 * math/w_atan2l.c: Likewise.
41534 * math/w_atanh.c: Likewise.
41535 * math/w_atanhf.c: Likewise.
41536 * math/w_atanhl.c: Likewise.
41537 * math/w_exp10.c: Likewise.
41538 * math/w_exp10f.c: Likewise.
41539 * math/w_exp10l.c: Likewise.
41540 * math/w_fmod.c: Likewise.
41541 * math/w_fmodf.c: Likewise.
41542 * math/w_fmodl.c: Likewise.
41543 * math/w_j0.c: Likewise.
41544 * math/w_j0f.c: Likewise.
41545 * math/w_j0l.c: Likewise.
41546 * math/w_j1.c: Likewise.
41547 * math/w_j1f.c: Likewise.
41548 * math/w_j1l.c: Likewise.
41549 * math/w_jn.c: Likewise.
41550 * math/w_jnf.c: Likewise.
41551 * math/w_log.c: Likewise.
41552 * math/w_logf.c: Likewise.
41553 * math/w_logl.c: Likewise.
41554 * math/w_log10.c: Likewise.
41555 * math/w_log10f.c: Likewise.
41556 * math/w_log10l.c: Likewise.
41557 * math/w_log2.c: Likewise.
41558 * math/w_log2f.c: Likewise.
41559 * math/w_log2l.c: Likewise.
41560 * math/w_pow.c: Likewise.
41561 * math/w_powf.c: Likewise.
41562 * math/w_powl.c: Likewise.
41563 * math/w_remainder.c: Likewise.
41564 * math/w_remainderf.c: Likewise.
41565 * math/w_remainderl.c: Likewise.
41566 * math/w_scalb.c: Likewise.
41567 * math/w_scalbf.c: Likewise.
41568 * math/w_scalbl.c: Likewise.
41569 * math/w_sqrt.c: Likewise.
41570 * math/w_sqrtf.c: Likewise.
41571 * math/w_sqrtl.c: Likewise.
41572 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41573 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41575 * math/math_private.h: Declare __kernel_standard_f.
41576 * math/w_cosh.c: Remove cruft and optimize a bit.
41577 * math/w_coshf.c: Likewise.
41578 * math/w_coshl.c: Likewise.
41579 * math/w_exp2.c: Likewise.
41580 * math/w_exp2f.c: Likewise.
41581 * math/w_exp2l.c: Likewise.
41582 * math/w_hypot.c: Likewise.
41583 * math/w_hypotf.c: Likewise.
41584 * math/w_hypotl.c: Likewise.
41585 * math/w_lgamma.c: Likewise.
41586 * math/w_lgamma_r.c: Likewise.
41587 * math/w_lgammaf.c: Likewise.
41588 * math/w_lgammaf_r.c: Likewise.
41589 * math/w_lgammal.c: Likewise.
41590 * math/w_lgammal_r.c: Likewise.
41591 * math/w_sinh.c: Likewise.
41592 * math/w_sinhf.c: Likewise.
41593 * math/w_sinhl.c: Likewise.
41594 * math/w_tgamma.c: Likewise.
41595 * math/w_tgammaf.c: Likewise.
41596 * math/w_tgammal.c: Likewise.
41597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41599 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41600 Minor optimizations. Pretty printing. Remove cruft.
41601 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41602 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41603 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41604 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41605 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41606 * sysdeps/i386/fpu/e_asin.S: Likewise.
41607 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41608 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41609 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41610 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41611 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41612 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41613 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41614 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41615 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41616 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41617 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41618 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41619 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41620 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41621 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41622 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41623 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41624 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41625 * sysdeps/i386/fpu/e_log.S: Likewise.
41626 * sysdeps/i386/fpu/e_log10.S: Likewise.
41627 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41628 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41629 * sysdeps/i386/fpu/e_log2.S: Likewise.
41630 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41632 * sysdeps/i386/fpu/e_logf.S: Likewise.
41633 * sysdeps/i386/fpu/e_logl.S: Likewise.
41634 * sysdeps/i386/fpu/e_pow.S: Likewise.
41635 * sysdeps/i386/fpu/e_powf.S: Likewise.
41636 * sysdeps/i386/fpu/e_powl.S: Likewise.
41637 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41638 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41639 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41642 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41643 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41644 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41645 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41646 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41647 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41649 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41650 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41651 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41655 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41656 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41657 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41659 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41660 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41662 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41666 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41667 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41670 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41671 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41672 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41673 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41674 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41684 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41685 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41686 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41687 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41688 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41689 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41691 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41692 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41693 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41694 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41695 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41701 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41702 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41703 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41704 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41705 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41706 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41724 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41726 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41729 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41731 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41733 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41738 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41739 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41741 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41742 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41743 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41744 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41745 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41746 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41747 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41748 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41749 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41750 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41754 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41755 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41756 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41757 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41758 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41759 (__isnanf): Likewise.
41760 (__isinf_ns): Likewise.
41761 (__isinf_nsf): Likewise.
41762 (__finite): Likewise.
41763 (__finitef): Likewise.
41764 (__ieee754_sqrt): Define as macro.
41765 (__ieee754_sqrtf): Define as macro.
41766 (__ieee754_sqrtl): Define as macro.
41767 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41769 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41770 __FINITE_MATH_ONLY__ consistent.
41771 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41773 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41775 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41780 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41782 * po/ja.po: Update from translation team.
41784 2011-10-08 Roland McGrath <roland@hack.frob.com>
41786 * locale/programs/locarchive.c (prepare_address_space): New function.
41787 (create_archive, enlarge_archive, open_archive): Use it.
41789 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41790 inside [SHARED], where it is used.
41792 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41794 * nss/getent.c (netgroup_keys): Remove unused variable.
41795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41797 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41799 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41800 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41802 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41803 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41804 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41805 * math/Makefile (libm-calls): Add s_isinf_ns.
41806 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41807 * math/multc3.c: Likewise.
41808 * math/s_casin.c: Likewise.
41809 * math/s_casinf.c: Likewise.
41810 * math/s_casinl.c: Likewise.
41811 * math/s_ccos.c: Likewise.
41812 * math/s_ccosf.c: Likewise.
41813 * math/s_ccosl.c: Likewise.
41814 * math/s_ctan.c: Likewise.
41815 * math/s_ctanf.c: Likewise.
41816 * math/s_ctanh.c: Likewise.
41817 * math/s_ctanhf.c: Likewise.
41818 * math/s_ctanhl.c: Likewise.
41819 * math/s_ctanl.c: Likewise.
41820 * math/w_fmod.c: Likewise.
41821 * math/w_fmodf.c: Likewise.
41822 * math/w_fmodl.c: Likewise.
41823 * math/w_remainder.c: Likewise.
41824 * math/w_remainderf.c: Likewise.
41825 * math/w_remainderl.c: Likewise.
41826 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41827 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41828 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41830 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41831 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41832 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41833 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41835 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41837 * stdio-common/printf_fphex.c: Likewise.
41838 * stdio-common/printf_size.c: Likewise.
41840 * math/e_exp10.c: Include math_private.h using <...> not "...".
41841 * math/e_exp10f.c: Likewise.
41842 * math/e_exp10l.c: Likewise.
41843 * math/e_exp2l.c: Likewise.
41844 * math/e_j0l.c: Likewise.
41845 * math/e_j1l.c: Likewise.
41846 * math/e_jnl.c: Likewise.
41847 * math/e_lgammal_r.c: Likewise.
41848 * math/e_rem_pio2l.c: Likewise.
41849 * math/e_scalb.c: Likewise.
41850 * math/e_scalbf.c: Likewise.
41851 * math/e_scalbl.c: Likewise.
41852 * math/k_cosl.c: Likewise.
41853 * math/k_sinl.c: Likewise.
41854 * math/k_tanl.c: Likewise.
41855 * math/s_cacoshf.c: Likewise.
41856 * math/s_catan.c: Likewise.
41857 * math/s_catanf.c: Likewise.
41858 * math/s_catanh.c: Likewise.
41859 * math/s_catanhf.c: Likewise.
41860 * math/s_catanhl.c: Likewise.
41861 * math/s_catanl.c: Likewise.
41862 * math/s_ccosh.c: Likewise.
41863 * math/s_ccoshf.c: Likewise.
41864 * math/s_ccoshl.c: Likewise.
41865 * math/s_cexp.c: Likewise.
41866 * math/s_cexpf.c: Likewise.
41867 * math/s_cexpl.c: Likewise.
41868 * math/s_clog.c: Likewise.
41869 * math/s_clog10.c: Likewise.
41870 * math/s_clog10f.c: Likewise.
41871 * math/s_clog10l.c: Likewise.
41872 * math/s_clogf.c: Likewise.
41873 * math/s_clogl.c: Likewise.
41874 * math/s_csin.c: Likewise.
41875 * math/s_csinf.c: Likewise.
41876 * math/s_csinh.c: Likewise.
41877 * math/s_csinhf.c: Likewise.
41878 * math/s_csinhl.c: Likewise.
41879 * math/s_csinl.c: Likewise.
41880 * math/s_csqrt.c: Likewise.
41881 * math/s_csqrtf.c: Likewise.
41882 * math/s_csqrtl.c: Likewise.
41883 * math/s_ctan.c: Likewise.
41884 * math/s_ctanf.c: Likewise.
41885 * math/s_ctanh.c: Likewise.
41886 * math/s_ctanhf.c: Likewise.
41887 * math/s_ctanhl.c: Likewise.
41888 * math/s_ctanl.c: Likewise.
41889 * math/s_ldexp.c: Likewise.
41890 * math/s_ldexpf.c: Likewise.
41891 * math/s_ldexpl.c: Likewise.
41892 * math/s_significand.c: Likewise.
41893 * math/s_significandf.c: Likewise.
41894 * math/s_significandl.c: Likewise.
41895 * math/w_acos.c: Likewise.
41896 * math/w_acosf.c: Likewise.
41897 * math/w_acosh.c: Likewise.
41898 * math/w_acoshf.c: Likewise.
41899 * math/w_acoshl.c: Likewise.
41900 * math/w_acosl.c: Likewise.
41901 * math/w_asin.c: Likewise.
41902 * math/w_asinf.c: Likewise.
41903 * math/w_asinl.c: Likewise.
41904 * math/w_atan2.c: Likewise.
41905 * math/w_atan2f.c: Likewise.
41906 * math/w_atan2l.c: Likewise.
41907 * math/w_atanh.c: Likewise.
41908 * math/w_atanhf.c: Likewise.
41909 * math/w_atanhl.c: Likewise.
41910 * math/w_cosh.c: Likewise.
41911 * math/w_coshf.c: Likewise.
41912 * math/w_coshl.c: Likewise.
41913 * math/w_dremf.c: Likewise.
41914 * math/w_exp10.c: Likewise.
41915 * math/w_exp10f.c: Likewise.
41916 * math/w_exp10l.c: Likewise.
41917 * math/w_exp2.c: Likewise.
41918 * math/w_exp2f.c: Likewise.
41919 * math/w_fmod.c: Likewise.
41920 * math/w_fmodf.c: Likewise.
41921 * math/w_fmodl.c: Likewise.
41922 * math/w_hypot.c: Likewise.
41923 * math/w_hypotf.c: Likewise.
41924 * math/w_hypotl.c: Likewise.
41925 * math/w_j0.c: Likewise.
41926 * math/w_j0f.c: Likewise.
41927 * math/w_j0l.c: Likewise.
41928 * math/w_j1.c: Likewise.
41929 * math/w_j1f.c: Likewise.
41930 * math/w_j1l.c: Likewise.
41931 * math/w_jn.c: Likewise.
41932 * math/w_jnf.c: Likewise.
41933 * math/w_jnl.c: Likewise.
41934 * math/w_lgamma.c: Likewise.
41935 * math/w_lgamma_r.c: Likewise.
41936 * math/w_lgammaf.c: Likewise.
41937 * math/w_lgammaf_r.c: Likewise.
41938 * math/w_lgammal.c: Likewise.
41939 * math/w_lgammal_r.c: Likewise.
41940 * math/w_log.c: Likewise.
41941 * math/w_log10.c: Likewise.
41942 * math/w_log10f.c: Likewise.
41943 * math/w_log10l.c: Likewise.
41944 * math/w_log2.c: Likewise.
41945 * math/w_log2f.c: Likewise.
41946 * math/w_log2l.c: Likewise.
41947 * math/w_logf.c: Likewise.
41948 * math/w_logl.c: Likewise.
41949 * math/w_pow.c: Likewise.
41950 * math/w_powf.c: Likewise.
41951 * math/w_powl.c: Likewise.
41952 * math/w_remainder.c: Likewise.
41953 * math/w_remainderf.c: Likewise.
41954 * math/w_remainderl.c: Likewise.
41955 * math/w_scalb.c: Likewise.
41956 * math/w_scalbf.c: Likewise.
41957 * math/w_scalbl.c: Likewise.
41958 * math/w_sinh.c: Likewise.
41959 * math/w_sinhf.c: Likewise.
41960 * math/w_sinhl.c: Likewise.
41961 * math/w_sqrt.c: Likewise.
41962 * math/w_sqrtf.c: Likewise.
41963 * math/w_sqrtl.c: Likewise.
41964 * math/w_tgamma.c: Likewise.
41965 * math/w_tgammaf.c: Likewise.
41966 * math/w_tgammal.c: Likewise.
41968 * po/ja.po: Update from translation team.
41970 2011-09-29 Andreas Jaeger <aj@suse.de>
41973 * sunrpc/netname.c (netname2host): Fix logic.
41977 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41979 * math/w_remainder.c (__remainder): Likewise.
41980 * math/w_remainderf.c (__remainderf): Likewise.
41981 * math/libm-test.inc (remainder_test): Add test cases.
41983 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41985 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41988 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41990 * string/test-memcmp.c: Avoid unncessary #defines.
41991 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41993 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41995 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41996 Use new sse2 version for core i3 - i7 as it's faster
41997 than sse42 version.
41998 (bit_Prefer_PMINUB_for_stringop): New.
41999 * sysdeps/x86_64/rawmemchr.S: Update.
42000 Replace with faster SSE2 version.
42001 * sysdeps/x86_64/memrchr.S: New file.
42002 * sysdeps/x86_64/memchr.S: Update.
42003 Replace with faster SSE2 version.
42005 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42007 * elf/dl-load.c (lose): Add cast to avoid warning.
42009 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42011 * po/ca.po: Update from translation team.
42013 * inet/getnetgrent_r.c: Hook up nscd.
42014 * nscd/Makefile (routines): Add nscd_netgroup.
42015 (nscd-modules): Add netgroupcache.
42016 (CFLAGS-netgroupcache.c): Define.
42017 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42018 (cache_search): Add const to second parameter.
42019 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42021 (dbs): Add netgrdb entry.
42022 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42023 (verify_persistent_db): Handle netgrdb.
42024 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42025 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42027 (netgroup_response_header): Define.
42028 (innetgroup_response_header): Define.
42029 (datahead): Add netgroup_response_header and innetgroup_response_header
42031 * nscd/nscd.conf: Add entries for netgroup cache.
42032 * nscd/nscd.h (dbtype): Add netgrdb.
42033 (_PATH_NSCD_NETGROUP_DB): Define.
42034 (netgroup_iov_disabled): Declare.
42035 (xmalloc, xcalloc, xrealloc): Move declarations here.
42036 (cache_search): Adjust prototype.
42037 Add netgroup-related prototypes.
42038 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42039 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42040 (__nscd_innetgr): Declare.
42041 * nscd/selinux.c (perms): Use access_vector_t as element type and
42042 add netgroup-related initializers.
42043 * nscd/netgroupcache.c: New file.
42044 * nscd/nscd_netgroup.c: New file.
42045 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42046 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42047 For four parameters use innetgr.
42048 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42049 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42050 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42051 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42053 * nscd/connections.c (register_traced_file): Don't register file
42054 for disabled databases.
42056 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42058 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42060 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42061 from tree and freeing node.
42063 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42065 * nss/nsswitch.c (__nss_database_lookup): Handle
42066 nss_parse_service_list out of memory case.
42068 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42070 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42071 out of memory case.
42073 2011-10-04 Andreas Schwab <schwab@redhat.com>
42075 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42076 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42078 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42079 elf_machine_rela, elf_machine_lazy_rel.
42080 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42081 (ELF_DYNAMIC_DO_REL): Likewise.
42082 (ELF_DYNAMIC_DO_RELA): Likewise.
42083 (ELF_DYNAMIC_RELOCATE): Likewise.
42084 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42085 to ELF_DYNAMIC_DO_REL.
42086 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42087 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42088 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42091 skip_ifunc, don't call ifunc function if non-zero.
42092 (elf_machine_rela): Likewise.
42093 (elf_machine_lazy_rel): Likewise.
42094 (elf_machine_lazy_rela): Likewise.
42095 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42096 (elf_machine_lazy_rel): Likewise.
42097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42099 (elf_machine_lazy_rel): Likewise.
42100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42102 (elf_machine_lazy_rel): Likewise.
42103 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42104 (elf_machine_lazy_rel): Likewise.
42105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42106 (elf_machine_lazy_rel): Likewise.
42107 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42108 (elf_machine_lazy_rel): Likewise.
42109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42110 (elf_machine_lazy_rel): Likewise.
42111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42112 (elf_machine_lazy_rel): Likewise.
42113 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42114 (elf_machine_lazy_rel): Likewise.
42116 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42118 * nss/nss_files/files-init.c (_nss_files_init): Use static
42119 initialization for all the *_traced_file variables.
42121 2011-09-28 Andreas Schwab <schwab@redhat.com>
42123 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42125 2011-09-27 Roland McGrath <roland@hack.frob.com>
42128 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42130 2011-09-27 Andreas Schwab <schwab@redhat.com>
42132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42133 Reread the line before reparsing it.
42135 2011-09-26 Andreas Schwab <schwab@redhat.com>
42137 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42139 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42140 Maxim Kuvyrkov <maxim@codesourcery.com>
42141 Joseph Myers <joseph@codesourcery.com>
42143 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42144 if needed for __stack_chk_guard.
42146 2011-09-19 Roland McGrath <roland@hack.frob.com>
42148 * sysdeps/posix/spawni.c (script_execute): Always define it.
42149 It will be optimized away if unused.
42150 (maybe_script_execute): New function.
42151 (__spawni): Call it.
42153 * Makerules: Don't include tls.make.
42154 (config-tls): Always set to thread.
42155 * tls.make.c: File removed.
42157 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42159 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42160 * config.make.in (CPPFLAGS-config): New substituted variable.
42162 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42164 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42167 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42168 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42170 2011-09-15 Roland McGrath <roland@hack.frob.com>
42172 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42173 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42175 (CALL_FAIL): Likewise.
42176 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42177 (CALL_FAIL): Macro removed.
42178 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42180 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42182 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42183 for __FINITE_MATH_ONLY__ == 1.
42185 2011-09-15 Andreas Schwab <schwab@redhat.com>
42187 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42188 __ieee754_sqrt instead of sqrt.
42189 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42190 __ieee754_sqrtf instead of sqrtf.
42191 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42192 __floorf instead of floorf.
42193 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42194 __floorf, __truncf instead of floorf, truncf.
42196 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42198 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42200 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42201 __extern_always_inline.
42202 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42205 2011-09-14 Andreas Schwab <schwab@redhat.com>
42207 * elf/rtld.c (dl_main): Also relocate in dependency order when
42208 doing symbol dependency testing.
42210 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42213 Always define `refsym'.
42215 2011-09-13 Andreas Schwab <schwab@redhat.com>
42217 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42218 (__FD_ELT): Renamed from __FDELT.
42219 * misc/bits/select2.h (__FD_ELT): Likewise.
42220 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42221 __FD_MASK instead of __FDELT, __FDMASK.
42222 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42224 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42227 * elf/Makefile (gen-ldd): Fix pattern.
42229 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42230 (init_tls): Likewise.
42232 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42236 2011-09-12 Andreas Schwab <schwab@redhat.com>
42238 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42239 `struct cmsghdr *' instead of `void *'.
42240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42243 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42245 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42247 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42248 ldd_rewrite_script.
42250 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42252 * configure.in: Remove --with-tls option.
42253 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42254 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42255 out in case it is missing.
42256 * sysdeps/ia64/elf/configure.in: Likewise.
42257 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42258 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42259 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42260 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42261 * sysdeps/sh/elf/configure.in: Likewise.
42262 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42264 * sysdeps/x86_64/elf/configure.in: Likewise.
42265 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42266 * sysdeps/mach/hurd/tls.h: Likewise.
42269 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42272 * configure.in: Fix use of AC_INIT.
42274 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42276 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42278 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42280 * malloc/hooks.c: Likewise.
42283 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42284 variables statically.
42285 (narenas): Initialize.
42286 (list_lock): Initialize.
42287 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42288 initializtion of main_arena and list_lock. Small cleanups.
42289 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42290 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42291 Add initializers to main_arena and mp_.
42292 (malloc_state): Remove pagesize member. Change all users to use
42295 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42296 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42297 is always initialized.
42299 * malloc/malloc.c: Removed unused configurations and dead code.
42300 * malloc/arena.c: Likewise.
42301 * malloc/hooks.c: Likewise.
42302 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42304 * include/tls.h: Removed. USE___THREAD must always be defined.
42305 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42306 * elf/dl-libc.c: Likewise.
42307 * elf/dl-tsd.c: Likewise.
42308 * include/errno.h: Likewise.
42309 * include/netdb.h: Likewise.
42310 * include/resolv.h: Likewise.
42311 * inet/herrno-loc.c: Likewise.
42312 * inet/herrno.c: Likewise.
42313 * malloc/arena.c: Likewise.
42314 * malloc/hooks.c: Likewise.
42315 * malloc/malloc.c: Likewise.
42316 * resolv/res-state.c: Likewise.
42317 * resolv/res_libc.c: Likewise.
42318 * sysdeps/i386/dl-machine.h: Likewise.
42319 * sysdeps/ia64/dl-machine.h: Likewise.
42320 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42321 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42322 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42323 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42324 * sysdeps/sh/dl-machine.h: Likewise.
42325 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42327 * sysdeps/unix/i386/sysdep.S: Likewise.
42328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42329 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42331 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42334 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42338 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42339 * sysdeps/x86_64/dl-machine.h: Likewise.
42340 * tls.make.c: Likewise.
42342 * configure.in: Remove --with-__thread option. Make tests for
42343 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42344 tls_model attribute fail if no support is available. Remove
42346 * Makeconfig: Adjust for dropped configure option. All features are
42348 * Makerules: Likewise.
42349 * Versions.def: Likewise.
42350 * argp/argp-fmtstream.c: Likewise.
42351 * argp/argp-fmtstream.h: Likewise.
42352 * argp/argp-help.c: Likewise.
42353 * assert/assert.c: Likewise.
42354 * config.h.in: Likewise.
42355 * config.make.in: Likewise.
42356 * configure: Likewise.
42357 * configure.in: Likewise.
42358 * csu/Versions: Likewise.
42359 * csu/init.c: Likewise.
42360 * elf/tst-audit2.c: Likewise.
42361 * elf/tst-tls10.c: Likewise.
42362 * elf/tst-tls10.h: Likewise.
42363 * elf/tst-tls11.c: Likewise.
42364 * elf/tst-tls12.c: Likewise.
42365 * elf/tst-tls14.c: Likewise.
42366 * elf/tst-tlsmod11.c: Likewise.
42367 * elf/tst-tlsmod12.c: Likewise.
42368 * elf/tst-tlsmod13.c: Likewise.
42369 * elf/tst-tlsmod13a.c: Likewise.
42370 * elf/tst-tlsmod14a.c: Likewise.
42371 * elf/tst-tlsmod15b.c: Likewise.
42372 * elf/tst-tlsmod16a.c: Likewise.
42373 * elf/tst-tlsmod16b.c: Likewise.
42374 * elf/tst-tlsmod7.c: Likewise.
42375 * elf/tst-tlsmod8.c: Likewise.
42376 * elf/tst-tlsmod9.c: Likewise.
42377 * gmon/gmon.c: Likewise.
42378 * grp/fgetgrent_r.c: Likewise.
42379 * grp/putgrent.c: Likewise.
42380 * hurd/fopenport.c: Likewise.
42381 * include/libc-symbols.h: Likewise.
42382 * include/tls.h: Likewise.
42383 * intl/gettextP.h: Likewise.
42384 * intl/loadinfo.h: Likewise.
42385 * locale/global-locale.c: Likewise.
42386 * locale/localeinfo.h: Likewise.
42387 * mach/devstream.c: Likewise.
42388 * malloc/arena.c: Likewise.
42389 * malloc/set-freeres.c: Likewise.
42390 * misc/err.c: Likewise.
42391 * misc/getttyent.c: Likewise.
42392 * misc/mntent_r.c: Likewise.
42393 * posix/getopt.c: Likewise.
42394 * posix/wordexp.c: Likewise.
42395 * pwd/fgetpwent_r.c: Likewise.
42396 * resolv/Versions: Likewise.
42397 * resolv/res_hconf.c: Likewise.
42398 * shadow/fgetspent_r.c: Likewise.
42399 * shadow/putspent.c: Likewise.
42400 * stdio-common/printf_fphex.c: Likewise.
42401 * stdio-common/tmpfile.c: Likewise.
42402 * stdlib/abort.c: Likewise.
42403 * stdlib/fmtmsg.c: Likewise.
42404 * sunrpc/auth_unix.c: Likewise.
42405 * sunrpc/clnt_perr.c: Likewise.
42406 * sunrpc/clnt_tcp.c: Likewise.
42407 * sunrpc/clnt_udp.c: Likewise.
42408 * sunrpc/clnt_unix.c: Likewise.
42409 * sunrpc/openchild.c: Likewise.
42410 * sunrpc/svc_simple.c: Likewise.
42411 * sunrpc/svc_tcp.c: Likewise.
42412 * sunrpc/svc_udp.c: Likewise.
42413 * sunrpc/svc_unix.c: Likewise.
42414 * sunrpc/xdr.c: Likewise.
42415 * sunrpc/xdr_array.c: Likewise.
42416 * sunrpc/xdr_rec.c: Likewise.
42417 * sunrpc/xdr_ref.c: Likewise.
42418 * sunrpc/xdr_stdio.c: Likewise.
42420 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42422 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42424 2011-07-03 Andreas Jaeger <aj@suse.de>
42426 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42427 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42428 regenerate with gen-libm-tests.pl.
42430 2010-05-12 Petr Baudis <pasky@suse.cz>
42433 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42434 around j0() zero points by switching to j1().
42435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42440 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42444 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42447 Patch in part by Pavel Roskin <proski@gnu.org>.
42450 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42452 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42453 Free memory block if necessary.
42456 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42457 be NULL. Don't lock in this case.
42459 2011-09-09 Roland McGrath <roland@hack.frob.com>
42461 * elf/elf.h (ELFOSABI_GNU): New macro.
42462 (ELFOSABI_LINUX): Define to that.
42464 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42466 * string/strncat.c (strncat): Undef the symbol in case it has been
42467 defined in bits/string.h.
42469 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42471 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42473 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42476 2011-08-17 Andreas Jaeger <aj@suse.de>
42478 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42480 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42481 Ian Lance Taylor <iant@google.com>
42483 * math/libm-test.inc (lround_test): New testcase.
42484 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42486 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42488 * Makefile: Remove support for automatic cvs check-ins.
42489 * Makerules: Likewise.
42490 * config.make.in: Likewise.
42491 * configure.in: Likewise.
42492 * intl/Makefile: Likewise.
42493 * locale/Makefile: Likewise.
42494 * po/Makefile: Likewise.
42495 * posix/Makefile: Likewise.
42496 * sysdeps/gnu/Makefile: Likewise.
42497 * sysdeps/mach/hurd/Makefile: Likewise.
42498 * sysdeps/sparc/sparc32/Makefile: Likewise.
42501 * posix/Makefile (bug-regex32-ENV): Define.
42502 Patch by John Stanley <jpsinthemix@verizon.net>.
42504 * misc/Makefile (headers): Add bits/select2.h.
42505 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42506 * misc/bits/select2.h: New file.
42507 * include/bits/select2.h: New file.
42508 * debug/Makefile (routines): Add fdelt_chk.
42509 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42510 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42512 * debug/fdelt_chk.c: New file.
42514 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42515 * wcsmbs/test-wmemcmp.c: Likewise.
42516 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42517 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42519 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42521 * string/Makefile (strop-tests): Add memcmp.
42522 * string/test-wmemcmp.c: New file.
42523 * string/test-memcmp.c: Add wmemcmp support.
42525 2011-09-08 Roland McGrath <roland@hack.frob.com>
42528 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42531 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42532 garbage value in a __mach_port_mod_refs call in the cases of the
42533 task-self and thread-self ports.
42535 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42537 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42539 2011-09-08 Andreas Schwab <schwab@redhat.com>
42541 * elf/dl-load.c (lose): Check for non-null L.
42543 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42545 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42547 * elf/dl-libc.c (dlerror_run): Pass back error code from
42551 * elf/dl-load.c (lose): Free l_origin if it is valid.
42553 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42555 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42556 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42557 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42558 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42559 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42560 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42562 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42564 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42565 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42566 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42567 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42568 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42569 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42570 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42571 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42572 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42573 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42575 2011-08-15 Alan Modra <amodra@gmail.com>
42578 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42579 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42580 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42581 ppc_mcount to static-only-routines.
42582 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42584 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42585 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42587 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42589 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42590 for finite and infinity parameters.
42592 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42595 and add nop instructions for throughput optimization.
42596 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42598 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42601 aligned copy for power7 with vector-scalar instructions.
42602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42604 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42609 2011-09-07 Andreas Schwab <schwab@redhat.com>
42612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42615 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42617 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42618 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42619 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42620 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42623 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42625 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42626 Forgot to demangle the pointer.
42628 * sysdeps/i386/sysdep.h: Define atom_text_section.
42629 * sysdeps/x86_64/sysdep.h: Likewise.
42630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42631 section with atom_text_section.
42632 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42633 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42634 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42638 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42640 already be defined. Change to take two parameters and don't assign
42641 result to variable. Adjust all users.
42642 Define INTERNAL_GETTIME if not already defined.
42643 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42646 HAVE_CLOCK_GETTIME_VSYSCALL.
42647 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42650 gettimeofday vsyscall, just use time.
42652 2011-09-06 Andreas Schwab <schwab@redhat.com>
42654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42657 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42659 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42663 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42664 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42665 syscall if possible.
42667 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42669 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42670 e_ident. Don't pass to find_mapsXX.
42671 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42673 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42676 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42677 * sysdeps/x86_64/multiarch/strchr.S: Update.
42678 Check bit_slow_BSF bit.
42679 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42683 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42686 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42688 (tryshell): Define.
42689 (__spawni): Change last parameter to be flag. Test
42690 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42691 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42692 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42693 * posix/spawni.c: Likewise.
42694 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42695 * posix/spawnp.c: Likewise. Change normal version to use
42696 SPAWN_XFLAGS_USE_PATH.
42697 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42698 SPAWN_XFLAGS_TRY_SHELL.
42701 * posix/glob.h: Remove gcc 1.x support.
42704 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42706 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42709 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42711 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42712 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42713 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42715 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42716 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42718 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42720 * sysdeps/x86_64/wcscmp.S: New file.
42722 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42723 wcscmp-c wcscmp-sse2
42724 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42725 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42726 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42727 * wcsmbs/wcscmp.c: Allow renaming.
42729 2011-09-05 David S. Miller <davem@davemloft.net>
42731 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42732 stack slot, rather than the struct return pointer slot.
42733 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42734 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42738 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42740 * po/ja.po: Update from translation team.
42743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42744 kernel in 64-bit binaries.
42746 2011-09-01 David S. Miller <davem@davemloft.net>
42748 * elf/elf.h (HWCAP_SPARC_*): Move to..
42749 * sysdeps/sparc/sysdep.h: this new file and add new values.
42750 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42751 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42752 _DL_HWCAP_COUNT to 24.
42753 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42755 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42756 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42757 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42759 instead of magic constants.
42760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42762 2011-08-31 David S. Miller <davem@davemloft.net>
42764 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42766 Reimplement to do errno handling inline.
42767 (SYSCALL_ERROR_HANDLER): New macro.
42768 (__SYSCALL_STRING): Do not do errno handling in asm.
42769 (__CLONE_SYSCALL_STRING): Delete.
42770 (__INTERNAL_SYSCALL_STRING): Delete.
42771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42772 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42773 (PSEUDO): Reimplement to do errno handling inline.
42774 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42775 (SYSCALL_ERROR_HANDLER): New macro.
42776 (__SYSCALL_STRING): Do not do errno handling in asm.
42777 (__CLONE_SYSCALL_STRING): Delete.
42778 (__INTERNAL_SYSCALL_STRING): Delete.
42779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42780 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42782 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42783 (inline_syscall*): Add 'err' argument.
42784 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42785 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42786 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42787 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42789 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42790 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42792 2011-08-30 Andreas Schwab <schwab@redhat.com>
42794 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42796 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42798 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42801 2011-08-24 David S. Miller <davem@davemloft.net>
42803 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42805 2011-08-24 Andreas Schwab <schwab@redhat.com>
42807 * elf/Makefile: Add rules to build and run unload8 test.
42808 * elf/unload8.c: New file.
42809 * elf/unload8mod1.c: New file.
42810 * elf/unload8mod1x.c: New file.
42811 * elf/unload8mod2.c: New file.
42812 * elf/unload8mod3.c: New file.
42814 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42817 2011-08-23 David S. Miller <davem@davemloft.net>
42819 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42820 subtract stack bias.
42821 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42822 %sp not %fp in calculations.
42823 (_JMPBUF_UNWINDS_ADJ): Likewise.
42825 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42826 (aio_suspend): Call it to force an exception region around the
42827 AIO_MISC_WAIT() invocation.
42829 2011-08-23 Andreas Schwab <schwab@redhat.com>
42831 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42834 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42836 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42838 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42839 and <dl-machine.h>.
42840 (Elf64_FuncDesc): Remove.
42842 2011-08-22 David S. Miller <davem@davemloft.net>
42844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42845 sigaltstack check, add missing cfi directives.
42846 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42847 missing cfi directives, and sigaltstack handling.
42849 2011-08-16 Andreas Schwab <schwab@redhat.com>
42852 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42853 object is seen twice.
42854 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42856 * elf/Makefile (distribute): Add tst-initorder2.c.
42857 (tests): Add tst-initorder2.
42858 (modules-names): Add tst-initorder2a tst-initorder2b
42859 tst-initorder2c tst-initorder2d. Add rules to build them.
42860 ($(objpfx)tst-initorder2.out): New rule.
42861 * elf/tst-initorder2.c: New file.
42862 * elf/tst-initorder2.exp: New file.
42864 2011-08-22 Andreas Schwab <schwab@redhat.com>
42866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42868 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42869 dependencies back to end of function.
42871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42872 $(elfobjdir)/ld.so.
42874 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42877 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42879 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42880 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42881 of __vdso_gettimeofday.
42882 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42883 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42885 (_libc_vdso_platform_setup): Remove initialization of
42886 __vdso_gettimeofday and __vdso_time.
42888 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42890 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42891 and fgetc_unlocked.
42892 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42895 * elf/dl-open.c (add_to_global): Report additions to the global scope
42896 for LD_DEBUG=scopes.
42897 (dl_open_worker): Also print scope of newly loaded dependencies.
42898 (_dl_show_scope): Indicate if there is no scope.
42901 * stdio-common/Makefile (tests): Add bug24.
42902 * stdio-common/bug24.c: New file.
42904 2011-08-19 Andreas Jaeger <aj@suse.de>
42907 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42908 non-existant file when using close-on-exec mode.
42910 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42913 the very first instruction.
42915 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42916 the CFI state in the end.
42917 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42918 inclusion of dl-trampoline.h.
42919 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42921 2011-08-19 Andreas Schwab <schwab@redhat.com>
42923 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42924 expectations for long double.
42926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42927 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42929 2011-08-14 David S. Miller <davem@davemloft.net>
42931 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42932 artificual limit depends upon the system page size.
42934 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42936 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42937 * resolv/Makefile: Define CFLAGS-libresolv.
42939 2011-08-17 Andreas Schwab <schwab@redhat.com>
42941 * nss/makedb.c (compute_tables): Make variables used in nested
42944 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42946 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42947 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42948 if buffer was too small.
42950 * elf/pldd.c (main): Attach to all threads in the process.
42951 Rewrite /proc handling to use *at functions.
42953 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42955 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42956 specifies first scope to show.
42957 (dl_open_worker): Update callers. Move printing scope of new
42958 object to before the relocation.
42959 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42960 * sysdeps/generic/ldsodefs.h: Update declaration.
42962 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42963 string for the scope number.
42965 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42967 * nscd/servicescache.c (cache_addserv): Make sure written is always
42970 2011-08-14 Roland McGrath <roland@hack.frob.com>
42972 * sysdeps/i386/i486/bits/atomic.h
42973 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42974 statement expression, so as to suppress "set but not used" warning.
42975 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42977 * string/strncat.c (STRNCAT): Use prototype definition.
42979 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42980 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42982 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42983 (localedef-modules): Add localedef.
42984 (locale-modules): Add locale.
42986 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42987 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42988 to avoid a warning.
42990 2011-08-14 David S. Miller <davem@davemloft.net>
42992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42993 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42995 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42997 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42998 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42999 * elf/rtld.c (dl_main): Set l_name of vDSO.
43000 Call _dl_show_scope when DL_DEBUG_SCOPES.
43001 (process_dl_debug): Recognize scopes flag and also set it for all.
43002 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43003 Declare _dl_show_scope.
43005 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43006 (do_dlopen): Pass caller_dlopen to dl_open.
43007 (__libc_dlopen_mode): Initialize caller_dlopen.
43009 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43010 of libc. Make tolower call locale-independent. Optimize a bit by
43011 using isdigit instead of isalnum.
43012 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43014 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43016 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43017 was a dependency or dynamically loaded.
43019 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43021 * intl/l10nflist.c: Allow architecture-specific pop function.
43022 * sysdeps/x86_64/l10nflist.c: New file.
43024 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43027 2011-08-10 Andreas Schwab <schwab@redhat.com>
43029 * include/dirent.h: Add libc_hidden_proto for scandirat and
43030 scandirat64. Don't declare __scandirat64.
43031 * dirent/scandirat.c: Add libc_hidden_def.
43032 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43033 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43035 2011-08-10 David S. Miller <davem@davemloft.net>
43037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43043 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43045 * Versions.def [libc]: Add GLIBC_2.15.
43046 * dirent/Makefile (routines): Add scandirat and scandirat64.
43047 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43049 * dirent/dirent.h: Declare scandirat and scandirat64.
43050 * dirent/scandirat.c: New file.
43051 * dirent/scandirat64.c: New file.
43052 * sysdeps/wordsize-64/scandirat.c: New file.
43053 * sysdeps/wordsize-64/scandirat64.c: New file.
43054 * dirent/opendir.c: Define opendirat.
43055 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43057 * dirent/scandir64.c: Adjust for scandir.c change.
43058 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43059 __scandirat64, and __scandir_cancel_handler.
43060 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43061 additional parameter and use openat instead of open (outside of ld.so).
43062 Add new __opendir as wrapper around __opendirat.
43063 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43064 here without requiring old scandirat implementation.
43066 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43068 * dirent/scandir.c (cancel_handler): Renamed to
43069 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43070 defined. Adjust users.
43071 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43072 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43074 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43076 * string/test-string.h (IMPL): Use __STRING to expand name and then
43079 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43082 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43084 * string/Makefile: Update.
43085 (strop-tests): Append strncat.
43086 * string/test-wcscmp.c: New file.
43087 New comprehensive test for wcscmp.
43088 * string/test-strcmp.c: Update.
43089 (WIDE): New define.
43091 2011-07-22 Andreas Schwab <schwab@redhat.com>
43093 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43096 2011-07-26 Andreas Schwab <schwab@redhat.com>
43098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43099 encoding to ACE if AI_IDN.
43101 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43104 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43106 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43108 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43109 Fix overflow bug in strncat.
43110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43112 * string/test-strncat.c: Update.
43113 Add new tests for checking overflow bugs.
43115 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43118 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43119 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43120 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43121 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43122 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43123 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43124 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43125 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43128 (USE_AS_STRCAT): Define.
43129 Add strcat and strncat support.
43130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43132 2011-07-25 Andreas Schwab <schwab@redhat.com>
43134 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43135 __n bigger than INT_MAX+1.
43136 (__strncmp_g): Likewise.
43138 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43140 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43141 * libio/stido.h: Likewise.
43143 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43148 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43151 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43155 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43160 (_dl_x86_64_save_sse): Likewise.
43162 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43166 (_dl_x86_64_save_sse): Likewise.
43168 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43170 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43172 2011-07-21 Andreas Schwab <schwab@redhat.com>
43174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43176 (_dl_x86_64_save_sse): Use correct AVX check.
43178 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43180 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43181 bug in strncpy/strncat.
43182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43184 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43186 * string/tester.c (test_strcat): Add tests for different alignments
43187 of source and destination.
43188 (test_strncat): Likewise.
43190 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43193 * posix/glob.c (glob): Check passed in values before using them in
43194 expressions to avoid some overflows.
43195 (glob_in_dir): Likewise.
43198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43199 check for AVX enablement so that we don't crash with old kernels and
43201 * elf/tst-audit4.c: Add same checks here.
43202 * elf/tst-audit6.c: Likewise.
43204 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43206 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43208 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43210 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43212 * po/cs.po: Update from translation team.
43213 * po/bg.po: Likewise.
43215 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43217 * misc/sys/cdefs.h: Add support for const attribute.
43218 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43219 to gnu_dev_{major,minor,makedev} functions.
43221 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43223 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43225 2011-07-20 Andreas Schwab <schwab@redhat.com>
43227 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43230 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43233 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43234 register in order to avoid conflicts with the soft frame pointer
43235 being held in r11 when necessary.
43236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43237 (INTERNAL_VSYSCALL_NCS): Likewise.
43239 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43241 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43242 * elf/dl-fini.c (_dl_fini): Adjust caller.
43243 * elf/dl-close.c (_dl_close_worker): Likewise.
43244 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43246 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43248 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43249 "aux_cache->nlibs < 0".
43251 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43252 in the reload-count case.
43254 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43257 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43258 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43259 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43260 * sysdeps/x86_64/multiarch/strcat.S: New file.
43261 * sysdeps/x86_64/multiarch/strncat.S: New file.
43262 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43264 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43265 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43267 (USE_AS_STRCAT): Define.
43268 Add strcat and strncat support.
43269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43271 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43272 * string/strncat.c: Update.
43273 (USE_AS_STRNCAT): Define.
43274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43275 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43277 * sysdeps/x86_64/multiarch/init-arch.h
43278 (bit_Prefer_PMINUB_for_stringop): New.
43279 (index_Prefer_PMINUB_for_stringop): Likewise.
43280 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43281 bit_Prefer_PMINUB_for_stringop.
43283 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43285 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43287 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43288 of casting of buffer.
43289 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43290 buffer32 and buffer64.
43291 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43292 writes instead of casting of buffer.
43293 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43295 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43298 2011-07-19 Andreas Schwab <schwab@redhat.com>
43300 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43302 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43304 * nscd/nscd.c (termination_handler): Don't do anything for a database
43305 if it has not yet been initialized.
43307 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43309 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43311 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43313 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43315 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43317 * po/nl.po: Update from translation team.
43318 * po/sv.po: Likewise.
43320 2011-07-16 Roland McGrath <roland@hack.frob.com>
43322 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43323 now disallowed by GCC.
43325 * configure.in (use-default-link): Default to yes if a test -shared
43326 link meets our qualifications.
43327 * configure: Regenerated.
43329 * config.make.in (output-format): New variable.
43330 * configure.in: Check for ld --print-output-format support.
43331 * configure: Regenerated.
43332 * Makerules ($(common-objpfx)format.lds)
43333 [$(output-format) != unknown]: Just use $(output-format),
43334 instead of the linker-script munging.
43336 2011-07-14 Roland McGrath <roland@hack.frob.com>
43338 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43339 of $(common-objpfx)shlib.lds.
43340 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43342 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43343 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43345 * configure.in (-z relro check): Adjust test code to add a large
43346 writable data section after it.
43347 * configure: Regenerated.
43349 2011-07-11 Roland McGrath <roland@hack.frob.com>
43351 * configure.in (-z relro check): Fix test code to make the variable
43353 * configure: Regenerated.
43355 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43357 * nscd/nscd.h (struct traced_file): Define.
43358 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43359 elements. Add traced_files.
43360 (inotify_fd): Declare.
43361 (register_traced_file): Declare.
43362 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43363 (inotify_fd): Export.
43364 (resolv_conf_descr): Remove.
43365 (nscd_init): Move inotify descriptor creation to main.
43366 Don't register files for notification here.
43367 (register_traced_file): New function.
43368 (invalidate_cache): Don't use reset_res to determine whether to call
43369 res_init, go through the list of registered files.
43370 (main_loop_poll): The inotify descriptors are now stored in the
43371 structures for the traced files.
43372 (main_loop_epoll): Likewise
43373 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43374 to __nss_disable_nscd.
43375 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43376 for a database anymore. Check the records for all the registered
43378 * nss/Makefile (libnss_files-routines): Add files-init.
43379 (libnss_db-routines): Add db-init.
43380 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43381 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43382 * nss/nss_db/db-init.c: New file.
43383 * nss/nss_files/files-init.c: New file.
43384 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43385 __nss_lookup_function.
43386 (__nss_lookup_function): Call nss_load_library.
43387 (nss_load_all_libraries): New function.
43388 (__nss_disable_nscd): Take parameter with callback function for files
43389 to register. Set is_nscd. Load all the DSOs for the NSS modules
43390 used for the cached services.
43391 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43392 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43393 options for features to all the files in nscd.
43395 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43397 2011-07-10 Roland McGrath <roland@hack.frob.com>
43399 * csu/elf-init.c (__libc_csu_init): Comment typo.
43401 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43403 * po/pl.po: Update from translation team.
43404 * po/ja.po: Likewise.
43405 * po/ru.po: Likewise.
43406 * po/ko.po: Likewise.
43407 * po/fr.po: Likewise.
43409 2011-07-09 Roland McGrath <roland@hack.frob.com>
43411 * configure.in (.ctors/.dtors header and trailer check):
43412 Use an empirical test on a built program.
43413 * configure: Regenerated.
43415 * configure.in (-z relro check): Use an empirical test on a built DSO.
43416 Detect, but do not require, on ia64.
43417 * configure: Regenerated.
43419 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43420 Update tests that use readelf to use $READELF instead.
43421 * configure: Regenerated.
43423 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43425 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43426 if the result is not used.
43428 2011-07-05 Andreas Jaeger <aj@suse.de>
43431 * stdlib/tst-strtod.c: Add testcase.
43433 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43435 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43436 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43437 The latter has a higher limit. Take additional parameter to pass to
43439 (__pathconf): Pass file to __statfs_link_max.
43440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43442 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43446 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43450 (__statfs_filesize_max): Likewise.
43451 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43453 2011-07-05 Andreas Jaeger <aj@suse.de>
43455 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43457 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43459 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43461 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43464 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43466 * Makefile (strop-tests): Add strncat.
43467 * string/test-strncat.c: New file.
43469 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43471 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43473 2011-06-21 Andreas Jaeger <aj@suse.de>
43475 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43476 Copy rule from iconvdata/Makefile.
43478 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43481 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43482 but no long options are defined, just return 'W'.
43484 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43487 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43489 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43491 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43493 (innetgr): Likewise.
43495 2011-07-05 Roland McGrath <roland@hack.frob.com>
43497 * config.make.in (install_root): Default to $(DESTDIR).
43499 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43503 2011-07-02 Roland McGrath <roland@hack.frob.com>
43505 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43507 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43508 containing directory rather than embedding absolute directory names.
43510 * scripts/check-local-headers.sh: Rewritten using awk.
43511 Match by word, not by line. Print error messages for matches.
43512 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43514 * Makerules [shlib-lds-flags empty]:
43515 ($(common-objpfx)libc_pic.opts): New target.
43516 ($(common-objpfx)libc_pic.os.clean): New target.
43517 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43519 * config.make.in (OBJCOPY): New variable.
43520 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43521 * configure: Regenerated.
43523 * config.make.in (use-default-link): New variable.
43524 * configure.in (use_default_link): Grok --with-default-link to set it.
43525 * configure: Regenerated.
43526 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43527 (shlib-lds, shlib-lds-flags): Define to empty.
43529 * Makerules (shlib-lds): New variable.
43530 (shlib-lds-flags): New variable.
43531 (build-shlib, build-moduile, build-module-asneeded): Use it.
43532 ($(common-objpfx)libc.so): Use $(shlib-lds).
43533 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43534 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43536 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43537 DT_FLAGS/DT_FLAGS_1 with zero flags.
43539 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43540 linker script munging.
43542 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43544 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43546 * crypt/sha512.c (sha512_process_block): Perform total addition using
43547 128-bit if possible.
43548 (__sha512_finish_ctx): Likewise.
43549 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43551 * crypt/sha256.c (SWAP64): Define.
43552 (sha256_process_block): Perform total addition using 64-bit if
43554 (__sha256_finish_ctx): Likewise.
43556 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43558 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43560 * nscd/hstcache.c (cache_addhst): Likewise.
43561 * nscd/grpcache.c (cache_addgr): Likewise.
43562 * nscd/aicache.c (addhstaiX): Likewise
43563 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43565 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43567 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43568 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43569 * nscd/hstcache.c (cache_addhst): Likewise.
43570 * nscd/grpcache.c (cache_addgr): Likewise.
43571 * nscd/aicache.c (addhstaiX): Likewise
43573 2011-07-01 Andreas Schwab <schwab@redhat.com>
43575 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43576 domain only when needed.
43578 2011-06-30 Andreas Schwab <schwab@redhat.com>
43580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43581 is always restored.
43583 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43585 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43586 are re-adding the entry.
43587 * nscd/servicescache.c (cache_addserv): Likewise.
43589 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43591 * sysdeps/generic/dl-irel.h: fix protection against multiple
43593 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43595 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43598 * malloc/memusage.sh: Fix quoting in message.
43599 * debug/xtrace.sh: Likewise.
43601 * configure.in: Remove support for --experimental-malloc option, make
43603 * config.make.in: Likewise.
43604 * malloc/Makefile: Likewise.
43606 2011-06-27 Andreas Schwab <schwab@redhat.com>
43608 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43609 two-byte characters.
43611 2011-06-27 Roland McGrath <roland@hack.frob.com>
43613 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43614 AC_CACHE_CHECK invocation.
43615 * configure: Regenerated.
43617 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43619 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43622 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43623 bit from old_res_options.
43625 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43627 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43628 value type for setfct.
43630 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43633 __gettimeofday instead of gettimeofday.
43635 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43637 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43639 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43646 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43649 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43650 strcpy-sse2-unaligned strncpy-sse2-unaligned
43651 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43652 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43653 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43654 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43655 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43656 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43657 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43658 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43659 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43660 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43661 (STRCPY): Support SSE2 and SSSE3 versions.
43663 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43666 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43667 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43668 kernels which artificially limit size of requests.
43670 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43673 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43674 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43675 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43676 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43677 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43678 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43679 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43680 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43682 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43683 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43684 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43685 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43686 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43688 Enable unaligned load optimization for Intel Core i3, i5 and i7
43690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43692 (index_Fast_Unaligned_Load): Define.
43693 (HAS_FAST_UNALIGNED_LOAD): Define.
43695 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43697 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43699 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43703 until it is clear that the information is realy needed.
43704 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43706 2011-06-22 Andreas Schwab <schwab@redhat.com>
43708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43710 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43713 /sys/devices/system/cpu/online if it is usable.
43715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43716 reading the information from the /proc filesystem to once a second.
43718 2011-06-21 Andreas Jaeger <aj@suse.de>
43720 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43721 NULL after inclusion of kernel headers.
43723 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43725 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43726 calls to internal_setent.
43729 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43730 addresses using gethostbyname4_r ignore IPv4 addresses.
43732 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43733 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43735 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43737 2011-06-20 David S. Miller <davem@davemloft.net>
43739 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43741 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43743 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43744 (elf_irel): Use it.
43745 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43746 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43747 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43748 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43749 * sysdeps/x86_64/dl-irel.h: Likewise.
43751 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43752 * elf/dl-sym.c: Likewise.
43754 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43756 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43757 need to dereference resplen2.
43759 2011-06-14 Andreas Schwab <schwab@redhat.com>
43761 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43763 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43765 * Makeconfig: Define vardbdir and inst_vardbdir.
43766 * nss/Makefile: Add rules to install db-Makefile.
43768 * nss/nss_db/db-XXX.c: Cleanup.
43770 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43771 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43773 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43774 * nss/makedb.c: Implement -g option to specify that value strings
43775 are generated and should not be added to table iterated over for
43777 * nss/nss_db/db-initgroups.c: New file.
43779 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43782 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43783 (internal_getgrouplist): Adjust to name change.
43784 Update use_initgroups_entry if this is not the first call.
43785 * nss/databases.def: Add initgroups entry.
43787 * nss/makedb.c (compute_tables): Check result of multiple hash table
43788 sizes to minimize maximum chain length.
43790 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43792 * Versions.def: Add entry for libnss_db.
43793 * shlib-versions: Likewise.
43794 * nss/Makefile: Add rules to build libnss_db.
43795 * nss/Versions: Add libnss_db information. Organize libnss_files
43797 * nss/db-Makefile: Add gshadow support. Change rules for the new
43798 makedb progra. Some minor improvements to generate smaller files.
43799 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43801 * nss/makedb.c: ...here.
43802 Improve database format to be smaller and require less memory at
43804 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43806 * nss/nss_db/db-netgrp.c: Likewise.
43807 * nss/nss_db/db-open.c: Likewise.
43808 * nss/nss_files/flies-XXX.x: Adjust comments.
43809 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43810 * nss/nss_files/files-grp.c: Likewise.
43811 * nss/nss_files/files-hosts.c: Likewise.
43812 * nss/nss_files/files-network.c: Likewise.
43813 * nss/nss_files/files-proto.c: Likewise.
43814 * nss/nss_files/files-pwd.c: Likewise.
43815 * nss/nss_files/files-rpc.c: Likewise.
43816 * nss/nss_files/files-service.c: Likewise.
43817 * nss/nss_files/files-sgrp.c: Likewise.
43818 * nss/nss_files/files-spwd.c: Likewise.
43819 * nss/nss_db/db-alias.c: Removed.
43820 * nss/nss_db/dummy-db.h: Removed.
43822 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43824 * nss/makedb.c: Rewritten to not use database library.
43825 * nss/Makefile: Update to build new makedb program.
43827 2011-06-14 Andreas Jaeger <aj@suse.de>
43829 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43830 memset declaration.
43832 2011-06-10 Andreas Schwab <schwab@redhat.com>
43834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43837 2011-06-10 Roland McGrath <roland@hack.frob.com>
43839 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43840 * elf/Makefile ($(objpfx)ld.so): Likewise.
43842 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43843 Don't list ld.so twice in dependencies.
43845 * posix/bug-regex31.c: Include <stdlib.h>.
43847 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43849 * nis/nss_compat/compat-spwd.c
43850 (getspent_next_nss_netgr): Remove unused variable.
43851 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43853 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43854 nonmembers" output to use the right array.
43856 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43858 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43860 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43861 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43862 * catgets/gencat.c (read_input_file): Likewise.
43863 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43865 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43866 variable definition inside #if's controlling its use.
43868 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43870 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43872 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43874 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43877 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43879 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43880 * configure: Regenerated.
43882 * Makerules: Revert last change.
43883 * elf/Makefile: Likewise.
43885 2011-06-09 Roland McGrath <roland@hack.frob.com>
43887 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43888 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43889 (reloc-link): Likewise.
43891 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43893 * elf/Makefile: Add rules to build pldd.
43894 * elf/pldd.c: New file.
43895 * elf/pldd-xx.c: New file.
43897 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43899 * version.h: Update for 2.15 development version.
43901 2011-06-07 David S. Miller <davem@davemloft.net>
43903 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43906 elf_machine_lazy_rel): Likewise.
43907 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43909 elf_machine_lazy_rel): Likewise.
43910 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43911 dl_hwcap via passed in argument.
43912 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43915 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43917 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43919 2011-06-06 Roland McGrath <roland@hack.frob.com>
43922 * manual/fdl-1.1.texi: New file, verbatim from:
43923 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43924 * manual/lgpl-2.1.texi: New file, verbatim from:
43925 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43926 * manual/Makefile (licenses): New variable, list those new file names.
43928 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43930 * manual/fdl.texi: File removed.
43931 * manual/lesser.texi: File removed.
43932 * manual/libc.texinfo (Copying, Documentation License):
43933 Use new @include file names, put @appendix directive before @include.
43935 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43938 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43939 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43940 (mq_open): Add __NTH.
43942 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43945 Assume Intel Core i3/i5/i7 processor if AVX is available.
43947 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43952 2011-05-31 Andreas Schwab <schwab@redhat.com>
43954 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43955 memory. Use alloca_account. Fix memory leak when retrying.
43957 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43959 * version.h (RELEASE): Bump for 2.14 release.
43960 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43962 * config.make.in (RANLIB): Remove entry.
43964 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43966 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43967 (libc.pot): Work around missing support for .ksh extension in xgettext.
43970 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43971 if both request failed.
43972 (send_dg): In case of server errors clear resplen or *resplen2.
43975 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43976 when there are multiple maps.
43977 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43978 (_dl_fini): Remove test here.
43980 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43982 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43985 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43986 bit from old_res_options.
43987 (gaih_inet): Likewise.
43990 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43993 * resolv/res_init.c (res_setoptions): Make the code more compact.
43996 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44000 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44002 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44005 * malloc/malloc.h: Declare malloc hook variables as volatile.
44007 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44011 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44012 raise in the comment.
44013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44015 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44017 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44020 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44021 grow the buffers more if it already has to be sufficient.
44022 (build_wcs_upper_buffer): Likewise.
44023 * posix/regexec.c (check_matching): Likewise.
44024 (clean_state_log_if_needed): Likewise.
44025 (extend_buffers): Don't enlarge buffers beyond size of the input
44027 Patches mostly by Emil Wojak <emil@wojak.eu>.
44028 * posix/bug-regex32.c: New file.
44029 * posix/Makefile (tests): Add bug-regex32.
44031 * locale/findlocale.c (_nl_find_locale): Return right away if
44032 _nl_explode_name failed.
44033 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44035 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44037 * debug/xtrace.sh: Unify messages.
44038 * malloc/memusage.sh: Likewise.
44041 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44042 time symbol from vDSO. Substitute with vsyscall if not available.
44043 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44046 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44047 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44048 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44049 Add sendmmsg and internal_sendmmsg.
44050 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44051 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44054 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44055 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44056 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44058 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44061 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44062 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44068 * iconvdata/Makefile (tests): Add bug-iconv9.
44069 * iconvdata/bug-iconv9.c: New file.
44071 2011-05-27 Andreas Schwab <schwab@redhat.com>
44074 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44076 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44079 (struct user_regs_struct): Change intcs field back to cs.
44081 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44083 * po/ja.po: Update from translation team.
44085 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44088 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44091 2011-05-20 Andreas Schwab <schwab@redhat.com>
44093 * stdlib/longlong.h: Update from GCC.
44095 2011-05-23 Andreas Schwab <schwab@redhat.com>
44097 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44099 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44100 Add parameter name.
44101 (__sysconf): Pass it down.
44103 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44106 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44108 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44109 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44110 add in in __libc_use_alloca calls. Adjust callers.
44111 (glob): Use malloc in some situations.
44113 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44114 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44117 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44119 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44120 and CLOCK_BOOTTIME_ALARM.
44123 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44126 * string/_strerror.c (__strerror_r): Print negative errors as signed
44130 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44131 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44132 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44134 * configure.in: Fix typo in redirection and correct removal of test
44135 files in two cases.
44138 * locale/setlocale.c (new_composite_name): Fix test to check for
44139 identical name of all categories.
44142 * libio/filedoalloc.c (local_isatty): New function.
44143 (_IO_file_doallocate): Use local_isatty.
44144 * stdio-common/perror.c (perror): In case a new stream is used
44145 forward the stream error.
44146 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44149 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44154 * include/alloca.h (extend_alloca_account): Define.
44157 * posix/regex.h: Fix comments with documentation of user-accessible
44158 fields after compilation and describe correct free'ing of pattern
44159 after re_compile_pattern.
44160 Patch by Reuben Thomas <rrt@sc3d.org>.
44162 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44164 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44165 and -mno-altivec to prevent the compiler from using Altivec and/or
44166 VSX instructions when the corresponding registers are not available.
44168 2011-05-19 Andreas Schwab <schwab@redhat.com>
44170 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44172 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44174 * libio/freopen.c (freopen): Use __dup2, not dup2.
44175 * libio/freopen64.c (freopen64): Likewise.
44177 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44180 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44181 * math/Makefile (tests): Add test-powl.
44182 (CFLAGS-test-powl.c): Define.
44183 * math/test-powl.c: New file.
44185 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44187 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44189 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44192 * iconvdata/gb18030.c: Update to GB18020-2005.
44194 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44196 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44197 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44198 Patch by Aharon Robbins <arnold@skeeve.com>.
44201 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44205 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44206 through underflows.
44209 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44210 point to strings before performing equality test for error_one_per_line
44214 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44218 (struct user_fpregs_struct): Avoid __uint*_t types.
44221 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44222 symbol info. Use it instead of calling _dl_addr locally.
44223 (lock_and_info): New function.
44224 (tr_freehook): Call lock_and_info and pass symbol info as additional
44225 parameter to tr_where.
44226 (tr_mallochook): Likewise.
44227 (tr_reallochook): Likewise.
44228 (tr_memalignhook): Likewise.
44230 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44231 used and couldn't be at all thread-safe.
44233 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44235 * libio/freopen.c (freopen): Don't close old file descriptor
44236 before the new one is opened. Instead dup the new file descriptor
44237 to the old one after the new stream is created.
44238 * libio/freopen64.c (freopen64): Likewise.
44239 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44240 * libio/fileops.c (_IO_new_file_close_it): Handle new
44241 _IO_FLAGS2_NOCLOSE flag.
44242 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44243 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44244 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44245 _IO_FLAGS2_NOCLOSE flag.
44246 * include/unistd.h: Add hidden_proto for dup3.
44247 Define __have_dup3.
44248 * io/dup3.c: Define hidden symbol.
44249 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44252 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44253 when an incomplete long option is used.
44254 * posix/tst-getopt_long1.c: New file.
44255 * posix/Makefile (tests): Add tst-getopt_long1.
44258 * scripts/config.guess: Update from autoconf-2.68.
44259 * scripts/config.sub: Likewise.
44262 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44264 (has_cpuclock): ...this. New function.
44265 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44266 macro here based on has_cpuclock code.
44269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44270 First byte (not low byte) is now always NUL.
44271 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44274 Use non-cancelable interfaces.
44277 * locale/iso-639.def: Add entry for Sorani.
44280 * include/stdlib.h: Move include protection to the right place.
44281 Define abort_msg_s. Declare __abort_msg with it.
44282 * stdlib/abort.c (__abort_msg): Adjust type.
44283 * assert/assert.c (__assert_fail_base): New function. Majority
44284 of code from __assert_fail. Allocate memory for __abort_msg with
44286 (__assert_fail): Now call __assert_fail_base.
44287 * assert/assert-perr.c: Remove bulk of implementation. Use
44288 __assert_fail_base.
44289 * include/assert.hL Declare __assert_fail_base.
44290 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44292 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44294 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44298 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44299 until all modules are registered in the DTV.
44300 * elf/Makefile: Add rules to build and run tst-tls19.
44301 * elf/tst-tls19.c: New file.
44302 * elf/tst-tls19mod1.c: New file.
44303 * elf/tst-tls19mod2.c: New file.
44304 * elf/tst-tls19mod3.c: New file.
44305 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44308 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44312 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44313 two-byte sequence errors.
44314 * iconvdata/Makefile (tests): Add bug-iconv8.
44315 * iconvdata/bug-iconv8.c: New file.
44318 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44321 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44324 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44325 (dummy_getcfa): New function.
44326 (init): Get _Unwind_GetCFA address, use dummy if not found.
44327 (backtrace_helper): In recursion check, also check whether CFA changes.
44328 (__backtrace): Completely initialize arg.
44330 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44331 storing incomplete byte sequence in state object. Avoid testing for
44332 guaranteed too small input if we know there is enough data available.
44334 2011-05-11 Andreas Schwab <schwab@redhat.com>
44336 * Makeconfig (+link-pie): Indent.
44337 * Rules (binaries-pie): Define if $(have-fpie) and
44339 (binaries-shared): Also filter out $(binaries-pie).
44340 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44341 * nscd/Makefile (others-pie): Add nscd.
44342 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44343 ($(objpfx)nscd): Remove command override.
44344 * login/Makefile (others-pie): Add pt_chown.
44345 ($(objpfx)pt_chown): Remove command override.
44346 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44347 remove command overrides.
44349 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44351 * libio/tst_putwc.c: Fix error messages.
44354 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44355 currently writing and seek to current position when not.
44356 * libio/Makefile (tests): Add bug-fclose1.
44357 * libio/bug-fclose1.c: New file.
44359 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44362 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44363 don't set DF_1_NODELETE here.
44364 (do_lookup_x): When entering new entry test for copy relocation
44365 and if necessary set DF_1_NODELETE flag.
44366 * elf/tst-unique4.cc: New file.
44367 * elf/tst-unique4.h: New file.
44368 * elf/tst-unique4lib.cc: New file.
44369 * elf/Makefile: Add rules to build and run tst-unique4.
44370 Patch by Piotr Bury <pbury@goahead.com>.
44372 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44375 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44378 * misc/mntent_r.c (addmntent): Flush the stream after the output
44381 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44382 (is_trusted_path_normalize): Skip initial colon. Append slash
44383 to empty buffer. Duplicate is_trusted_path code but allow
44384 constructed patch to be prefix.
44385 (is_dst): Allow $ORIGIN followed by /.
44386 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44387 Correct testing of result of is_trusted_path_normalize
44388 (decompose_rpath): Fix warning.
44390 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44393 * grp/initgroups.c (internal_getgrouplist): When we found the service
44394 list through the initgroups entry in nsswitch.conf do not always
44395 continue on a successful lookup. Don't always use the
44396 __nss_group_database value if it is set.
44397 * nss/nsswitch.conf (initgroups): Change action for successful db
44398 lookup to continue for compatibility.
44400 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44403 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44405 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44407 * iconvdata/tst-tables.sh: Likewise.
44408 * iconvdata/cp770.c: New file.
44409 * iconvdata/cp771.c: New file.
44410 * iconvdata/cp772.c: New file.
44411 * iconvdata/cp773.c: New file.
44412 * iconvdata/cp774.c: New file.
44413 * iconvdata/testdata/CP770: New file.
44414 * iconvdata/testdata/CP770..UTF8: New file.
44415 * iconvdata/testdata/CP771: New file.
44416 * iconvdata/testdata/CP771..UTF8: New file.
44417 * iconvdata/testdata/CP772: New file.
44418 * iconvdata/testdata/CP772..UTF8: New file.
44419 * iconvdata/testdata/CP773: New file.
44420 * iconvdata/testdata/CP773..UTF8: New file.
44421 * iconvdata/testdata/CP774: New file.
44422 * iconvdata/testdata/CP774..UTF8: New file.
44424 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44426 * iconvdata/gen-8bit-gap.sh: Likewise.
44427 * iconvdata/gen-8bit.sh: Likewise.
44429 * locale/iso-639.def: Add ary entry.
44432 * locale/C-translit.h.in: Add U20A1 transliteration.
44435 * locale/iso-639.def: Add wae entry.
44436 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44439 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44443 * locale/C-translit.h.in: Add entry for U20B9.
44444 Patch by pravin.d.s@gmail.com.
44446 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44449 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44450 ENAMETOOLONG use generic getcwd.
44451 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44452 in rtld. Use *stat64.
44453 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44454 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44455 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44456 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44457 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44458 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44459 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44460 __fstatat64 macros.
44461 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44462 * dirent/rewinddir.c: Add libc_hidden_def.
44463 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44464 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44466 * include/dirent.h (__alloc_dir): Add flags parameter.
44467 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44468 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44470 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44471 from fdopendir if O_CLOEXEC is already set.
44473 2011-03-15 Alan Modra <amodra@gmail.com>
44475 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44476 l_tls_firstbyte_offset non-zero. Save padding offset in
44477 l_tls_firstbyte_offset for later use.
44478 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44479 freeing static tls block.
44481 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44483 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44484 where #ifdef was intended. The intent is to prevent ARG_MAX from
44485 being defined by the kernel headers.
44487 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44490 * resolv/resolv.h: Define RES_NOTLDQUERY.
44491 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44492 no-tld-query and set RES_NOTLDQUERY.
44493 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44494 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44495 modern BIND to search name as TLD unless forbidden.
44497 2011-05-07 Petr Baudis <pasky@suse.cz>
44498 Ulrich Drepper <drepper@gmail.com>
44501 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44502 (is_trusted_path): ...to here.
44503 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44504 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44505 using is_trusted_path_normalize() in setuid scripts.
44507 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44509 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44510 __BEGIN/__END_DECLS.
44512 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44515 NSS_STATUS_NOTFOUND if no record was found.
44517 2011-05-05 Andreas Schwab <schwab@redhat.com>
44519 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44520 (headers-not-in-tirpc): Remove rpc/netdb.h
44521 * resolv/netdb.h: Revert last change.
44523 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44525 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44526 circular dependency between libgcc.a and libc.a.
44528 2011-05-05 Andreas Schwab <schwab@redhat.com>
44530 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44531 * nis/Makefile: Don't install rpcsvc/*.
44532 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44533 instead of <rpc/types.h>.
44534 (MAXHOSTNAMELEN): Define.
44536 2011-05-03 Andreas Schwab <schwab@redhat.com>
44538 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44540 2011-04-28 Maciej Babinski <mbabinski@google.com>
44543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44544 gethostbyname4_r when IPv6 results are possible.
44546 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44549 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44550 _PC_PIPE_BUF handling.
44552 2011-04-30 Bruno Haible <bruno@clisp.org>
44555 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44556 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44558 * inet/getnameinfo.c (getnameinfo): Likewise.
44560 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44562 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44563 to groups setting in database lookup.
44564 * nss/nsswitch.conf: Add initgroups entry.
44566 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44569 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44571 Patch by Eric Blake <eblake@redhat.com>.
44573 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44575 * sunrpc/Makefile (need-export-routines): Add svc_run.
44576 (routines): Remove svc_run.
44577 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44578 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44579 * sunrpc/svc_run.c (svc_run): Likewise.
44580 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44582 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44585 problem in reallocation in last patch.
44587 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44589 * sunrpc/Makefile: Move inclusion of Rules.
44591 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44593 * nss/nss_files/files-initgroups.c: New file.
44594 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44595 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44596 _nss_files_initgroups_dyn.
44598 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44600 * elf/elf.h (R_ARM_IRELATIVE): Define.
44602 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44604 * po/ru.po: Update from translation team.
44606 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44608 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44611 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44614 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44615 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44620 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44622 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44624 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44628 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44631 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44633 * stdlib/bug-getcontext.c: New file.
44634 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44636 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44638 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44639 instructions into .machine "z9-109".
44640 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44641 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44643 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44645 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44646 between environment variables and auxiliary vector.
44648 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44650 * Makefile: Add rules to build linkobj/libc.so.
44651 * include/libc-symbols.h: Define libc_hidden_nolink.
44652 * include/rpc/auth.h: Mark functions which are to be hidden.
44653 * include/rpc/auth_des.h: Likewise.
44654 * include/rpc/auth_unix.h: Likewise.
44655 * include/rpc/clnt.h: Likewise.
44656 * include/rpc/des_crypt.h: Likewise.
44657 * include/rpc/key_prot.h: Likewise.
44658 * include/rpc/pmap_clnt.h: Likewise.
44659 * include/rpc/pmap_prot.h: Likewise.
44660 * include/rpc/pmap_rmt.h: Likewise.
44661 * include/rpc/rpc_msg.h: Likewise.
44662 * include/rpc/svc.h: Likewise.
44663 * include/rpc/svc_auth.h: Likewise.
44664 * include/rpc/xdr.h: Likewise.
44665 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44666 * nss/Makefile: Likewise.
44667 * sunrpc/Makefile: Don't install headers. Build library with normal
44668 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44669 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44670 for the compat linking library. Remove use of INTDEF/INTUSE.
44671 * sunrpc/auth_none.c: Likewise.
44672 * sunrpc/auth_unix.c: Likewise.
44673 * sunrpc/authdes_prot.c: Likewise.
44674 * sunrpc/authuxprot.c: Likewise.
44675 * sunrpc/clnt_gen.c: Likewise.
44676 * sunrpc/clnt_perr.c: Likewise.
44677 * sunrpc/clnt_raw.c: Likewise.
44678 * sunrpc/clnt_simp.c: Likewise.
44679 * sunrpc/clnt_tcp.c: Likewise.
44680 * sunrpc/clnt_udp.c: Likewise.
44681 * sunrpc/clnt_unix.c: Likewise.
44682 * sunrpc/des_crypt.c: Likewise.
44683 * sunrpc/des_soft.c: Likewise.
44684 * sunrpc/get_myaddr.c: Likewise.
44685 * sunrpc/key_call.c: Likewise.
44686 * sunrpc/key_prot.c: Likewise.
44687 * sunrpc/netname.c: Likewise.
44688 * sunrpc/pm_getmaps.c: Likewise.
44689 * sunrpc/pm_getport.c: Likewise.
44690 * sunrpc/pmap_clnt.c: Likewise.
44691 * sunrpc/pmap_prot.c: Likewise.
44692 * sunrpc/pmap_prot2.c: Likewise.
44693 * sunrpc/pmap_rmt.c: Likewise.
44694 * sunrpc/publickey.c: Likewise.
44695 * sunrpc/rpc_cmsg.c: Likewise.
44696 * sunrpc/rpc_common.c: Likewise.
44697 * sunrpc/rpc_dtable.c: Likewise.
44698 * sunrpc/rpc_prot.c: Likewise.
44699 * sunrpc/rpc_thread.c: Likewise.
44700 * sunrpc/rtime.c: Likewise.
44701 * sunrpc/svc.c: Likewise.
44702 * sunrpc/svc_auth.c: Likewise.
44703 * sunrpc/svc_authux.c: Likewise.
44704 * sunrpc/svc_raw.c: Likewise.
44705 * sunrpc/svc_run.c: Likewise.
44706 * sunrpc/svc_simple.c: Likewise.
44707 * sunrpc/svc_tcp.c: Likewise.
44708 * sunrpc/svc_udp.c: Likewise.
44709 * sunrpc/svc_unix.c: Likewise.
44710 * sunrpc/svcauth_des.c: Likewise.
44711 * sunrpc/xcrypt.c: Likewise.
44712 * sunrpc/xdr.c: Likewise.
44713 * sunrpc/xdr_array.c: Likewise.
44714 * sunrpc/xdr_float.c: Likewise.
44715 * sunrpc/xdr_intXX_t.c: Likewise.
44716 * sunrpc/xdr_mem.c: Likewise.
44717 * sunrpc/xdr_rec.c: Likewise.
44718 * sunrpc/xdr_ref.c: Likewise.
44719 * sunrpc/xdr_sizeof.c: Likewise.
44720 * sunrpc/xdr_stdio.c: Likewise.
44722 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44725 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44726 * sysdeps/ia64/dl-tls.h: Likewise.
44727 * sysdeps/powerpc/dl-tls.h: Likewise.
44728 * sysdeps/s390/dl-tls.h: Likewise.
44729 * sysdeps/sh/dl-tls.h: Likewise.
44730 * sysdeps/sparc/dl-tls.h: Likewise.
44731 * sysdeps/x86_64/dl-tls.h: Likewise.
44732 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44734 2011-03-14 Andreas Schwab <schwab@redhat.com>
44736 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44737 rpath element also skip the following colon.
44738 (expand_dynamic_string_token): Add is_path parameter and pass
44739 down to DL_DST_REQUIRED and _dl_dst_substitute.
44740 (decompose_rpath): Call expand_dynamic_string_token with
44741 non-zero is_path. Ignore empty rpaths.
44742 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44745 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44750 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44753 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44754 Patch by Filipe David Manana <fdmanana@apache.org>.
44756 2011-04-07 Andreas Schwab <schwab@redhat.com>
44758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44759 Maintain aligned stack.
44760 (CHECK_RSP): Remove unused macro.
44762 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44764 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44767 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44769 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44771 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44773 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44776 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44777 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44778 * sysdeps/x86_64/memmove.c: New file.
44779 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44780 (memcpy): Renamed to ...
44781 (__new_memcpy): This.
44782 (memcpy): Provide GLIBC_2_14 memcpy.
44783 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44784 (memcpy): Provide GLIBC_2_2_5 memcpy.
44786 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44789 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44791 2011-03-30 Andreas Schwab <schwab@redhat.com>
44793 * misc/syncfs.c: New file.
44794 * misc/Makefile (routines): Add syncfs.
44795 * posix/unistd.h: Declare syncfs.
44796 * sysdeps/unix/syscalls.list: Add syncfs.
44798 2011-04-01 Andreas Schwab <schwab@redhat.com>
44800 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44803 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44807 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44810 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44812 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44814 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44820 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44821 sync_file_range.c with -fexceptions.
44822 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44823 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44824 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44825 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44826 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44827 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44829 sync_file_range as cancellation point
44830 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44831 now a wrapper around __call_sync_file_range with cancellation handling.
44832 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44833 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44834 function name to __call_sync_file_range.
44835 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44836 Add call_sync_file_range.
44838 2011-04-01 Andreas Schwab <schwab@redhat.com>
44840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44843 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44845 * iconv/iconv.h: Fix typo in comment.
44846 * io/fcntl.h: Likewise.
44847 * libio/stdio.h: Likewise.
44848 * posix/spawn.h: Likewise.
44849 * posix/unistd.h: Likewise.
44850 * stdlib/stdlib.h: Likewise.
44851 * time/time.h: Likewise.
44852 * wcsmbs/wchar.h: Likewise.
44854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44855 open_by_handle): Add.
44856 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44857 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44858 Augment a few comments.
44859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44864 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44867 * io/fcntl.h (AT_EMPTY_PATH): Define.
44869 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44871 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44872 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44873 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44875 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44876 * Versions.def: Add GLIBC_2.14.
44877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44880 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44882 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44884 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44886 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44889 * string/test-strncmp.c (do_page_test): New function.
44890 (check2): Likewise.
44891 (test_main): Call check2.
44892 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44894 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44898 Handle cache information in CPU leaf 4.
44899 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44901 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44904 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44905 character representation.
44906 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44908 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44910 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44911 END(__isnan) to END(__isnanf) to match function entry point/label
44912 EALIGN(__isnanf,...).
44914 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44916 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44918 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44921 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44922 copy from the symbol referenced in the relocation to initialize the
44924 Patch by Piotr Bury <pbury@goahead.com>.
44925 * elf/Makefile: Add rules to build and tst-unique3.
44926 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44927 * elf/tst-unique3.cc: New file.
44928 * elf/tst-unique3.h: New file.
44929 * elf/tst-unique3lib.cc: New file.
44930 * elf/tst-unique3lib2.cc: New file.
44932 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44934 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44936 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44937 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44940 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44942 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44943 to-be-loaded object along a path to loader is ld.so.
44945 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44946 Ulrich Drepper <drepper@gmail.com>
44948 * sysdeps/x86_64/memset.S: After aligning destination, code
44949 branches to different locations depending on the value of
44950 misalignment, when multiarch is enabled. Fix this.
44952 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44954 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44955 Set _x86_64_preferred_memory_instruction for AMD processsors.
44956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44957 Set bit_Prefer_SSE_for_memop for AMD processors.
44959 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44961 * libio/fmemopen.c (fmemopen): Optimize a bit.
44963 2011-03-03 Andreas Schwab <schwab@redhat.com>
44965 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44967 2011-03-03 Roland McGrath <roland@redhat.com>
44969 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44971 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44973 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44974 __bzero_ultra1 instead of __memset_ultra1.
44976 2011-02-23 Andreas Schwab <schwab@redhat.com>
44977 Ulrich Drepper <drepper@gmail.com>
44980 * include/link.h (struct link_map): Add l_orig_initfini.
44981 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44982 returning unsuccessfully.
44983 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44984 close of a file loaded at startup, restore the original l_initfini
44986 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44987 list, store the pointer.
44988 * elf/Makefile ($(objpfx)noload-mem): New rule.
44989 (noload-ENV): Define.
44990 (tests): Add $(objpfx)noload-mem.
44991 * elf/noload.c: Include <memcheck.h>.
44992 (main): Call mtrace. Close all opened handles.
44994 2011-02-17 Andreas Schwab <schwab@redhat.com>
44997 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44998 dependencies are missing.
45000 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45002 Fix __if_freereq crash: Unlike the generic version which uses free,
45004 * sysdeps/mach/hurd/ifreq.h: New file.
45006 2011-01-27 Petr Baudis <pasky@suse.cz>
45007 Ulrich Drepper <drepper@gmail.com>
45010 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45011 to extend_alloca().
45012 * stdio-common/bug23.c: New file.
45013 * stdio-common/Makefile (tests): Add bug23.
45015 2010-09-28 Andreas Schwab <schwab@redhat.com>
45016 Ulrich Drepper <drepper@gmail.com>
45019 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45020 before performing relro protection. At old place add assertion
45021 to make sure nothing changed.
45023 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45024 Glauber de Oliveira Costa <glommer@gmail.com>
45026 * elf/elf.h: Add new ARM TLS relocs.
45028 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45031 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45033 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45035 * sysdeps/wordsize-64/tst-writev.c: New file.
45037 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45039 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45040 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45041 insns in _dl_start to prevent a TOC reference before relocs are
45044 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45047 * Makeconfig: Remove RANLIB definition.
45048 * Makerules: Don't use RANLIB.
45049 * aclocal.m4: Remove ranlib test.
45050 * configure.in: No need to check for ranlib.
45051 * elf/rtld-Rules: Don't use RANLIB.
45053 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45055 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45057 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45058 inclusion protection macro.
45060 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45061 SIGRTMIN and SIGRTMAX and print information in that case only when
45062 SIGRTMIN is defined.
45064 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45066 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45067 arginfo fn returning -1.
45069 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45070 and thousands string is zero terminated.
45072 2011-02-03 Andreas Schwab <schwab@redhat.com>
45074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45075 sysdeps/unix/sysv/linux/bits/socket.h.
45077 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45079 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45080 (__CPU_COUNT): Remove old macros.
45081 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45082 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45083 (__CPU_ALLOC, __CPU_FREE): Add macros.
45084 (__sched_cpualloc, __sched_cpufree): Add declarations.
45086 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45088 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45089 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45090 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45091 (readdhstai): Return value of addhstaiX call.
45092 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45093 (addgrbyX): Return value returned by cache_addgr.
45094 (readdgrbyname): Return value returned by addgrbyX.
45095 (readdgrbygid): Likewise.
45096 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45097 (addpwbyX): Return value returned by cache_addpw.
45098 (readdpwbyname): Return value returned by addhstbyX.
45099 (readdpwbyuid): Likewise.
45100 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45101 (addservbyX): Return value returned by cache_addserv.
45102 (readdservbyname): Return value returned by addservbyX:
45103 (readdservbyport): Likewise.
45104 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45105 (addhstbyX): Return value returned by cache_addhst.
45106 (readdhstbyname): Return value returned by addhstbyX.
45107 (readdhstbyaddr): Likewise.
45108 (readdhstbynamev6): Likewise.
45109 (readdhstbyaddrv6): Likewise.
45110 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45111 (readdinitgroups): Return value returned by addinitgroupsX.
45112 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45113 (prune_cache): Keep track of timeout value of re-added entries.
45114 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45115 * nscd/nscd.h: Adjust prototypes of readd* functions.
45117 2011-02-04 Roland McGrath <roland@redhat.com>
45119 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45120 (nis_stats): Likewise.
45121 * nis/nis_modify.c (nis_modify): Likewise.
45122 * nis/nis_remove.c (nis_remove): Likewise.
45123 * nis/nis_add.c (nis_add): Likewise.
45125 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45127 * posix/fnmatch_loop.c: Add some consts.
45129 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45131 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45134 * config.make.in (config-cflags-novzeroupper): Define.
45135 * configure.in: Substitute libc_cv_cc_novzeroupper.
45136 * elf/Makefile (AVX-CFLAGS): Define.
45137 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45138 (CFLAGS-tst-auditmod4a.c): Likewise.
45139 (CFLAGS-tst-auditmod4b.c): Likewise.
45140 (CFLAGS-tst-auditmod6b.c): Likewise.
45141 (CFLAGS-tst-auditmod6c.c): Likewise.
45142 (CFLAGS-tst-auditmod7b.c): Likewise.
45143 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45145 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45147 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45148 function to the callback.
45149 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45151 2011-02-02 Andreas Schwab <schwab@redhat.com>
45153 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45156 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45159 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45161 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45163 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45166 * elf/Makefile: Add rules to build and run new test.
45167 * elf/tst-initorder.c: New file.
45168 * elf/tst-initorder.exp: New file.
45169 * elf/tst-initordera1.c: New file.
45170 * elf/tst-initordera2.c: New file.
45171 * elf/tst-initordera3.c: New file.
45172 * elf/tst-initordera4.c: New file.
45173 * elf/tst-initorderb1.c: New file.
45174 * elf/tst-initorderb2.c: New file.
45175 * elf/tst-order-a1.c: New file.
45176 * elf/tst-order-a2.c: New file.
45177 * elf/tst-order-a3.c: New file.
45178 * elf/tst-order-a4.c: New file.
45179 * elf/tst-order-b1.c: New file.
45180 * elf/tst-order-b2.c: New file.
45181 * elf/tst-order-main.c: New file.
45182 New test case by George Gensure <werkt0@gmail.com>.
45184 2010-10-01 Andreas Schwab <schwab@redhat.com>
45186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45187 decoding ACE if AI_CANONIDN.
45189 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45191 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45193 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45195 * version.h (RELEASE): Bump for 2.13 release.
45196 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45198 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45202 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45203 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45207 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45209 * posix/getconf.c: Update copyright year.
45210 * catgets/gencat.c: Likewise.
45211 * csu/version.c: Likewise.
45212 * debug/catchsegv.sh: Likewise.
45213 * debug/xtrace.sh: Likewise.
45214 * elf/ldconfig.c: Likewise.
45215 * elf/ldd.bash.in: Likewise.
45216 * elf/sprof.c (print_version): Likewise.
45217 * iconv/iconv_prog.c: Likewise.
45218 * iconv/iconvconfig.c: Likewise.
45219 * locale/programs/locale.c: Likewise.
45220 * locale/programs/localedef.c: Likewise.
45221 * malloc/memusage.sh: Likewise.
45222 * malloc/mtrace.pl: Likewise.
45223 * nscd/nscd.c (print_version): Likewise.
45224 * nss/getent.c: Likewise.
45226 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45227 PF_CAIF, and PF_ALG.
45228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45230 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45232 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45233 (modules-names): Use them.
45234 (ifunc-test-modules, ifunc-pie-tests): Define.
45235 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45236 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45237 (test-extras): Likewise.
45238 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45239 $(compile-command.c).
45240 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45241 (all-built-dso): Define.
45242 (check-textrel.out, check-execstack.out): Depend on it.
45244 * configure.in: Don't override --enable-multi-arch.
45246 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45249 * nscd/hstcache.c (tryagain): Define.
45250 (cache_addhst): Return tryagain not notfound for temporary errors.
45251 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45254 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45257 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45258 to make the syscall.
45259 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45262 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45263 and fall back to matching as normal character if the string ends before
45264 the matching ']' is found. This is what POSIX requires.
45265 * posix/testfnm.c: Adjust test result.
45266 * posix/globtest.sh: Adjust test result. Add new test.
45267 * posix/tst-fnmatch.input: Likewise.
45268 * posix/tst-fnmatch2.c: Add new test.
45270 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45272 * elf/Makefile (check-execstack): Revert last change. Depend on
45274 (check-execstack.h): New target.
45275 (generated): Add check-execstack.h.
45276 * elf/check-execstack.c: Include "check-execstack.h".
45277 (main): Revert last change.
45278 (handle_file): Return zero if GNU_STACK is absent and
45279 DEFAULT_STACK_PERMS doesn't include PF_X.
45281 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45283 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45284 in child fails because the descriptor is already closed.
45285 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45286 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45287 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45290 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45294 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45295 temporary buffer used to handle multi lookups locally.
45296 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45298 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45300 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45303 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45305 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45306 alignment for SSE2.
45308 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45311 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45312 characters. When rounding increased number of integer digits recompute
45314 * stdio-common/tst-grouping.c: New file.
45315 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45317 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45319 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45320 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45322 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45324 * bits/select.h: Likewise.
45326 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45328 * po/ja.po: Update from translation team.
45330 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45333 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45334 implementation just like for lxstat, fxstatat, et al.
45336 2010-12-27 Jim Meyering <meyering@redhat.com>
45339 * posix/regexec.c (build_trtable): Return failure indication upon
45340 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45342 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45345 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45346 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45348 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45351 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45354 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45355 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45357 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45359 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45360 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45361 script has SORT_BY_INIT_PRIORITY.
45362 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45363 NO_CTORS_DTORS_SECTIONS is defined.
45364 * elf/soinit.c: Likewise.
45365 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45366 NO_CTORS_DTORS_SECTIONS is defined.
45367 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45368 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45369 * sysdeps/sh/init-first.c: Likewise.
45370 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45372 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45374 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45375 always use the slow path.
45377 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45379 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45380 similar rule which adds the sysdep directories to the header search in
45381 order to pick up the correct platform stackinfo.h.
45382 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45383 perform test if it is, otherwise return successfully without testing.
45384 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45385 DEFAULT_STACK_PERMS define in stackinfo.h.
45386 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45387 defined in stackinfo.h.
45388 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45389 DEFAULT_STACK_PERMS defined in stackinfo.h.
45390 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45391 * sysdeps/ia64/stackinfo.h: Likewise.
45392 * sysdeps/s390/stackinfo.h: Likewise.
45393 * sysdeps/sh/stackinfo.h: Likewise.
45394 * sysdeps/sparc/stackinfo.h: Likewise.
45395 * sysdeps/x86_64/stackinfo.h: Likewise.
45396 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45397 PF_X for powerpc64. Retain PF_X for powerpc32.
45399 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45401 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45403 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45404 GETDENTS_64BIT_ALIGNED.
45406 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45408 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45410 2010-12-10 Andreas Schwab <schwab@redhat.com>
45412 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45415 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45416 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45418 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45419 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45421 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45424 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45427 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45429 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45431 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45433 * po/it.po: Update from translation team.
45435 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45440 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45442 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45444 2010-11-24 Andreas Schwab <schwab@redhat.com>
45446 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45448 (gaih_getanswer_slice): Likewise.
45450 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45454 2010-05-31 Petr Baudis <pasky@suse.cz>
45457 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45458 silently even in the chroot mode.
45460 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45462 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45463 last patch a bit. Pretty printing
45465 2010-05-31 Petr Baudis <pasky@suse.cz>
45468 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45469 initialization of skip_initgroups_dyn.
45471 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45473 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45476 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45478 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45480 2010-11-11 Andreas Schwab <schwab@redhat.com>
45482 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45483 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45484 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45485 ($(objpfx)tst-fnmatch-mem): New rule.
45486 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45487 * posix/tst-fnmatch.c (main): Call mtrace.
45489 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45492 Support Intel processor model 6 and model 0x2c.
45494 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45499 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45502 * string/test-strncasecmp.c (check_result): New function.
45503 (do_one_test): Use it.
45504 (check1): New function.
45505 (test_main): Use it.
45506 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45507 Support strcasecmp and strncasecmp.
45509 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45512 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45513 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45515 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45517 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45521 * sysdeps/x86_64/multiarch/bzero.S: New file.
45522 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45523 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45524 * sysdeps/x86_64/multiarch/memset.S: New file.
45525 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45527 Set bit_Prefer_SSE_for_memop for Intel processors.
45528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45530 (index_Prefer_SSE_for_memop): Define.
45531 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45533 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45535 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45538 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45541 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45542 (__x86_64_raw_data_cache_size_half): Likewise.
45543 (__x86_64_raw_shared_cache_size): Likewise.
45544 (__x86_64_raw_shared_cache_size_half): Likewise.
45546 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45547 (__x86_64_raw_data_cache_size_half): Likewise.
45548 (__x86_64_raw_shared_cache_size): Likewise.
45549 (__x86_64_raw_shared_cache_size_half): Likewise.
45550 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45551 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45552 and __x86_64_raw_shared_cache_size_half. Round
45553 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45554 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45555 to multiple of 256 bytes.
45557 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45560 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45561 of inacessible symlinks. Verify result of symlink before returning it.
45562 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45563 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45565 2010-10-28 Erich Ritz <erichritz@gmail.com>
45567 * math/math.h (isinf): Fix typo in comment.
45569 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45571 * po/da.po: Update from translation team.
45573 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45575 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45576 is added to the list.
45578 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45579 Ulrich Drepper <drepper@gmail.com>
45581 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45582 the global list here. Move code to...
45583 (_dl_add_to_namespace_list): ...here. New function.
45584 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45585 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45586 * elf/dl-load.c (lose): Don't remove the element from the list.
45587 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45588 (_dl_map_object): Likewise.
45590 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45593 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45594 into all bytes of SSE register.
45595 Patch by Richard Li <richardpku@gmail.com>.
45597 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45600 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45603 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45605 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45606 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45607 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45608 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45613 2010-10-22 Andreas Schwab <schwab@redhat.com>
45615 * include/dlfcn.h (__RTLD_SECURE): Define.
45616 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45617 mode & __RTLD_SECURE instead.
45618 (open_path): Rename preloaded parameter to secure.
45619 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45620 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45621 * elf/dl-deps.c (openaux): Likewise.
45622 * elf/rtld.c (struct map_args): Remove is_preloaded.
45623 (map_doit): Don't use it.
45624 (dl_main): Likewise.
45625 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45626 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45628 2010-09-09 Andreas Schwab <schwab@redhat.com>
45630 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45631 (sysd-rules-targets): Remove duplicates.
45632 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45633 rtld-%.$o dependency.
45635 2010-10-18 Andreas Schwab <schwab@redhat.com>
45637 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45638 _dl_map_object do it.
45640 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45642 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45643 fast fma builtins, define the macros in the C99 standard.
45644 (FP_FAST_FMAF): Likewise.
45645 (FP_FAST_FMAL): Likewise.
45646 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45648 * bits/mathdef.h: Update copyright year.
45649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45651 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45653 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45654 builtins, define the macros in the C99 standard.
45655 (FP_FAST_FMAF): Likewise.
45656 (FP_FAST_FMAL): Likewise.
45657 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45659 (FP_FAST_FMAF): Likewise.
45661 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45664 * math/libm-test.inc (fma_test): Some new testcases.
45665 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45666 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45667 y and infinite z. Do multiplication by C already in long double.
45668 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45670 y and infinite z. Do bitwise or of inexact bit into u.d.
45671 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45672 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45673 * sysdeps/i386/fpu/s_fma.S: Removed.
45674 * sysdeps/i386/fpu/s_fmal.S: Removed.
45676 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45679 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45681 computation is not scheduled after fetestexcept. Fix value
45682 of minimum denormal long double.
45684 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45687 * math/libm-test.inc (fma_test): Add some more tests.
45688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45691 2010-10-15 Andreas Schwab <schwab@redhat.com>
45693 * scripts/data/localplt-s390-linux-gnu.data: New file.
45694 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45696 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45699 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45700 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45702 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45704 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45706 if one of x and y is very large and the other is subnormal.
45707 * sysdeps/s390/fpu/s_fmaf.c: New file.
45708 * sysdeps/s390/fpu/s_fma.c: New file.
45709 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45710 * sysdeps/powerpc/fpu/s_fma.S: New file.
45711 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45712 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45713 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45715 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45718 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45721 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45722 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45723 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45724 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45725 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45726 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45728 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45731 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45732 * posix/bug-regex31.input: Add test case.
45734 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45736 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45737 * posix/bug-regex31.input: New file.
45740 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45741 (parse_sub_exp): Fix last change, use postorder.
45743 * posix/bug-regex31.c: New file.
45744 * posix/Makefile: Add rules to build and run bug-regex31.
45746 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45749 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45752 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45753 to have entries in sys_siglist.
45756 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45759 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45762 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45763 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45764 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45765 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45767 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45768 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45769 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45770 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45771 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45772 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45773 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45774 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45775 * math/ftestexcept.c (fetestexcept): Likewise.
45776 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45777 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45778 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45779 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45780 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45781 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45784 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45787 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45790 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45792 * string/bug-strstr1.c: New file.
45793 * string/Makefile: Add rules to build and run bug-strstr1.
45795 2010-10-05 Eric Blake <eblake@redhat.com>
45798 * string/str-two-way.h (two_way_long_needle): Always clear memory
45799 when skipping input due to the shift table.
45801 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45804 * malloc/mcheck.c: Handle large requests.
45807 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45808 for strncmp and strncasecmp.
45809 * string/stratcliff.c: Add tests for strcmp and strncmp.
45810 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45812 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45814 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45817 2010-09-30 Andreas Jaeger <aj@suse.de>
45819 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45820 (CGROUP_SUPER_MAGIC): Define.
45821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45822 Handle btrfs and cgroup file systems.
45823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45826 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45828 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45829 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45831 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45834 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45835 trying to locate the ELF header.
45837 2010-09-27 Andreas Schwab <schwab@redhat.com>
45840 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45841 Mask out sign-bit copies when constructing f_fsid.
45843 2010-09-24 Petr Baudis <pasky@suse.cz>
45845 * debug/stack_chk_fail_local.c: Add missing licence exception.
45846 * debug/warning-nop.c: Likewise.
45848 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45850 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45851 implementing getdents64 using getdents syscall, set d_type if
45852 __ASSUME_GETDENTS32_D_TYPE.
45854 2010-09-16 Andreas Schwab <schwab@redhat.com>
45856 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45857 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45859 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45862 * posix/unistd.h: Undo change of feature selection for ftruncate from
45865 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45867 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45870 2010-09-20 Andreas Schwab <schwab@redhat.com>
45872 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45876 2010-09-14 Andreas Schwab <schwab@redhat.com>
45878 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45879 variables after CHECK_SP call.
45880 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45882 2010-09-13 Andreas Schwab <schwab@redhat.com>
45883 Ulrich Drepper <drepper@redhat.com>
45885 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45886 re-relocationg ld.so.
45887 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45888 _dl_init_paths call.
45889 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45892 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45894 * resolv/res_init.c (__res_vinit): Count the default server we added.
45896 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45897 Ulrich Drepper <drepper@redhat.com>
45900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45901 (____longjmp_chk): Use %ebx for saving value across system call.
45904 2010-09-06 Andreas Schwab <schwab@redhat.com>
45906 * manual/Makefile: Don't mix pattern rules with normal rules.
45908 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45910 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45912 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45913 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45914 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45915 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45919 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45922 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45923 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45925 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45927 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45928 * sysdeps/x86_64/addmul_1.S: Likewise.
45929 * sysdeps/x86_64/lshift.S: Likewise.
45930 * sysdeps/x86_64/mul_1.S: Likewise.
45931 * sysdeps/x86_64/rshift.S: Likewise.
45932 * sysdeps/x86_64/sub_n.S: Likewise.
45933 * sysdeps/x86_64/submul_1.S: Likewise.
45935 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45937 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45938 Define __sched_param instead of SCHED_* and sched_param when
45939 <bits/sched.h> is included with __need_schedparam defined.
45940 * bits/sched.h [__need_schedparam]
45941 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45942 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45943 (__defined_schedparam): Define to 1.
45944 (__sched_param): New structure, identical to sched_param.
45945 (__need_schedparam): Undefine.
45947 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45949 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45950 (epoll_create1): Declare.
45952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45954 2010-08-31 Andreas Schwab <schwab@redhat.com>
45957 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45958 shifting retval into place.
45960 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45962 * nis/rpcsvc/nis.h: Update copyright notice.
45963 * nis/rpcsvc/nis.x: Likewise.
45964 * nis/rpcsvc/nis_callback.h: Likewise.
45965 * nis/rpcsvc/nis_callback.x: Likewise.
45966 * nis/rpcsvc/nis_object.x: Likewise.
45967 * nis/rpcsvc/nis_tags.h: Likewise.
45968 * nis/rpcsvc/yp.h: Likewise.
45969 * nis/rpcsvc/yp.x: Likewise.
45970 * nis/rpcsvc/ypupd.h: Likewise.
45971 * nis/yp_xdr.c: Likewise.
45972 * nis/ypupdate_xdr.c: Likewise.
45974 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45975 mainly the body of pmap_getport. Add parameters to specify timeouts.
45976 (pmap_getport): Use __libc_rpc_getport.
45977 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45978 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45979 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45981 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45986 2010-08-27 Roland McGrath <roland@redhat.com>
45988 * sysdeps/i386/i686/multiarch/Makefile
45989 (CFLAGS-varshift.c): New variable.
45991 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45993 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45994 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45996 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45998 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46000 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46002 * sysdeps/x86_64/strlen.S: Unroll the loop.
46003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46004 strlen-sse2 strlen-sse2-bsf.
46005 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46006 __strlen_no_bsf if bit_Slow_BSF is set.
46007 (__strlen_sse42): Removed.
46008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46009 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46011 2010-08-25 Roland McGrath <roland@redhat.com>
46013 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46014 * sysdeps/x86_64/multiarch/varshift.c: New file.
46015 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46016 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46017 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46018 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46020 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46023 strlen-sse2 strlen-sse2-bsf.
46024 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46025 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46026 (__strlen_sse2): Removed.
46027 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46030 bit_Slow_BSF for Atom.
46031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46032 (index_Slow_BSF): Define.
46033 (HAS_SLOW_BSF): Define.
46035 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46038 * resolv/res_init.c (__res_vinit): When no server address at all
46039 is given default to loopback.
46041 2010-08-24 Roland McGrath <roland@redhat.com>
46043 * configure.in: Remove config-name.h generation.
46044 * configure: Regenerated.
46045 * config-name.in: File removed.
46046 * scripts/config-uname.sh: New file.
46047 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46048 ($(objdir)config-name.h): New target.
46050 * sunrpc/rpc_parse.h: Avoid nested comment.
46052 2010-08-24 Richard Henderson <rth@redhat.com>
46053 Ulrich Drepper <drepper@redhat.com>
46054 H.J. Lu <hongjiu.lu@intel.com>
46056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46058 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46059 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46060 _mm_alignr_epi8 with _mm_loadu_si128.
46061 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46062 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46063 (__m128i_shift_right): Removed.
46064 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46065 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46066 * sysdeps/x86_64/multiarch/varshift.h: New file.
46067 * sysdeps/x86_64/multiarch/varshift.S: New file.
46069 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46071 * configure.in: Move assembler checks to before sysdep dir checking.
46073 2010-08-20 Petr Baudis <pasky@suse.cz>
46075 * LICENSES: Sync the sunrpc license.
46077 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46079 * sunrpc/auth_des.c: Update copyright notice once again.
46080 * sunrpc/auth_none.c: Likewise.
46081 * sunrpc/auth_unix.c: Likewise.
46082 * sunrpc/authdes_prot.c: Likewise.
46083 * sunrpc/authuxprot.c: Likewise.
46084 * sunrpc/bindrsvprt.c: Likewise.
46085 * sunrpc/clnt_gen.c: Likewise.
46086 * sunrpc/clnt_perr.c: Likewise.
46087 * sunrpc/clnt_raw.c: Likewise.
46088 * sunrpc/clnt_simp.c: Likewise.
46089 * sunrpc/clnt_tcp.c: Likewise.
46090 * sunrpc/clnt_udp.c: Likewise.
46091 * sunrpc/clnt_unix.c: Likewise.
46092 * sunrpc/des_crypt.c: Likewise.
46093 * sunrpc/des_soft.c: Likewise.
46094 * sunrpc/get_myaddr.c: Likewise.
46095 * sunrpc/getrpcport.c: Likewise.
46096 * sunrpc/key_call.c: Likewise.
46097 * sunrpc/key_prot.c: Likewise.
46098 * sunrpc/openchild.c: Likewise.
46099 * sunrpc/pm_getmaps.c: Likewise.
46100 * sunrpc/pm_getport.c: Likewise.
46101 * sunrpc/pmap_clnt.c: Likewise.
46102 * sunrpc/pmap_prot.c: Likewise.
46103 * sunrpc/pmap_prot2.c: Likewise.
46104 * sunrpc/pmap_rmt.c: Likewise.
46105 * sunrpc/rpc/auth.h: Likewise.
46106 * sunrpc/rpc/auth_unix.h: Likewise.
46107 * sunrpc/rpc/clnt.h: Likewise.
46108 * sunrpc/rpc/des_crypt.h: Likewise.
46109 * sunrpc/rpc/key_prot.h: Likewise.
46110 * sunrpc/rpc/netdb.h: Likewise.
46111 * sunrpc/rpc/pmap_clnt.h: Likewise.
46112 * sunrpc/rpc/pmap_prot.h: Likewise.
46113 * sunrpc/rpc/pmap_rmt.h: Likewise.
46114 * sunrpc/rpc/rpc.h: Likewise.
46115 * sunrpc/rpc/rpc_des.h: Likewise.
46116 * sunrpc/rpc/rpc_msg.h: Likewise.
46117 * sunrpc/rpc/svc.h: Likewise.
46118 * sunrpc/rpc/svc_auth.h: Likewise.
46119 * sunrpc/rpc/types.h: Likewise.
46120 * sunrpc/rpc/xdr.h: Likewise.
46121 * sunrpc/rpc_clntout.c: Likewise.
46122 * sunrpc/rpc_cmsg.c: Likewise.
46123 * sunrpc/rpc_common.c: Likewise.
46124 * sunrpc/rpc_cout.c: Likewise.
46125 * sunrpc/rpc_dtable.c: Likewise.
46126 * sunrpc/rpc_hout.c: Likewise.
46127 * sunrpc/rpc_main.c: Likewise.
46128 * sunrpc/rpc_parse.c: Likewise.
46129 * sunrpc/rpc_parse.h: Likewise.
46130 * sunrpc/rpc_prot.c: Likewise.
46131 * sunrpc/rpc_sample.c: Likewise.
46132 * sunrpc/rpc_scan.c: Likewise.
46133 * sunrpc/rpc_scan.h: Likewise.
46134 * sunrpc/rpc_svcout.c: Likewise.
46135 * sunrpc/rpc_tblout.c: Likewise.
46136 * sunrpc/rpc_util.c: Likewise.
46137 * sunrpc/rpc_util.h: Likewise.
46138 * sunrpc/rpcinfo.c: Likewise.
46139 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46140 * sunrpc/rpcsvc/key_prot.x: Likewise.
46141 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46142 * sunrpc/rpcsvc/mount.x: Likewise.
46143 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46144 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46145 * sunrpc/rpcsvc/rex.x: Likewise.
46146 * sunrpc/rpcsvc/rstat.x: Likewise.
46147 * sunrpc/rpcsvc/rusers.x: Likewise.
46148 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46149 * sunrpc/rpcsvc/spray.x: Likewise.
46150 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46151 * sunrpc/rtime.c: Likewise.
46152 * sunrpc/svc.c: Likewise.
46153 * sunrpc/svc_auth.c: Likewise.
46154 * sunrpc/svc_authux.c: Likewise.
46155 * sunrpc/svc_raw.c: Likewise.
46156 * sunrpc/svc_run.c: Likewise.
46157 * sunrpc/svc_simple.c: Likewise.
46158 * sunrpc/svc_tcp.c: Likewise.
46159 * sunrpc/svc_udp.c: Likewise.
46160 * sunrpc/svc_unix.c: Likewise.
46161 * sunrpc/svcauth_des.c: Likewise.
46162 * sunrpc/xcrypt.c: Likewise.
46163 * sunrpc/xdr.c: Likewise.
46164 * sunrpc/xdr_array.c: Likewise.
46165 * sunrpc/xdr_float.c: Likewise.
46166 * sunrpc/xdr_mem.c: Likewise.
46167 * sunrpc/xdr_rec.c: Likewise.
46168 * sunrpc/xdr_ref.c: Likewise.
46169 * sunrpc/xdr_sizeof.c: Likewise.
46170 * sunrpc/xdr_stdio.c: Likewise.
46172 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46175 2010-08-19 Andreas Schwab <schwab@redhat.com>
46177 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46179 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46181 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46182 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46183 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46184 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46186 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46187 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46188 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46190 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46191 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46192 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46193 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46196 2010-07-26 Anton Blanchard <anton@samba.org>
46198 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46199 * malloc/arena.c (heap_trim): Likewise.
46201 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46203 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46206 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46208 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46210 * sysdeps/i386/elf/Makefile: New file.
46212 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46214 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46215 from fanotify_init.
46216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46219 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46221 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46223 * sysdeps/multiarch/strcmp.S: Likewise.
46225 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46228 strncase_l-nonascii.
46229 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46230 Add strncase_l-ssse3.
46231 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46232 * sysdeps/x86_64/strcmp.S: Likewise.
46233 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46234 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46235 * sysdeps/x86_64/strncase.S: New file.
46236 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46237 * sysdeps/x86_64/strncase_l.S: New file.
46238 * string/Makefile (strop-tests): Add strncasecmp.
46239 * string/test-strncasecmp.c: New file.
46241 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46244 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46245 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46247 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46249 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46251 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46253 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46254 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46257 2010-05-01 Alan Modra <amodra@gmail.com>
46259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46260 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46261 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46262 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46263 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46264 tidying. Don't tail-call __sigjmp_save for static lib.
46265 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46267 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46268 (CALL_MCOUNT): Add eh info, and nop after bl.
46269 (TAIL_CALL_SYSCALL_ERROR): New macro.
46270 (PSEUDO_RET): Use it.
46271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46272 Correct save location of integer regs and cr.
46273 (_dl_profile_resolve): Correct cr save location. Delete nops
46274 after bl when SHARED. Reduce cfi size a little by better
46275 placement of cfi directives.
46276 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46277 make a stack frame. Instead use parm save area as a temp.
46278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46279 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46281 Don't make a stack frame for parent, use parm save area.
46282 Increase child stack frame to 112 bytes. Don't save unused reg,
46283 and adjust reg usage. Set up cfi on error recovery and
46284 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46286 (__makecontext): Add dummy nop after jump to exit.
46287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46288 Use correct parm save area and cr save, reduce stack frame.
46289 Correct cfi for possible PSEUDO_RET frame setup.
46290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46291 Branch to local label emitted by PSEUDO_RET rather than
46294 2010-08-12 Andreas Schwab <schwab@redhat.com>
46297 * locale/programs/locale.c (print_assignment): New function.
46298 (show_locale_vars): Use it.
46300 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46302 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46304 (struct statfs64): Likewise.
46305 (_STATFS_F_FLAGS): Define.
46306 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46307 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46308 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46309 (ST_VALID): Define locally.
46310 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46311 __statvfs_getflags, use the provided value.
46312 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46313 __ASSUME_STATFS_F_FLAGS.
46315 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46317 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46318 Add sys/fanotify.h.
46319 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46320 fanotify_mask for GLIBC_2.13.
46321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46322 fanotify_init and fanotify_mark.
46323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46324 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46326 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46328 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46329 prlimit64 for GLIBC_2.13.
46330 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46335 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46336 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46337 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46340 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46343 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46344 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46346 * nss/Makefile: Add rules to build and run tst-nss-test1.
46347 * shlib-versions: Add entry for libnss_test1.
46348 * nss/nss_test1.c: New file.
46349 * nss/tst-nss-test1.c: New file.
46351 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46352 (__nss_configure_lookup): Set appropriate entry in
46353 __nss_configure_lookup to true.
46354 * nss/nsswitch.h: Define enum with indeces of databases in
46355 databases and __nss_database_custom arrays. Declare
46356 __nss_database_custom.
46357 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46358 to avoid using nscd when custom rules are installed.
46359 * nss/getXXbyYY_r.c: Likewise.
46360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46362 * nss/nss_files/files-parse.c: Whitespace fixes.
46364 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46367 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46368 * posix/fnmatch_loop.c: Likewise.
46370 2010-07-17 Andi Kleen <ak@linux.intel.com>
46372 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46373 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46374 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46375 * Versions.def [GLIBC_2.13]: Add.
46377 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46379 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46380 Also fail if tpwd after pwuid call is NULL.
46382 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46384 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46385 when converting to ms.
46387 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46389 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46390 EOPNOTSUPP errors with ENOTTY.
46391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46392 EOPNOTSUPP errors with ENOTTY.
46394 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46396 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46397 Add strcasecmp_l-ssse3.
46398 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46400 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46401 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46402 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46404 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46406 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46408 * string/Makefile (strop-tests): Add strcasecmp.
46409 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46410 strcasecmp_l-nonascii.
46411 (gen-as-const-headers): Add locale-defines.sym.
46412 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46413 * sysdeps/x86_64/strcasecmp.S: New file.
46414 * sysdeps/x86_64/strcasecmp_l.S: New file.
46415 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46416 * sysdeps/x86_64/locale-defines.sym: New file.
46417 * string/test-strcasecmp.c: New file.
46419 * string/test-strcasestr.c: Test both ends of the range of characters.
46420 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46422 2010-07-29 Roland McGrath <roland@redhat.com>
46425 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46427 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46429 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46432 2010-07-27 Andreas Schwab <schwab@redhat.com>
46434 * manual/memory.texi (Malloc Tunable Parameters): Document
46437 2010-07-26 Roland McGrath <roland@redhat.com>
46440 * configure.in (-fgnu89-inline check): Set and substitute
46441 gnu89_inline, not libc_cv_gnu89_inline.
46442 * configure: Regenerated.
46443 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46445 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46447 * string/test-strnlen.c: New file.
46448 * string/Makefile (strop-tests): Add strnlen.
46449 * string/tester.c (test_strnlen): Add a few more test cases.
46450 * string/tst-strlen.c: Better error reporting.
46452 * sysdeps/x86_64/strnlen.S: New file.
46454 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46457 lower-latency instructions.
46459 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46461 * string/test-strcasestr.c: New file.
46462 * string/test-strstr.c: New file.
46463 * string/Makefile (strop-tests): Add strstr and strcasestr.
46464 * string/str-two-way.h: Don't undefine MAX.
46465 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46467 2010-07-21 Andreas Schwab <schwab@redhat.com>
46469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46470 strcasestr-nonascii.
46471 (CFLAGS-strcasestr-nonascii.c): Define.
46472 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46474 Remove unused attribute.
46476 2010-07-20 Roland McGrath <roland@redhat.com>
46478 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46479 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46480 ld.so.cache was broken. With it, there is no way to disable dsocaps
46481 like LD_HWCAP_MASK can disable hwcaps.
46483 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46485 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46487 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46489 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46490 call in strcasestr.
46491 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46492 __strcasestr_sse42_nonascii.
46493 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46494 strcasestr-nonascii.c.
46495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46497 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46501 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46502 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46504 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46509 2010-07-06 Andreas Schwab <schwab@redhat.com>
46512 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46515 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46518 _PC_PIPE_BUF using F_GETPIPE_SZ.
46520 2010-07-05 Roland McGrath <roland@redhat.com>
46522 * manual/arith.texi (Rounding Functions): Fix rint description
46523 implicit in round description.
46525 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46527 * elf/Makefile: Fix linking for a few tests to make recent linker
46530 2010-06-30 Andreas Schwab <schwab@redhat.com>
46532 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46533 $(common-objpfx)libc_nonshared.a.
46535 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46537 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46538 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46539 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46540 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46541 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46542 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46543 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46544 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46559 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46560 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46561 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46562 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46563 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46564 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46565 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46566 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46567 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46568 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46569 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46570 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46586 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46588 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46589 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46590 * string/memmove.c (memmove): Renamed to ...
46591 (MEMMOVE): ...this. Default to memmove.
46592 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46593 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46596 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46597 mempcpy-ssse3-back memmove-ssse3-back.
46598 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46601 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46602 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46603 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46604 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46605 * sysdeps/x86_64/multiarch/memmove.c: New file.
46606 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46607 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46608 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46609 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46610 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46613 (index_Fast_Copy_Backward): Define.
46614 (HAS_ARCH_FEATURE): Define.
46615 (HAS_FAST_REP_STRING): Define.
46616 (HAS_FAST_COPY_BACKWARD): Define.
46618 2010-06-21 Andreas Schwab <schwab@redhat.com>
46620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46621 Restore proper fallback handling.
46623 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46626 * posix/group_member.c (__group_member): Correct checking loop.
46628 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46629 OOM in getpwuid_r correctly. Return error number when the caller
46630 should return, otherwise -1.
46631 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46632 call returning > 0 value.
46633 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46635 2010-06-07 Andreas Schwab <schwab@redhat.com>
46637 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46638 libc_nonshared.a from targets in modules-names.
46640 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46642 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46645 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46647 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46648 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46649 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46650 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46652 2010-06-02 Andreas Schwab <schwab@redhat.com>
46654 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46656 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46658 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46667 2010-06-14 Roland McGrath <roland@redhat.com>
46669 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46671 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46673 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46674 __REDIRECT followed by __THROW.
46675 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46676 * posix/getopt.h (getopt): Likewise.
46678 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46680 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46681 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46682 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46684 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46685 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46687 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46689 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46691 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46695 Properly check family and model.
46697 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46699 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46701 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46703 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46705 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46707 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46710 2010-05-19 Andreas Schwab <schwab@redhat.com>
46712 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46715 2010-05-21 Andreas Schwab <schwab@redhat.com>
46717 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46718 and internal_recvmmsg.
46719 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46720 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46721 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46722 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46724 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46728 2010-05-20 Andreas Schwab <schwab@redhat.com>
46730 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46732 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46734 POWER7 optimizations.
46735 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46736 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46738 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46740 * version.h: Update for 2.13 development version.
46742 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46744 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46745 exceptions. Return 0.
46747 2010-05-07 Roland McGrath <roland@redhat.com>
46749 * elf/ldconfig.c (main): Add a const.
46751 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46753 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46754 (args_options): Add no-idn option.
46755 (ahosts_keys_int): Add idn_flags to ai_flags.
46756 (parse_option): Handle 'i' option to clear idn_flags.
46758 * malloc/malloc.c (_int_free): Possible race in the most recently
46759 added check. Only act on the data if no current modification
46762 See ChangeLog.17 for earlier changes.