1 2014-06-23 Andreas Schwab <schwab@suse.de>
4 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5 before reading the next line.
7 2014-06-23 Will Newton <will.newton@linaro.org>
9 * test-skeleton.c (signal_handler): Use printf and %m
10 rather than perror. Use printf rather than fprintf to
11 stderr. Use puts rather than fputs to stderr.
14 2014-06-22 Ludovic Courtès <ludo@gnu.org>
16 * nscd/nscd.c (thread_info_t): Remove typedef.
17 (thread_info): Remove variable.
19 2014-06-21 Allan McRae <allan@archlinux.org>
21 * NEWS: Mention CVE-2014-4043.
23 2014-06-20 Roland McGrath <roland@hack.frob.com>
25 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26 * nptl/smp.h: ... here.
28 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
30 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35 * nptl/allocatestack.c: Include <stack-aliasing.h>.
36 * nptl/stack-aliasing.h: New file.
37 * sysdeps/i386/i686/stack-aliasing.h: New file.
38 * sysdeps/i386/i686/nptl/Makefile: File removed.
39 * sysdeps/x86_64/stack-aliasing.h: New file.
40 * sysdeps/x86_64/nptl/Makefile
41 (CFLAGS-pthread_create.c): Variable removed.
43 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
47 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
50 2014-06-21 Joseph Myers <joseph@codesourcery.com>
52 * sysdeps/unix/sysv/linux/arm/kernel-features.h
53 (__ASSUME_SIGFRAME_V2): Remove macro.
54 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
55 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
56 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
57 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
58 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
59 Declare as function. Remove conditional macro definitions.
60 (__default_rt_sa_restorer): Likewise.
61 (__default_sa_restorer_v1): Remove declaration.
62 (__default_sa_restorer_v2): Likewise.
63 (__default_rt_sa_restorer_v1): Likewise.
64 (__default_rt_sa_restorer_v2): Likewise.
65 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
66 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
67 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
69 2014-06-20 Roland McGrath <roland@hack.frob.com>
71 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
72 (libpthread-routines): Add sysdep.
73 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
74 * sysdeps/unix/sysv/linux/sparc/Versions
75 (libpthread: GLIBC_2.3.3): New version set.
76 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
77 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
78 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
79 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
80 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
81 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
83 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
84 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
85 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
86 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
87 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
88 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
89 * sysdeps/sparc/nptl/sem_init.c: ... here.
90 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
91 * sysdeps/sparc/nptl/sem_post.c: ... here.
92 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
93 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
94 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
95 * sysdeps/sparc/nptl/sem_wait.c: ... here.
96 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
97 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
98 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
99 (libpthread-routines): Add cpu_relax.
100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
102 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
103 (librt: GLIBC_2.3.3): New version set.
104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
105 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
106 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
107 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
110 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
113 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
115 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
117 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
119 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
121 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
122 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
124 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
128 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
132 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
136 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
140 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
144 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
147 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
153 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
155 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
158 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
160 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
162 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
164 2014-06-20 Joseph Myers <joseph@codesourcery.com>
166 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
167 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
168 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
169 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
170 * nscd/nscd.c: Likewise.
171 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
172 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
173 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
174 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
176 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
178 (init_mq_netlink): Remove conditional have_sock_cloexec
179 definitions. Remove code conditional on have_sock_cloexec < 0.
180 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
181 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
182 * sysdeps/unix/sysv/linux/opensock.c: Do not include
184 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
185 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
187 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
190 Add tests for memset_chk and memset.
192 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
195 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
198 * elf/tst-dl-iter-static.c: New file.
199 * elf/Makefile (tests-static): Add tst-dl-iter-static.
201 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
204 2014-06-20 Joseph Myers <joseph@codesourcery.com>
206 * sysdeps/unix/sysv/linux/kernel-features.h
207 (__ASSUME_F_GETOWN_EX): Remove macro.
208 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
210 (miss_F_GETOWN_EX): Remove variable or macro.
211 (do_fcntl): Do not check miss_F_GETOWN_EX.
212 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
214 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
217 [!__ASSUME_AT_RANDOM]: Remove conditional code.
218 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
220 * sysdeps/unix/sysv/linux/kernel-features.h
221 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
222 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
223 [ADJ_OFFSET_SS_READ]: Make code unconditional.
224 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
226 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
229 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
230 Fix calculation of the symbol's value.
231 * sysdeps/arm/tst-armtlsdescloc.c: New file.
232 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
233 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
234 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
235 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
236 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
237 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
238 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
239 (modules-names): Add `tst-armtlsdescmod',
240 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
241 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
242 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
243 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
244 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
245 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
246 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
247 ($(objpfx)tst-armtlsdescloc): New dependency.
248 ($(objpfx)tst-armtlsdescextnow): Likewise.
249 ($(objpfx)tst-armtlsdescextlazy): Likewise.
250 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
252 * sysdeps/arm/configure: Regenerate.
254 2014-06-20 Joseph Myers <joseph@codesourcery.com>
256 * include/fcntl.h (__atfct_seterrno): Remove prototype.
257 (__atfct_seterrno_2): Likewise.
258 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
260 (__ASSUME_ATFCTS): Do not undefine and redefine.
261 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
262 (__have_atfcts): Remove conditional definition.
263 (__fxstatat([__NR_fstatat64]: Make code unconditional.
264 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
265 unreachable if [__ASSUME_ATFCTS].
266 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
267 not undefine and redefine.
268 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
270 (faccessat) [__NR_faccessat]: Make code unconditional.
271 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
272 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
274 (fchmodat) [__NR_fchmodat]: Make code unconditional.
275 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
276 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
278 (fchownat) [__NR_fchownat]: Make code unconditional.
279 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
280 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
282 (futimesat) [__NR_futimesat]: Make code unconditional.
283 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
284 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
286 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
287 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
288 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
290 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
291 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
292 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
293 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
295 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
296 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
297 * sysdeps/unix/sysv/linux/linkat.c: Do not include
299 (linkat) [__NR_linkat]: Make code unconditional.
300 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
301 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
302 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
304 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
305 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
306 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
308 (mkdirat) [__NR_mkdirat]: Make code unconditional.
309 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
310 * sysdeps/unix/sysv/linux/openat.c: Do not include
312 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
313 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
314 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
315 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
317 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
319 (readlinkat) [__NR_readlinkat]: Make code unconditional.
320 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
321 result of INLINE_SYSCALL directly, not via int variable.
322 * sysdeps/unix/sysv/linux/renameat.c: Do not include
324 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
325 (renameat) [__NR_renameat]: Make code unconditional.
326 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
327 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
328 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
329 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
330 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
331 (__ASSUME_ATFCTS): Do not undefine and redefine.
332 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
334 (symlinkat) [__NR_symlinkat]: Make code unconditional.
335 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
336 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
338 (unlinkat) [__NR_unlinkat]: Make code unconditional.
339 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
341 (__ASSUME_ATFCTS): Do not undefine and redefine.
342 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
344 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
345 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
346 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
348 (__xmknodat) [__NR_mknodat]: Make code unconditional.
349 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
351 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
353 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
355 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
358 * posix/regcomp.c (parse_reg_exp): Deallocate partially
359 constructed tree before returning error.
360 * posix/bug-regexp36.c: Expand test case.
362 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
365 * math/libm-test.inc (scalbln_test_date):
366 Add errno expectations.
367 * math/w_scalblnf.c: New File.
368 Add wrapper which checks for setting errno to ERANGE.
369 Add weak_alias for corresponding scalbln function.
370 * math/w_scalbln.c: Likewise.
371 * math/w_scalblnl.c: Likewise.
372 * math/Makefile (libm-calls): Add w_scalbln.
373 * sysdeps/ieee754/flt-32/s_scalblnf.c:
374 Remove weak_alias for corresponding scalbln function.
375 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
377 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
379 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
380 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
381 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
382 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
383 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
384 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
385 Remove long_double_symbol for scalblnl function in libm, libc.
386 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
387 Add wrapper which checks for setting errno to ERANGE.
388 Add long_double_symbol for scalblnl function in libm, libc.
389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
390 Remove long_double_symbol for scalblnl in libm.
391 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
392 Add wrapper which checks for setting errno to ERANGE.
393 Add long_double_symbol for scalblnl function in libm.
394 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
395 Do not use wrapper because of own implementation.
397 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
399 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
400 3 bytes for __pad1 for x32.
401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
403 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
404 H.J. Lu <hongjiu.lu@intel.com>
406 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
407 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
408 * sysdeps/x86_64/multiarch/memset.S: Likewise.
409 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
410 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
412 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
415 * posix/regcomp.c (parse_expression): Deallocate partially
416 constructed tree before returning error.
417 * posix/Makefile.c (tests): Add bug-regex36.
418 (generated): Add bug-regex36.mtrace.
419 (tests-special): Add $(objpfx)bug-regex36-mem.out
420 (bug-regex36-ENV): New variable.
421 ($(objpfx)bug-regex36-mem.out): New rule.
422 * posix/bug-regex36.c: New file.
424 2014-06-19 Will Newton <will.newton@linaro.org>
426 * malloc/malloc.c (systrim): If extra is zero then return
429 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
431 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
433 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
435 * sysdeps/aarch64/strchr.S: New file.
437 2014-06-18 Joseph Myers <joseph@codesourcery.com>
440 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
441 from arguments -2 or below.
442 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
443 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
445 2014-06-18 Andreas Schwab <schwab@suse.de>
448 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
449 of a bracket expr not to run off the end of the string.
450 * posix/Makefile (tests): Add tst-fnmatch3.
451 * posix/tst-fnmatch3.c: New file.
453 2014-06-18 Joseph Myers <joseph@codesourcery.com>
455 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
456 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
457 [$(cross-compiling) = no]: Likewise.
458 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
459 [$(cross-compiling) = no]: Likewise.
461 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
464 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
465 double, adjusted for any remainder from the high double.
466 * math/libm-test.inc (nearbyint): Add tests.
469 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
471 * nptl/sysdeps/powerpc/Makefile: Moved ...
472 * sysdeps/powerpc/nptl/Makefile: ... here.
473 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
474 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
475 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
476 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
477 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
478 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
479 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
480 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
481 * nptl/sysdeps/powerpc/tls.h: Moved ...
482 * sysdeps/powerpc/nptl/tls.h: ... here.
484 2014-06-16 Joseph Myers <joseph@codesourcery.com>
487 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
488 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
489 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
490 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
491 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
492 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
493 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
494 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
495 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
497 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
499 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
501 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
503 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
506 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
509 2014-06-16 Florian Weimer <fweimer@redhat.com>
512 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
513 non-executed part of the test.
515 2014-06-16 Andreas Schwab <schwab@suse.de>
517 * string/bits/string2.h (strdup, strndup): Update feature guard.
519 2014-06-14 David S. Miller <davem@davemloft.net>
521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
523 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
525 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
526 that was previously under [RESET_PID].
527 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
529 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
530 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
531 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
532 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
533 (__libc_vfork): New strong alias.
534 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
536 2014-06-14 Andi Kleen <ak@linux.intel.com>
538 * sysdeps/generic/elide.h: New file.
540 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
542 * Makefile (installed-headers): Adjust path of pthread.h header.
544 2014-06-13 Roland McGrath <roland@hack.frob.com>
546 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
547 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
548 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
549 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
551 * nptl/sysdeps/s390/Makefile: Moved ...
552 * sysdeps/s390/nptl/Makefile: ... here.
553 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
554 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
555 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
556 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
557 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
558 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
559 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
560 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
561 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
562 * sysdeps/s390/nptl/pthreaddef.h: ... here.
563 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
564 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
565 * nptl/sysdeps/s390/tls.h: Moved ...
566 * sysdeps/s390/nptl/tls.h: ... here.
568 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
569 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
571 2014-06-13 David S. Miller <davem@davemloft.net>
573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
576 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
580 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
581 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
582 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
583 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
584 Remove RESET_PID cpp guards.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
586 Remove RESET_PID cpp guards.
587 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
589 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
591 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
594 2014-06-13 Andi Kleen <ak@linux.intel.com>
596 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
597 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
598 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
599 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
600 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
601 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
602 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
603 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
604 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
605 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
606 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
607 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
608 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
609 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
610 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
611 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
612 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
613 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
614 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
615 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
617 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
618 (pthread_rwlock_rdlock): Add elision.
619 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
620 (pthread_rwlock_wrlock): Add elision.
621 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
622 (pthread_rwlock_trywrlock): Add elision.
623 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
624 (pthread_rwlock_tryrdlock): Add elision.
625 * nptl/pthread_rwlock_unlock.c: Include elide.h.
626 (pthread_rwlock_tryrdlock): Add elision unlock.
627 * nptl/sysdeps/pthread/pthread.h:
628 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
629 (PTHREAD_RWLOCK_INITIALIZER,
630 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
631 Handle new elision field.
632 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
633 * sysdeps/arm/nptl/bits/pthreadtypes.h
634 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
635 * sysdeps/sh/nptl/bits/pthreadtypes.h
636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
637 * sysdeps/tile/nptl/bits/pthreadtypes.h
638 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
639 * sysdeps/a/nptl/bits/pthreadtypes.h
640 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
641 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
642 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
643 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
644 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
645 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
646 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
647 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
649 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
650 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
651 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
652 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
653 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
655 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
657 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
658 (elision_init): Set try_xbegin to zero when no RTM.
659 * sysdeps/x86/nptl/bits/pthreadtypes.h
660 (pthread_rwlock_t): Change __pad1 to __rwelision.
661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
663 2014-06-13 Andi Kleen <ak@linux.intel.com>
665 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
666 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
667 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
668 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
670 2014-06-13 Meador Inge <meadori@codesourcery.com>
673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
674 that the cached result has been set before returning it.
676 2014-06-12 Roland McGrath <roland@hack.frob.com>
678 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
679 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
680 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
681 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
682 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
683 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
685 * nptl/sysdeps/sparc/Makefile: Moved ...
686 * sysdeps/sparc/nptl/Makefile: ... here.
687 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
688 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
689 * nptl/sysdeps/sparc/tls.h: Moved ...
690 * sysdeps/sparc/nptl/tls.h: ... here.
691 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
692 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
693 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
694 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
695 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
696 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
697 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
698 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
699 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
700 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
701 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
702 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
703 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
704 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
705 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
706 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
707 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
708 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
710 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
711 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
713 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
716 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
717 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
720 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
722 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
723 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
725 * sysdeps/pthread/posix-timer.h: Include <list.h>.
726 (struct list_links): Type removed.
727 (struct thread_node, struct timer_node): Replace struct list_links
728 with struct list_head.
729 (list_unlink_ip): Likewise.
730 * sysdeps/pthread/timer_routines.c
731 (timer_free_list, thread_free_list, thread_active_list): Likewise.
732 (list_append, list_insbefore): Likewise.
733 (list_init): Function removed.
734 (thread_init, init_module): Use INIT_LIST_HEAD instead.
735 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
736 * sysdeps/pthread/Makefile: ... here, new file.
738 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
739 * sysdeps/nptl/Implies: ... here.
740 * sysdeps/unix/sysv/linux/Implies: Add nptl.
741 * nptl/sysdeps/pthread/list.h: Moved ...
742 * include/list.h: ... here.
743 * nptl/sysdeps/pthread/createthread.c: Moved ...
744 * nptl/createthread.c: ... here.
745 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
746 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
747 * nptl/pt-longjmp.c: ... here.
748 * nptl/sysdeps/pthread/Makefile: Moved ...
749 * sysdeps/nptl/Makefile: ... here.
750 * nptl/sysdeps/pthread/Subdirs: Moved ...
751 * sysdeps/nptl/Subdirs: ... here.
752 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
753 * sysdeps/nptl/aio_misc.h: ... here.
754 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
755 * sysdeps/nptl/bits/libc-lock.h: ... here.
756 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
757 * sysdeps/nptl/bits/libc-lockP.h: ... here.
758 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
759 * sysdeps/nptl/bits/stdio-lock.h: ... here.
760 * nptl/sysdeps/pthread/configure: Moved ...
761 * sysdeps/nptl/configure: ... here.
762 * nptl/sysdeps/pthread/configure.ac: Moved ...
763 * sysdeps/nptl/configure.ac: ... here.
764 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
765 * sysdeps/nptl/gai_misc.h: ... here.
766 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
767 * sysdeps/nptl/librt-cancellation.c: ... here.
768 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
769 * sysdeps/nptl/malloc-machine.h: ... here.
770 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
771 * sysdeps/nptl/pthread-functions.h: ... here.
772 * nptl/sysdeps/pthread/pthread.h: Moved ...
773 * sysdeps/nptl/pthread.h: ... here.
774 * nptl/sysdeps/pthread/setxid.h: Moved ...
775 * sysdeps/nptl/setxid.h: ... here.
776 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
777 * sysdeps/nptl/sigfillset.c: ... here.
778 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
779 * sysdeps/nptl/tcb-offsets.h: ... here.
780 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
781 * sysdeps/nptl/tst-mqueue8x.c: ... here.
782 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
783 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
784 * nptl/sysdeps/pthread/allocalim.h: Moved ...
785 * sysdeps/pthread/allocalim.h: ... here.
786 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
787 * sysdeps/pthread/bits/sigthread.h: ... here.
788 * nptl/sysdeps/pthread/flockfile.c: Moved ...
789 * sysdeps/pthread/flockfile.c: ... here.
790 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
791 * sysdeps/pthread/ftrylockfile.c: ... here.
792 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
793 * sysdeps/pthread/funlockfile.c: ... here.
794 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
795 * sysdeps/pthread/posix-timer.h: ... here.
796 * nptl/sysdeps/pthread/timer_create.c: Moved ...
797 * sysdeps/pthread/timer_create.c: ... here.
798 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
799 * sysdeps/pthread/timer_delete.c: ... here.
800 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
801 * sysdeps/pthread/timer_getoverr.c: ... here.
802 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
803 * sysdeps/pthread/timer_gettime.c: ... here.
804 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
805 * sysdeps/pthread/timer_routines.c: ... here.
806 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
807 * sysdeps/pthread/timer_settime.c: ... here.
808 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
809 * sysdeps/pthread/tst-timer.c: ... here.
810 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
811 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
813 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
814 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
816 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
817 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
818 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
819 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
820 Update #include target.
821 * nptl/sysdeps/i386/i686/Makefile: Moved ...
822 * sysdeps/i386/i686/nptl/Makefile: ... here.
823 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
824 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
825 Update #include target.
826 * nptl/sysdeps/i386/i686/tls.h: Moved ...
827 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
828 * nptl/sysdeps/i386/Makefile: Moved ...
829 * sysdeps/i386/nptl/Makefile: ... here.
830 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
831 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
832 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
833 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
834 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
835 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
836 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
837 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
838 * sysdeps/i386/nptl/pthreaddef.h: ... here.
839 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
840 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
841 * nptl/sysdeps/i386/tls.h: Moved ...
842 * sysdeps/i386/nptl/tls.h: ... here.
844 * sysdeps/sh/Makefile [$(subdir) = csu]
845 (gen-as-const-headers): Add tcb-offsets.sym.
846 * nptl/sysdeps/sh/Makefile: File removed.
847 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
848 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
849 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
850 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
851 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
852 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
853 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
854 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
855 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
856 * sysdeps/sh/nptl/pthreaddef.h: ... here.
857 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
858 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
859 * nptl/sysdeps/sh/tls.h: Moved ...
860 * sysdeps/sh/nptl/tls.h: ... here.
861 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
862 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
863 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
864 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
865 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
866 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
867 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
868 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
869 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
870 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
871 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
872 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
874 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
876 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
878 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
880 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
882 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
884 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
887 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
888 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
890 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
892 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
894 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
896 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
897 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
898 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
899 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
900 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
902 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
904 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
905 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
906 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
907 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
908 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
910 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
912 * posix/spawn_faction_addopen.c: Include string.h.
914 2014-06-11 Roland McGrath <roland@hack.frob.com>
916 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
917 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
918 * nptl/sysdeps/x86_64/Makefile: Moved ...
919 * sysdeps/x86_64/nptl/Makefile: ... here.
920 * nptl/sysdeps/x86_64/configure: Moved ...
921 * sysdeps/x86_64/nptl/configure: ... here.
922 * nptl/sysdeps/x86_64/configure.ac: Moved ...
923 * sysdeps/x86_64/nptl/configure.ac: ... here.
924 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
925 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
926 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
927 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
928 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
929 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
930 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
931 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
932 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
933 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
934 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
935 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
936 * nptl/sysdeps/x86_64/tls.h: Moved ...
937 * sysdeps/x86_64/nptl/tls.h: ... here.
938 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
939 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
940 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
941 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
943 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
945 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
949 2014-06-11 Joseph Myers <joseph@codesourcery.com>
951 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
953 [POSIX] (off_t): Likewise.
954 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
955 [POSIX] (S_ISBLK): Require macro.
956 [POSIX] (S_ISCHR): Likewise.
957 [POSIX] (S_ISDIR): Likewise.
958 [POSIX] (S_ISFIFO): Likewise.
959 [POSIX] (S_ISREG): Likewise.
960 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
962 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
964 [POSIX] (time_t): Likewise.
965 [POSIX] (timer_t): Likewise.
967 2014-06-11 Florian Weimer <fweimer@redhat.com>
970 * posix/spawn_int.h (struct __spawn_action): Make the path string
971 non-const to support deallocation.
972 * posix/spawn_faction_addopen.c
973 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
974 * posix/spawn_faction_destroy.c
975 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
976 path in all spawn_do_open actions.
977 * posix/tst-spawn.c (do_test): Exercise the copy operation in
978 posix_spawn_file_actions_addopen.
980 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
982 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
983 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
984 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
985 conditional code always true.
986 (__libc_vfork): New alias.
988 2014-06-11 Roland McGrath <roland@hack.frob.com>
990 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
991 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
993 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
995 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
996 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
998 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
999 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1001 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1002 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1004 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1006 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1007 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1008 multiarch strcmp for PPC64.
1009 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1010 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1012 multiarch optimizations.
1013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1014 (__libc_ifunc_impl_list): Likewise.
1016 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1018 * benchtests/scripts/validate_benchout.py: New script.
1019 * benchtests/Makefile (bench-func): Call it.
1020 * benchtests/scripts/benchout.schema.json: New file.
1022 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1024 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1025 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1026 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1027 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1028 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1029 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1030 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1031 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1032 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1033 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1034 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1035 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1036 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1037 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1038 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1039 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1143 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1144 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1145 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1149 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1151 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1158 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1159 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1165 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1168 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1173 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1177 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1178 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1179 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1181 2014-06-10 Wilco <wdijkstr@arm.com>
1183 * math/test-fenv-return.c: New file.
1184 * math/Makefile: Add new test test-fenv-return.
1186 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1189 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1191 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1192 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1193 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1194 0.0L for an argument of 1.0L.
1195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1197 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1198 value when x - 1 is zero.
1199 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1200 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1203 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1206 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1208 2014-06-09 Roland McGrath <roland@hack.frob.com>
1210 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1211 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1213 2014-06-09 Roland McGrath <roland@hack.frob.com>
1215 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1216 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1218 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1219 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1221 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1222 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1224 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1225 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1227 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1228 if not already defined.
1229 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1230 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1231 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1232 (TLS_INIT_TP): Use it.
1233 (TLS_DEFINE_INIT_TP): New macro.
1234 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1236 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1238 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1240 [POSIX] (IXANY): Likewise.
1241 [POSIX] (OLCUC): Likewise.
1242 [POSIX || POSIX2008] (CBAUD): Do not allow.
1243 [POSIX || POSIX2008] (DEFECHO): Likewise.
1244 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1245 [POSIX || POSIX2008] (ECHOKE): Likewise.
1246 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1247 [POSIX || POSIX2008] (EXTA): Likewise.
1248 [POSIX || POSIX2008] (EXTB): Likewise.
1249 [POSIX || POSIX2008] (FLUSHO): Likewise.
1250 [POSIX || POSIX2008] (LOBLK): Likewise.
1251 [POSIX || POSIX2008] (PENDIN): Likewise.
1252 [POSIX || POSIX2008] (SWTCH): Likewise.
1253 [POSIX || POSIX2008] (VDISCARD): Likewise.
1254 [POSIX || POSIX2008] (VDSUSP): Likewise.
1255 [POSIX || POSIX2008] (VLNEXT): Likewise.
1256 [POSIX || POSIX2008] (VREPRINT): Likewise.
1257 [POSIX || POSIX2008] (VSTATUS): Likewise.
1258 [POSIX || POSIX2008] (VWERASE): Likewise.
1259 (B*): Change to B[0123456789]*.
1260 * conform/data/time.h-data [POSIX || UNIX98]
1261 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1262 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1263 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1264 [POSIX] (tm_*): Do not allow.
1266 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1268 * Makefile (install): Don't set LANGUAGE.
1269 * Makefile.in (install): Likewise.
1270 * assert/Makefile (test-assert-ENV): Remove variable.
1271 (test-assert-perr-ENV): Likewise.
1272 * elf/Makefile (neededtest4-ENV): Likewise.
1273 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1274 [$(cross-compiling) = no]: Don't set LANGUAGE.
1275 * io/ftwtest-sh (LANG): Remove variable.
1276 * libio/Makefile (tst-widetext-ENV): Likewise.
1277 * manual/install.texi (Running make install): Don't refer to
1278 environment settings for make install.
1279 * INSTALL: Regenerated.
1280 * nptl/tst-tls6.sh: Don't set LANG.
1281 * posix/globtest.sh (LANG): Remove variable.
1282 * string/Makefile (tester-ENV): Likewise.
1283 (inl-tester-ENV): Likewise.
1284 (noinl-tester-ENV): Likewise.
1285 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1286 [$(cross-compiling) = no]: Don't set LANGUAGE.
1287 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1288 without explicit environment settings.
1290 2014-06-06 Roland McGrath <roland@hack.frob.com>
1292 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1293 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1294 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1295 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1297 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1299 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1300 other files in the crypt directory.
1301 * crypt/crypt.c: Remove duplicate includes.
1302 * crypt/crypt-entry.c: Likewise.
1303 * crypt/crypt_util.c: Likewise.
1305 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1307 * Makeconfig (run-program-env): New variable.
1308 (run-program-prefix-before-env): Likewise.
1309 (run-program-prefix-after-env): Likewise.
1310 (run-program-prefix): Define in terms of new variables.
1311 (built-program-cmd-before-env): New variable.
1312 (built-program-cmd-after-env): Likewise.
1313 (built-program-cmd): Define in terms of new variables.
1314 (test-program-prefix-before-env): New variable.
1315 (test-program-prefix-after-env): Likewise.
1316 (test-program-prefix): Define in terms of new variables.
1317 (test-program-cmd-before-env): New variable.
1318 (test-program-cmd-after-env): Likewise.
1319 (test-program-cmd): Define in terms of new variables.
1320 * Rules (make-test-out): Use $(run-program-env).
1321 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1322 (help): Do not mention environment variables. Mention
1323 --timeoutfactor option.
1324 (timeoutfactor): New variable.
1325 (blacklist_exports): Remove function.
1326 (exports): Remove variable.
1327 (command): Do not include ${exports}.
1328 * manual/install.texi (Configuring and compiling): Do not mention
1329 test wrappers preserving environment variables. Mention that last
1330 assignment to a variable must take precedence.
1331 * INSTALL: Regenerated.
1332 * benchtests/Makefile (run-bench): Use $(run-program-env).
1333 * catgets/Makefile ($(objpfx)test1.cat): Use
1334 $(built-program-cmd-before-env), $(run-program-env) and
1335 $(built-program-cmd-after-env).
1336 ($(objpfx)test2.cat): Do not specify environment variables
1338 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1339 $(run-program-env) and $(built-program-cmd-after-env).
1340 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1341 $(run-program-env) and $(test-program-cmd-after-env).
1342 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1344 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1345 run_program_env and test_program_cmd_after_env arguments.
1346 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1347 * elf/tst-pathopt.sh: Use run_program_env argument.
1348 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1349 $(test-wrapper-env) and $(run-program-env).
1350 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1351 run_program_env arguments.
1352 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1353 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1354 $(test-program-prefix-before-env), $(run-program-env) and
1355 $(test-program-prefix-after-env).
1356 ($(objpfx)tst-gettext2.out): Likewise.
1357 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1358 run_program_env and test_program_prefix_after_env arguments.
1359 * intl/tst-gettext2.sh: Likewise.
1360 * intl/tst-gettext4.sh: Do not set environment variables
1362 * intl/tst-gettext6.sh: Likewise.
1363 * intl/tst-translit.sh: Likewise.
1364 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1365 $(test-program-prefix-before-env), $(run-program-env) and
1366 $(test-program-prefix-after-env).
1367 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1368 run_program_env and test_program_prefix_after_env arguments.
1369 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1370 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1371 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1372 explicitly with each use of ${test_wrapper_env}.
1373 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1374 $(test-program-prefix-before-env), $(run-program-env) and
1375 $(test-program-prefix-after-env).
1376 * posix/tst-getconf.sh: Do not set environment variables
1378 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1379 run_program_env and test_program_prefix_after_env arguments.
1380 * stdio-common/tst-printf.sh: Do not set environment variables
1382 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1383 $(test-program-prefix-before-env), $(run-program-env) and
1384 $(test-program-prefix-after-env).
1385 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1386 run_program_env and test_program_prefix_after_env arguments.
1387 Split $test calls into $test_pre and $test.
1388 * timezone/Makefile (build-testdata): Use
1389 $(built-program-cmd-before-env), $(run-program-env) and
1390 $(built-program-cmd-after-env).
1392 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1394 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1395 strlen for non SHARED builds.
1397 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1399 * nptl/allocatestack.c (check_list): Inlined function...
1400 (__reclaim_stacks): ... here.
1402 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1405 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1408 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1410 * Rules (make-test-out): Include
1411 LOCPATH=$(common-objpfx)localedata in default environment.
1412 * debug/Makefile (tst-chk1-ENV): Remove variable.
1413 (tst-chk2-ENV): Likewise.
1414 (tst-chk3-ENV): Likewise.
1415 (tst-chk4-ENV): Likewise.
1416 (tst-chk5-ENV): Likewise.
1417 (tst-chk6-ENV): Likewise.
1418 (tst-lfschk1-ENV): Likewise.
1419 (tst-lfschk2-ENV): Likewise.
1420 (tst-lfschk3-ENV): Likewise.
1421 (tst-lfschk4-ENV): Likewise.
1422 (tst-lfschk5-ENV): Likewise.
1423 (tst-lfschk6-ENV): Likewise.
1424 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1425 (tst-iconv7-ENV): Likewise.
1426 * intl/Makefile (LOCPATH-ENV): Likewise.
1427 (tst-codeset-ENV): Likewise.
1428 (tst-gettext3-ENV): Likewise.
1429 (tst-gettext5-ENV): Likewise.
1430 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1431 (tst-fopenloc-ENV): Likewise.
1432 (tst-fgetws-ENV): Remove variable.
1433 (tst-ungetwc1-ENV): Likewise.
1434 (tst-ungetwc2-ENV): Likewise.
1435 (bug-ungetwc2-ENV): Likewise.
1436 (tst-swscanf-ENV): Likewise.
1437 (bug-ftell-ENV): Likewise.
1438 (tst-fgetwc-ENV): Likewise.
1439 (tst-fseek-ENV): Likewise.
1440 (tst-ftell-partial-wide-ENV): Likewise.
1441 (tst-ftell-active-handler-ENV): Likewise.
1442 (tst-ftell-append-ENV): Likewise.
1443 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1444 (tst-regexloc-ENV): Likewise.
1445 (bug-regex1-ENV): Likewise.
1446 (tst-regex-ENV): Likewise.
1447 (tst-regex2-ENV): Likewise.
1448 (bug-regex5-ENV): Likewise.
1449 (bug-regex6-ENV): Likewise.
1450 (bug-regex17-ENV): Likewise.
1451 (bug-regex18-ENV): Likewise.
1452 (bug-regex19-ENV): Likewise.
1453 (bug-regex20-ENV): Likewise.
1454 (bug-regex22-ENV): Likewise.
1455 (bug-regex23-ENV): Likewise.
1456 (bug-regex25-ENV): Likewise.
1457 (bug-regex26-ENV): Likewise.
1458 (bug-regex30-ENV): Likewise.
1459 (bug-regex32-ENV): Likewise.
1460 (bug-regex33-ENV): Likewise.
1461 (bug-regex34-ENV): Likewise.
1462 (bug-regex35-ENV): Likewise.
1463 (tst-rxspencer-ENV): Likewise.
1464 (tst-rxspencer-no-utf8-ENV): Likewise.
1465 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1466 (tst-sscanf-ENV): Likewise.
1467 (tst-swprintf-ENV): Likewise.
1468 (tst-swscanf-ENV): Likewise.
1469 (test-vfprintf-ENV): Likewise.
1470 (scanf13-ENV): Likewise.
1471 (bug14-ENV): Likewise.
1472 (tst-grouping-ENV): Likewise.
1473 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1474 (tst-strtod3-ENV): Likewise.
1475 (tst-strtod4-ENV): Likewise.
1476 (tst-strtod5-ENV): Likewise.
1477 (testmb2-ENV): Likewise./
1478 * string/Makefile (tst-strxfrm-ENV): Likewise.
1479 (tst-strxfrm2-ENV): Likewise.
1480 (bug-strcoll1-ENV): Likewise.
1481 (test-strcasecmp-ENV): Likewise.
1482 (test-strncasecmp-ENV): Likewise.
1483 * time/Makefile (tst-strptime-ENV): Likewise.
1484 (tst-ftime_l-ENV): Likewise.
1485 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1486 (tst-mbrtowc-ENV): Likewise.
1487 (tst-wcrtomb-ENV): Likewise.
1488 (tst-mbrtowc2-ENV): Likewise.
1489 (tst-c16c32-1-ENV): Likewise.
1490 (tst-mbsnrtowcs-ENV): Likewise.
1492 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1494 * manual/resource.texi (How to get information about the memory
1495 subsystem?): Fix typo.
1496 Reported by Peon de la Parra Ivan <peon@keba.com>
1498 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1501 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1502 (pthread_spin_lock): Branch out of spin loop to proper location.
1503 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1504 (pthread_spin_lock): Likewise.
1506 * nptl/tst-spin4.c: New test.
1507 * nptl/Makefile (tests): Add tst-spin4.
1509 2014-06-03 Andreas Schwab <schwab@suse.de>
1512 * resolv/res_send.c (send_dg): Reload file descriptor after
1515 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1517 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1519 2014-06-03 Richard Henderson <rth@redhat.com>
1521 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1522 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1523 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1524 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1525 in the SAVE_PID block.
1526 (__libc_vfork): New alias.
1527 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1529 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1530 child in registers, not on the stack. Remove RESET_PID conditionals.
1531 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1533 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1535 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1537 2014-06-03 Wilco <wdijkstr@arm.com>
1539 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1540 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1541 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1542 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1543 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1546 2014-06-03 Wilco <wdijkstr@arm.com>
1548 * sysdeps/aarch64/fpu/math_private.h
1549 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1550 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1551 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1552 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1555 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1557 * crypt/crypt-private.h: Include ufc-crypt.h.
1558 (__b64_from_24bit): Declare extern.
1559 * crypt/crypt_util.c(__b64_from_24bit): New function.
1560 (b64t): New static const variable.
1561 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1562 (b64t): Remove variable.
1563 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1564 * crypt/sha256-crypt.c: Include crypt-private.h.
1565 (b64t): Remove variable.
1566 (__sha256_crypt_r): Remove b64_from_24bit and replace
1567 with __b64_from_24bit.
1568 * crypt/sha512-crypt.c: Likewise.
1570 2014-06-02 Roland McGrath <roland@hack.frob.com>
1572 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1573 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1574 Label the code __libc_vfork rather than __vfork.
1575 [!NOT_IN_libc] (vfork): Define as weak alias.
1576 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1577 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1578 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1580 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 * malloc/malloc.c (malloc_info): Fix format specifier for
1585 2014-06-02 Wilco <wdijkstr@arm.com>
1587 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1590 2014-06-02 Wilco <wdijkstr@arm.com>
1593 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1594 Rewrite to reduce FPCR/FPSR accesses.
1596 2014-06-01 David S. Miller <davem@davemloft.net>
1598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1600 2014-05-31 David S. Miller <davem@davemloft.net>
1602 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1603 to occur in round to nearest mode when |x| >= 2.0
1605 2014-05-30 Richard Henderson <rth@twiddle.net>
1607 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1608 (PSEUDO_RET_NOERRNO): Remove.
1609 (ret): Don't redefine.
1610 (ret_NOERRNO): Define in terms of ret.
1611 (ret_ERRVAL): Likewise.
1613 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1614 use of PSEUDO_RET; perform the error check directly.
1616 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1618 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1621 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1623 * malloc/malloc (malloc_info): Fix formatting.
1625 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1626 Roland McGrath <roland@hack.frob.com>
1628 * malloc/malloc (malloc_info): Also print mmapped statistics.
1630 2014-05-30 Roland McGrath <roland@hack.frob.com>
1632 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1633 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1635 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1637 * malloc/malloc.c (malloc_info): Inline mi_arena.
1639 2014-05-29 Richard Henderson <rth@twiddle.net>
1641 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1642 Remove comma before expanding ASM_ARGS_##nr.
1643 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1644 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1646 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1647 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1648 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1649 (ASM_ARGS_1): Add leading comma.
1651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1652 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1653 to __errno_location.
1654 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1655 Remove the expected plt for __errno_location.
1657 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1658 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1661 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1662 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1663 it and break it down.
1664 (DOCARGS_0, DOCARGS_1): Do nothing.
1665 (DOCARGS_2): Update to store into the new stack frame.
1666 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1667 (UNDOCARGS_1): Update to restore from the new stack frame.
1668 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1669 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1671 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1672 (SINGLE_THREAD_P): New parameter for result regno.
1673 (PSEUDO): Update to match; use cbz instead of beq.
1675 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1676 Use ENTRY to define the _nocancel entry point. Share the syscall
1677 and syscall error check paths with the cancel path.
1680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1681 whitespace; tabs before and after asm mnemonics.
1683 2014-05-29 Eric Wong <normalperson@yhbt.net>
1686 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1687 Call fstat64 or stat64 internally, depending on arguments passed.
1688 Replace stat buffer argument with file descriptor argument.
1689 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1690 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1691 Pass fd to __internal_statvfs instead of calling fstat64.
1692 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1693 Pass fd to __internal_statvfs64 instead of calling fstat64.
1694 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1695 Pass -1 to __internal_statvfs instead of calling stat64.
1696 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1697 Pass -1 to __internal_statvfs64 instead of calling stat64.
1699 2014-05-28 Roland McGrath <roland@hack.frob.com>
1701 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1702 that was previously under [RESET_PID].
1703 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1705 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1706 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1708 2014-05-27 Roland McGrath <roland@hack.frob.com>
1710 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1712 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1713 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1715 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1717 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1719 2014-05-27 Andreas Schwab <schwab@suse.de>
1721 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1723 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1724 * elf/rtld.c (init_tls, dl_main): Likewise.
1725 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1726 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1727 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1728 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1729 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1730 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1731 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1732 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1733 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1734 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1735 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1736 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1737 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1738 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1739 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1740 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1741 * sysdeps/generic/tls.h: Update description.
1743 2014-05-27 Will Newton <will.newton@linaro.org>
1746 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1747 and restore r2 rather than just restoring.
1749 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1752 * libio/tst-ftell-append.c: New test case.
1753 * libio/Makefile (tests): Add test case.
1754 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1756 * libio/wfileops.c (do_ftell_wide): Likewise.
1758 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1762 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1766 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1767 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1769 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1770 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1771 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1772 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1779 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1781 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1784 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1785 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1787 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1789 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1791 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1793 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1795 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1796 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1797 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1798 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1809 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1813 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1821 conditional [RESET_PID].
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1830 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1831 (__libc_vfork): New strong alias.
1832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1839 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1840 (__libc_vfork): New strong alias.
1841 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1846 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1848 * malloc/malloc.c (mi_arena): New function.
1849 (malloc_info): Remove nested function mi_arena. Call non-nosted
1852 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1856 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1857 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1858 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1859 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1860 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1861 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1862 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1864 2014-05-26 Andreas Schwab <schwab@suse.de>
1867 * locale/programs/repertoire.c (repertoire_read): Add slash
1868 between I18NPATH element and file name.
1869 * locale/programs/locfile.c (locfile_read): Likewise.
1871 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1873 * nptl/pthread_mutexattr_settype.c
1874 (__pthread_mutexattr_settype):
1875 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1877 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1879 * nptl/tst-mutex5 (do_test):
1880 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1882 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1884 * benchtests/README: Document 'init' directive.
1885 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1887 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1888 (parse_file): Recognize 'init' directive.
1890 2014-05-26 Kyle McMartin <kyle@redhat.com>
1893 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1894 alignment of struct pthread.
1896 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1899 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1900 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1901 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1902 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1904 2014-05-25 Richard Henderson <rth@twiddle.net>
1906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1907 (SINGLE_THREAD_P_PIC): Remove.
1908 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1909 (SINGLE_THREAD_P_PIC): Remove.
1911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1912 branch to syscall error ...
1914 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1915 from __local_syscall_error to .Lsyscall_error.
1916 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1917 (SYSCALL_ERROR): Update label name.
1919 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1920 Do not use DOARGS/UNDOARGS.
1921 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1922 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1923 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1924 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1925 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1927 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1930 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1931 define if !NOT_IN_libc.
1932 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1933 define with non-default symbol versions.
1935 2014-05-23 Richard Henderson <rth@twiddle.net>
1937 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1938 (vfork, __vfork): Define via compat_symbol.
1940 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1941 [!HAVE_IFUNC] (vfork_compat): Remove.
1942 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1944 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1947 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1948 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1951 2014-05-23 Richard Henderson <rth@twiddle.net>
1953 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1954 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1955 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1956 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1958 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1959 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1960 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1961 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1962 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1963 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1964 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1965 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1966 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1967 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1969 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1970 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1971 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1972 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1973 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1974 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1975 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1997 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1999 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2000 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2001 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2002 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2003 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2005 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2006 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2007 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2008 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2009 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2010 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2011 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2012 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2013 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2015 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2016 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2017 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2018 before exiting on error.
2019 (__libc_vfork): New strong alias.
2020 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2021 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2023 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2024 that was previously under [RESET_PID].
2025 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2027 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2029 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2032 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2033 value when x - 1 is zero.
2034 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2035 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2036 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2037 0.0L for an argument of 1.0L.
2038 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2040 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2041 value when x - 1 is zero.
2042 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2043 * sysdeps/i386/fpu/libm-test-ulps: Update.
2044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2046 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2048 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2049 alphasort and versionsort.
2051 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2053 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2055 [copysignf]: Likewise.
2057 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2059 * crypt/md5-crypt.c: Fix formatting.
2061 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2063 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2064 (b64_from_24bit): New function.
2066 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2068 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2069 libc_hidden_builtin_def to ifunc.
2070 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2071 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2073 2014-05-21 Roland McGrath <roland@hack.frob.com>
2075 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2076 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2078 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2080 * nscd/Depend (linuxthreads): Remove.
2082 * resolv/Depend (linuxthreads): Remove.
2083 * rt/Depend (linuxthreads): Remove.
2085 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2086 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2087 $(common-objpfx)elf/.
2088 (link-libc-before-gnulib): Likewise.
2089 (elfobjdir): Remove variable.
2090 * Makefile (install): Use $(elf-objpfx) instead of
2091 $(common-objpfx)elf/.
2092 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2094 (link-libc-deps): Likewise.
2095 ($(common-objpfx)libc.so): Likewise.
2096 ($(common-objpfx)linkobj/libc.so): Likewise.
2097 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2098 instead of $(common-objpfx)elf/.
2099 (symbolic-link-list): Likewise.
2100 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2101 [$(cross-compiling) = no]: Likewise.
2102 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2104 (static-gnulib-arch): Likewise.
2105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2106 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2107 $(common-objpfx)elf/.
2109 2014-05-21 Richard Henderson <rth@redhat.com>
2111 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2112 (SINGLE_THREAD_P): Use the correct width load. Fold
2113 into the ldr offset.
2115 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2116 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2118 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2120 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2121 (libgcc_s_resume): Use __attribute_used__.
2122 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2125 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2127 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2128 optimization when used with float constants.
2130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2132 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2135 * locale/nl_langinfo_l.c: Make direct reference to every
2136 _nl_current_CATEGORY symbol.
2137 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2138 (tests-static): Add tst-langinfo-static.
2139 (tests-special): Add tst-langinfo-static.out.
2140 ($(objpfx)tst-langinfo.out): Redirect output.
2141 ($(objpfx)tst-langinfo-static.out): New.
2142 * localedata/tst-langinfo.sh: Send output to stdout.
2143 * localedata/tst-langinfo-static.c: New file.
2146 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2147 when the shift amount is modulo the limb size.
2149 2014-05-20 Richard Henderson <rth@redhat.com>
2152 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2153 Change type of sa_flags from unsigned int to int.
2156 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2158 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2160 2014-05-20 Will Newton <will.newton@linaro.org>
2162 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2163 Test the return value of the system call in the nocancel case.
2165 2014-05-20 Will Newton <will.newton@linaro.org>
2166 Yvan Roux <yvan.roux@linaro.org>
2168 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2169 #include of asm/ptrace.h.
2170 (PTRACE_GET_THREAD_AREA): Remove #undef.
2171 (PTRACE_GETHBPREGS): Likewise.
2172 (PTRACE_SETHBPREGS): Likewise.
2173 (struct user_regs_struct): New structure.
2174 (struct user_fpsimd_struct): New structure.
2175 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2176 #include of asm/ptrace.h and second #include of sys/user.h.
2177 (PTRACE_GET_THREAD_AREA): Remove #undef.
2178 (PTRACE_GETHBPREGS): Likewise.
2179 (PTRACE_SETHBPREGS): Likewise.
2180 (ELF_NGREG): Use new struct user_regs_struct.
2181 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2183 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2186 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2188 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2191 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2192 membar to avoid block loads/stores to overlap previous stores.
2194 2014-05-17 Richard Henderson <rth@redhat.com>
2196 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2197 Create the __##syscall_name##_nocancel entry point.
2198 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2199 Remove; let the sysdep-cancel.h code create it.
2201 2014-05-17 David S. Miller <davem@davemloft.net>
2203 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2204 Protect with __USE_GNU.
2205 (TIOCSET_TEMPT): Likewise.
2206 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2207 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2208 these are already provided in bits/ioctl-types.h
2210 2014-05-16 Roland McGrath <roland@hack.frob.com>
2212 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2213 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2215 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2216 Use wait4 regardless of [__NR_waitpid].
2218 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2221 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2222 (_FP_NANSIGN_Q): Set the quiet bit.
2224 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2226 * benchtests/Makefile
2227 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2228 not $(common-objpfx)math/libm.so.
2229 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2230 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2231 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2232 $(common-objpfx)dlfcn/libdl.so.
2233 ($(objpfx)tst-audit8): Depend on $(libm), not
2234 $(common-objpfx)math/libm.so.
2235 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2236 not $(common-objpfx)dlfcn/libdl.so.
2238 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2239 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2240 [$(build-shared) = yes].
2241 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2242 $(common-objpfx)nptl/libpthread.so.
2243 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2244 $(common-objpfx)math/libm.so$(libm.so-version) or
2245 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2246 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2247 $(common-objpfx)dlfcn/libdl.so.
2248 * setjmp/Makefile (link-libm): Remove variable.
2249 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2250 * stdio-common/Makefile (link-libm): Remove variable.
2251 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2252 * stdlib/Makefile (link-libm): Remove variable.
2253 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2254 ($(objpfx)tst-strtod-round): Likewise.
2255 ($(objpfx)tst-tininess): Likewise.
2256 ($(objpfx)tst-strtod-underflow): Likewise.
2257 ($(objpfx)tst-strtod6): Likewise.
2258 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2259 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2260 $(common-objpfx)dlfcn/libdl.so.
2262 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2264 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2265 BSD terminal modes definitions.
2267 2014-05-16 Roland McGrath <roland@hack.frob.com>
2269 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2270 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2272 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2273 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2274 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2275 Don't do #include_next.
2276 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2277 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2278 Don't do #include_next.
2279 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2280 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2281 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2282 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2284 2014-05-16 Allan McRae <allan@archlinux.org>
2286 * po/sv.po: Update Swedish translation from translation project.
2288 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2291 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2294 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2295 errno if the TIOCGPTN ioctl fails with an error different than
2297 * login/tst-ptsname.c: New file.
2298 * login/Makefile (tests): Add tst-ptsname.
2301 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2304 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2308 herrno to return EAI_AGAIN.
2310 2014-05-14 Roland McGrath <roland@hack.frob.com>
2312 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2313 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2314 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2315 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2316 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2317 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2318 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2319 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2321 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2322 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2323 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2324 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2341 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2343 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2348 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2350 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2352 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2354 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2356 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2358 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2372 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2377 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2398 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2403 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2404 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2405 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2406 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2408 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2410 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2411 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2412 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2413 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2414 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2415 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2416 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2418 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2420 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2422 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2424 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2426 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2428 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2430 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2432 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2434 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2435 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2437 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2438 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2439 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2441 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2444 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2445 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2447 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2450 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2451 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2453 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2454 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2455 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2456 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2458 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2459 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2460 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2462 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2463 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2464 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2467 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2470 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2472 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2473 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2475 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2480 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2482 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2483 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2484 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2485 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2486 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2490 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2492 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2495 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2496 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2498 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2499 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2500 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2501 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2503 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2504 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2505 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2507 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2509 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2512 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2517 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2518 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2520 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2523 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2525 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2527 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2529 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2531 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2532 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2533 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2534 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2535 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2538 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2541 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2544 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2545 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2547 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2549 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2551 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2554 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2556 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2558 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2560 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2563 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2564 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2566 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2568 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2569 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2570 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2571 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2574 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2576 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2578 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2579 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2580 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2581 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2582 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2583 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2584 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2585 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2586 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2587 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2588 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2590 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2591 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2593 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2594 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2596 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2597 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2598 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2599 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2600 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2601 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2602 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2603 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2604 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2605 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2606 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2607 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2608 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2610 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2612 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2615 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2617 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2620 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2622 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2624 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2625 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2626 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2627 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2629 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2632 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2636 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2638 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2639 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2640 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2641 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2642 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2644 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2646 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2648 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2651 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2652 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2653 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2654 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2656 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2657 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2658 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2659 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2660 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2661 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2662 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2663 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2664 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2665 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2667 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2670 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2671 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2672 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2673 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2674 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2675 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2676 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2677 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2678 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2679 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2680 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2681 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2682 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2683 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2708 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2709 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2710 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2711 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2712 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2713 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2714 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2715 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2716 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2717 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2718 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2720 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2721 that was previously under [RESET_PID].
2722 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2723 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2724 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2726 * sysdeps/i386/nptl/Implies: New file.
2727 * sysdeps/x86_64/nptl/Implies: New file.
2728 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2729 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2730 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2731 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2733 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2734 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2735 (__libc_vfork): New strong alias.
2736 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2737 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2739 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2740 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2741 (__libc_vfork): New strong alias.
2742 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2743 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2745 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2746 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2747 (__libc_vfork): New strong alias.
2748 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2749 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2750 * nptl/pt-vfork.c: New file.
2751 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2752 (libpthread: GLIBC_2.20): New version set (empty).
2754 2014-05-14 Will Newton <will.newton@linaro.org>
2756 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2759 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2762 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2763 arguments with exponent 65 or above.
2764 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2765 arguments 0x1p113L or above.
2766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2767 to arguments 0x1p107L or above.
2768 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2769 positive arguments with exponent 65 or above.
2770 * math/auto-libm-test-in: Add more tests of log1p.
2771 * math/auto-libm-test-out: Regenerated.
2774 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2775 non-finite arguments is +0.
2776 * math/s_cacosf.c (__cacosf): Likewise.
2777 * math/s_cacosl.c (__cacosl): Likewise.
2778 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2779 * sysdeps/i386/fpu/libm-test-ulps: Update.
2780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2783 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2785 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2786 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2787 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2788 for explicit high bit of mantissa when testing for argument equal
2790 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2791 * sysdeps/i386/fpu/libm-test-ulps: Update.
2792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2795 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2796 (__erf): Scale by 16 instead of 8 in potentially underflowing
2797 case. Ensure exception if result actually underflows.
2798 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2799 (__erff): Scale by 16 instead of 8 in potentially underflowing
2800 case. Ensure exception if result actually underflows.
2801 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2802 (efx8): Remove variable.
2803 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2804 case. Ensure exception if result actually underflows.
2805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2806 (efx8): Remove variable.
2807 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2808 case. Ensure exception if result actually underflows.
2809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2810 (efx8): Remove variable.
2811 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2812 case. Ensure exception if result actually underflows.
2813 * math/auto-libm-test-in: Add more tests of erf.
2814 * math/auto-libm-test-out: Regenerated.
2816 2014-05-14 Andreas Schwab <schwab@suse.de>
2818 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2819 Remove code conditionalized on USE___THREAD.
2821 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2822 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2825 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2828 Define unconditionally.
2829 (__ASSUME_O_CLOEXEC): Likewise.
2830 (__ASSUME_SOCK_CLOEXEC): Likewise.
2831 (__ASSUME_IN_NONBLOCK): Likewise.
2832 (__ASSUME_PIPE2): Likewise.
2833 (__ASSUME_EVENTFD2): Likewise.
2834 (__ASSUME_SIGNALFD4): Likewise.
2835 (__ASSUME_DUP3): Likewise.
2836 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2837 (__ASSUME_DUP3): Do not define.
2838 (__ASSUME_EVENTFD2): Likewise.
2839 (__ASSUME_IN_NONBLOCK): Likewise.
2840 (__ASSUME_O_CLOEXEC): Likewise.
2841 (__ASSUME_PIPE2): Likewise.
2842 (__ASSUME_SIGNALFD4): Likewise.
2843 (__ASSUME_SOCK_CLOEXEC): Likewise.
2844 (__ASSUME_UTIMES): Undefine.
2845 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2846 (__ASSUME_UTIMES): Do not define.
2847 (__ASSUME_O_CLOEXEC): Likewise.
2848 (__ASSUME_SOCK_CLOEXEC): Likewise.
2849 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2850 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2852 (__ASSUME_PIPE2): Likewise.
2853 (__ASSUME_EVENTFD2): Likewise.
2854 (__ASSUME_SIGNALFD4): Likewise.
2855 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2856 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2858 (__ASSUME_EVENTFD2): Likewise.
2859 (__ASSUME_SIGNALFD4): Likewise.
2860 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2861 (__ASSUME_32BITUIDS): Likewise.
2862 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2863 (__ASSUME_IPC64): Likewise.
2864 (__ASSUME_ST_INO_64_BIT): Likewise.
2865 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2866 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2867 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2868 (__ASSUME_UTIMES): Do not define.
2869 (__ASSUME_PSELECT): Likewise.
2870 (__ASSUME_PPOLL): Likewise.
2871 (__ASSUME_O_CLOEXEC): Likewise.
2872 (__ASSUME_SOCK_CLOEXEC): Likewise.
2873 (__ASSUME_IN_NONBLOCK): Likewise.
2874 (__ASSUME_PIPE2): Likewise.
2875 (__ASSUME_EVENTFD2): Likewise.
2876 (__ASSUME_SIGNALFD4): Likewise.
2877 (__ASSUME_DUP3): Likewise.
2878 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2879 (__ASSUME_UTIMES): Likewise.
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 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2888 (__ASSUME_UTIMES): Likewise.
2889 (__ASSUME_O_CLOEXEC): Likewise.
2890 (__ASSUME_SOCK_CLOEXEC): Likewise.
2891 (__ASSUME_IN_NONBLOCK): Likewise.
2892 (__ASSUME_PIPE2): Likewise.
2893 (__ASSUME_EVENTFD2): Likewise.
2894 (__ASSUME_SIGNALFD4): Likewise.
2895 (__ASSUME_DUP3): Likewise.
2896 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2898 (__ASSUME_UTIMES): Likewise.
2899 (__ASSUME_EVENTFD2): Likewise.
2900 (__ASSUME_SIGNALFD4): Likewise.
2901 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2902 (__ASSUME_O_CLOEXEC): Likewise.
2903 (__ASSUME_SOCK_CLOEXEC): Likewise.
2904 (__ASSUME_IN_NONBLOCK): Likewise.
2905 (__ASSUME_PIPE2): Likewise.
2906 (__ASSUME_EVENTFD2): Likewise.
2907 (__ASSUME_SIGNALFD4): Likewise.
2908 (__ASSUME_DUP3): Likewise.
2909 (__ASSUME_UTIMES): Undefine.
2911 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2912 feclearexcept. Remove symbol versioning code.
2913 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2914 symbol versioning code.
2915 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2916 symbol versioning code.
2917 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2918 feupdateenv. Remove symbol versioning code.
2919 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2920 fegetexceptflag. Remove symbol versioning code.
2921 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2922 fesetexceptflag. Remove symbol versioning code.
2923 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2924 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2925 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2926 (__posix_fadvise64_l32): Remove prototype.
2927 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2930 2014-05-13 Roland McGrath <roland@hack.frob.com>
2932 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2933 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2934 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2935 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2937 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2939 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2940 current working directory
2942 2014-05-13 Roland McGrath <roland@hack.frob.com>
2944 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2945 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2946 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2947 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2948 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2949 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2950 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2951 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2952 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2953 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2954 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2955 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2956 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2957 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2958 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2959 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2960 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2977 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2978 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2979 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2980 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2981 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2982 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2983 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2984 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2985 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2987 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2988 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2990 * sysdeps/unix/sysv/linux/arm/Makefile
2991 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2992 Add rt-aeabi_unwind_cpp_pr1.
2993 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2994 Add nptl-aeabi_unwind_cpp_pr1.
2995 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2996 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2997 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2998 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2999 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3000 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3002 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3003 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3004 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3005 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3007 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3008 Deconditionalize the code that was previously under [RESET_PID].
3009 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3011 * sysdeps/generic/exit-thread.h: New file.
3012 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3013 * include/unistd.h (__exit_thread): Remove declaration.
3014 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3015 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3016 * csu/libc-start.c: Include <exit-thread.h>.
3017 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3018 * nptl/pthread_create.c: Include <exit-thread.h>.
3019 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3020 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3021 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3022 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3023 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3024 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3025 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3026 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3027 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3028 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3029 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3030 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3031 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3032 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3033 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3034 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3035 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3037 2014-05-13 Andreas Schwab <schwab@suse.de>
3039 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3041 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3043 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3044 (__ASSUME_UTIMES): Do not condition on kernel version.
3045 (__ASSUME_PSELECT): Define unconditionally.
3046 (__ASSUME_PPOLL): Likewise.
3047 (__ASSUME_ATFCTS): Likewise.
3048 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3049 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3050 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3051 (__ASSUME_UTIMENSAT): Define unconditionally.
3052 (__ASSUME_PRIVATE_FUTEX): Likewise.
3053 (__ASSUME_FALLOCATE): Likewise.
3054 (__ASSUME_O_CLOEXEC): Likewise.
3055 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3056 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3057 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3058 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3059 (__ASSUME_IN_NONBLOCK): Likewise.
3060 (__ASSUME_PIPE2): Likewise.
3061 (__ASSUME_EVENTFD2): Likewise.
3062 (__ASSUME_SIGNALFD4): Likewise.
3063 (__ASSUME_DUP3): Likewise.
3064 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3065 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3066 (__ASSUME_AT_RANDOM): Likewise.
3067 (__ASSUME_PREADV): Likewise.
3068 (__ASSUME_PWRITEV): Likewise.
3069 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3070 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3071 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3072 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3073 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3074 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3075 (__ASSUME_O_CLOEXEC): Define unconditionally.
3076 (__ASSUME_PSELECT): Do not undefine conditionally.
3077 (__ASSUME_PPOLL): Likewise.
3078 (__ASSUME_ATFCTS): Likewise.
3079 (__ASSUME_SET_ROBUST_LIST): Likewise.
3080 (__ASSUME_UTIMENSAT): Likewise.
3081 (__ASSUME_FDATASYNC): Define unconditionally.
3082 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3083 (__ASSUME_SIGFRAME_V2): Likewise.
3084 )__ASSUME_EVENTFD2): Likewise.
3085 (__ASSUME_SIGNALFD4): Likewise.
3086 (__ASSUME_PSELECT): Do not undefine conditionally.
3087 (__ASSUME_PPOLL): Likewise.
3088 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3089 (__ASSUME_PSELECT): Define unconditionally.
3090 (__ASSUME_PPOLL): Likewise.
3091 (__ASSUME_O_CLOEXEC): Likewise.
3092 (__ASSUME_SOCK_CLOEXEC): Likewise.
3093 (__ASSUME_IN_NONBLOCK): Likewise.
3094 (__ASSUME_PIPE2): Likewise.
3095 (__ASSUME_EVENTFD2): Likewise.
3096 (__ASSUME_SIGNALFD4): Likewise.
3097 (__ASSUME_DUP3): Likewise.
3098 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3099 (__ASSUME_O_CLOEXEC): Likewise.
3100 (__ASSUME_SOCK_CLOEXEC): Likewise.
3101 (__ASSUME_IN_NONBLOCK): Likewise.
3102 (__ASSUME_PIPE2): Likewise.
3103 (__ASSUME_EVENTFD2): Likewise.
3104 (__ASSUME_SIGNALFD4): Likewise.
3105 (__ASSUME_DUP3): Likewise.
3106 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3107 (__ASSUME_EVENTFD2): Likewise.
3108 (__ASSUME_SIGNALFD4): Likewise.
3109 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3111 2014-05-12 Andreas Schwab <schwab@suse.de>
3114 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3115 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3116 than maximum RPC packet size.
3117 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3118 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3119 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3120 (_nss_nis_getservbyport_r): Likewise.
3122 2014-05-12 Will Newton <will.newton@linaro.org>
3124 * malloc/Makefile (tests): Add tst-mallopt.
3125 * malloc/tst-mallopt.c: New file.
3127 2014-05-09 Roland McGrath <roland@hack.frob.com>
3129 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3130 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3132 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3134 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3135 (tst-tlsmod6.so): Likewise.
3137 2014-05-09 Roland McGrath <roland@hack.frob.com>
3139 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3141 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3144 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3145 and <dl-procinfo.h>.
3146 (__fegetenv): Save SSE state in envp->__eip if supported.
3147 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3148 envp->__eip if supported.
3149 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3150 and <dl-procinfo.h>.
3151 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3152 __data_offset and __data_selector in environment to 0. Set SSE
3154 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3156 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3158 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3160 2014-05-09 Will Newton <will.newton@linaro.org>
3162 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3163 and libc_relro_required for ARM.
3164 * sysdeps/arm/preconfigure: Regenerate.
3166 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3167 Stefan Liebler <stli@linux.vnet.ibm.com>
3169 * config.make.in (enable-lock-elision): New Makefile variable.
3170 * configure.ac: Likewise.
3171 * configure: Regenerate.
3172 * sysdeps/s390/configure.ac:
3173 Add check for gcc transactions support.
3174 * sysdeps/s390/configure: Regenerate.
3175 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3176 Build elision files if enabled.
3177 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3178 Add lock elision support for s390.
3179 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3180 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3181 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3182 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3183 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3184 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3185 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3187 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3189 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3193 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3194 (__lll_timedlock_elision, __lll_lock_elision)
3195 (__lll_unlock_elision, __lll_trylock_elision)
3196 (lll_timedlock_elision, lll_lock_elision)
3197 (lll_unlock_elision, lll_trylock_elision): Add.
3198 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3199 (pthread_mutex_t): Add lock elision support for s390.
3201 2014-05-14 Wilco <wdijkstr@arm.com>
3203 * sysdeps/arm/fclrexcpt.c: Cleanup.
3204 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3205 * sysdeps/arm/feenablxcpt.c: Cleanup.
3206 * sysdeps/arm/fegetenv.c: Cleanup.
3207 * sysdeps/arm/fegetexcept.c: Cleanup.
3208 * sysdeps/arm/fegetround.c: Cleanup.
3209 * sysdeps/arm/feholdexcpt.c: Cleanup.
3210 * sysdeps/arm/fesetenv.c: Cleanup.
3211 * sysdeps/arm/fesetround.c: Cleanup.
3212 * sysdeps/arm/feupdateenv.c: Cleanup.
3213 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3214 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3215 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3216 * sysdeps/arm/ftestexcept.c: Cleanup.
3217 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3218 * sysdeps/arm/setfpucw.c: Cleanup.
3220 2014-05-09 Will Newton <will.newton@linaro.org>
3222 * sysdeps/arm/armv7/strcmp.S: New file.
3223 * NEWS: Mention addition of ARMv7 optimized strcmp.
3225 2014-05-08 Roland McGrath <roland@hack.frob.com>
3227 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3228 look for %.ac rather than %.in.
3230 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3231 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3232 * sysdeps/mach/hurd/configure: Regenerated.
3233 * sysdeps/unix/sysv/linux/configure: Regenerated.
3235 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3237 2014-05-07 Steve Ellcey <sellcey@mips.com>
3240 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3244 2014-05-07 Andreas Schwab <schwab@suse.de>
3246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3247 when skipping over non-matching result from nscd.
3249 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3252 * nptl/sockperf.c (client): Check socket return value.
3255 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3256 nscd security class.
3258 2014-05-06 Roland McGrath <roland@hack.frob.com>
3260 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3261 * sysdeps/arm/unwind.h: ... here.
3263 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3266 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3269 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3271 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3272 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3273 multiarch strncpy for PPC64.
3274 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3275 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3277 multiarch optimizations.
3278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3279 (__libc_ifunc_impl_list): Likewise.
3280 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3281 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3282 multiarch stpncpy for PPC64.
3283 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3284 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3286 2014-05-06 Andreas Schwab <schwab@suse.de>
3289 * gmon/mcount.c (_MCOUNT_DECL): Use
3290 atomic_compare_and_exchange_bool_acq instead of
3291 catomic_compare_and_exchange_bool_acq.
3293 2014-05-05 Roland McGrath <roland@hack.frob.com>
3295 * elf/Makefile (others, install-bin): Remove pldd.
3296 (pldd-modules): Variable removed.
3297 ($(objpfx)pldd): Target removed.
3298 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3299 (others, install-bin): Append pldd here.
3300 ($(objpfx)pldd): New target.
3302 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3303 to 0, so the first #if test emitted later doesn't see it undefined.
3304 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3305 * sysdeps/gnu/errlist.c: Regenerated.
3307 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3309 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3310 [libc_hidden_builtin_def]: Define to empty value.
3311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3312 [libc_hidden_builtin_def]: Likewise.
3313 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3314 [libc_hidden_builtin_def]: Likewise.
3315 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3316 [libc_hidden_builtin_def]: Likewise.
3317 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3318 __redirect_memcpy and define ifunc as default hidden symbol.
3319 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3320 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3322 2014-05-04 Adam Conrad <adconrad@0c3.net>
3324 * locale/iso-4217.def: Reintroduce XDR currency.
3326 2014-05-04 Allan McRae <allan@archlinux.org>
3328 * po/eo.po: Update Esperanto translation from translation project.
3330 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3332 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3333 and FEATURE_INDEX_MAX to 1.
3334 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3336 2014-05-01 Steve Ellcey <sellcey@mips.com>
3338 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3339 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3340 * iconvdata/big5.c (ONE_DIRECTION): Define.
3341 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3342 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3343 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3344 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3345 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3346 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3347 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3348 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3349 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3350 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3351 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3352 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3353 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3354 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3355 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3356 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3357 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3358 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3359 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3360 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3361 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3362 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3363 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3364 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3365 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3366 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3367 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3368 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3369 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3370 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3371 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3372 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3373 * iconvdata/johab.c (ONE_DIRECTION): Define.
3374 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3375 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3376 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3377 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3378 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3379 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3380 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3381 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3382 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3383 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3385 2014-05-01 Roland McGrath <roland@hack.frob.com>
3387 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3388 (_IO_JUMPS_OFFSET): Define to 0.
3390 * nptl/sysdeps/pthread/bits/libc-lock.h
3391 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3392 (__libc_lock_define_initialized_recursive): Always define using
3393 initializer. Modern compilers treat uninitialized (implicit zero) and
3394 explicit zero initializers the same (i.e. put the datum in bss).
3396 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3398 * nscd/nscd-client.h: Include <string.h>.
3400 2014-05-01 David S. Miller <davem@davemloft.net>
3403 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3404 multiple zero bytes exist at the end of a string.
3405 Reported by Aurelien Jarno <aurelien@aurel32.net>
3407 * string/test-strcmp.c (check): Add explicit test for situations where
3408 there are multiple zero bytes after the first.
3410 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3413 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3414 when compiling wprintf.
3415 * stdio-common/tstdiomisc.c (t3): New function.
3418 2014-05-01 Steve Ellcey <sellcey@mips.com>
3420 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3421 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3422 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3423 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3425 2014-05-01 Steve Ellcey <sellcey@mips.com>
3427 * stdlib/longlong.h: Updated from GCC.
3429 2014-05-01 Will Newton <will.newton@linaro.org>
3430 Bernard Ogden <bernie.ogden@linaro.org>
3432 * NEWS: Update fixed bug list.
3435 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3437 2014-04-30 David S. Miller <davem@davemloft.net>
3439 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3440 (libc_feholdexcept_setround_sparc_ctx): New function.
3441 (libc_fesetenv_sparc_ctx): Likewise.
3442 (libc_feupdateenv_sparc_ctx): Likewise.
3443 (libc_feholdsetround_sparc_ctx): Likewise.
3444 (libc_feholdexcept_setround_ctx): Define.
3445 (libc_feholdexcept_setroundf_ctx): Likewise.
3446 (libc_feholdexcept_setroundl_ctx): Likewise.
3447 (libc_fesetenv_ctx): Likewise.
3448 (libc_fesetenvf_ctx): Likewise.
3449 (libc_fesetenvl_ctx): Likewise.
3450 (libc_feupdateenv_ctx): Likewise.
3451 (libc_feupdateenvf_ctx): Likewise.
3452 (libc_feupdateenvl_ctx): Likewise.
3453 (libc_feresetround_ctx): Likewise.
3454 (libc_feresetroundf_ctx): Likewise.
3455 (libc_feresetroundl_ctx): Likewise.
3456 (libc_feholdsetround_ctx): Likewise.
3457 (libc_feholdsetroundf_ctx): Likewise.
3458 (libc_feholdsetroundl_ctx): Likewise.
3460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3461 with __USE_GNU instead of XOPEN cpp guards.
3463 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3467 with XOPEN cpp guards.
3469 2014-04-30 Julian Brown <julian@codesourcery.com>
3472 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3475 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3478 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3480 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3481 * sysdeps/unix/sysv/linux/configure: Regenerated.
3482 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3483 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3484 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3485 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3486 * README: Update reference to required Linux kernel version.
3487 * manual/install.texi (Linux): Update reference to required Linux
3488 kernel headers version.
3489 * INSTALL: Regenerated.
3491 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3493 [POSIX] (limits.h): Likewise.
3494 [POSIX] (math.h): Likewise.
3495 [POSIX] (sys/wait.h): Likewise.
3496 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3498 [POSIX] (stddef.h): Do not allow header inclusion.
3500 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3504 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3506 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3507 Return immediately after lll_futex_wake.
3509 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3512 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3514 (datahead_init_pos): Call datahead_init_common early.
3515 (datahead_init_neg): Likewise.
3517 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3518 datahead_init_neg): New functions.
3519 * nscd/aicache.c (addhstaiX): Use them.
3520 * nscd/grpcache.c (cache_addgr): Likewise.
3521 * nscd/hstcache.c (cache_addhst): Likewise.
3522 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3523 * nscd/netgroupcache.c (do_notfound): Likewise.
3524 (addgetnetgrentX): Likewise.
3525 (addinnetgrX): Likewise.
3526 * nscd/pwdcache.c (cache_addpw): Likewise.
3527 * nscd/servicescache.c (cache_addserv): Likewise.
3529 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3530 Atsushi Onoe <atsushi@onoe.org>
3535 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3536 one response is valid.
3537 * resolv/res_send.c (send_dg): Check for validity of other
3538 response if the current response is a referral.
3540 2014-04-29 Steve Ellcey <sellcey@mips.com>
3542 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3544 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3547 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3548 Always divide by positive zero when computing -Inf result.
3549 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3550 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3552 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3555 FPSCR if value do not change.
3556 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3557 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3558 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3559 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3560 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3561 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3564 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3566 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3567 * sysdeps/unix/sysv/linux/hppa: Move directory from
3568 ports/systeps/unix/sysv/linux/hppa.
3569 * README: Update listing for hppa-*-linux-gnu.
3571 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3574 * manual/stdio.texi (Hook functions): Fix types of stream hook
3577 * socket/sys/socket.h: Fix typo in comment.
3579 2014-04-28 Wilco <wdijkstr@arm.com>
3581 * sysdeps/arm/fenv_private.h: New file.
3582 * sysdeps/arm/math_private.h: New file.
3583 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3585 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3587 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3589 (La_x86_64_retval): Likewise.
3591 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3593 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3594 fpsr if value didn't change.
3595 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3596 to fpcr if value didn't change.
3597 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3598 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3599 fpsr or fpcr if value didn't change.
3600 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3601 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3602 fpcr if value didn't change.
3603 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3604 to fpsr if value didn't change.
3606 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3608 * nptl/tst-sem3.c: Use test-skeleton.c
3609 (main): Rename to do_test. Use return instead of
3611 * nptl/tst-sem4.c: Use test-skeleton.c
3612 (main): Rename to do_test.
3614 2014-04-22 David S. Miller <davem@davemloft.net>
3616 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3617 (struct sigaction): New struct member __glibc_reserved0, change
3618 type of sa_flags to int.
3620 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3622 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3623 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3625 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3627 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3628 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3630 2014-04-22 Will Newton <will.newton@linaro.org>
3631 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3633 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3634 (__longjmp): Add longjmp and longjmp_target SystemTap
3636 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3637 (__sigsetjmp): Add setjmp SystemTap probe.
3639 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3641 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3644 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3646 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3648 * sysdeps/powerpc/fpu/fenv_private.h
3649 (libc_feholdexcept_setroundl_ctx): Define to
3650 libc_feholdexcept_setround_ppc_ctx.
3651 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3652 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3653 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3654 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3656 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3658 * sysdeps/aarch64/math-tests.h: New file.
3660 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3662 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3665 Check and set bit_AVX2_Usable.
3666 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3668 (bit_AVX2): Likewise.
3669 (index_AVX2_Usable): Likewise.
3670 (CPUID_AVX2): Likewise.
3671 (HAS_AVX2): Likewise.
3673 2014-04-17 Will Newton <will.newton@linaro.org>
3675 * manual/setjmp.texi (System V contexts): Add note that
3676 calling setcontext on a context created by a call to a
3677 signal handler is undefined. Update text to note that
3678 setcontext from a signal handler is possible but not
3682 * stdlib/tst-setcontext.c: Include signal.h.
3683 (main): Check that the signal stack before and
3684 after swapcontext is the same.
3686 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3687 Re-implement to restore registers in user code and avoid
3688 rt_sigreturn system call.
3690 2014-04-17 Wilco <wdijkstr@arm.com>
3692 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3693 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3694 * math/test-fenv.c: Skip exception trap tests on targets which only
3695 support non-stop mode.
3697 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3698 Wilco Dijkstra <wilco.dijkstra@arm.com>
3700 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3701 (libc_feholdsetround_aarch64_ctx)
3702 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3703 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3704 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3705 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3706 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3707 (libc_feresetround_noexl_ctx): Define.
3709 2014-04-16 Richard Henderson <rth@redhat.com>
3711 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3713 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3716 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3717 const from the non-libc, non-ldso copy.
3719 * sysdeps/alpha/libm-test-ulps: Regenerate.
3721 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3722 Wilco Dijkstra <wilco.dijkstra@arm.com>
3724 * sysdeps/aarch64/fpu/math_private.h: New file.
3726 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3728 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3730 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3732 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3733 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3735 Intel MPX bound registers before _dl_profile_fixup.
3736 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3737 registers after _dl_profile_fixup. Save and restore bound
3738 registers bnd0/bnd1 when calling _dl_call_pltexit.
3739 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3740 (LR_BND_OFFSET): Likewise.
3741 (LRV_BND0_OFFSET): Likewise.
3742 (LRV_BND1_OFFSET): Likewise.
3744 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3746 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3748 * sysdeps/mach/hurd/i386/tls.h: ... here.
3749 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3750 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3753 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3755 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3757 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3759 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3761 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3764 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3765 * sysdeps/s390/configure: Regenerate.
3768 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3769 Set round-to-nearest internally to reduce error accumulation.
3771 2014-04-16 Alan Modra <amodra@gmail.com>
3775 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3776 * math/libm-test.inc (frexp_test_data): Add tests.
3777 * NEWS: Update fixed bug list.
3779 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3781 * benchtests/Makefile: Depend on libraries in build directory.
3782 (bench-math): Separate out math tests.
3783 (bench-pthread): Separate out pthread tests.
3784 (bench): Include math and pthread tests.
3786 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3789 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3790 _dl_debug_initialize.
3792 * configure.ac: Remove SELinux header check.
3793 * configure: Regenerate.
3794 * nscd/selinux.c (perms): Array of const char* to permission names.
3795 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3796 default policy. Call string_to_security_class and string_to_av_perm to
3797 translate strings. Enforce default policy and call avs_has_perm with
3798 results of translated strings.
3800 2014-04-13 David S. Miller <davem@davemloft.net>
3802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3804 2014-04-12 Allan McRae <allan@archlinux.org>
3807 * manual/string.texi (Collation Functions): Fix qsort argument
3809 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3811 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3813 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3814 Make the test a no-op if there are no exceptions defined.
3816 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3818 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3819 enable-hardcoded-path-in-tests
3821 2014-04-11 Will Newton <will.newton@linaro.org>
3823 * benchtests/Makefile (extra-objs): Add json-lib.o.
3824 (bench-func): Tidy up JSON output.
3825 * benchtests/bench-skeleton.c: Include json-lib.h.
3826 (main): Use JSON library functions to do output of
3828 * benchtests/bench-timing-type.c (main): Output the
3829 timing type simply, leaving formatting to the user.
3830 * benchtests/json-lib.c: New file.
3831 * benchtests/json-lib.h: Likewise.
3833 2014-04-11 Torvald Riegel <triegel@redhat.com>
3836 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3837 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3838 memory barriers. Add comments.
3839 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3840 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3841 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3842 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3843 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3844 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3846 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3848 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3849 * sysdeps/s390/s390-64/configure.ac: ... this ...
3850 * sysdeps/s390/configure.ac: ... to here.
3851 * sysdeps/s390/s390-32/configure: Delete file.
3852 * sysdeps/s390/s390-64/configure: Delete file.
3853 * sysdeps/s390/configure: Regenerate.
3855 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3857 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3859 2014-04-11 Will Newton <will.newton@linaro.org>
3861 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3862 to zero if it is not defined elsewhere. (mtrim): Test
3863 the value of MALLOC_DEBUG with #if rather than #ifdef.
3865 2014-04-10 Torvald Riegel <triegel@redhat.com>
3867 * benchtests/pthread_once-inputs: New file.
3868 * benchtests/pthread_once-source.c: New file.
3869 * benchtests/README: Update documentation.
3871 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3872 H.J. Lu <hongjiu.lu@intel.com>
3874 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3875 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3876 * sysdeps/x86_64/configure: Regenerated.
3877 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3879 (REGISTER_SAVE_RAX): Likewise.
3880 (REGISTER_SAVE_RCX): Likewise.
3881 (REGISTER_SAVE_RDX): Likewise.
3882 (REGISTER_SAVE_RSI): Likewise.
3883 (REGISTER_SAVE_RDI): Likewise.
3884 (REGISTER_SAVE_R8): Likewise.
3885 (REGISTER_SAVE_R9): Likewise.
3886 (REGISTER_SAVE_BND0): Likewise.
3887 (REGISTER_SAVE_BND1): Likewise.
3888 (REGISTER_SAVE_BND2): Likewise.
3889 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3890 bound registers when calling _dl_fixup.
3892 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3894 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3895 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3897 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3898 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3899 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3900 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3901 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3902 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3903 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3905 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3908 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3909 pathconf(_PC_NAME_MAX).
3911 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3913 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3915 (__PTHREAD_SPINS): Move definition to ...
3916 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3917 (__PTHREAD_SPINS): ... here.
3918 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3919 (__PTHREAD_SPIN): Likewise.
3920 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3921 (__PTHREAD_SPIN): Likewise.
3922 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3923 (__PTHREAD_SPIN): Likewise.
3924 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3925 (__PTHREAD_SPIN): Likewise.
3926 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3927 (__PTHREAD_SPIN): Likewise.
3928 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3929 (__PTHREAD_SPIN): Likewise.
3930 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3931 (__PTHREAD_SPIN): Likewise.
3932 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3933 (__PTHREAD_SPIN): Likewise.
3934 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3935 (__PTHREAD_SPIN): Likewise.
3936 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3937 (__PTHREAD_SPIN): Likewise.
3938 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3939 (__PTHREAD_SPIN): Likewise.
3940 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3941 (__PTHREAD_SPIN): Likewise.
3943 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3944 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3945 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3946 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3948 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3949 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3950 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3951 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3953 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3954 strlen symbol for non multi-arch builds.
3955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3956 missing hidden_def and weak_alias.
3958 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3960 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3962 2014-04-07 Will Newton <will.newton@linaro.org>
3964 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3965 and contents. [!_LIBC] Remove #ifndef and contents.
3966 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3967 * string/memccpy.c (__memccpy): Use ANSI prototype.
3968 * string/memfrob.c (memfrob): Likewise.
3969 * string/strcoll.c (STRCOLL): Likewise.
3970 * string/strlen.c (strlen): Likewise.
3971 * string/strtok.c (STRTOK): Likewise.
3972 * string/strcat.c: Remove unused #include of memcopy.h.
3973 (strcat): Use ANSI prototype.
3974 * string/strchr.c: Remove unused #include of memcopy.h.
3975 (strchr): Use ANSI prototype.
3976 * string/strcmp.c: Remove unused #include of memcopy.h.
3977 (strcmp): Use ANSI prototype.
3978 * string/strcpy.c: Remove unused #include of memcopy.h.
3979 (strcpy): Use ANSI prototype.
3981 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3984 * config.make.in (config-extra-cppflags): Set it from
3985 libc_extra_cppflags.
3986 * configure.ac (libc_extra_cflags): Make it accumulate over
3987 configure fragments.
3988 (libc_extra_cppflags): New flag.
3989 * configure. Regenerate.
3990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3991 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3992 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3996 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3997 result for FE_DOWNWARD rounding mode.
3998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4002 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4004 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4005 in function argument name.
4007 2014-04-03 David Svoboda <svoboda@cert.org>
4010 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4013 2014-04-03 Roland McGrath <roland@hack.frob.com>
4015 * elf/dl-unmap-segments.h: New file.
4016 * sysdeps/generic/ldsodefs.h
4017 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4018 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4019 * elf/dl-fptr.c: Likewise.
4020 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4021 * sysdeps/aarch64/tlsdesc.c: Likewise.
4022 * sysdeps/arm/tlsdesc.c: Likewise.
4023 * sysdeps/i386/tlsdesc.c: Likewise.
4024 * sysdeps/tile/dl-runtime.c: Likewise.
4025 * sysdeps/x86_64/tlsdesc.c: Likewise.
4026 * elf/dl-load.h: New file.
4027 * elf/dl-load.c: Include it.
4028 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4029 Macros moved to dl-load.h.
4030 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4031 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4032 Use _dl_unmap_segments in place of __munmap.
4033 Break out segment-mapping loop into ...
4034 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4036 2014-04-03 Will Newton <will.newton@linaro.org>
4038 * elf/dl-lookup.c (do_lookup_x): Remove comment
4039 referring to nested function and move variable
4040 declarations down to before first use.
4042 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4046 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4048 * math/s_catanf.c (__catanf): Likewise.
4049 * math/s_catanh.c (__catanh): Likewise.
4050 * math/s_catanhf.c (__catanhf): Likewise.
4051 * math/s_catanhl.c (__catanhl): Likewise.
4052 * math/s_catanl.c (__catanl): Likewise.
4053 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4054 by positive zero when computing -Inf result.
4055 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4056 (catanh_test): Likewise.
4057 * sysdeps/i386/fpu/libm-test-ulps: Update.
4058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4061 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4062 instead of using underflowing value in computing result.
4063 * math/s_clog10.c (__clog10): Likewise.
4064 * math/s_clog10f.c (__clog10f): Likewise.
4065 * math/s_clog10l.c (__clog10l): Likewise.
4066 * math/s_clogf.c (__clogf): Likewise.
4067 * math/s_clogl.c (__clogl): Likewise.
4068 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4069 (clog10_test): Likewise.
4070 * sysdeps/i386/fpu/libm-test-ulps: Update.
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4073 2014-04-02 Alan Modra <amodra@gmail.com>
4076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4077 output when value is near a power of two. Use int64_t for lx and
4078 remove casts. Use decimal rather than hex exponent constants.
4079 Don't use long double multiplication when double will suffice.
4080 * math/libm-test.inc (nextafter_test_data): Add tests.
4081 * NEWS: Add 16739 and 16786 to bug list.
4083 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4085 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4087 2014-04-01 Will Newton <will.newton@linaro.org>
4089 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4090 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4092 2014-04-01 Florian Weimer <fweimer@redhat.com>
4095 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4096 * nptl/tst-setuid2.c: New file.
4097 * nptl/Makefile (xtests): Add tst-setuid2.
4099 2014-04-01 Alan Modra <amodra@gmail.com>
4102 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4104 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4108 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4109 set errno as appropriate.
4110 * math/w_scalbf.c (__scalbf): Likewise.
4111 * math/w_scalbl.c (__scalbl): Likewise.
4112 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4113 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4114 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4118 * math/w_atan2.c: Include <errno.h>.
4119 (__atan2): Set errno for result underflowing to zero.
4120 * math/w_atan2f.c: Include <errno.h>.
4121 (__atan2f): Set errno for result underflowing to zero.
4122 * math/w_atan2l.c: Include <errno.h>.
4123 (__atan2l): Set errno for result underflowing to zero.
4124 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4126 * math/auto-libm-test-out: Regenerated.
4128 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4130 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4131 Encode instruction correctly in little endian.
4132 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4134 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4136 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4138 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4141 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4144 * sysdeps/unix/sysv/linux/kernel-features.h
4145 [__sparc__ && !__arch64__ && !__sparc_v9__]
4146 (__ASSUME_SET_ROBUST_LIST): Do not define.
4147 [__sparc__ && !__arch64__ && !__sparc_v9__]
4148 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4149 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4151 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4152 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4153 (__ASSUME_REQUEUE_PI): Likewise.
4154 (__ASSUME_SET_ROBUST_LIST): Likewise.
4155 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4156 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4158 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4159 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4161 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4163 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4165 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4166 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4168 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4169 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4174 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4175 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4177 2014-03-31 Will Newton <will.newton@linaro.org>
4179 * benchtests/Makefile (bench): Add ffs and ffsll to list
4181 * benchtests/ffs-inputs: New file.
4182 * benchtests/ffsll-inputs: Likewise.
4184 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4187 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4188 too large before casting to int.
4189 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4190 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4191 * math/libm-test.inc (scalb_test_data): Add more tests.
4193 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4195 * benchtests/Makefile (DETAILED_OPT): New make option.
4196 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4198 * benchtests/bench-skeleton.c: Include stdbool.h.
4199 (main): Store and print timings per input.
4200 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4201 member to each argument value.
4202 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4203 (_print_arg_data): Initialize per-input timing to 0.
4205 * benchtests/Makefile (timing-type): New binary.
4206 (bench-clean): Also remove bench-timing-type.
4207 (bench): New target for timing-type.
4208 (bench-func): Print output in JSON format.
4209 * benchtests/bench-skeleton.c (main): Print output in JSON
4211 * benchtests/bench-timing-type.c: New file.
4212 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4213 (TIMING_PRINT_STATS): Remove.
4214 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4217 * benchtests/bench-modf.c: Remove.
4218 * benchtests/modf-inputs: New inputs file.
4220 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4223 * math/s_clog10.c (M_PI_LOG10E): New macro.
4224 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4225 imaginary parts are 0.
4226 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4227 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4228 imaginary parts are 0.
4229 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4230 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4231 imaginary parts are 0.
4232 * math/libm-test.inc (clog10_test_data): Update expected results
4233 for when real and imaginary parts are 0.
4235 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4237 * elf/dl-load.c: Finish conversion of __builtin_expect into
4240 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4243 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4244 1+x for argument with exponent below -67.
4245 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4247 * math/auto-libm-test-in: Add more tests of exp.
4248 * math/auto-libm-test-out: Regenerated.
4250 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4253 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4254 (nscd_getnetgrent): Use it.
4257 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4260 2014-03-27 Andi Kleen <ak@linux.intel.com>
4262 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4263 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4264 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4265 (lll_robust_unlock): Remove out of line section. Use cfi
4267 (LLL_STUB_UNWIND_INFO*): Remove.
4268 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4269 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4270 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4271 (lll_robust_unlock): Remove out of line section. Use cfi
4273 (LLL_STUB_UNWIND_INFO*): Remove.
4275 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4278 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4281 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4283 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4285 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4288 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4290 * math/test-fenv-preserve.c: New file.
4291 * math/Makefile (tests): Add test-fenv-preserve.
4293 2014-03-26 Will Newton <will.newton@linaro.org>
4295 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4297 2014-03-25 Roland McGrath <roland@hack.frob.com>
4299 * scripts/versionlist.awk: Partition the version sets and emit all
4300 GLIBC_* (sorted) before all others (sorted).
4302 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4304 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4305 GLIBC_2.2.5 version.
4307 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4309 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4312 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4317 2014-03-25 Andreas Schwab <schwab@suse.de>
4319 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4320 label to be used after in6ailist is initialized.
4322 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4325 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4327 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4331 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4333 (fp_formats): Update initializers.
4334 (init_fp_formats): Initialize new field.
4335 (output_for_one_input_case): Allow underflow for results up to
4337 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4338 * math/auto-libm-test-in: Don't mark some underflows from asin and
4340 * math/auto-libm-test-out: Regenerated.
4341 * sysdeps/i386/fpu/libm-test-ulps: Update.
4342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4344 2014-03-25 Andreas Schwab <schwab@suse.de>
4346 * libio/Makefile (tst-ftell-partial-wide-ENV)
4347 (tst-ftell-active-handler-ENV): Define.
4349 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4351 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4353 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4355 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4357 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4359 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4360 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4361 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4363 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4366 * elf/dl-load.c (open_verify): Add mode parameter.
4367 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4368 (open_path): Change from boolean 'secure' to complete flag 'mode'
4369 (_dl_map_object): Adjust.
4370 * elf/Makefile (tests): Add tst-dlopen-aout.
4371 * elf/tst-dlopen-aout.c: New test.
4373 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4376 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4377 (struct stat): Rename member pad0 to __glibc_reserved0.
4380 * sysdeps/s390/s390-32/bits/wordsize.h
4381 (__WORDSIZE32_SIZE_ULONG): New define.
4382 * sysdeps/s390/s390-64/bits/wordsize.h
4383 (__WORDSIZE32_SIZE_ULONG): Likewise.
4384 * sysdeps/generic/stdint.h (SIZE_MAX):
4385 Define as UL if __WORDSIZE32_SIZE_ULONG.
4388 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4389 (__glibc_reserved0): New variable.
4390 (sa_flags): Change type to int.
4392 * posix/Makefile (before-compile): Use += before-compile instead
4395 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4396 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4398 2014-03-20 Andreas Schwab <schwab@suse.de>
4401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4402 non-matching result from nscd.
4404 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4406 * scripts/bench.py: Moved to ...
4407 * benchtests/scripts/bench.py: ... here.
4408 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4410 2014-03-24 Andreas Schwab <schwab@suse.de>
4413 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4414 alloca_account and account alloca use for struct in6ailist.
4416 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4419 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4420 rounding mode to recompute results that overflow to infinity or
4422 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4424 * math/auto-libm-test-out: Regenerated.
4425 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4426 (ccosh_test): Likewise.
4427 (csin_test_data): Use plus_oflow.
4428 (csin_test): Use ALL_RM_TEST.
4429 (csinh_test_data): Use plus_oflow.
4430 (csinh_test): Use ALL_RM_TEST.
4431 * sysdeps/i386/fpu/libm-test-ulps: Update.
4432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4436 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4437 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4438 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4441 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4443 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4444 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4445 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4446 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4448 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4449 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4451 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4452 * sysdeps/i386/fpu/libm-test-ulps: Update.
4453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4455 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4457 * scripts/bench.pl: Remove file.
4458 * scripts/bench.py: New benchmark script.
4459 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4460 * benchtests/README: Mention python dependency.
4461 * scripts/pylintrc: New file.
4462 * scripts/pylint: New file.
4464 * bits/mathdef.h: Use #ifdef instead of #if.
4465 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4466 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4467 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4468 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4469 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4470 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4472 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4473 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4475 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4477 and strpbrk-ppc64 objects.
4478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4479 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4480 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4481 multiarch strpbrk for POWER7.
4482 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4483 multiarch strpbrk for PPC64.
4484 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4486 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4489 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4491 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4492 (atan_test): Likewise.
4493 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4494 (atanh_test): Use ALL_RM_TEST.
4495 (atan2_test_data): Likewise.
4496 (cabs_test): Likewise.
4497 (cacosh_test): Likewise.
4498 (carg_test): Likewise.
4499 (casin_test): Likewise.
4500 (casinh_test): Likewise.
4501 (cbrt_test): Likewise.
4502 (csqrt_test): Likewise.
4503 (erf_test): Likewise.
4504 (erfc_test): Likewise.
4505 (pow10_test): Likewise.
4506 (exp2_test): Likewise.
4507 (hypot_test): Likewise.
4508 (j0_test): Likewise.
4509 (j1_test): Likewise.
4510 (lgamma_test): Likewise.
4511 (gamma_test): Likewise.
4512 (sincos_test): Likewise.
4513 (tanh_test): Likewise.
4514 (y0_test): Likewise.
4515 (y1_test): Likewise.
4516 * sysdeps/i386/fpu/libm-test-ulps: Update.
4517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4519 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4521 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4523 and strcspn-ppc64 objects.
4524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4525 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4526 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4527 multiarch strcspn for POWER7.
4528 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4529 multiarch strcspn for PPC64.
4530 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4532 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4535 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4537 * math/gen-libm-test.pl (generate_testfile): Expect only function
4538 name as argument to AUTO_TESTS_* and pass results for all rounding
4539 modes to parse_args.
4540 (parse_auto_input): Separate inputs of automatic tests from
4541 outputs before storing in %auto_tests.
4542 * math/libm-test.inc (acos_test_data): Update call to
4544 (acos_test): Use ALL_RM_TEST.
4545 (acos_tonearest_test_data): Remove.
4546 (acos_test_tonearest): Likewise.
4547 (acos_towardzero_test_data): Likewise.
4548 (acos_test_towardzero): Likewise.
4549 (acos_downward_test_data): Likewise.
4550 (acos_test_downward): Likewise.
4551 (acos_upward_test_data): Likewise.
4552 (acos_test_upward): Likewise.
4553 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4554 (asin_test_data): Likewise.
4555 (asin_test): Use ALL_RM_TEST.
4556 (asin_tonearest_test_data): Remove.
4557 (asin_test_tonearest): Likewise.
4558 (asin_towardzero_test_data): Likewise.
4559 (asin_test_towardzero): Likewise.
4560 (asin_downward_test_data): Likewise.
4561 (asin_test_downward): Likewise.
4562 (asin_upward_test_data): Likewise.
4563 (asin_test_upward): Likewise.
4564 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4565 (atan_test_data): Likewise.
4566 (atanh_test_data): Likewise.
4567 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4568 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4569 (carg_test_data): Likewise.
4570 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4571 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4572 (ccosh_test_data): Likewise.
4573 (cexp_test_data): Likewise.
4574 (clog_test_data): Likewise.
4575 (clog10_test_data): Likewise.
4576 (cos_test_data): Update call to AUTO_TESTS_f_f.
4577 (cos_test): Use ALL_RM_TEST.
4578 (cos_tonearest_test_data): Remove.
4579 (cos_test_tonearest): Likewise.
4580 (cos_towardzero_test_data): Likewise.
4581 (cos_test_towardzero): Likewise.
4582 (cos_downward_test_data): Likewise.
4583 (cos_test_downward): Likewise.
4584 (cos_upward_test_data): Likewise.
4585 (cos_test_upward): Likewise.
4586 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4587 (cosh_test): Use ALL_RM_TEST.
4588 (cosh_tonearest_test_data): Remove.
4589 (cosh_test_tonearest): Likewise.
4590 (cosh_towardzero_test_data): Likewise.
4591 (cosh_test_towardzero): Likewise.
4592 (cosh_downward_test_data): Likewise.
4593 (cosh_test_downward): Likewise.
4594 (cosh_upward_test_data): Likewise.
4595 (cosh_test_upward): Likewise.
4596 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4597 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4598 (ctan_test_data): Likewise.
4599 (ctan_test): Use ALL_RM_TEST.
4600 (ctan_tonearest_test_data): Remove.
4601 (ctan_test_tonearest): Likewise.
4602 (ctan_towardzero_test_data): Likewise.
4603 (ctan_test_towardzero): Likewise.
4604 (ctan_downward_test_data): Likewise.
4605 (ctan_test_downward): Likewise.
4606 (ctan_upward_test_data): Likewise.
4607 (ctan_test_upward): Likewise.
4608 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4609 (ctanh_test): Use ALL_RM_TEST.
4610 (ctanh_tonearest_test_data): Remove.
4611 (ctanh_test_tonearest): Likewise.
4612 (ctanh_towardzero_test_data): Likewise.
4613 (ctanh_test_towardzero): Likewise.
4614 (ctanh_downward_test_data): Likewise.
4615 (ctanh_test_downward): Likewise.
4616 (ctanh_upward_test_data): Likewise.
4617 (ctanh_test_upward): Likewise.
4618 (erf_test_data): Update call to AUTO_TESTS_f_f.
4619 (erfc_test_data): Likewise.
4620 (exp_test_data): Likewise.
4621 (exp_test): Use ALL_RM_TEST.
4622 (exp_tonearest_test_data): Remove.
4623 (exp_test_tonearest): Likewise.
4624 (exp_towardzero_test_data): Likewise.
4625 (exp_test_towardzero): Likewise.
4626 (exp_downward_test_data): Likewise.
4627 (exp_test_downward): Likewise.
4628 (exp_upward_test_data): Likewise.
4629 (exp_test_upward): Likewise.
4630 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4631 (exp10_test): Use ALL_RM_TEST.
4632 (exp10_tonearest_test_data): Remove.
4633 (exp10_test_tonearest): Likewise.
4634 (exp10_towardzero_test_data): Likewise.
4635 (exp10_test_towardzero): Likewise.
4636 (exp10_downward_test_data): Likewise.
4637 (exp10_test_downward): Likewise.
4638 (exp10_upward_test_data): Likewise.
4639 (exp10_test_upward): Likewise.
4640 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4641 (expm1_test_data): Likewise.
4642 (expm1_test): Use ALL_RM_TEST.
4643 (expm1_tonearest_test_data): Remove.
4644 (expm1_test_tonearest): Likewise.
4645 (expm1_towardzero_test_data): Likewise.
4646 (expm1_test_towardzero): Likewise.
4647 (expm1_downward_test_data): Likewise.
4648 (expm1_test_downward): Likewise.
4649 (expm1_upward_test_data): Likewise.
4650 (expm1_test_upward): Likewise.
4651 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4652 (fma_test): Use ALL_RM_TEST.
4653 (fma_towardzero_test_data): Remove.
4654 (fma_test_towardzero): Likewise.
4655 (fma_downward_test_data): Likewise.
4656 (fma_test_downward): Likewise.
4657 (fma_upward_test_data): Likewise.
4658 (fma_test_upward): Likewise.
4659 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4660 (j0_test_data): Update call to AUTO_TESTS_f_f.
4661 (j1_test_data): Likewise.
4662 (jn_test_data): Update call to AUTO_TESTS_if_f.
4663 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4664 (log_test_data): Update call to AUTO_TESTS_f_f.
4665 (log10_test_data): Likewise.
4666 (log1p_test_data): Likewise.
4667 (log2_test_data): Likewise.
4668 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4669 (pow_tonearest_test_data): Likewise.
4670 (sin_test_data): Update call to AUTO_TESTS_f_f.
4671 (sin_test): Use ALL_RM_TEST.
4672 (sin_tonearest_test_data): Remove.
4673 (sin_test_tonearest): Likewise.
4674 (sin_towardzero_test_data): Likewise.
4675 (sin_test_towardzero): Likewise.
4676 (sin_downward_test_data): Likewise.
4677 (sin_test_downward): Likewise.
4678 (sin_upward_test_data): Likewise.
4679 (sin_test_upward): Likewise.
4680 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4681 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4682 (sinh_test): Use ALL_RM_TEST.
4683 (sinh_tonearest_test_data): Remove.
4684 (sinh_test_tonearest): Likewise.
4685 (sinh_towardzero_test_data): Likewise.
4686 (sinh_test_towardzero): Likewise.
4687 (sinh_downward_test_data): Likewise.
4688 (sinh_test_downward): Likewise.
4689 (sinh_upward_test_data): Likewise.
4690 (sinh_test_upward): Likewise.
4691 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4692 (sqrt_test): Use ALL_RM_TEST.
4693 (sqrt_tonearest_test_data): Remove.
4694 (sqrt_test_tonearest): Likewise.
4695 (sqrt_towardzero_test_data): Likewise.
4696 (sqrt_test_towardzero): Likewise.
4697 (sqrt_downward_test_data): Likewise.
4698 (sqrt_test_downward): Likewise.
4699 (sqrt_upward_test_data): Likewise.
4700 (sqrt_test_upward): Likewise.
4701 (tan_test_data): Update call to AUTO_TESTS_f_f.
4702 (tan_test): Use ALL_RM_TEST.
4703 (tan_tonearest_test_data): Remove.
4704 (tan_test_tonearest): Likewise.
4705 (tan_towardzero_test_data): Likewise.
4706 (tan_test_towardzero): Likewise.
4707 (tan_downward_test_data): Likewise.
4708 (tan_test_downward): Likewise.
4709 (tan_upward_test_data): Likewise.
4710 (tan_test_upward): Likewise.
4711 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4712 (tgamma_test_data): Likewise.
4713 (y0_test_data): Likewise.
4714 (y1_test_data): Likewise.
4715 (yn_test_data): Update call to AUTO_TESTS_if_f.
4716 (main): Do not call removed functions.
4718 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4720 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4721 (ldexp_test_data): Remove.
4722 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4724 (scalb_test): Use ALL_RM_TEST.
4726 2014-03-19 Andreas Schwab <schwab@suse.de>
4728 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4730 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4734 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4735 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4736 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4737 (__ASSUME_PREADV): Undefine.
4738 (__ASSUME_PWRITEV): Likewise.
4740 2014-03-18 Roland McGrath <roland@hack.frob.com>
4742 * bits/mman-linux.h: Add comment about non-Linux use.
4743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4744 bits/mman-linux.h resting place.
4746 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4747 * bits/mman-linux.h: ... here.
4749 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751 * conform/conformtest.pl: Add standard definition when calling C
4752 preprocessor on data files.
4753 (checknamespace): Remove unused variable.
4755 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4757 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4758 minus_oflow, plus_uflow and minus_uflow in expected results.
4759 * math/libm-test.inc (scalbn_test_data): Add more tests of
4760 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4762 (scalbn_test): Use ALL_RM_TEST.
4763 (scalbln_test_data): Add more tests of negative arguments. Use
4764 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4765 (scalbln_test): Use ALL_RM_TEST.
4767 2014-03-18 Roland McGrath <roland@hack.frob.com>
4769 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4771 2014-03-18 Will Newton <will.newton@linaro.org>
4773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4776 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4778 * Makerules [!subdir] (check-abi): Exit with error status if a
4781 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4783 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4784 for rint. Include results for all rounding modes.
4785 (nearbyint_test): Use ALL_RM_TEST.
4786 (rint_test_data): Include all tests used for nearbyint.
4788 2014-03-17 Will Newton <will.newton@linaro.org>
4790 * nptl/sysdeps/pthread/pthread.h: Revert previous
4793 * sysdeps/generic/ldsodefs.h: Revert previous
4796 * libio/genops.c: Revert previous change.
4797 * libio/libioP.h: Likewise.
4798 * stdio-common/vfprintf.c: Likewise.
4800 * sysdeps/generic/math_private.h: Revert previous
4803 * sysdeps/generic/math_private.h: Check whether
4804 HAVE_RM_CTX is defined with #ifdef rather
4807 * argp/argp-fmtstream.h: Check whether
4808 __STRICT_ANSI__ is defined with #ifdef rather
4810 * argp/argp.h: Likewise.
4812 * libio/genops.c: Check whether
4813 _IO_JUMPS_OFFSET is defined with #ifdef rather
4815 * libio/libioP.h: Likewise.
4816 * stdio-common/vfprintf.c: Likewise.
4818 * sysdeps/generic/ldsodefs.h: Check whether
4819 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4822 * nptl/sysdeps/pthread/pthread.h: Check
4823 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4826 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4828 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4830 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4834 * libio/fileops.c (_IO_file_open): Seek to end of file but
4835 don't cache the offset.
4836 (get_file_offset): Remove function.
4837 (do_ftell): Use cached offset when available.
4838 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4839 don't cache the offset.
4840 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4842 (do_one_test): Call it.
4843 (do_ftell_test): Fix up expected old offset for a+ mode.
4844 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4847 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4848 up test status with function return status.
4849 (do_write_test): Likewise.
4850 (do_append_test): Likewise.
4852 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4853 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4856 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4858 * math/gen-libm-test.pl (parse_args): Handle results specified for
4859 each rounding mode separately.
4860 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4861 tests and results from lrint_tonearest_test_data,
4862 lrint_towardzero_test_data, lrint_downward_test_data and
4863 lrint_upward_test_data.
4864 (lrint_test): Use ALL_RM_TEST.
4865 (lrint_tonearest_test_data): Remove.
4866 (lrint_test_tonearest): Likewise.
4867 (lrint_towardzero_test_data): Likewise.
4868 (lrint_test_towardzero): Likewise.
4869 (lrint_downward_test_data): Likewise.
4870 (lrint_test_downward): Likewise.
4871 (lrint_upward_test_data): Likewise.
4872 (lrint_test_upward): Likewise.
4873 (llrint_test_data): Merge in per-rounding-mode tests and results
4874 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4875 llrint_downward_test_data and llrint_upward_test_data.
4876 (llrint_test): Use ALL_RM_TEST.
4877 (llrint_tonearest_test_data): Remove.
4878 (llrint_test_tonearest): Likewise.
4879 (llrint_towardzero_test_data): Likewise.
4880 (llrint_test_towardzero): Likewise.
4881 (llrint_downward_test_data): Likewise.
4882 (llrint_test_downward): Likewise.
4883 (llrint_upward_test_data): Likewise.
4884 (llrint_test_upward): Likewise.
4885 (rint_test_data): Merge in per-rounding-mode tests and results
4886 from rint_tonearest_test_data, rint_towardzero_test_data,
4887 rint_downward_test_data and rint_upward_test_data. Add
4888 per-rounding-mode results for tests not in those arrays.
4889 (rint_test): Use ALL_RM_TEST.
4890 (rint_tonearest_test_data): Remove.
4891 (rint_test_tonearest): Likewise.
4892 (rint_towardzero_test_data): Likewise.
4893 (rint_test_towardzero): Likewise.
4894 (rint_downward_test_data): Likewise.
4895 (rint_test_downward): Likewise.
4896 (rint_upward_test_data): Likewise.
4897 (rint_test_upward): Likewise.
4898 (main): Don't call removed functions.
4900 2014-03-14 Roland McGrath <roland@hack.frob.com>
4902 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4903 "Compiled on ..." crapola. It is anti-useful.
4905 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4907 * scripts/evaluate-test.sh: Handle fourth argument to determine
4908 whether test run should stop on failure.
4909 * Makeconfig (stop-on-test-failure): New variable.
4910 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4911 $(stop-on-test-failure).
4912 * Makefile (tests): Give a summary of results from testing and
4913 exit with failure status if they include an ERROR or FAIL.
4915 * manual/install.texi (Configuring and compiling): Mention
4916 stop-on-test-failure=y.
4917 * INSTALL: Regenerated.
4919 2014-03-14 Roland McGrath <roland@hack.frob.com>
4921 * scripts/versionlist.awk: New file.
4922 * Makerules [$(build-shared) = yes]
4923 (postclean-generated): Add Versions.def, not Versions.def.v and
4925 ($(common-objpfx)Versions.def.v.i): Target removed.
4926 ($(common-objpfx)Versions.def): New target.
4927 ($(common-objpfx)Versions.all): Depend on that rather that
4928 $(common-objpfx)Versions.def.v.
4929 * Versions.def: File removed.
4931 * Makeconfig (+gccwarn): Add -Wundef.
4932 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4933 a dl-sysdep.h breaking its contract.
4934 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4935 * include/stackinfo.h: New file.
4936 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4937 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4938 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4939 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4940 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4941 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4942 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4943 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4944 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4945 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4946 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4947 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4948 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4949 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4950 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4952 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4957 * math/libm-test.inc (round_test_data): Add more tests.
4960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4962 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4965 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4967 * math/libm-test.inc (ceil_test_data): Add more tests.
4969 * math/libm-test.inc (trunc_test_data): Add more tests related to
4972 2014-03-14 Roland McGrath <roland@hack.frob.com>
4974 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4975 with #if rather than #ifdef.
4976 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4978 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4980 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4981 first. Disable AVX-512 GCC support if assembler doesn't support
4983 * sysdeps/x86_64/configure: Regenerated.
4985 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4987 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4988 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4989 (__old_pthread_attr_setstack): Likewise.
4990 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4991 [!_STACK_GROWS_DOWN]: Likewise.
4993 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4995 * config.make.in (have-bash2): Delete.
4996 * configure.ac (libc_cv_have_bash2): Delete.
4997 * configure: Regenerate.
4998 * elf/Makefile (common-ldd-rewrite): Rename to ...
4999 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5000 (sh-ldd-rewrite): Delete.
5001 (bash-ldd-rewrite): Delete.
5002 (have-bash2): Delete checks.
5003 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5006 * config.make.in (have-ksh): Delete.
5008 * configure.ac (libc_cv_have_ksh): Delete.
5009 * configure: Regenerate.
5011 * elf/Makefile: Delete $(have-ksh) check.
5012 ($(objpfx)sotruss): Change KSH to BASH.
5013 * elf/sotruss.ksh: Rename to ...
5014 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5015 function style to match POSIX. Drop ksh vim mode setting.
5017 * manual/time.texi (Specifying the Time Zone with TZ): Change
5018 Tuesday to Thursday.
5020 * debug/tst-longjmp_chk2.c: Update header comment.
5021 (stackoverflow_handler): Add comment. Call assert on pass value.
5023 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5025 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5026 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5027 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5028 (La_x86_64_vector): Add zmm.
5029 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5030 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5031 ($(objpfx)tst-audit10): New target.
5032 ($(objpfx)tst-audit10.out): Likewise.
5033 (tst-audit10-ENV): New.
5034 (AVX512-CFLAGS): Likewise.
5035 (CFLAGS-tst-audit10.c): Likewise.
5036 (CFLAGS-tst-auditmod10a.c): Likewise.
5037 (CFLAGS-tst-auditmod10b.c): Likewise.
5038 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5039 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5040 * sysdeps/x86_64/configure: Regenerated.
5041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5042 AVX-512 zmm register support.
5043 (_dl_x86_64_save_sse): Likewise.
5044 (_dl_x86_64_restore_sse): Likewise.
5045 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5046 size vector registers.
5047 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5048 (ZMM_SIZE): Likewise.
5049 * sysdeps/x86_64/tst-audit10.c: New file.
5050 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5051 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5053 2014-03-13 Roland McGrath <roland@hack.frob.com>
5055 * configure.ac (HAVE_EHDR_START): New check.
5056 * configure: Regenerated.
5057 * config.h.in (HAVE_EHDR_START): New #undef.
5058 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5059 assuming the lowest-addressed segment maps the start of the file.
5061 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5063 * INSTALL: Regenerated.
5065 2014-03-13 Will Newton <will.newton@linaro.org>
5067 * manual/setjmp.texi (System V contexts): Improve
5068 clarity and grammar of documentation.
5070 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5073 * elf/Makefile (tests): Add tst-pie2.
5074 (tests-pie): Add tst-pie2.
5075 * elf/tst-pie2.c: New file.
5076 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5078 * elf/rtld.c (map_doit): Load executable as lt_executable.
5079 (dl_main): Likewise.
5081 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5084 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5085 (__ASSUME_PSELECT): Undefine.
5087 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5091 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5093 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5094 selector for static builds.
5096 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5099 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5102 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5104 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5105 IFUNC selector for static builds.
5107 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5109 * sysdeps/mips/math_private.h [__mips_hard_float]
5110 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5111 libc_feresetround_mips_ctx.
5112 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5113 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5114 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5117 * math/s_nextafter.c (__nextafter): Do not return value from
5118 overflowing computation.
5119 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5120 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5121 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5123 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5125 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5126 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5128 2014-03-11 Roland McGrath <roland@hack.frob.com>
5130 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5131 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5132 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5133 the new mov targetting sp.
5135 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5138 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5139 Define it for static builds as well.
5140 (NO_BZERO_IMPL): Likewise.
5142 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5144 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5145 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5146 multiarch strspn for PPC64.
5147 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5148 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5150 (__libc_ifunc_impl_list): Likewise.
5151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5152 multiarch optimizations
5153 * string/strspn.c (strspn): Using macro to redefine symbol name.
5155 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5156 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5158 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5159 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5160 multiarch strncat for PPC64.
5161 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5162 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5164 (__libc_ifunc_impl_list): Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5166 multiarch optimizations
5168 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5171 * nscd/nscd.service: Make service type forking.
5173 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5175 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5176 sign in non default rounding modes.
5177 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5179 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5181 * math/libm-test.inc (ALL_RM_TEST): New macro.
5182 (ceil_test): Use ALL_RM_TEST.
5183 (cimag_test): Likewise.
5184 (conj_test): Likewise.
5185 (copysign_test): Likewise.
5186 (cproj_test): Likewise.
5187 (creal_test): Likewise.
5188 (fabs_test): Likewise.
5189 (floor_test): Likewise.
5190 (fmax_test): Likewise.
5191 (fmin_test): Likewise.
5192 (fmod_test): Likewise.
5193 (fpclassify_test): Likewise.
5194 (frexp_test): Likewise.
5195 (ilogb_test): Likewise.
5196 (isfinite_test): Likewise.
5197 (finite_test): Likewise.
5198 (isgreater_test): Likewise.
5199 (isgreaterequal_test): Likewise.
5200 (isinf_test): Likewise.
5201 (isless_test): Likewise.
5202 (islessequal_test): Likewise.
5203 (islessgreater_test): Likewise.
5204 (isnan_test): Likewise.
5205 (isnormal_test): Likewise.
5206 (issignaling_test): Likewise.
5207 (isunordered_test): Likewise.
5208 (logb_test): Likewise.
5209 (logb_downward_test_data): Remove.
5210 (logb_test_downward): Likewise.
5211 (lround_test): Use ALL_RM_TEST.
5212 (llround_test): Likewise.
5213 (modf_test): Likewise.
5214 (nexttoward_test): Likewise.
5215 (remainder_test): Likewise.
5216 (drem_test): Likewise.
5217 (remainder_tonearest_test_data): Likewise.
5218 (remainder_test_tonearest): Likewise.
5219 (drem_test_tonearest): Likewise.
5220 (remainder_towardzero_test_data): Likewise.
5221 (remainder_test_towardzero): Likewise.
5222 (drem_test_towardzero): Likewise.
5223 (remainder_downward_test_data): Likewise.
5224 (remainder_test_downward): Likewise.
5225 (drem_test_downward): Likewise.
5226 (remainder_upward_test_data): Likewise.
5227 (remainder_test_upward): Likewise.
5228 (drem_test_upward): Likewise.
5229 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5230 (round_test): Use ALL_RM_TEST.
5231 (signbit_test): Likewise.
5232 (trunc_test): Likewise.
5233 (significand_test): Likewise.
5234 (main): Don't call removed functions.
5236 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5239 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5241 (ILL_ILLOPN): Likewise.
5242 (ILL_ILLADR): Likewise.
5243 (ILL_ILLTRP): Likewise.
5244 (ILL_PRVOPC): Likewise.
5245 (ILL_PRVREG): Likewise.
5246 (ILL_COPROC): Likewise.
5247 (ILL_BADSTK): Likewise.
5248 (FPE_INTDIV): Likewise.
5249 (FPE_INTOVF): Likewise.
5250 (FPE_FLTDIV): Likewise.
5251 (FPE_FLTOVF): Likewise.
5252 (FPE_FLTUND): Likewise.
5253 (FPE_FLTRES): Likewise.
5254 (FPE_FLTINV): Likewise.
5255 (FPE_FLTSUB): Likewise.
5256 (SEGV_MAPERR): Likewise.
5257 (SEGV_ACCERR): Likewise.
5258 (BUS_ADRALN): Likewise.
5259 (BUS_ADRERR): Likewise.
5260 (BUS_OBJERR): Likewise.
5261 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5262 (TRAP_TRACE): Likewise.
5263 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5265 (CLD_KILLED): Likewise.
5266 (CLD_DUMPED): Likewise.
5267 (CLD_TRAPPED): Likewise.
5268 (CLD_STOPPED): Likewise.
5269 (CLD_CONTINUED): Likewise.
5270 (POLL_IN): Likewise.
5271 (POLL_OUT): Likewise.
5272 (POLL_MSG): Likewise.
5273 (POLL_ERR): Likewise.
5274 (POLL_PRI): Likewise.
5275 (POLL_HUP): Likewise.
5276 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5278 (ILL_ILLOPN): Likewise.
5279 (ILL_ILLADR): Likewise.
5280 (ILL_ILLTRP): Likewise.
5281 (ILL_PRVOPC): Likewise.
5282 (ILL_PRVREG): Likewise.
5283 (ILL_COPROC): Likewise.
5284 (ILL_BADSTK): Likewise.
5285 (FPE_INTDIV): Likewise.
5286 (FPE_INTOVF): Likewise.
5287 (FPE_FLTDIV): Likewise.
5288 (FPE_FLTOVF): Likewise.
5289 (FPE_FLTUND): Likewise.
5290 (FPE_FLTRES): Likewise.
5291 (FPE_FLTINV): Likewise.
5292 (FPE_FLTSUB): Likewise.
5293 (SEGV_MAPERR): Likewise.
5294 (SEGV_ACCERR): Likewise.
5295 (BUS_ADRALN): Likewise.
5296 (BUS_ADRERR): Likewise.
5297 (BUS_OBJERR): Likewise.
5298 (BUS_MCEERR_AR): Likewise.
5299 (BUS_MCEERR_AO): Likewise.
5300 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5301 (TRAP_TRACE): Likewise.
5302 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5304 (CLD_KILLED): Likewise.
5305 (CLD_DUMPED): Likewise.
5306 (CLD_TRAPPED): Likewise.
5307 (CLD_STOPPED): Likewise.
5308 (CLD_CONTINUED): Likewise.
5309 (POLL_IN): Likewise.
5310 (POLL_OUT): Likewise.
5311 (POLL_MSG): Likewise.
5312 (POLL_ERR): Likewise.
5313 (POLL_PRI): Likewise.
5314 (POLL_HUP): Likewise.
5315 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5316 (ILL_ILLOPN): Likewise.
5317 (ILL_ILLADR): Likewise.
5318 (ILL_ILLTRP): Likewise.
5319 (ILL_PRVOPC): Likewise.
5320 (ILL_PRVREG): Likewise.
5321 (ILL_COPROC): Likewise.
5322 (ILL_BADSTK): Likewise.
5323 (FPE_INTDIV): Likewise.
5324 (FPE_INTOVF): Likewise.
5325 (FPE_FLTDIV): Likewise.
5326 (FPE_FLTOVF): Likewise.
5327 (FPE_FLTUND): Likewise.
5328 (FPE_FLTRES): Likewise.
5329 (FPE_FLTINV): Likewise.
5330 (FPE_FLTSUB): Likewise.
5331 (SEGV_MAPERR): Likewise.
5332 (SEGV_ACCERR): Likewise.
5333 (BUS_ADRALN): Likewise.
5334 (BUS_ADRERR): Likewise.
5335 (BUS_OBJERR): Likewise.
5336 (BUS_MCEERR_AR): Likewise.
5337 (BUS_MCEERR_AO): Likewise.
5338 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5339 (TRAP_TRACE): Likewise.
5340 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5342 (CLD_KILLED): Likewise.
5343 (CLD_DUMPED): Likewise.
5344 (CLD_TRAPPED): Likewise.
5345 (CLD_STOPPED): Likewise.
5346 (CLD_CONTINUED): Likewise.
5347 (POLL_IN): Likewise.
5348 (POLL_OUT): Likewise.
5349 (POLL_MSG): Likewise.
5350 (POLL_ERR): Likewise.
5351 (POLL_PRI): Likewise.
5352 (POLL_HUP): Likewise.
5353 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5355 (ILL_ILLOPN): Likewise.
5356 (ILL_ILLADR): Likewise.
5357 (ILL_ILLTRP): Likewise.
5358 (ILL_PRVOPC): Likewise.
5359 (ILL_PRVREG): Likewise.
5360 (ILL_COPROC): Likewise.
5361 (ILL_BADSTK): Likewise.
5362 (ILL_BADIADDR): Likewise.
5363 (ILL_BREAK): Likewise.
5364 (FPE_INTDIV): Likewise.
5365 (FPE_INTOVF): Likewise.
5366 (FPE_FLTDIV): Likewise.
5367 (FPE_FLTOVF): Likewise.
5368 (FPE_FLTUND): Likewise.
5369 (FPE_FLTRES): Likewise.
5370 (FPE_FLTINV): Likewise.
5371 (FPE_FLTSUB): Likewise.
5372 (FPE_DECOVF): Likewise.
5373 (FPE_DECDIV): Likewise.
5374 (FPE_DECERR): Likewise.
5375 (FPE_INVASC): Likewise.
5376 (FPE_INVDEC): Likewise.
5377 (SEGV_MAPERR): Likewise.
5378 (SEGV_ACCERR): Likewise.
5379 (SEGV_PSTKOVF): Likewise.
5380 (BUS_ADRALN): Likewise.
5381 (BUS_ADRERR): Likewise.
5382 (BUS_OBJERR): Likewise.
5383 (BUS_MCEERR_AR): Likewise.
5384 (BUS_MCEERR_AO): Likewise.
5385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5386 (TRAP_TRACE): Likewise.
5387 (TRAP_BRANCH): Likewise.
5388 (TRAP_HWBKPT): Likewise.
5389 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5391 (CLD_KILLED): Likewise.
5392 (CLD_DUMPED): Likewise.
5393 (CLD_TRAPPED): Likewise.
5394 (CLD_STOPPED): Likewise.
5395 (CLD_CONTINUED): Likewise.
5396 (POLL_IN): Likewise.
5397 (POLL_OUT): Likewise.
5398 (POLL_MSG): Likewise.
5399 (POLL_ERR): Likewise.
5400 (POLL_PRI): Likewise.
5401 (POLL_HUP): Likewise.
5402 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5403 (ILL_ILLOPN): Likewise.
5404 (ILL_ILLADR): Likewise.
5405 (ILL_ILLTRP): Likewise.
5406 (ILL_PRVOPC): Likewise.
5407 (ILL_PRVREG): Likewise.
5408 (ILL_COPROC): Likewise.
5409 (ILL_BADSTK): Likewise.
5410 (FPE_INTDIV): Likewise.
5411 (FPE_INTOVF): Likewise.
5412 (FPE_FLTDIV): Likewise.
5413 (FPE_FLTOVF): Likewise.
5414 (FPE_FLTUND): Likewise.
5415 (FPE_FLTRES): Likewise.
5416 (FPE_FLTINV): Likewise.
5417 (FPE_FLTSUB): Likewise.
5418 (SEGV_MAPERR): Likewise.
5419 (SEGV_ACCERR): Likewise.
5420 (BUS_ADRALN): Likewise.
5421 (BUS_ADRERR): Likewise.
5422 (BUS_OBJERR): Likewise.
5423 (BUS_MCEERR_AR): Likewise.
5424 (BUS_MCEERR_AO): Likewise.
5425 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5426 (TRAP_TRACE): Likewise.
5427 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5429 (CLD_KILLED): Likewise.
5430 (CLD_DUMPED): Likewise.
5431 (CLD_TRAPPED): Likewise.
5432 (CLD_STOPPED): Likewise.
5433 (CLD_CONTINUED): Likewise.
5434 (POLL_IN): Likewise.
5435 (POLL_OUT): Likewise.
5436 (POLL_MSG): Likewise.
5437 (POLL_ERR): Likewise.
5438 (POLL_PRI): Likewise.
5439 (POLL_HUP): Likewise.
5440 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5441 (ILL_ILLOPN): Likewise.
5442 (ILL_ILLADR): Likewise.
5443 (ILL_ILLTRP): Likewise.
5444 (ILL_PRVOPC): Likewise.
5445 (ILL_PRVREG): Likewise.
5446 (ILL_COPROC): Likewise.
5447 (ILL_BADSTK): Likewise.
5448 (FPE_INTDIV): Likewise.
5449 (FPE_INTOVF): Likewise.
5450 (FPE_FLTDIV): Likewise.
5451 (FPE_FLTOVF): Likewise.
5452 (FPE_FLTUND): Likewise.
5453 (FPE_FLTRES): Likewise.
5454 (FPE_FLTINV): Likewise.
5455 (FPE_FLTSUB): Likewise.
5456 (SEGV_MAPERR): Likewise.
5457 (SEGV_ACCERR): Likewise.
5458 (BUS_ADRALN): Likewise.
5459 (BUS_ADRERR): Likewise.
5460 (BUS_OBJERR): Likewise.
5461 (BUS_MCEERR_AR): Likewise.
5462 (BUS_MCEERR_AO): Likewise.
5463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5464 (TRAP_TRACE): Likewise.
5465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5467 (CLD_KILLED): Likewise.
5468 (CLD_DUMPED): Likewise.
5469 (CLD_TRAPPED): Likewise.
5470 (CLD_STOPPED): Likewise.
5471 (CLD_CONTINUED): Likewise.
5472 (POLL_IN): Likewise.
5473 (POLL_OUT): Likewise.
5474 (POLL_MSG): Likewise.
5475 (POLL_ERR): Likewise.
5476 (POLL_PRI): Likewise.
5477 (POLL_HUP): Likewise.
5478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5479 (ILL_ILLOPN): Likewise.
5480 (ILL_ILLADR): Likewise.
5481 (ILL_ILLTRP): Likewise.
5482 (ILL_PRVOPC): Likewise.
5483 (ILL_PRVREG): Likewise.
5484 (ILL_COPROC): Likewise.
5485 (ILL_BADSTK): Likewise.
5486 (FPE_INTDIV): Likewise.
5487 (FPE_INTOVF): Likewise.
5488 (FPE_FLTDIV): Likewise.
5489 (FPE_FLTOVF): Likewise.
5490 (FPE_FLTUND): Likewise.
5491 (FPE_FLTRES): Likewise.
5492 (FPE_FLTINV): Likewise.
5493 (FPE_FLTSUB): Likewise.
5494 (SEGV_MAPERR): Likewise.
5495 (SEGV_ACCERR): Likewise.
5496 (BUS_ADRALN): Likewise.
5497 (BUS_ADRERR): Likewise.
5498 (BUS_OBJERR): Likewise.
5499 (BUS_MCEERR_AR): Likewise.
5500 (BUS_MCEERR_AO): Likewise.
5501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5502 (TRAP_TRACE): Likewise.
5503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5505 (CLD_KILLED): Likewise.
5506 (CLD_DUMPED): Likewise.
5507 (CLD_TRAPPED): Likewise.
5508 (CLD_STOPPED): Likewise.
5509 (CLD_CONTINUED): Likewise.
5510 (POLL_IN): Likewise.
5511 (POLL_OUT): Likewise.
5512 (POLL_MSG): Likewise.
5513 (POLL_ERR): Likewise.
5514 (POLL_PRI): Likewise.
5515 (POLL_HUP): Likewise.
5516 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5517 (ILL_ILLOPN): Likewise.
5518 (ILL_ILLADR): Likewise.
5519 (ILL_ILLTRP): Likewise.
5520 (ILL_PRVOPC): Likewise.
5521 (ILL_PRVREG): Likewise.
5522 (ILL_COPROC): Likewise.
5523 (ILL_BADSTK): Likewise.
5524 (ILL_DBLFLT): Likewise.
5525 (ILL_HARDWALL): Likewise.
5526 (FPE_INTDIV): Likewise.
5527 (FPE_INTOVF): Likewise.
5528 (FPE_FLTDIV): Likewise.
5529 (FPE_FLTOVF): Likewise.
5530 (FPE_FLTUND): Likewise.
5531 (FPE_FLTRES): Likewise.
5532 (FPE_FLTINV): Likewise.
5533 (FPE_FLTSUB): Likewise.
5534 (SEGV_MAPERR): Likewise.
5535 (SEGV_ACCERR): Likewise.
5536 (BUS_ADRALN): Likewise.
5537 (BUS_ADRERR): Likewise.
5538 (BUS_OBJERR): Likewise.
5539 (BUS_MCEERR_AR): Likewise.
5540 (BUS_MCEERR_AO): Likewise.
5541 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5542 (TRAP_TRACE): Likewise.
5543 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5545 (CLD_KILLED): Likewise.
5546 (CLD_DUMPED): Likewise.
5547 (CLD_TRAPPED): Likewise.
5548 (CLD_STOPPED): Likewise.
5549 (CLD_CONTINUED): Likewise.
5550 (POLL_IN): Likewise.
5551 (POLL_OUT): Likewise.
5552 (POLL_MSG): Likewise.
5553 (POLL_ERR): Likewise.
5554 (POLL_PRI): Likewise.
5555 (POLL_HUP): Likewise.
5556 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5557 (ILL_ILLOPN): Likewise.
5558 (ILL_ILLADR): Likewise.
5559 (ILL_ILLTRP): Likewise.
5560 (ILL_PRVOPC): Likewise.
5561 (ILL_PRVREG): Likewise.
5562 (ILL_COPROC): Likewise.
5563 (ILL_BADSTK): Likewise.
5564 (FPE_INTDIV): Likewise.
5565 (FPE_INTOVF): Likewise.
5566 (FPE_FLTDIV): Likewise.
5567 (FPE_FLTOVF): Likewise.
5568 (FPE_FLTUND): Likewise.
5569 (FPE_FLTRES): Likewise.
5570 (FPE_FLTINV): Likewise.
5571 (FPE_FLTSUB): Likewise.
5572 (SEGV_MAPERR): Likewise.
5573 (SEGV_ACCERR): Likewise.
5574 (BUS_ADRALN): Likewise.
5575 (BUS_ADRERR): Likewise.
5576 (BUS_OBJERR): Likewise.
5577 (BUS_MCEERR_AR): Likewise.
5578 (BUS_MCEERR_AO): Likewise.
5579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5580 (TRAP_TRACE): Likewise.
5581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5583 (CLD_KILLED): Likewise.
5584 (CLD_DUMPED): Likewise.
5585 (CLD_TRAPPED): Likewise.
5586 (CLD_STOPPED): Likewise.
5587 (CLD_CONTINUED): Likewise.
5588 (POLL_IN): Likewise.
5589 (POLL_OUT): Likewise.
5590 (POLL_MSG): Likewise.
5591 (POLL_ERR): Likewise.
5592 (POLL_PRI): Likewise.
5593 (POLL_HUP): Likewise.
5594 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5595 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5598 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5599 before #include of <time.h>.
5600 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5601 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5602 (test-xfail-UNIX98/sched.h/conform): Likewise.
5604 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5606 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5607 error absence of trapping exception support.
5608 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5610 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5612 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5613 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5614 * timezone/Makefile (testdata): Move definition above include of
5616 (test-zones): New variable.
5617 (tests-special): Add zone files.
5618 (build-testdata): Use $(evaluate-test).
5620 * elf/Makefile (tests-special): Rename tests to end with .out.
5621 ($(objpfx)noload-mem): Likewise.
5622 ($(objpfx)tst-leaks1-mem): Likewise.
5623 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5624 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5625 $(objpfx)test-iconvconfig.out.
5626 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5627 set -e inside subshell and redirect output to file.
5628 * iconvdata/Makefile (generated): Rename tests to end with .out.
5630 (tests-special): Rename tests to end with .out.
5631 ($(objpfx)mtrace-tst-loading): Likewise.
5632 * intl/Makefile (generated): Likewise.
5633 (tests-special): Likewise.
5634 ($(objpfx)mtrace-tst-gettext): Likewise.
5635 * misc/Makefile (generated): Likewise.
5636 (tests-special): Likewise.
5637 ($(objpfx)tst-error1-mem): Likewise.
5638 * nptl/Makefile (tests-special): Likewise.
5639 ($(objpfx)tst-stack3-mem): Likewise.
5640 (generated): Likewise.
5641 * posix/Makefile (generated): Likewise.
5642 (tests-special): Likewise.
5643 (xtests-special): Likewise.
5644 ($(objpfx)tst-fnmatch-mem): Likewise.
5645 ($(objpfx)bug-regex2-mem): Likewise.
5646 ($(objpfx)bug-regex14-mem): Likewise.
5647 ($(objpfx)bug-regex21-mem): Likewise.
5648 ($(objpfx)bug-regex31-mem): Likewise.
5649 ($(objpfx)tst-vfork3-mem): Likewise.
5650 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5651 ($(objpfx)tst-pcre-mem): Likewise.
5652 ($(objpfx)tst-boost-mem): Likewise.
5653 ($(objpfx)bug-ga2-mem): Likewise.
5654 ($(objpfx)bug-glob2-mem): Likewise.
5655 * resolv/Makefile (generate): Likewise.
5656 (tests-special): Likewise.
5657 (xtests-special): Likewise.
5658 (generated): Likewise.
5659 ($(objpfx)mtrace-tst-leaks): Likewise.
5660 ($(objpfx)mtrace-tst-leaks2): Likewise.
5662 * scripts/merge-test-results.sh: New file.
5663 * Makefile (tests-special-notdir): New variable.
5664 (tests): Run merge-test-results.sh.
5666 * Rules (tests-special-notdir): New variable.
5667 (xtests-special-notdir): Likewise.
5668 (tests): Run merge-test-results.sh
5671 * Makeconfig (test-xfail-name): New variable.
5672 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5673 compute variable name for expected failures.
5674 * conform/Makefile (conformtest-headers-data): New variable.
5675 (conformtest-standards): Likewise.
5676 (conformtest-headers-ISO): Likewise.
5677 (conformtest-headers-ISO99): Likewise.
5678 (conformtest-headers-ISO11): Likewise.
5679 (conformtest-headers-POSIX): Likewise.
5680 (conformtest-headers-XPG3): Likewise.
5681 (conformtest-headers-XPG4): Likewise.
5682 (conformtest-headers-UNIX98): Likewise.
5683 (conformtest-headers-XOPEN2K): Likewise.
5684 (conformtest-headers-POSIX2008): Likewise.
5685 (conformtest-headers-XOPEN2K8): Likewise.
5686 (conformtest-header-list-base): Likewise.
5687 (conformtest-header-list-tests): Likewise.
5688 (conformtest-header-base): Likewise.
5689 (conformtest-header-tests): Likewise.
5690 (tests-special): Add $(conformtest-header-list-tests). If
5691 [$(fast-check) && !$(cross-compiling)], add
5692 $(conformtest-header-tests) instead of
5693 $(objpfx)run-conformtest.out.
5694 (generated): Add $(conformtest-header-list-base). If
5695 [$(fast-check) && !$(cross-compiling)], add
5696 $(conformtest-header-base). Remove previous setting.
5697 ($(conformtest-header-list-tests)): New target.
5698 (test-xfail-run-conformtest): Remove variable.
5699 ($(objpfx)run-conformtest.out): Remove target.
5700 (test-xfail-ISO11/complex.h/conform): New variable.
5701 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5702 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5703 (test-xfail-XPG3/varargs.h/conform): Likewise.
5704 (test-xfail-XPG4/varargs.h/conform): Likewise.
5705 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5706 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5707 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5708 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5709 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5710 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5711 (test-xfail-XPG3/ftw.h/conform): Likewise.
5712 (test-xfail-XPG3/grp.h/conform): Likewise.
5713 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5714 (test-xfail-XPG3/limits.h/conform): Likewise.
5715 (test-xfail-XPG3/pwd.h/conform): Likewise.
5716 (test-xfail-XPG3/search.h/conform): Likewise.
5717 (test-xfail-XPG3/signal.h/conform): Likewise.
5718 (test-xfail-XPG3/stdio.h/conform): Likewise.
5719 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5720 (test-xfail-XPG3/string.h/conform): Likewise.
5721 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5722 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5723 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5724 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5725 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5726 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5727 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5728 (test-xfail-XPG3/termios.h/conform): Likewise.
5729 (test-xfail-XPG3/time.h/conform): Likewise.
5730 (test-xfail-XPG3/unistd.h/conform): Likewise.
5731 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5732 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5733 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5734 (test-xfail-XPG4/netdb.h/conform): Likewise.
5735 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5736 (test-xfail-XPG4/signal.h/conform): Likewise.
5737 (test-xfail-XPG4/stdio.h/conform): Likewise.
5738 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5739 (test-xfail-XPG4/stropts.h/conform): Likewise.
5740 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5741 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5742 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5743 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5744 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5745 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5746 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5747 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5748 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5749 (test-xfail-XPG4/termios.h/conform): Likewise.
5750 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5751 (test-xfail-XPG4/unistd.h/conform): Likewise.
5752 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5753 (test-xfail-POSIX/sched.h/conform): Likewise.
5754 (test-xfail-POSIX/signal.h/conform): Likewise.
5755 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5756 (test-xfail-POSIX/tar.h/conform): Likewise.
5757 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5758 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5759 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5760 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5761 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5762 (test-xfail-UNIX98/sched.h/conform): Likewise.
5763 (test-xfail-UNIX98/signal.h/conform): Likewise.
5764 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5765 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5766 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5767 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5768 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5769 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5770 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5771 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5772 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5773 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5774 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5775 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5776 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5777 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5778 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5779 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5780 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5781 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5782 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5783 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5784 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5785 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5786 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5787 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5788 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5789 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5790 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5791 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5792 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5793 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5794 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5795 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5796 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5797 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5798 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5799 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5800 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5801 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5802 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5803 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5804 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5805 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5806 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5807 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5808 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5809 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5810 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5811 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5812 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5813 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5814 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5815 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5816 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5817 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5818 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5819 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5820 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5821 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5822 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5823 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5824 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5825 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5826 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5827 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5828 (conformtest-cc-flags): Likewise.
5829 ($(conformtest-header-tests): New target.
5830 * conform/check-header-lists.sh: New file.
5831 * conform/run-conformtest.sh: Remove.
5833 * conform/conformtest.pl: Allow ' and \ in values given for
5835 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5837 [POSIX] (sys/types.h): Likewise.
5838 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5840 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5842 * conform/data/signal.h-data (SIGIO): Remove expectation.
5843 [XPG3] (SIGBUS): Do not expect.
5844 [POSIX || XPG3] (SIGPOLL): Likewise.
5845 [POSIX || XPG3] (SIGPROF): Likewise.
5846 [POSIX || XPG3] (SIGSYS): Likewise.
5847 [XPG3] (SIGTRAP): Likewise.
5848 [POSIX || XPG3] (SIGURG): Likewise.
5849 [POSIX || XPG3] (SIGVTALRM): Likewise.
5850 [POSIX || XPG3] (SIGXCPU): Likewise.
5851 [POSIX || XPG3] (SIGXFSZ): Likewise.
5852 [POSIX] (SA_SIGINFO): Expect.
5853 [XPG3] (siginfo_t): Do not expect type or contents.
5854 [POSIX] (si_pid): Do not expect element.
5855 [POSIX] (si_uid): Likewise.
5856 [POSIX] (si_addr): Likewise.
5857 [POSIX] (si_status): Likewise.
5858 [POSIX] (si_band): Likewise.
5859 [XPG4] (si_value): Likewise.
5860 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5861 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5862 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5863 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5864 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5865 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5866 [POSIX || XPG3] (ILL_COPROC): Likewise.
5867 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5868 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5869 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5870 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5871 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5872 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5873 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5874 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5875 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5876 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5877 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5878 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5879 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5880 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5881 [POSIX || XPG3] (CLD_EXITED): Likewise.
5882 [POSIX || XPG3] (CLD_KILLED): Likewise.
5883 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5884 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5885 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5886 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5887 [POSIX || XPG3] (POLL_IN): Likewise.
5888 [POSIX || XPG3] (POLL_OUT): Likewise.
5889 [POSIX || XPG3] (POLL_MSG): Likewise.
5890 [POSIX || XPG3] (POLL_ERR): Likewise.
5891 [POSIX || XPG3] (POLL_PRI): Likewise.
5892 [POSIX || XPG3] (POLL_HUP): Likewise.
5893 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5894 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5895 (SIG*): Do not allow.
5896 [XPG3] (si_*): Likewise.
5897 [XPG3] (SI_*): Likewise.
5898 [XPG3 || XPG4] (sigev_*): Likewise.
5899 [XPG3 || XPG4] (SIGEV_*): Likewise.
5900 [XPG3 || XPG4] (sival_*): Likewise.
5901 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5902 [POSIX || XPG3] (BUS_*): Likewise.
5903 [POSIX || XPG3] (CLD_*): Likewise.
5904 [POSIX || XPG3] (FPE_*): Likewise.
5905 [POSIX || XPG3] (ILL_*): Likewise.
5906 [POSIX || XPG3] (POLL_*): Likewise.
5907 [POSIX || XPG3] (SEGV_*): Likewise.
5908 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5909 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5910 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5911 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5912 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5913 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5914 Specify type and value.
5915 (TVERSLEN): Likewise.
5916 (REGTYPE): Likewise.
5917 (AREGTYPE): Likewise.
5918 (LNKTYPE): Likewise.
5919 (SYMTYPE): Likewise.
5920 (CHRTYPE): Likewise.
5921 (BLKTYPE): Likewise.
5922 (DIRTYPE): Likewise.
5923 (FIFOTYPE): Likewise.
5924 (CONTTYPE): Likewise.
5929 (TUWRITE): Likewise.
5932 (TGWRITE): Likewise.
5935 (TOWRITE): Likewise.
5937 [POSIX] (TSVTX): Expect constant.
5939 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5941 * Makefile (tests): Change dependencies to ....
5942 (tests-special): ... additions to this variable.
5943 (tests): Depend on $(tests-special).
5944 * Makerules (check-abi-list): New variable.
5945 (check-abi): Depend on $(check-abi-list).
5946 [$(subdir) = elf] (tests-special): Add
5947 $(objpfx)check-abi-libc.out.
5948 [$(build-shared) = yes && subdir] (tests-special): Add
5950 [$(build-shared) = yes && subdir] (tests): Do not depend on
5952 * Rules (tests): Depend on $(tests-special).
5953 (xtests): Depend on $(xtests-special).
5954 * catgets/Makefile (tests): Change dependencies to ....
5955 (tests-special): ... additions to this variable.
5956 * conform/Makefile (tests): Change dependencies to ....
5957 (tests-special): ... additions to this variable.
5958 * elf/Makefile (tests): Change dependencies to ....
5959 (tests-special): ... additions to this variable.
5960 * grp/Makefile (tests): Change dependencies to ....
5961 (tests-special): ... additions to this variable.
5962 * iconv/Makefile (xtests): Change dependencies to ....
5963 (xtests-special): ... additions to this variable.
5964 * iconvdata/Makefile (tests): Change dependencies to ....
5965 (tests-special): ... additions to this variable.
5966 * intl/Makefile (tests): Change dependencies to ....
5967 (tests-special): ... additions to this variable. Also add
5968 $(objpfx)tst-gettext.out.
5969 * io/Makefile (tests): Change dependencies to ....
5970 (tests-special): ... additions to this variable.
5971 * libio/Makefile (tests): Change dependencies to ....
5972 (tests-special): ... additions to this variable.
5973 * malloc/Makefile (tests): Change dependencies to ....
5974 (tests-special): ... additions to this variable.
5975 * misc/Makefile (tests): Change dependencies to ....
5976 (tests-special): ... additions to this variable.
5977 * nptl/Makefile (tests): Change dependencies to ....
5978 (tests-special): ... additions to this variable.
5979 * nptl_db/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable.
5981 * posix/Makefile (tests): Change dependencies to ....
5982 (tests-special): ... additions to this variable.
5983 (xtests): Change dependencies to ....
5984 (xtests-special): ... additions to this variable.
5985 * resolv/Makefile (tests): Change dependencies to ....
5986 (tests-special): ... additions to this variable.
5987 (xtests): Change dependencies to ....
5988 (xtests-special): ... additions to this variable.
5989 * stdio-common/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable.
5991 (do-tst-unbputc): Remove target.
5992 (do-tst-printf): Likewise.
5993 * stdlib/Makefile (tests): Change dependencies to ....
5994 (tests-special): ... additions to this variable.
5995 * string/Makefile (tests): Change dependencies to ....
5996 (tests-special): ... additions to this variable.
5997 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5998 (tests-special): ... additions to this variable.
6000 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6002 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6004 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6005 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6007 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6008 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6009 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6010 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6011 * conform/data/libgen.h-data [XPG3]: Likewise.
6012 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6013 * conform/data/ndbm.h-data [XPG3]: Likewise.
6014 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6015 * conform/data/netdb.h-data [XPG3]: Likewise.
6016 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6017 * conform/data/poll.h-data [XPG3]: Likewise.
6018 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6019 * conform/data/strings.h-data [XPG3]: Likewise.
6020 * conform/data/stropts.h-data [XPG3]: Likewise.
6021 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6022 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6023 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6025 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6026 * conform/data/sys/time.h-data [XPG3]: Likewise.
6027 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6028 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6029 * conform/data/sys/un.h-data [XPG3]: Likewise.
6030 * conform/data/syslog.h-data [XPG3]: Likewise.
6031 * conform/data/ucontext.h-data [XPG3]: Likewise.
6032 * conform/data/utmpx.h-data [XPG3]: Likewise.
6033 * conform/data/varargs.h-data [UNIX98]: Enable file.
6035 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6037 * math/libm-test.inc (struct test_f_f_data): Move expected results
6038 into structure for each rounding mode.
6039 (struct test_ff_f_data): Likewise.
6040 (struct test_ff_f_data_nexttoward): Likewise.
6041 (struct test_fi_f_data): Likewise.
6042 (struct test_fl_f_data): Likewise.
6043 (struct test_if_f_data): Likewise.
6044 (struct test_fff_f_data): Likewise.
6045 (struct test_c_f_data): Likewise.
6046 (struct test_f_f1_data): Likewise.
6047 (struct test_fF_f1_data): Likewise.
6048 (struct test_ffI_f1_data): Likewise.
6049 (struct test_c_c_data): Likewise.
6050 (struct test_cc_c_data): Likewise.
6051 (struct test_f_i_data): Likewise.
6052 (struct test_ff_i_data): Likewise.
6053 (struct test_f_l_data): Likewise.
6054 (struct test_f_L_data): Likewise.
6055 (struct test_fFF_11_data): Likewise.
6057 (RM_FE_DOWNWARD): Likewise.
6058 (RM_FE_TONEAREST): Likewise.
6059 (RM_FE_TOWARDZERO): Likewise.
6060 (RM_FE_UPWARD): Likewise.
6061 (RUN_TEST_LOOP_f_f): Update references to expected results.
6062 (RUN_TEST_LOOP_2_f): Likewise.
6063 (RUN_TEST_LOOP_fff_f): Likewise.
6064 (RUN_TEST_LOOP_c_f): Likewise.
6065 (RUN_TEST_LOOP_f_f1): Likewise.
6066 (RUN_TEST_LOOP_fF_f1): Likewise.
6067 (RUN_TEST_LOOP_fI_f1): Likewise.
6068 (RUN_TEST_LOOP_ffI_f1): Likewise.
6069 (RUN_TEST_LOOP_c_c): Likewise.
6070 (RUN_TEST_LOOP_cc_c): Likewise.
6071 (RUN_TEST_LOOP_f_i): Likewise.
6072 (RUN_TEST_LOOP_f_i_tg): Likewise.
6073 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6074 (RUN_TEST_LOOP_f_b): Likewise.
6075 (RUN_TEST_LOOP_f_b_tg): Likewise.
6076 (RUN_TEST_LOOP_f_l): Likewise.
6077 (RUN_TEST_LOOP_f_L): Likewise.
6078 (RUN_TEST_LOOP_fFF_11): Likewise.
6079 * math/gen-libm-test.pl (parse_args): Output four copies of
6080 expected results for each test.
6082 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6083 (__ASSUME_UTIMES): Remove.
6084 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6085 (__ASSUME_UTIMES): Likewise.
6087 * math/gen-auto-libm-tests.c: Update comment on output format.
6088 (output_for_one_input_case): Generate before-rounding and
6089 after-rounding information as conditions on output flags not
6090 floating-point format.
6091 * math/auto-libm-test-out: Regenerated.
6092 * math/gen-libm-test.pl (cond_value): New function.
6093 (or_cond_value): Use cond_value.
6094 (generate_testfile): Handle conditional exceptions.
6096 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6098 * math/libm-test.inc (max_valid_error): New variable.
6099 (init_max_error): Take new argument specifying whether function
6100 results are exactly determined. Set max_valid_error and bound
6101 other variables for errors based on this argument.
6102 (set_max_error): Do not record results above max_valid_error.
6103 (check_float_internal): Only accept errors of up to 0.5ulps if
6104 also at most max_valid_error.
6105 (START): Take new argument EXACT and pass it to init_max_error.
6106 (acos_test): Update call to START.
6107 (acos_test_tonearest): Likewise.
6108 (acos_test_towardzero): Likewise.
6109 (acos_test_downward): Likewise.
6110 (acos_test_upward): Likewise.
6111 (acosh_test): Likewise.
6112 (asin_test): Likewise.
6113 (asin_test_tonearest): Likewise.
6114 (asin_test_towardzero): Likewise.
6115 (asin_test_downward): Likewise.
6116 (asin_test_upward): Likewise.
6117 (asinh_test): Likewise.
6118 (atan_test): Likewise.
6119 (atanh_test): Likewise.
6120 (atan2_test): Likewise.
6121 (cabs_test): Likewise.
6122 (cacos_test): Likewise.
6123 (cacosh_test): Likewise.
6124 (carg_test): Likewise.
6125 (casin_test): Likewise.
6126 (casinh_test): Likewise.
6127 (catan_test): Likewise.
6128 (catanh_test): Likewise.
6129 (cbrt_test): Likewise.
6130 (ccos_test): Likewise.
6131 (ccosh_test): Likewise.
6132 (ceil_test): Likewise.
6133 (cexp_test): Likewise.
6134 (cimag_test): Likewise.
6135 (clog_test): Likewise.
6136 (clog10_test): Likewise.
6137 (conj_test): Likewise.
6138 (copysign_test): Likewise.
6139 (cos_test): Likewise.
6140 (cos_test_tonearest): Likewise.
6141 (cos_test_towardzero): Likewise.
6142 (cos_test_downward): Likewise.
6143 (cos_test_upward): Likewise.
6144 (cosh_test): Likewise.
6145 (cosh_test_tonearest): Likewise.
6146 (cosh_test_towardzero): Likewise.
6147 (cosh_test_downward): Likewise.
6148 (cosh_test_upward): Likewise.
6149 (cpow_test): Likewise.
6150 (cproj_test): Likewise.
6151 (creal_test): Likewise.
6152 (csin_test): Likewise.
6153 (csinh_test): Likewise.
6154 (csqrt_test): Likewise.
6155 (ctan_test): Likewise.
6156 (ctan_test_tonearest): Likewise.
6157 (ctan_test_towardzero): Likewise.
6158 (ctan_test_downward): Likewise.
6159 (ctan_test_upward): Likewise.
6160 (ctanh_test): Likewise.
6161 (ctanh_test_tonearest): Likewise.
6162 (ctanh_test_towardzero): Likewise.
6163 (ctanh_test_downward): Likewise.
6164 (ctanh_test_upward): Likewise.
6165 (erf_test): Likewise.
6166 (erfc_test): Likewise.
6167 (exp_test): Likewise.
6168 (exp_test_tonearest): Likewise.
6169 (exp_test_towardzero): Likewise.
6170 (exp_test_downward): Likewise.
6171 (exp_test_upward): Likewise.
6172 (exp10_test): Likewise.
6173 (exp10_test_tonearest): Likewise.
6174 (exp10_test_towardzero): Likewise.
6175 (exp10_test_downward): Likewise.
6176 (exp10_test_upward): Likewise.
6177 (pow10_test): Likewise.
6178 (exp2_test): Likewise.
6179 (expm1_test): Likewise.
6180 (expm1_test_tonearest): Likewise.
6181 (expm1_test_towardzero): Likewise.
6182 (expm1_test_downward): Likewise.
6183 (expm1_test_upward): Likewise.
6184 (fabs_test): Likewise.
6185 (fdim_test): Likewise.
6186 (floor_test): Likewise.
6187 (fma_test): Likewise.
6188 (fma_test_towardzero): Likewise.
6189 (fma_test_downward): Likewise.
6190 (fma_test_upward): Likewise.
6191 (fmax_test): Likewise.
6192 (fmin_test): Likewise.
6193 (fmod_test): Likewise.
6194 (fpclassify_test): Likewise.
6195 (frexp_test): Likewise.
6196 (hypot_test): Likewise.
6197 (ilogb_test): Likewise.
6198 (isfinite_test): Likewise.
6199 (finite_test): Likewise.
6200 (isgreater_test): Likewise.
6201 (isgreaterequal_test): Likewise.
6202 (isinf_test): Likewise.
6203 (isless_test): Likewise.
6204 (islessequal_test): Likewise.
6205 (islessgreater_test): Likewise.
6206 (isnan_test): Likewise.
6207 (isnormal_test): Likewise.
6208 (issignaling_test): Likewise.
6209 (isunordered_test): Likewise.
6210 (j0_test): Likewise.
6211 (j1_test): Likewise.
6212 (jn_test): Likewise.
6213 (ldexp_test): Likewise.
6214 (lgamma_test): Likewise.
6215 (gamma_test): Likewise.
6216 (lrint_test): Likewise.
6217 (lrint_test_tonearest): Likewise.
6218 (lrint_test_towardzero): Likewise.
6219 (lrint_test_downward): Likewise.
6220 (lrint_test_upward): Likewise.
6221 (llrint_test): Likewise.
6222 (llrint_test_tonearest): Likewise.
6223 (llrint_test_towardzero): Likewise.
6224 (llrint_test_downward): Likewise.
6225 (llrint_test_upward): Likewise.
6226 (log_test): Likewise.
6227 (log10_test): Likewise.
6228 (log1p_test): Likewise.
6229 (log2_test): Likewise.
6230 (logb_test): Likewise.
6231 (logb_test_downward): Likewise.
6232 (lround_test): Likewise.
6233 (llround_test): Likewise.
6234 (modf_test): Likewise.
6235 (nearbyint_test): Likewise.
6236 (nextafter_test): Likewise.
6237 (nexttoward_test): Likewise.
6238 (pow_test): Likewise.
6239 (pow_test_tonearest): Likewise.
6240 (pow_test_towardzero): Likewise.
6241 (pow_test_downward): Likewise.
6242 (pow_test_upward): Likewise.
6243 (remainder_test): Likewise.
6244 (drem_test): Likewise.
6245 (remainder_test_tonearest): Likewise.
6246 (drem_test_tonearest): Likewise.
6247 (remainder_test_towardzero): Likewise.
6248 (drem_test_towardzero): Likewise.
6249 (remainder_test_downward): Likewise.
6250 (drem_test_downward): Likewise.
6251 (remainder_test_upward): Likewise.
6252 (drem_test_upward): Likewise.
6253 (remquo_test): Likewise.
6254 (rint_test): Likewise.
6255 (rint_test_tonearest): Likewise.
6256 (rint_test_towardzero): Likewise.
6257 (rint_test_downward): Likewise.
6258 (rint_test_upward): Likewise.
6259 (round_test): Likewise.
6260 (scalb_test): Likewise.
6261 (scalbn_test): Likewise.
6262 (scalbln_test): Likewise.
6263 (signbit_test): Likewise.
6264 (sin_test): Likewise.
6265 (sin_test_tonearest): Likewise.
6266 (sin_test_towardzero): Likewise.
6267 (sin_test_downward): Likewise.
6268 (sin_test_upward): Likewise.
6269 (sincos_test): Likewise.
6270 (sinh_test): Likewise.
6271 (sinh_test_tonearest): Likewise.
6272 (sinh_test_towardzero): Likewise.
6273 (sinh_test_downward): Likewise.
6274 (sinh_test_upward): Likewise.
6275 (sqrt_test): Likewise.
6276 (sqrt_test_tonearest): Likewise.
6277 (sqrt_test_towardzero): Likewise.
6278 (sqrt_test_downward): Likewise.
6279 (sqrt_test_upward): Likewise.
6280 (tan_test): Likewise.
6281 (tan_test_tonearest): Likewise.
6282 (tan_test_towardzero): Likewise.
6283 (tan_test_downward): Likewise.
6284 (tan_test_upward): Likewise.
6285 (tanh_test): Likewise.
6286 (tgamma_test): Likewise.
6287 (trunc_test): Likewise.
6288 (y0_test): Likewise.
6289 (y1_test): Likewise.
6290 (yn_test): Likewise.
6291 (significand_test): Likewise.
6293 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6294 individual tests in comment.
6295 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6296 (prev_max_error): New variable.
6297 (prev_real_max_error): Likewise.
6298 (prev_imag_max_error): Likewise.
6299 (compare_ulp_data): Don't refer to test names in comment.
6300 (find_test_ulps): Remove function.
6301 (find_function_ulps): Likewise.
6302 (find_complex_function_ulps): Likewise.
6303 (init_max_error): Take function name as argument. Look up ulps
6305 (print_ulps): Remove function.
6306 (print_max_error): Use prev_max_error instead of calling
6308 (print_complex_max_error): Use prev_real_max_error and
6309 prev_imag_max_error instead of calling find_complex_function_ulps.
6310 (check_float_internal): Take max_ulp parameter instead of calling
6311 find_test_ulps. Don't call print_ulps.
6312 (check_float): Update call to check_float_internal.
6313 (check_complex): Update calls to check_float_internal.
6314 (START): Pass argument to init_max_error.
6315 * math/gen-libm-test.pl (%results): Don't include "kind"
6317 (parse_ulps): Don't handle ulps of individual tests.
6318 (print_ulps_file): Likewise.
6319 (output_ulps): Likewise.
6320 * math/README.libm-test: Update.
6321 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6323 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6324 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6325 * sysdeps/arm/libm-test-ulps: Likewise.
6326 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6327 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6328 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6329 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6330 * sysdeps/microblaze/libm-test-ulps: Likewise.
6331 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6332 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6333 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6334 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6335 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6336 * sysdeps/sh/libm-test-ulps: Likewise.
6337 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6338 * sysdeps/tile/libm-test-ulps: Likewise.
6339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6341 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6343 * math/libm-test.inc (print_complex_max_error): Check separately
6344 whether real and imaginary errors are within allowed range and
6345 pass 0 to print_complex_function_ulps instead of value within
6348 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6350 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6352 (get_handles_fopen): Likewise.
6353 (do_write_test): Likewise.
6355 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6357 * libio/fileops.c (do_ftell): Use cached offset when
6359 * libio/iofwide.c (do_ftell_wide): Likewise.
6360 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6362 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6365 * libio/libioP.h (get_file_offset): New function.
6366 * libio/fileops.c (get_file_offset): Likewise.
6367 (do_ftell): Likewise.
6368 (_IO_new_file_seekoff): Split out ftell logic.
6369 * libio/wfileops.c (do_ftell_wide): Likewise.
6370 (_IO_wfile_seekoff): Split out ftell logic.
6371 * libio/tst-ftell-active-handler.c: New test case.
6372 * libio/Makefile (tests): Add it.
6374 2014-03-03 Roland McGrath <roland@hack.frob.com>
6376 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6377 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6379 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6382 * nscd/connections.c (nscd_init): Call do_exit.
6383 (start_threads): Call do_exit and notify_parent.
6384 (begin_drop_privileges): Call do_exit.
6385 (finish_drop_privileges): Likewise.
6386 * nscd/selinux.c (preserve_capabilities): Likewise.
6387 (install_real_capabilities): Likewise.
6388 (nscd_selinux_enabled): Likewise.
6389 (avc_create_thread): Likewise.
6390 (avc_alloc_lock): Likewise.
6391 (nscd_avc_init): Likewise.
6392 * nscd/nscd.c (parent_fd): New static variable.
6393 (main): Create a pipe between parent and child processes.
6394 Skip closing parent_fd.
6395 (monitor_child): New function.
6396 (do_exit): Likewise.
6397 (notify_parent): Likewise.
6398 * nscd/nscd.h (notify_parent): Likewise.
6399 (do_exit): Likewise.
6401 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6403 * malloc/malloc.c (__libc_calloc): Revert last change.
6405 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6409 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6411 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6415 (__libc_ifunc_impl_list): Likewise.
6416 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6417 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6419 * string/strrchr.c: Define STRRCHR.
6421 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6423 * benchtest/bench-strtok.c (simple_strtok): Delete.
6424 (strtok_string): Use as benchmark.
6425 * string/strtok (STRTOK): New macro.
6427 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6429 * manual/threads.texi: Add header and standard comments to all
6432 * elf/dl-lookup.c (check_match): New function.
6433 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6434 (do_lookup_x): Remove nested function check_match. Use non-nested
6435 function check_match.
6437 2014-02-28 Roland McGrath <roland@hack.frob.com>
6439 * csu/Makefile (generated, before-compile): Use += rather than =.
6440 * catgets/Makefile (generated, generated-dirs): Likewise.
6441 * debug/Makefile (generated): Likewise.
6442 * dlfcn/Makefile (generated): Likewise.
6443 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6444 * iconvdata/Makefile (before-compile, generated): Likewise.
6445 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6446 * libio/Makefile (generated): Likewise.
6447 * malloc/Makefile (generated): Likewise.
6448 * manual/Makefile (generated, generated-dirs): Likewise.
6449 * misc/Makefile (generated): Likewise.
6450 * posix/Makefile (generated): Likewise.
6451 * resolv/Makefile (generated): Likewise.
6452 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6453 * timezone/Makefile (generated, generated-dirs): Likewise.
6455 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6457 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6460 power8 implementation.
6461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6462 file: POWER8 llround ifunc implementation.
6463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6464 (__lllround): Add POWER8 implementation.
6465 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6466 POWER8 llround implementation.
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6469 power8 implementation.
6470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6471 file: POWER8 llrint ifunc implementation.
6472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6473 Add POWER8 implementation.
6474 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6475 POWER8 llrint implementation.
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6478 power8 implementation.
6479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6480 file: POWER8 finite ifunc implementation.
6481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6482 Add POWER8 implementation.
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6485 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6486 POWER8 finite implementation.
6487 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6490 power8 implementation.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6492 file: POWER8 isinf ifunc implementation.
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6494 POWER8 implementation.
6495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6497 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6498 isinf implementation.
6499 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6501 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6502 (INIT_ARCH): Add hwcap2 initialization.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6504 power8 implementation.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6506 file: POWER8 isnan ifunc implementation.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6508 POWER8 implementation.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6511 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6512 isnan implementation.
6513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6515 2014-02-27 Joey Ye <joey.ye@arm.com>
6517 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6518 (_FP_NANFRAC_Q): Set to zero.
6520 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6523 * math/auto-libm-test-in: New test inputs.
6524 * math/auto-libm-test-out: Regenerate.
6525 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6528 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6530 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6532 * scripts/evaluate-test.sh: Take new argument indicating whether
6533 failure is expected.
6534 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6535 indicating whether failure is expected.
6536 * conform/Makefile (test-xfail-run-conformtest): New variable.
6537 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6539 * posix/Makefile (test-xfail-annexc): New variable.
6540 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6542 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6544 * argp/Makefile: Include Makeconfig immediately after defining
6546 * assert/Makefile: Likewise.
6547 * benchtests/Makefile: Likewise.
6548 * catgets/Makefile: Likewise.
6549 * conform/Makefile: Likewise.
6550 * crypt/Makefile: Likewise.
6551 * csu/Makefile: Likewise.
6552 (all): Remove target.
6553 * ctype/Makefile: Include Makeconfig immediately after defining
6555 * debug/Makefile: Likewise.
6556 * dirent/Makefile: Likewise.
6557 * dlfcn/Makefile: Likewise.
6558 * gmon/Makefile: Likewise.
6559 * gnulib/Makefile: Likewise.
6560 * grp/Makefile: Likewise.
6561 * gshadow/Makefile: Likewise.
6562 * hesiod/Makefile: Likewise.
6563 * hurd/Makefile: Likewise.
6564 (all): Remove target.
6565 * iconvdata/Makefile: Include Makeconfig immediately after
6567 * inet/Makefile: Likewise.
6568 * intl/Makefile: Likewise.
6569 * io/Makefile: Likewise.
6570 * libio/Makefile: Likewise.
6571 (all): Remove target.
6572 * locale/Makefile: Include Makeconfig immediately after defining
6574 * login/Makefile: Likewise.
6575 * mach/Makefile: Likewise.
6576 (all): Remove target.
6577 * malloc/Makefile: Include Makeconfig immediately after defining
6579 (all): Remove target.
6580 * manual/Makefile: Include Makeconfig immediately after defining
6582 * math/Makefile: Likewise.
6583 * misc/Makefile: Likewise.
6584 * nis/Makefile: Likewise.
6585 * nss/Makefile: Likewise.
6586 * po/Makefile: Likewise.
6587 (all): Remove target.
6588 * posix/Makefile: Include Makeconfig immediately after defining
6590 * pwd/Makefile: Likewise.
6591 * resolv/Makefile: Likewise.
6592 * resource/Makefile: Likewise.
6593 * rt/Makefile: Likewise.
6594 * setjmp/Makefile: Likewise.
6595 * shadow/Makefile: Likewise.
6596 * signal/Makefile: Likewise.
6597 * socket/Makefile: Likewise.
6598 * soft-fp/Makefile: Likewise.
6599 * stdio-common/Makefile: Likewise.
6600 * stdlib/Makefile: Likewise.
6601 * streams/Makefile: Likewise.
6602 * string/Makefile: Likewise.
6603 * sunrpc/Makefile: Likewise.
6604 (all): Remove target.
6605 * sysvipc/Makefile: Include Makeconfig immediately after defining
6607 * termios/Makefile: Likewise.
6608 * time/Makefile: Likewise.
6609 * timezone/Makefile: Likewise.
6610 (all): Remove target.
6611 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6613 * wctype/Makefile: Likewise.
6615 2014-02-26 Steve Ellcey <sellcey@mips.com>
6617 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6618 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6619 (libc_feholdexcept_setround_mips): Ditto.
6620 (libc_feholdsetround): New.
6621 (libc_feholdsetroundf): New.
6622 (libc_feholdsetroundl): New.
6623 (libc_feupdateenv_test_mips): New.
6624 (libc_feupdateenv_test): New.
6625 (libc_feupdateenv_testf): New.
6626 (libc_feupdateenv_testl): New.
6627 (libc_feresetround): New.
6628 (libc_feresetroundf): New.
6629 (libc_feresetroundl): New.
6630 (libc_fetestexcept_mips): New.
6631 (libc_fetestexcept): New.
6632 (libc_fetestexceptf): New.
6633 (libc_fetestexceptl): New.
6635 (libc_feholdexcept_setround_mips_ctx): New.
6636 (libc_feholdexcept_setround_ctx): New.
6637 (libc_feholdexcept_setroundf_ctx): New.
6638 (libc_feholdexcept_setroundl_ctx): New.
6639 (libc_fesetenv_mips_ctx): New.
6640 (libc_fesetenv_ctx): New.
6641 (libc_fesetenv_ctxf): New.
6642 (libc_fesetenv_ctxl): New.
6643 (libc_feupdateenv_mips_ctx): New.
6644 (libc_feupdateenv_ctx): New.
6645 (libc_feupdateenvf_ctx): New.
6646 (libc_feupdateenvl_ctx): New.
6647 (libc_feholdsetround_mips_ctx): New.
6648 (libc_feholdsetround_ctx): New.
6649 (libc_feholdsetroundf_ctx): New.
6650 (libc_feholdsetroundl_ctx): New.
6651 (libc_feresetround_mips_ctx): New.
6652 (libc_feresetround_ctx): New.
6653 (libc_feresetroundf_ctx): New.
6654 (libc_feresetroundl_ctx): New.
6656 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6658 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6660 * manual/ipc.texi: New file.
6661 * manual/Makefile (chapters): Add ipc.
6662 * manual/job.texi: Add "Inter-Process Communication" to next.
6663 * manual/process.texi: Add "Inter-Process Communication" to prev.
6665 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6669 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6671 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6673 * manual/arith.texi: Fix spaces after sentences.
6674 * manual/charset.texi: Likewise.
6675 * manual/errno.texi: Likewise.
6676 * manual/install.texi: Likewise.
6677 * manual/llio.texi: Likewise.
6678 * manual/locale.texi: Likewise.
6679 * manual/maint.texi: Likewise.
6680 * manual/math.texi: Likewise.
6681 * manual/memory.texi: Likewise.
6682 * manual/message.texi: Likewise.
6683 * manual/probes.texi: Likewise.
6684 * manual/resource.texi: Likewise.
6685 * manual/signal.texi: Likewise.
6686 * manual/socket.texi: Likewise.
6687 * manual/stdio.texi: Likewise.
6688 * manual/string.texi: Likewise.
6689 * manual/time.texi: Likewise.
6690 * manual/users.texi: Likewise.
6692 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6695 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6696 _DEFAULT_SOURCE is defined.
6698 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6699 Carlos O'Donell <carlos@redhat.com>
6702 * elf/dl-tls.c (_dl_count_modids): New function.
6703 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6704 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6705 audit library and increment generation counter.
6706 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6707 * elf/tst-audit9.c: New file.
6708 * elf/tst-auditmod9a.c: New file.
6709 * elf/tst-auditmod9b.c: New file.
6710 * elf/Makefile: Add rules to build and run tst-audit9.
6712 2014-02-25 Florian Weimer <fweimer@redhat.com>
6715 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6717 2014-02-25 Will Newton <will.newton@linaro.org>
6719 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6720 (__longjmp): Restore sp and lr before restoring callee
6721 saved registers. Add longjmp and longjmp_target
6722 SystemTap probe point.
6723 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6724 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6725 Define to zero to match jmpbuf layout.
6726 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6727 (__sigsetjmp): Save sp and lr before saving callee
6728 saved registers. Add setjmp SystemTap probe point.
6730 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6732 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6734 2014-02-24 Andreas Schwab <schwab@suse.de>
6737 * elf/pldd.c (wait_for_ptrace_stop): New function.
6738 (main): Call it after attaching.
6740 2014-02-22 Roland McGrath <roland@hack.frob.com>
6742 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6743 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6744 Versions files is now verboten.
6745 * hurd/Versions (libc: GLIBC_2.0):
6746 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6747 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6748 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6749 * mach/Versions: Likewise.
6751 * csu/Versions: Remove unused %include.
6752 * resolv/Versions: Likewise.
6754 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6756 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6757 ($(objpfx)check-local-headers.out): Likewise.
6758 ($(objpfx)begin-end-check.out): Likewise.
6759 * Makerules (check-abi-%.out): Likewise.
6760 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6761 ($(objpfx)test2.cat): Likewise.
6762 ($(objpfx)de/libc.cat): Likewise.
6763 ($(objpfx)test-gencat.out): Likewise.
6764 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6765 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6766 ($(objpfx)noload-mem): Likewise.
6767 ($(objpfx)tst-pathopt.out): Likewise.
6768 ($(objpfx)tst-rtld-load-self.out): Likewise.
6769 ($(objpfx)tst-array1-cmp.out): Likewise.
6770 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6771 ($(objpfx)tst-array2-cmp.out): Likewise.
6772 ($(objpfx)tst-array3-cmp.out): Likewise.
6773 ($(objpfx)tst-array4-cmp.out): Likewise.
6774 ($(objpfx)tst-array5-cmp.out): Likewise.
6775 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6776 ($(objpfx)check-textrel.out): Likewise.
6777 ($(objpfx)check-execstack.out): Likewise.
6778 ($(objpfx)check-localplt.out): Likewise.
6779 ($(objpfx)order2-cmp.out): Likewise.
6780 ($(objpfx)tst-leaks1-mem): Likewise.
6781 ($(objpfx)tst-leaks1-static-mem): Likewise.
6782 ($(objpfx)tst-initorder-cmp.out): Likewise.
6783 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6784 ($(objpfx)tst-unused-dep.out): Likewise.
6785 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6786 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6787 * iconv/Makefile (test-iconvconfig): Likewise.
6788 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6789 ($(objpfx)iconv-test.out): Likewise.
6790 ($(objpfx)tst-tables.out): Likewise.
6791 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6792 ($(objpfx)tst-gettext.out): Likewise.
6793 ($(objpfx)tst-translit.out): Likewise.
6794 ($(objpfx)tst-gettext2.out): Likewise.
6795 ($(objpfx)tst-gettext4.out): Likewise.
6796 ($(objpfx)tst-gettext6.out): Likewise.
6797 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6798 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6799 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6800 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6801 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6802 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6803 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6804 ($(objpfx)wordexp-tst.out): Likewise.
6805 ($(objpfx)annexc.out): Likewise.
6806 ($(objpfx)tst-fnmatch-mem): Likewise.
6807 ($(objpfx)bug-regex2-mem): Likewise.
6808 ($(objpfx)bug-regex14-mem): Likewise.
6809 ($(objpfx)bug-regex21-mem): Likewise.
6810 ($(objpfx)bug-regex31-mem): Likewise.
6811 ($(objpfx)tst-vfork3-mem): Likewise.
6812 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6813 ($(objpfx)tst-pcre-mem): Likewise.
6814 ($(objpfx)tst-boost-mem): Likewise.
6815 ($(objpfx)tst-getconf.out): Likewise.
6816 ($(objpfx)bug-ga2-mem): Likewise.
6817 ($(objpfx)bug-glob2-mem): Likewise.
6818 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6819 ($(objpfx)mtrace-tst-leaks2): Likewise.
6820 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6821 ($(objpfx)tst-printf.out): Likewise.
6822 ($(objpfx)tst-setvbuf1.out): Likewise.
6823 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6824 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6825 ($(objpfx)tst-fmtmsg.out): Likewise.
6826 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6827 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6829 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6830 * bits/sigaction.h [__USE_MISC]: Likewise.
6831 * bits/waitstatus.h: Update #endif comments.
6832 * ctype/ctype.h: Likewise.
6833 * dirent/dirent.h: Likewise.
6834 [__USE_MISC]: Remove redundant conditionals.
6835 * grp/grp.h: Update #endif comments.
6836 [__USE_GNU]: Remove redundant conditionals.
6837 [__USE_MISC]: Likewise.
6838 * inet/netinet/in.h [__USE_GNU]: Likewise.
6839 * io/sys/stat.h [__USE_MISC]: Likewise.
6840 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6841 * libio/bits/stdio.h: Update #endif comments.
6842 [__USE_MISC]: Remove redundant conditionals.
6843 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6844 * libio/stdio.h: Update #endif comments.
6845 [__USE_MISC]: Remove redundant conditionals.
6846 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6847 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6848 * math/math.h: Update #else and #endif comments.
6849 [__USE_MISC]: Remove redundant conditionals.
6850 * misc/sys/uio.h: Update #endif comments.
6851 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6852 * posix/glob.h [__USE_MISC]: Likewise.
6853 * posix/sys/types.h: Update #endif comments.
6854 [__USE_MISC]: Remove redundant conditionals.
6855 * posix/sys/wait.h: Update #endif comments.
6856 [__USE_MISC]: Remove redundant conditionals.
6857 * posix/unistd.h: Update #endif comments.
6858 [__USE_MISC]: Remove redundant conditionals.
6859 * pwd/pwd.h [__USE_GNU]: Likewise.
6860 [__USE_MISC]: Likewise.
6861 * resolv/netdb.h [__USE_GNU]: Likewise.
6862 * signal/signal.h: Update #endif comments.
6863 [__USE_MISC]: Remove redundant conditionals.
6864 * stdlib/stdlib.h: Update #else and #endif comments.
6865 [__USE_MISC]: Remove redundant conditionals.
6866 [__USE_GNU]: Likewise.
6867 * string/bits/string2.h [__USE_MISC]: Likewise.
6868 * string/string.h: Update #endif comments.
6869 [__USE_MISC]: Remove redundant conditionals.
6870 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6872 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6873 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6874 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6876 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6878 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6880 [__USE_MISC]: Remove redundant conditionals.
6881 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6882 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6883 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6884 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6885 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6887 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6888 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6890 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6891 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6893 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6895 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6896 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6898 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6900 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6901 * sysdeps/x86/bits/string.h: Update #endif comments.
6902 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6904 * time/sys/time.h: Update #endif comments.
6905 * time/time.h: Likewise.
6906 [__USE_MISC]: Remove redundant conditionals.
6908 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6911 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6913 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6915 * Versions.def (librt): Add GLIBC_2.17.
6917 2014-02-21 Adam Conrad <adconrad@0c3.net>
6919 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6920 synonym for _SYS_AUXV_H to allow direct inclusion.
6921 * sysdeps/sparc/bits/hwcap.h: Likewise.
6922 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6923 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6924 * sysdeps/sparc/sysdep.h: Likewise.
6926 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6928 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6930 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6932 * benchtests/bench-strrchr.c: Print length instead of position.
6934 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6937 * sysdeps/unix/sysv/linux/kernel-features.h
6938 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6939 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6940 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6941 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6943 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6944 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6945 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6946 (__ASSUME_SENDMMSG): Define instead of using previous
6947 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6948 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6949 (__ASSUME_SENDMMSG_SYSCALL): Define.
6950 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6951 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6953 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6954 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6956 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6957 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6959 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6960 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6961 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6962 [__ASSUME_SENDMMSG]: Change conditionals to
6963 [__ASSUME_SENDMMSG_SOCKETCALL].
6964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6965 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6968 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6970 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6971 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6972 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6973 [!__ASSUME_SENDMMSG]: Change conditional to
6974 [!__ASSUME_SENDMMSG_SOCKETCALL].
6975 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6976 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6980 * sysdeps/unix/sysv/linux/kernel-features.h
6981 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6982 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6983 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6984 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6985 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6986 [__i386__ || __sparc__]
6987 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6988 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6989 (__ASSUME_RECVMMSG): Define instead of using previous
6990 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6991 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6992 (__ASSUME_RECVMMSG_SYSCALL): Define.
6993 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7000 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7002 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7003 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7004 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7005 [__ASSUME_RECVMMSG]: Change condition to
7006 [__ASSUME_RECVMMSG_SOCKETCALL].
7007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7010 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7011 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7014 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7015 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7016 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7017 [!__ASSUME_RECVMMSG]: Change condition to
7018 [!__ASSUME_RECVMMSG_SOCKETCALL].
7019 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7020 (__ASSUME_RECVMMSG_SYSCALL): Define.
7023 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7024 __powerpc__ || __s390__ || __sh__ || __sparc__]
7025 (__ASSUME_SOCKETCALL): Define.
7026 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7027 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7028 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7029 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7030 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7031 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7032 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7033 (__ASSUME_ACCEPT4): Define instead of using previous
7034 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7035 __powerpc__ || __sparc__ || __s390__)] condition.
7036 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7037 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7038 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7039 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7040 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7041 [!__ASSUME_ACCEPT4]: Change condition to
7042 [!__ASSUME_ACCEPT4_SOCKETCALL].
7043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7044 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7045 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7046 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7047 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7048 __ASSUME_ACCEPT4_SYSCALL.
7049 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7050 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7051 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7052 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7053 __ASSUME_ACCEPT4_SYSCALL.
7054 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7055 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7056 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7057 [__ASSUME_ACCEPT4]: Change condition to
7058 [__ASSUME_ACCEPT4_SOCKETCALL].
7059 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7060 (__ASSUME_SOCKETCALL): Define.
7061 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7063 (__ASSUME_SOCKETCALL): Define.
7064 (__ASSUME_ACCEPT4): Remove.
7065 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7067 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7068 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7070 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7071 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7073 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7075 (HWCAP_ARM_LPAE): Likewise.
7076 (HWCAP_ARM_EVTSTRM): Likewise.
7077 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7078 Add vpfd32, lpae and evtstrm.
7079 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7082 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7084 * math/auto-libm-test-in: Add tests of clog10.
7085 * math/auto-libm-test-out: Regenerated.
7086 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7087 * sysdeps/i386/fpu/libm-test-ulps: Update.
7088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7090 2014-02-18 Andreas Schwab <schwab@suse.de>
7093 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7094 Store non-zero if the second buffer was newly allocated.
7095 (send_dg): Likewise.
7096 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7097 to send_vc and send_dg.
7098 (res_nsend): Pass NULL for ansp2_malloced.
7099 * resolv/res_query.c (__libc_res_nquery): Add parameter
7100 answerp2_malloced and pass it down to __libc_res_nsend.
7101 (res_nquery): Pass additional NULL to __libc_res_nquery.
7102 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7103 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7104 second answer buffer if answerp2_malloced was set.
7105 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7106 (__libc_res_nquerydomain): Add parameter
7107 answerp2_malloced and pass it down to __libc_res_nquery.
7108 (res_nquerydomain): Pass additional NULL to
7109 __libc_res_nquerydomain.
7110 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7111 additional NULL to __libc_res_nsend and __libc_res_nquery.
7112 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7113 additional NULL to __libc_res_nsearch.
7114 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7115 parameter of __libc_res_nsearch to check for separately allocated
7117 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7119 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7120 additional NULL to __libc_res_nquery.
7121 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7123 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7124 * include/resolv.h: Update prototypes of __libc_res_nquery,
7125 __libc_res_nsearch, __libc_res_nsend.
7127 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7129 * math/auto-libm-test-in: Add tests of fma.
7130 * math/auto-libm-test-out: Regenerated.
7131 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7132 (fma_towardzero_test_data): Likewise.
7133 (fma_downward_test_data): Likewise.
7134 (fma_upward_test_data): Likewise.
7135 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7137 (rounding_modes): Add values for new field.
7138 (func_calc_method): Add value mpfr_fff_f.
7139 (func_calc_desc): Add mpfr_fff_f union field.
7140 (test_function): Add field exact_args.
7141 (FUNC): Add macro argument EXACT_ARGS.
7142 (FUNC_mpfr_f_f): Update call to FUNC.
7143 (FUNC_mpfr_f_f): Likewise.
7144 (FUNC_mpfr_ff_f): Likewise.
7145 (FUNC_mpfr_if_f): Likewise.
7146 (FUNC_mpc_c_f): Likewise.
7147 (FUNC_mpc_c_c): Likewise.
7148 (test_functions): Add fma. Update calls to FUNC.
7149 (handle_input_arg): Add argument exact_args.
7150 (add_test): Update call to handle_input_arg.
7151 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7152 (output_for_one_input_case): Update call to calc_generic_results.
7153 Recalculate exact zero results in each rounding mode.
7155 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7156 non-negative before setting low bit.
7157 * math/auto-libm-test-in: Mark one asin test possibly having
7159 * math/auto-libm-test-out: Regenerated.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7163 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7165 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7166 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7167 ports/sysdeps/unix/sysv/linux/microblaze.
7168 * README: Add missing listing for microblaze*-*-linux-gnu.
7170 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7172 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7173 * sysdeps/unix/sysv/linux/ia64: Move directory from
7174 ports/sysdeps/unix/sysv/linux/ia64.
7175 * README: Update listing for ia64-*-linux-gnu.
7177 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7178 Joseph Myers <joseph@codesourcery.com>
7180 * Makeconfig (test-name): New variable.
7181 (evaluate-test): Likewise.
7182 * Makerules (do-test-clean): Remove .test-result files.
7183 (common-mostlyclean): Likewise.
7184 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7185 * scripts/evaluate-test.sh: New file.
7187 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7189 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7190 separate $(objpfx)tst-fopenloc-cmp.out and
7191 $(objpfx)tst-fopenloc-mem.out targets.
7192 (tests): Update dependencies.
7193 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7194 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7195 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7196 (tst-rxspencer-no-utf8-ARGS): New variable.
7197 (tst-rxspencer-no-utf8-ENV): Likewise.
7198 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7199 instead of $(objpfx)tst-rxspencer-mem.
7200 ($(objpfx)tst-rxspencer-mem): Change target to
7201 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7202 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7203 * posix/tst-rxspencer-no-utf8.c: New file.
7205 * elf/Makefile ($(objpfx)order.out): Remove rule.
7206 [$(run-built-tests) = yes] (tests): Depend on
7207 $(objpfx)order-cmp.out.
7208 ($(objpfx)order-cmp.out): New rule.
7209 [$(run-built-tests) = yes] (tests): Depend on
7210 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7211 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7212 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7213 $(objpfx)tst-array5-static-cmp.out.
7214 ($(objpfx)tst-array1.out): Remove rule.
7215 ($(objpfx)tst-array1-cmp.out): New rule.
7216 ($(objpfx)tst-array1-static.out): Remove rule.
7217 ($(objpfx)tst-array1-static-cmp.out): New rule.
7218 ($(objpfx)tst-array2.out): Remove rule.
7219 ($(objpfx)tst-array2-cmp.out): New rule.
7220 ($(objpfx)tst-array3.out): Remove rule.
7221 ($(objpfx)tst-array3-cmp.out): New rule.
7222 ($(objpfx)tst-array4.out): Remove rule.
7223 ($(objpfx)tst-array4-cmp.out): New rule.
7224 ($(objpfx)tst-array5.out): Remove rule.
7225 ($(objpfx)tst-array5-cmp.out): New rule.
7226 ($(objpfx)tst-array5-static.out): Remove rule.
7227 ($(objpfx)tst-array5-static-cmp.out): New rule.
7228 [$(run-built-tests) = yes] (tests): Depend on
7229 $(objpfx)order2-cmp.out.
7230 ($(objpfx)order2.out): Remove rule.
7231 ($(objpfx)order2-cmp.out): New rule.
7232 ($(objpfx)tst-initorder.out): Remove rule.
7233 [$(run-built-tests) = yes] (tests): Depend on
7234 $(objpfx)tst-initorder-cmp.out.
7235 ($(objpfx)tst-initorder-cmp.out): New rule.
7236 ($(objpfx)tst-initorder2.out): Remove rule.
7237 [$(run-built-tests) = yes] (tests): Depend on
7238 $(objpfx)tst-initorder2-cmp.out.
7239 ($(objpfx)tst-initorder2-cmp.out): New rule.
7240 [$(run-built-tests) = yes] (tests): Depend on
7241 $(objpfx)tst-unused-dep-cmp.out.
7242 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7243 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7244 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7245 on $(objpfx)tst-setvbuf1-cmp.out.
7246 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7247 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7248 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7249 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7250 ($(objpfx)tst-svc.out): Remove rule.
7251 ($(objpfx)tst-svc-cmp.out): New rule.
7253 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7255 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7256 * ctype/ctype.h [__USE_MISC]: Likewise.
7257 * dirent/dirent.h [__USE_MISC]: Likewise.
7258 * grp/grp.h [__USE_MISC]: Likewise.
7259 * io/fcntl.h [__USE_MISC]: Likewise.
7260 * io/sys/stat.h [__USE_MISC]: Likewise.
7261 * libio/stdio.h [__USE_MISC]: Likewise.
7262 * posix/unistd.h [__USE_MISC]: Likewise.
7263 * pwd/pwd.h [__USE_MISC]: Likewise.
7264 * stdlib.h [__USE_MISC]: Likewise.
7265 * string/bits/string2.h [__USE_MISC]: Likewise.
7266 * string/string.h [__USE_MISC]: Likewise.
7267 * time/time.h [__USE_MISC]: Likewise.
7269 2014-02-13 Andreas Schwab <schwab@suse.de>
7272 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7273 second answer buffer if it was separately allocated.
7275 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7277 * sysdeps/mips/math-tests.h: Include <features.h>.
7278 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7279 (ROUNDING_TESTS_long_double): Do not define.
7280 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7281 (EXCEPTION_TESTS_long_double): Likewise.
7282 * sysdeps/mips/mips64/libm-test-ulps: Update.
7284 * include/features.h (__USE_BSD): Remove macro definitions.
7285 (__USE_SVID): Likewise.
7286 (_BSD_SOURCE): Likewise.
7287 (_SVID_SOURCE): Likewise.
7288 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7289 from definition of _DEFAULT_SOURCE.
7290 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7292 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7293 * bits/mman.h [__USE_BSD]: Likewise.
7294 * bits/termios.h [__USE_BSD]: Likewise.
7295 * bits/waitstatus.h [__USE_BSD]: Likewise.
7296 * ctype/ctype.h [__USE_SVID]: Likewise.
7297 * dirent/dirent.h [__USE_BSD]: Likewise.
7298 * grp/grp.h [__USE_SVID]: Likewise.
7299 [__USE_BSD]: Likewise.
7300 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7301 * io/fcntl.h [__USE_BSD]: Likewise.
7302 * io/ftw.h [__USE_BSD]: Likewise.
7303 * io/sys/stat.h [__USE_BSD]: Likewise.
7304 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7305 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7306 * libio/stdio.h [__USE_SVID]: Likewise.
7307 [__USE_BSD]: Likewise.
7308 * math/math.h [__USE_SVID]: Likewise.
7309 [__USE_BSD]: Likewise.
7310 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7311 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7312 * misc/search.h [__USE_SVID]: Likewise.
7313 * misc/sys/mman.h [__USE_BSD]: Likewise.
7314 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7315 * misc/sys/uio.h [__USE_BSD]: Likewise.
7316 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7317 * posix/glob.h [__USE_BSD]: Likewise.
7318 * posix/regex.h [__USE_BSD]: Likewise.
7319 * posix/sys/types.h [__USE_BSD]: Likewise.
7320 [__USE_SVID]: Likewise.
7321 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7322 * posix/sys/wait.h [__USE_BSD]: Likewise.
7323 [__USE_SVID]: Likewise.
7324 * posix/unistd.h [__USE_BSD]: Likewise.
7325 [__USE_SVID]: Likewise.
7326 * pwd/pwd.h [__USE_SVID]: Likewise.
7327 * resolv/netdb.h [__USE_BSD]: Likewise.
7328 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7329 * signal/signal.h [__USE_BSD]: Likewise.
7330 [__USE_SVID]: Likewise.
7331 * socket/sys/socket.h [__USE_BSD]: Likewise.
7332 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7333 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7334 [__USE_SVID]: Likewise.
7335 * string/bits/string2.h [__USE_BSD]: Likewise.
7336 [__USE_SVID]: Likewise.
7337 * string/bits/string3.h [__USE_BSD]: Likewise.
7338 * string/endian.h [__USE_BSD]: Likewise.
7339 * string/string.h [__USE_SVID]: Likewise.
7340 [__USE_BSD]: Likewise.
7341 * string/strings.h [__USE_BSD]: Likewise.
7342 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7343 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7344 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7345 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7346 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7347 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7351 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7352 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7354 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7355 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7357 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7359 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7360 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7361 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7365 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7366 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7367 * termios/termios.h [__USE_BSD]: Likewise.
7368 * time/sys/time.h [__USE_BSD]: Likewise.
7369 * time/time.h [__USE_BSD]: Likewise.
7370 [__USE_SVID]: Likewise.
7372 * Makefile (subdir_targets): Remove subdir_lint.out.
7374 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7375 (do-tst-printf): Likewise.
7376 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7377 $(objpfx)tst-printf.out.
7379 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7381 * Makerules (check-abi-%): Change target to
7382 $(objpfx)check-abi-%.out.
7383 (check-abi target): Update dependencies.
7384 (check-abi-pattern variable): Redirect output of diff to $@.
7385 (check-abi variable): Likewise.
7386 * elf/Makefile (check-abi): Update dependencies.
7388 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7390 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7391 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7393 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7394 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7395 value has largest subnormal exponent.
7396 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7397 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7398 * sysdeps/aarch64/soft-fp/sfp-machine.h
7399 (_FP_TININESS_AFTER_ROUNDING): New macro.
7400 * sysdeps/alpha/soft-fp/sfp-machine.h
7401 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7402 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7404 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7405 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7406 * sysdeps/mips/soft-fp/sfp-machine.h
7407 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7408 * sysdeps/powerpc/soft-fp/sfp-machine.h
7409 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7410 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7413 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7415 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7416 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7419 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7422 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7425 2014-02-12 Richard Henderson <rth@redhat.com>
7427 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7428 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7429 * sysdeps/unix/sysv/linux/alpha: Move directory from
7430 ports/sysdeps/unix/sysv/linux/alpha.
7431 * README: Update listing for alpha-*-linux-gnu.
7433 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7435 * include/features.h: Update comment documenting feature test
7437 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7439 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7440 (_SVID_SOURCE): Likewise.
7441 (_DEFAULT_SOURCE): Update description of default features.
7442 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7444 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7445 (S_ISVTX): Likewise.
7446 * manual/math.texi (Mathematical Constants): Likewise.
7447 * manual/signal.texi (Interrupted Primitives): Likewise.
7448 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7449 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7450 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7451 Don't refer to _SVID_SOURCE in warning text.
7453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7455 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7457 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7458 * sysdeps/mips/dl-lookup.c: Remove.
7459 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7461 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7464 * math/auto-libm-test-in: Add testcase for expl.
7465 * math/auto-libm-test-out: Regenerate.
7466 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7467 calculation of unsafe.
7468 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7470 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7472 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7473 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7474 ports/sysdeps/unix/sysv/linux/aarch64.
7475 * README: Update listing for aarch64*-*-linux-gnu.
7477 2014-02-11 Will Newton <will.newton@linaro.org>
7479 * manual/probes.texi (Mathematical Function Probes): Use
7480 "triggered" instead of "hit".
7482 * manual/probes.texi (Internal Probes): Add documentation
7483 of setjmp, longjmp and longjmp_target probes.
7485 * include/stap-probe.h: Add comment about probe argument
7488 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7489 definition. (tr_where, tr_freehook, tr_mallochook,
7490 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7492 2014-02-11 David S. Miller <davem@davemloft.net>
7494 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7495 processing int_tests.
7497 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7499 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7500 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7501 * sysdeps/unix/sysv/linux/mips: Move directory from
7502 ports/sysdeps/unix/sysv/linux/mips.
7503 * README: Update listing for mips-*-linux-gnu and
7506 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7508 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7509 * sysdeps/unix/sysv/linux/m68k: Move directory from
7510 ports/sysdeps/unix/sysv/linux/m68k.
7511 * README: Update listing for m68k-*-linux-gnu.
7513 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7515 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7516 * sysdeps/unix/sysv/linux/generic: Move directory from
7517 ports/sysdeps/unix/sysv/linux/generic.
7518 * sysdeps/unix/sysv/linux/tile: Move directory from
7519 ports/sysdeps/unix/sysv/linux/tile.
7520 * README: Update listing for tile*-*-linux-gnu.
7522 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7524 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7526 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7527 * catgets/open_catalog.c (__open_catalog): Likewise.
7528 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7529 * debug/confstr_chk.c: Likewise.
7530 * debug/fread_chk.c (__fread_chk): Likewise.
7531 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7532 * debug/getgroups_chk.c: Likewise.
7533 * debug/mbsnrtowcs_chk.c: Likewise.
7534 * debug/mbsrtowcs_chk.c: Likewise.
7535 * debug/mbstowcs_chk.c: Likewise.
7536 * debug/memcpy_chk.c: Likewise.
7537 * debug/memmove_chk.c: Likewise.
7538 * debug/mempcpy_chk.c: Likewise.
7539 * debug/memset_chk.c: Likewise.
7540 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7541 * debug/strcat_chk.c (__strcat_chk): Likewise.
7542 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7543 * debug/strncat_chk.c (__strncat_chk): Likewise.
7544 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7545 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7546 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7547 * debug/wcpncpy_chk.c: Likewise.
7548 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7549 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7550 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7551 * debug/wcsncpy_chk.c: Likewise.
7552 * debug/wcsnrtombs_chk.c: Likewise.
7553 * debug/wcsrtombs_chk.c: Likewise.
7554 * debug/wcstombs_chk.c: Likewise.
7555 * debug/wmemcpy_chk.c: Likewise.
7556 * debug/wmemmove_chk.c: Likewise.
7557 * debug/wmempcpy_chk.c: Likewise.
7558 * debug/wmemset_chk.c: Likewise.
7559 * dirent/scandirat.c (SCANDIRAT): Likewise.
7560 * dlfcn/dladdr1.c (dladdr1): Likewise.
7561 * dlfcn/dladdr.c (dladdr): Likewise.
7562 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7563 * dlfcn/dlerror.c (__dlerror): Likewise.
7564 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7565 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7566 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7567 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7568 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7569 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7570 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7571 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7573 * elf/dl-conflict.c: Likewise.
7574 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7575 * elf/dl-dst.h: Likewise.
7576 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7577 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7578 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7579 * elf/dl-init.c (call_init, _dl_init): Likewise.
7580 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7581 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7582 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7584 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7586 * elf/dl-minimal.c (__libc_memalign): Likewise.
7587 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7588 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7589 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7590 * elf/dl-sym.c (do_sym): Likewise.
7591 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7592 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7593 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7594 * elf/dl-writev.h (_dl_writev): Likewise.
7595 * elf/ldconfig.c (search_dir): Likewise.
7596 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7597 (dl_main): Likewise.
7598 * elf/setup-vdso.h (setup_vdso): Likewise.
7599 * grp/compat-initgroups.c (compat_call): Likewise.
7600 * grp/fgetgrent.c (fgetgrent): Likewise.
7601 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7602 * grp/putgrent.c (putgrent): Likewise.
7603 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7605 * hurd/hurdinit.c: Likewise.
7606 * iconvdata/8bit-gap.c (struct): Likewise.
7607 * iconvdata/ansi_x3.110.c : Likewise.
7608 * iconvdata/big5.c : Likewise.
7609 * iconvdata/big5hkscs.c : Likewise.
7610 * iconvdata/cp1255.c: Likewise.
7611 * iconvdata/cp1258.c : Likewise.
7612 * iconvdata/cp932.c : Likewise.
7613 * iconvdata/euc-cn.c: Likewise.
7614 * iconvdata/euc-jisx0213.c : Likewise.
7615 * iconvdata/euc-jp.c: Likewise.
7616 * iconvdata/euc-jp-ms.c : Likewise.
7617 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7618 * iconvdata/gb18030.c : Likewise.
7619 * iconvdata/gbbig5.c (const): Likewise.
7620 * iconvdata/gbgbk.c: Likewise.
7621 * iconvdata/gbk.c : Likewise.
7622 * iconvdata/ibm1364.c : Likewise.
7623 * iconvdata/ibm930.c : Likewise.
7624 * iconvdata/ibm932.c: Likewise.
7625 * iconvdata/ibm933.c : Likewise.
7626 * iconvdata/ibm935.c : Likewise.
7627 * iconvdata/ibm937.c : Likewise.
7628 * iconvdata/ibm939.c : Likewise.
7629 * iconvdata/ibm943.c: Likewise.
7630 * iconvdata/iso_11548-1.c: Likewise.
7631 * iconvdata/iso-2022-cn.c : Likewise.
7632 * iconvdata/iso-2022-cn-ext.c : Likewise.
7633 * iconvdata/iso-2022-jp-3.c: Likewise.
7634 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7635 * iconvdata/iso-2022-kr.c : Likewise.
7636 * iconvdata/iso646.c (gconv_end): Likewise.
7637 * iconvdata/iso_6937-2.c : Likewise.
7638 * iconvdata/iso_6937.c : Likewise.
7639 * iconvdata/iso8859-1.c: Likewise.
7640 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7641 * iconvdata/shift_jisx0213.c : Likewise.
7642 * iconvdata/sjis.c : Likewise.
7643 * iconvdata/t.61.c : Likewise.
7644 * iconvdata/tcvn5712-1.c : Likewise.
7645 * iconvdata/tscii.c: Likewise.
7646 * iconvdata/uhc.c : Likewise.
7647 * iconvdata/unicode.c (gconv_end): Likewise.
7648 * iconvdata/utf-16.c (gconv_end): Likewise.
7649 * iconvdata/utf-32.c (gconv_end): Likewise.
7650 * iconvdata/utf-7.c (base64): Likewise.
7651 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7652 * iconv/gconv_close.c (__gconv_close): Likewise.
7653 * iconv/gconv_open.c (__gconv_open): Likewise.
7654 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7655 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7656 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7657 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7658 (ucs4le_internal_loop_single): Likewise.
7659 * iconv/iconv.c (iconv): Likewise.
7660 * iconv/iconv_close.c: Likewise.
7661 * iconv/loop.c (SINGLE): Likewise.
7662 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7663 * include/atomic.h: Likewise.
7664 * inet/inet6_option.c (option_alloc): Likewise.
7665 * intl/bindtextdom.c (set_binding_values): Likewise.
7666 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7667 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7668 * intl/localealias.c (read_alias_file): Likewise.
7669 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7670 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7671 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7672 * libio/fmemopen.c (fmemopen): Likewise.
7673 * libio/iofgets.c (_IO_fgets): Likewise.
7674 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7675 * libio/iofgetws.c (fgetws): Likewise.
7676 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7677 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7678 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7679 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7680 * locale/findlocale.c (_nl_find_locale): Likewise.
7681 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7682 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7684 * locale/setlocale.c (setlocale): Likewise.
7685 * login/programs/pt_chown.c (main): Likewise.
7686 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7687 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7688 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7689 (mmap, mmap64, mremap, munmap): Likewise.
7690 * math/e_exp2l.c: Likewise.
7691 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7692 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7693 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7694 * math/s_catan.c (__catan): Likewise.
7695 * math/s_catanf.c (__catanf): Likewise.
7696 * math/s_catanh.c (__catanh): Likewise.
7697 * math/s_catanhf.c (__catanhf): Likewise.
7698 * math/s_catanhl.c (__catanhl): Likewise.
7699 * math/s_catanl.c (__catanl): Likewise.
7700 * math/s_ccosh.c (__ccosh): Likewise.
7701 * math/s_ccoshf.c (__ccoshf): Likewise.
7702 * math/s_ccoshl.c (__ccoshl): Likewise.
7703 * math/s_cexp.c (__cexp): Likewise.
7704 * math/s_cexpf.c (__cexpf): Likewise.
7705 * math/s_cexpl.c (__cexpl): Likewise.
7706 * math/s_clog10.c (__clog10): Likewise.
7707 * math/s_clog10f.c (__clog10f): Likewise.
7708 * math/s_clog10l.c (__clog10l): Likewise.
7709 * math/s_clog.c (__clog): Likewise.
7710 * math/s_clogf.c (__clogf): Likewise.
7711 * math/s_clogl.c (__clogl): Likewise.
7712 * math/s_csin.c (__csin): Likewise.
7713 * math/s_csinf.c (__csinf): Likewise.
7714 * math/s_csinh.c (__csinh): Likewise.
7715 * math/s_csinhf.c (__csinhf): Likewise.
7716 * math/s_csinhl.c (__csinhl): Likewise.
7717 * math/s_csinl.c (__csinl): Likewise.
7718 * math/s_csqrt.c (__csqrt): Likewise.
7719 * math/s_csqrtf.c (__csqrtf): Likewise.
7720 * math/s_csqrtl.c (__csqrtl): Likewise.
7721 * math/s_ctan.c (__ctan): Likewise.
7722 * math/s_ctanf.c (__ctanf): Likewise.
7723 * math/s_ctanh.c (__ctanh): Likewise.
7724 * math/s_ctanhf.c (__ctanhf): Likewise.
7725 * math/s_ctanhl.c (__ctanhl): Likewise.
7726 * math/s_ctanl.c (__ctanl): Likewise.
7727 * math/w_pow.c: Likewise.
7728 * math/w_powf.c: Likewise.
7729 * math/w_powl.c: Likewise.
7730 * math/w_scalb.c (sysv_scalb): Likewise.
7731 * math/w_scalbf.c (sysv_scalbf): Likewise.
7732 * math/w_scalbl.c (sysv_scalbl): Likewise.
7733 * misc/error.c (error_tail): Likewise.
7734 * misc/pselect.c (__pselect): Likewise.
7735 * nis/nis_callback.c (__nis_create_callback): Likewise.
7736 * nis/nis_call.c (__nisfind_server): Likewise.
7737 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7738 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7739 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7740 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7741 * nis/nis_lookup.c (nis_lookup): Likewise.
7742 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7743 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7744 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7745 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7746 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7747 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7748 * nis/nss_compat/compat-initgroups.c (add_group)
7749 (internal_getgrent_r): Likewise.
7750 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7751 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7752 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7753 (internal_getspnam_r): Likewise.
7754 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7755 (_nss_nis_getaliasbyname_r): Likewise.
7756 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7757 (_nss_nis_getntohost_r): Likewise.
7758 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7759 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7760 (_nss_nis_getgrgid_r): Likewise.
7761 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7762 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7763 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7764 (_nss_nis_gethostbyname4_r): Likewise.
7765 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7766 (initgroups_netid): Likewise.
7767 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7768 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7769 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7770 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7771 (_nss_nis_getprotobynumber_r): Likewise.
7772 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7773 (_nss_nis_getsecretkey): Likewise.
7774 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7775 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7776 (_nss_nis_getpwuid_r): Likewise.
7777 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7778 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7779 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7780 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7781 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7782 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7783 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7785 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7786 (_nss_nisplus_getntohost_r): Likewise.
7787 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7788 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7789 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7790 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7792 * nis/nss_nisplus/nisplus-initgroups.c
7793 (_nss_nisplus_initgroups_dyn): Likewise.
7794 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7795 (_nss_nisplus_getnetbyaddr_r): Likewise.
7796 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7797 (_nss_nisplus_getprotobynumber_r): Likewise.
7798 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7799 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7800 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7802 * nis/nss_nisplus/nisplus-service.c
7803 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7804 (_nss_nisplus_getservbyport_r): Likewise.
7805 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7806 (_nss_nisplus_getspnam_r): Likewise.
7807 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7809 * nscd/aicache.c (addhstaiX): Likewise.
7810 * nscd/cache.c (cache_search, prune_cache): Likewise.
7811 * nscd/connections.c (register_traced_file, send_ro_fd)
7812 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7813 (main_loop_epoll): Likewise.
7814 * nscd/grpcache.c (addgrbyX): Likewise.
7815 * nscd/hstcache.c (addhstbyX): Likewise.
7816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7817 * nscd/mem.c (gc, mempool_alloc): Likewise.
7818 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7819 (addinnetgrX): Likewise.
7820 * nscd/nscd-client.h (__nscd_acquire_maplock)
7821 (__nscd_drop_map_ref): Likewise.
7822 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7823 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7824 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7826 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7827 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7828 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7829 (__nscd_get_map_ref): Likewise.
7830 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7831 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7833 * nscd/pwdcache.c (addpwbyX): Likewise.
7834 * nscd/selinux.c (preserve_capabilities): Likewise.
7835 * nscd/servicescache.c (addservbyX): Likewise.
7836 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7837 * posix/fnmatch.c (fnmatch): Likewise.
7838 * posix/getopt.c (_getopt_internal_r): Likewise.
7839 * posix/glob.c (glob, glob_in_dir): Likewise.
7840 * posix/wordexp.c (exec_comm_child): Likewise.
7841 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7842 (getanswer_r, gaih_getanswer_slice): Likewise.
7843 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7844 * resolv/res_init.c: Likewise.
7845 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7846 * resolv/res_query.c (__libc_res_nquery): Likewise.
7847 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7849 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7850 * stdio-common/perror.c (perror): Likewise.
7851 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7852 * stdio-common/tmpnam.c (tmpnam): Likewise.
7853 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7854 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7855 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7857 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7858 * stdlib/putenv.c (putenv): Likewise.
7859 * stdlib/setenv.c (__add_to_environ): Likewise.
7860 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7861 * stdlib/strtol_l.c (INTERNAL): Likewise.
7862 * string/memmem.c (memmem): Likewise.
7863 * string/strerror.c (strerror): Likewise.
7864 * string/strnlen.c (__strnlen): Likewise.
7865 * string/test-memmem.c (simple_memmem): Likewise.
7866 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7867 * sunrpc/pm_getport.c (__get_socket): Likewise.
7868 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7869 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7870 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7871 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7873 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7874 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7875 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7876 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7877 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7878 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7880 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7882 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7883 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7884 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7885 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7886 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7888 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7889 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7890 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7891 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7892 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7893 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7899 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7902 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7903 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7904 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7905 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7906 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7907 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7908 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7909 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7911 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7912 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7916 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7918 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7923 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7924 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7926 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7927 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7928 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7929 * sysdeps/posix/sleep.c: Likewise.
7930 * sysdeps/posix/tempname.c: Likewise.
7931 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7932 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7934 * sysdeps/powerpc/powerpc32/dl-machine.h
7935 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7936 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7938 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7939 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7941 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7942 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7943 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7944 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7945 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7946 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7947 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7948 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7949 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7950 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7952 (elf_machine_lazy_rel): Likewise.
7953 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7954 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7955 (elf_machine_lazy_rel): Likewise.
7956 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7957 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7958 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7959 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7960 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7961 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7962 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7965 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7966 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7967 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7968 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7969 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7970 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7971 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7972 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7973 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7974 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7975 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7977 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7978 (__posix_fallocate64_l64): Likewise.
7979 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7980 (posix_fallocate): Likewise.
7981 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7983 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7984 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7985 (getifaddrs_internal): Likewise.
7986 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7987 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7988 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7989 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7990 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7991 (__posix_fallocate64_l64): Likewise.
7992 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7994 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7995 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7996 (__get_clockfreq): Likewise.
7997 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7998 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7999 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8002 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8003 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8004 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8006 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8007 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8008 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8010 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8011 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8012 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8014 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8015 (posix_fallocate): Likewise.
8016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8017 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8018 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8019 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8020 (elf_machine_rela, elf_machine_rela_relative)
8021 (elf_machine_lazy_rel): Likewise.
8022 * time/asctime.c (asctime_internal): Likewise.
8023 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8024 * time/tzset.c (__tzset_parse_tz): Likewise.
8025 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8026 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8027 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8028 * wcsmbs/wcsmbsload.h: Likewise.
8031 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8033 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8034 (arena_get2): Remove THREAD_STATS conditionals.
8035 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8036 (__malloc_stats, int): Likewise.
8038 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8040 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8041 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8043 * manual/setjmp.texi: Fix typos/grammar errors.
8045 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8046 Only return early when n is <= 0. Delete unused return statement.
8048 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8049 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8050 * debug/tst-longjmp_chk3.c: New file.
8052 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8053 (test_main): Replace code with set_fortify_handler call.
8054 * debug/test-strcpy_chk.c: Likewise.
8055 * debug/tst-chk1.c: Likewise.
8056 * debug/tst-longjmp_chk.c: Likewise.
8057 * test-skeleton.c: Include fcntl.h & paths.h
8058 (set_fortify_handler): Define.
8060 * debug/tst-longjmp_chk.c: Add header comment and include
8062 (do_test): Mark static.
8063 (TEST_FUNCTION): Define.
8065 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8066 (IP_PMTUDISC_INTERFACE): Likewise.
8067 (IP_MULTICAST_IF): Likewise.
8068 (IP_MULTICAST_TTL): Likewise.
8069 (IP_MULTICAST_LOOP): Likewise.
8070 (IP_ADD_MEMBERSHIP): Likewise.
8071 (IP_DROP_MEMBERSHIP): Likewise.
8072 (IP_UNBLOCK_SOURCE): Likewise.
8073 (IP_BLOCK_SOURCE): Likewise.
8074 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8075 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8076 (IP_MSFILTER): Likewise.
8077 (MCAST_JOIN_GROUP): Likewise.
8078 (MCAST_BLOCK_SOURCE): Likewise.
8079 (MCAST_UNBLOCK_SOURCE): Likewise.
8080 (MCAST_LEAVE_GROUP): Likewise.
8081 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8082 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8083 (MCAST_MSFILTER): Likewise.
8084 (IP_MULTICAST_ALL): Likewise.
8085 (IP_UNICAST_IF): Likewise.
8087 * timezone/Makefile: Delete $(have-ksh) check.
8088 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8089 * timezone/tzselect.ksh: Add +x mode bits.
8091 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8092 (ANON_INODE_FS_MAGIC): Likewise.
8093 (BDEVFS_MAGIC): Likewise.
8094 (BINFMTFS_MAGIC): Likewise.
8095 (BTRFS_TEST_MAGIC): Likewise.
8096 (CRAMFS_MAGIC_WEND): Likewise.
8097 (DEBUGFS_MAGIC): Likewise.
8098 (ECRYPTFS_SUPER_MAGIC): Likewise.
8099 (EXT3_SUPER_MAGIC): Likewise.
8100 (EXT4_SUPER_MAGIC): Likewise.
8101 (FUTEXFS_SUPER_MAGIC): Likewise.
8102 (HOSTFS_SUPER_MAGIC): Likewise.
8103 (HUGETLBFS_MAGIC): Likewise.
8104 (MINIX3_SUPER_MAGIC): Likewise.
8105 (MTD_INODE_FS_MAGIC): Likewise.
8106 (NILFS_SUPER_MAGIC): Likewise.
8107 (OPENPROM_SUPER_MAGIC): Likewise.
8108 (PIPEFS_MAGIC): Likewise.
8109 (PSTOREFS_MAGIC): Likewise.
8110 (QNX6_SUPER_MAGIC): Likewise.
8111 (RAMFS_MAGIC): Likewise.
8112 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8113 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8114 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8115 (SECURITYFS_MAGIC): Likewise.
8116 (SELINUX_MAGIC): Likewise.
8117 (SMACK_MAGIC): Likewise.
8118 (SOCKFS_MAGIC): Likewise.
8119 (SQUASHFS_MAGIC): Likewise.
8120 (STACK_END_MAGIC): Likewise.
8121 (TMPFS_MAGIC): Likewise.
8122 (USBDEVICE_SUPER_MAGIC): Likewise.
8123 (V9FS_MAGIC): Likewise.
8124 (XENFS_SUPER_MAGIC): Likewise.
8125 (CRAMFS_MAGIC): Fix typo in comment.
8126 (EXT2_SUPER_MAGIC): Update comment.
8127 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8129 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8131 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8132 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8133 * sysdeps/unix/sysv/linux/arm: Move directory from
8134 ports/sysdeps/unix/sysv/linux/arm.
8135 * README: Update listing for arm-*-linux-gnueabi.
8137 * README: Remove mention of am33.
8139 2014-02-07 Roland McGrath <roland@hack.frob.com>
8141 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8142 than the comma operator, to avoid "rhs of comma has no effect"
8144 (__sigfillset, __sigandset, __sigorset): Likewise.
8145 * include/signal.h (__sigemptyset): Likewise.
8146 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8148 2014-02-07 Allan McRae <allan@archlinux.org>
8150 * version.h (RELEASE): Set to "development".
8151 (VERSION): Set to "2.19.90"
8152 * NEWS: Add 2.20 section.
8154 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8157 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8159 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8161 * manual/contrib.texi: Update entry for Carlos O'Donell,
8162 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8164 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8166 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8168 * sysdeps/unix/sysv/linux/kernel-features.h
8169 [__LINUX_KERNEL_VERSION >= 0x020621]
8170 (__ASSUME_PROC_PID_TASK_COMM): Define.
8172 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8175 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8176 conversion when destination buffer does not have enough space.
8177 * libio/tst-ftell-partial-wide.c: New test case.
8178 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8180 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8181 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8182 Leonard and Allan McRae.
8184 2014-02-04 David S. Miller <davem@davemloft.net>
8186 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8189 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8218 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8221 * shlib-versions: Likewise.
8223 2014-02-04 Roland McGrath <roland@hack.frob.com>
8224 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8226 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8227 (abilist-pattern): New variable, set to %-le.abilist.
8229 * Makerules (abilist-pattern): New variable.
8230 (vpath): Use $(abilist-pattern) in place of %.abilist.
8231 (check-abi-% pattern rule): Likewise.
8232 (check-abi, update-abi): Likewise.
8234 2014-02-04 Eric Wong <normalperson@yhbt.net>
8236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8238 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8240 * manual/startup.texi: Add next, previous, and top entries for
8241 the `Program Arguments' and `Environment Variables' nodes.
8243 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8245 * manual/macros.texi: Add comments before MTASC-safety macros.
8247 * manual/users.texi: Document MTASC-safety properties.
8249 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8250 (pthread_getspecific, pthread_setspecific): Format with
8251 @deftypefun, and add @safety note.
8252 * manual/signal.texi: Move comments that analyze the above
8253 functions to their home place.
8255 2014-02-03 Allan McRae <allan@archlinux.org>
8257 * po/sl.po: Update Slovenian translation from translation project.
8259 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8261 * manual/time.texi (timegm): Add missing blank after @c.
8262 Reported by Joseph Myers <joseph@codesourcery.com>.
8264 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8266 * manual/check-safety.sh: New.
8267 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8269 * manual/terminal.texi: Document MTASC-safety properties.
8271 * manual/filesys.texi: Document MTASC-safety properties.
8273 * manual/errno.texi: Document MTASC-safety properties.
8275 * manual/intro.texi: Document safety identifiers and
8278 * manual/string.texi (wcstok): Fix prototype.
8279 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8281 * manual/time.texi: Document MTASC-safety properties.
8283 * manual/string.texi: Document MTASC-safety properties.
8285 * manual/threads.texi: Document MTASC-safety properties.
8287 * manual/stdio.texi: Document MTASC-safety properties.
8289 * manual/syslog.texi: Document MTASC-safety properties.
8291 * manual/sysinfo.texi: Document MTASC-safety properties.
8293 * manual/startup.texi: Document MTASC-safety properties.
8295 * manual/socket.texi: Document MTASC-safety properties.
8297 * manual/signal.texi: Document MTASC-safety properties.
8299 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8301 * manual/setjmp.texi: Document MTASC-safety properties.
8303 * manual/search.texi: Document MTASC-safety properties.
8305 * manual/resource.texi: Document MTASC-safety properties.
8307 * manual/process.texi: Document MTASC-safety properties.
8309 * manual/platform.texi: Document MTASC-safety properties.
8311 * manual/pipe.texi: Document MTASC-safety properties.
8313 * manual/pattern.texi: Document MTASC-safety properties.
8315 * manual/message.texi: Document MTASC-safety properties.
8318 * manual/memory.texi: Document MTASC-safety properties.
8320 * manual/math.texi: Document MTASC-safety properties.
8322 * manual/locale.texi: Document MTASC-safety properties.
8324 * manual/llio.texi: Document MTASC-safety properties.
8326 * manual/libdl.texi: New.
8328 * manual/lang.texi: Document MTASC-safety properties.
8330 * manual/job.texi: Document MTASC-safety properties.
8332 * manual/getopt.texi: Document MTASC-safety properties.
8334 * manual/ctype.texi: Document MTASC-safety properties.
8336 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8339 * csu/libc-tls.c (static_map): Remove variable.
8340 (__libc_setup_tls): Use main executable's link map for TLS data.
8341 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8342 casing for LM_ID_BASE and GL(dl_nns).
8343 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8344 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8345 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8346 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8347 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8349 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8352 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8354 * manual/debug.texi: Document MTASC-safety properties.
8356 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8359 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8360 of __x86_64__ when disabling x87 inline functions.
8362 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8364 * manual/charset.texi: Document MTASC-safety properties.
8366 * manual/crypt.texi: Document MTASC-safety properties.
8368 * manual/conf.texi: Document MTASC-safety properties.
8370 * manual/arith.texi: Document MTASC-safety properties.
8372 * manual/argp.texi: Document MTASC-safety properties.
8374 * manual/macros.texi: Introduce macros to document multi
8375 thread, asynchronous signal and asynchronous cancellation
8377 * manual/intro.texi: Introduce the properties themselves.
8379 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8381 * sysdeps/sh/sh4/Makefile: New file.
8383 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8385 * math/gen-libm-test.pl ($srcdir): New variable.
8386 ($auto_input): Use it.
8388 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8391 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8392 access beyond array bounds when parsing netgroups file.
8394 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8395 the old buffer before realloc.
8397 2014-01-27 Allan McRae <allan@archlinux.org>
8399 * po/fr.po: Update French translation from translation project.
8401 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8403 * sysdeps/sh/libm-test-ulps: Regenerate.
8405 2014-01-24 David S. Miller <davem@davemloft.net>
8407 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8409 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8412 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8414 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8417 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8418 string pointers after reallocation.
8420 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8422 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8423 __SH4A__ instead of __SH_FPU_ANY__.
8425 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8427 * sysdeps/sh/fpu_control.h: New file.
8428 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8429 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8430 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8431 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8432 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8433 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8434 * sysdeps/sh/sys/ucontext.h: Remove.
8435 * sysdeps/sh/sys: Remove directory.
8437 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8439 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8440 s390/sys/ucontext.h.
8441 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8442 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8444 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8447 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8449 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8453 Adjust the vDSO correctly for internal calls.
8454 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8456 2014-01-20 Allan McRae <allan@archlinux.org>
8458 * po/ca.po: Update Catalan translation from translation project.
8460 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8462 * sysdeps/s390/sotruss-lib.c: New file.
8464 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8468 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8469 local calls issues by not having a PLT stub required for IFUNC calls.
8470 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8472 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8474 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8475 * math/test-fpucw-static.c: Likewise.
8477 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8480 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8482 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8484 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8485 implementation for powerpc.
8487 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8490 * sysdeps/posix/system.c (__libc_system): Do not enable
8491 asynchronous cancellation.
8493 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8496 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8497 handling only for numbers special also in the IEEE case.
8499 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8501 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8503 2014-01-11 Allan McRae <allan@archlinux.org>
8505 * po/bg.po: Update Bulgarian translation from translation project.
8507 * po/de.po: Update German translation from translation project.
8509 2014-01-10 Roland McGrath <roland@hack.frob.com>
8511 * sysdeps/generic/gcc-compat.h: New file.
8513 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8515 * benchtests/asin-inputs: Correct slow inputs.
8516 * benchtests/acos-inputs: Likewise.
8518 2014-01-10 Allan McRae <allan@archlinux.org>
8520 * po:sv.po: Update Swedish translation from translation project.
8522 * po/vi.po: Update Vietnamese translation from translation project.
8524 * po/eo.po: Update Esperanto translation from translation project.
8526 * po/cs.po: Update Czech translation from translation project.
8528 * po/nl.po: Update Dutch translation from translation project.
8530 * po/pl.po: Update Polish translation from translation project.
8532 * po/ru.po: Update Russian translation from translation project.
8534 * po/uk.po: Update Ukrainian translation from translation project.
8536 2014-01-08 Brooks Moses <bmoses@google.com>
8538 * elf/dl-load.c: Fix comment typo.
8540 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8542 * po/header.pot: Rename to...
8543 * po/pot.header: ... this.
8544 * po/Makefile: Use pot.header.
8546 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8547 Maxim Kuvyrkov <maxim@kugelworks.com>
8550 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8551 SRC and DEST against LEN.
8553 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8556 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8558 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8560 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8564 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8567 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8568 for large positive arguments.
8570 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8572 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8574 * math/auto-libm-test-in: Mark various tests with
8575 xfail-rounding:ldbl-128ibm.
8576 * math/auto-libm-test-out: Regenerated.
8579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8580 Increase overflow threshold.
8582 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8585 * stdio-common/vfprintf.c: Check for integer overflow.
8587 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8589 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8590 the first argument and return value of __tls_get_addr_internal.
8592 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8594 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8595 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8597 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8599 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8600 * sysdeps/s390/rtld-global-offsets.sym: New file.
8601 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8603 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8604 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8607 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8608 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8614 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8615 halfs of GPRs for high_gprs contexts.
8616 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8617 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8619 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8621 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8623 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8624 for high GPRs (uc_high_gprs) and for future extensions
8626 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8627 for future extensions (__reserved).
8628 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8630 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8631 SC_HIGHGPRS offset definition.
8632 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8633 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8635 * Versions.def: Add GLIBC_2.19 for libpthread.
8636 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8637 siglongjmp for libpthread with GLIBC_2.19 symver.
8638 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8639 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8640 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8641 * sysdeps/s390/__longjmp.c: New file.
8642 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8643 * sysdeps/s390/longjmp.c: New file.
8644 * sysdeps/s390/setjmp.S: New file.
8645 * sysdeps/s390/sigjmp.S: New file.
8646 * sysdeps/s390/v1-longjmp.c: New file.
8647 * sysdeps/s390/v1-setjmp.h: New file.
8648 * sysdeps/s390/v1-sigjmp.c: New file.
8649 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8650 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8652 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8653 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8654 versioned symbols for ____longjmp_chk.
8655 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8665 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8666 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8667 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8668 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8669 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8670 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8671 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8672 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8673 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8674 * sysdeps/s390/rtld-__longjmp.c: New file.
8675 * sysdeps/s390/rtld-setjmp.S: New file.
8677 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8680 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8681 Return -__logl (x) for small positive arguments without evaluating
8684 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8686 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8688 (__ptrace_peeksiginfo_args): ... this.
8689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8690 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8693 2014-01-06 Allan McRae <allan@archlinux.org>
8695 * inet/netinet/in.h: Fix typo in comment.
8697 2014-01-05 Andreas Jaeger <aj@suse.de>
8699 * sysdeps/i386/fpu/libm-test-ulps: Update.
8701 2014-01-05 Allan McRae <allan@archlinux.org>
8703 * po/libc.pot: Regenerated.
8705 * malloc/memusagestat.c: Fix gettext call formatting.
8707 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8709 * nscd/nscd.c: Improve usage() output.
8711 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8713 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8714 * sysdeps/unix/sysv/linux/configure: Regenerated.
8715 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8716 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8718 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8721 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8722 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8724 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8727 extra tokens at end of #undef directive.
8728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8729 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8730 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8732 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8734 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8736 * math/auto-libm-test-in: Mark various tests with
8737 xfail-rounding:ldbl-128ibm.
8738 * math/auto-libm-test-out: Regenerated.
8740 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8744 numbers with subnormal high part when calculating exponent.
8747 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8751 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8753 (__ieee754_acoshl): Use __log1pl not __log1p.
8755 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8757 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8758 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8759 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8760 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8761 (reused_arena, arena_get2): Convert to GNU style.
8762 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8763 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8764 (memalign_check, __malloc_set_state): Likewise.
8765 * malloc/mallocbug.c (main): Likewise.
8766 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8767 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8768 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8769 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8770 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8771 (__posix_memalign, malloc_info): Likewise.
8772 * malloc/malloc.h: Likewise.
8773 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8774 (mallochook, memalignhook, reallochook, mabort): Likewise.
8775 * malloc/mcheck.h: Likewise.
8776 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8777 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8778 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8779 * malloc/morecore.c (__default_morecore): Likewise.
8780 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8781 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8782 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8783 (print_and_abort): Likewise.
8784 * malloc/obstack.h: Likewise.
8785 * malloc/set-freeres.c (__libc_freeres): Likewise.
8786 * malloc/tst-mallocstate.c (main): Likewise.
8787 * malloc/tst-mtrace.c (main): Likewise.
8788 * malloc/tst-realloc.c (do_test): Likewise.
8790 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8793 * nscd/netgroupcache.c (do_notfound): New function.
8794 (addgetnetgrentX): Use it.
8797 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8798 NSS_STATUS_NOTFOUND.
8800 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8802 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8805 2014-01-01 Allan McRae <allan@archlinux.org>
8807 * scripts/update-copyrights: Update configure input file suffix.
8809 * NEWS: Update copyright year.
8810 * catgets/gencat.c: Likewise.
8811 * csu/version.c: Likewise.
8812 * debug/catchsegv.sh: Likewise.
8813 * debug/pcprofiledump.c: Likewise.
8814 * debug/xtrace.sh: Likewise.
8815 * elf/ldconfig.c: Likewise.
8816 * elf/ldd.bash.in: Likewise.
8817 * elf/pldd.c: Likewise.
8818 * elf/sotruss.ksh: Likewise.
8819 * elf/sprof.c: Likewise.
8820 * iconv/iconv_prog.c: Likewise.
8821 * iconv/iconvconfig.c: Likewise.
8822 * locale/programs/locale.c: Likewise.
8823 * locale/programs/localedef.c: Likewise.
8824 * login/programs/pt_chown.c: Likewise.
8825 * malloc/memusage.sh: Likewise.
8826 * malloc/memusagestat.c: Likewise.
8827 * malloc/mtrace.pl: Likewise.
8828 * manual/libc.texinfo: Likewise.
8829 * nscd/nscd.c: Likewise.
8830 * nss/getent.c: Likewise.
8831 * nss/makedb.c: Likewise.
8832 * posix/getconf.c: Likewise.
8833 * scripts/test-installation.pl: Likewise.
8835 * All files with FSF copyright notices: Update copyright dates
8836 using scripts/update-copyrights.
8837 * intl/plural.c: Regenerated.
8838 * locale/programs/charmap-kw.h: Likewise.
8839 * locale/programs/locfile-kw.h: Likewise.
8841 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8843 * sysdeps/unix/sysv/linux/configure: Regenerated.
8844 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8845 the linux/fanotify.h header.
8846 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8847 HAVE_LINUX_FANOTIFY_H is defined.
8849 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8851 * benchtests/cos-inputs: New inputs.
8852 * benchtests/sin-inputs: Likewise.
8854 * benchtests/atan-inputs: New inputs. Fix name of multiple
8855 precision fallback inputs.
8857 * benchtests/atanh-inputs: New inputs.
8858 * benchtests/tanh-inputs: Likewise.
8860 * benchtests/acosh-inputs: New inputs.
8861 * benchtests/asinh-inputs: Likewise.
8863 * benchtests/cosh-inputs: New inputs.
8864 * benchtests/sinh-inputs: Likewise.
8866 * benchtests/acos-inputs: Add more inputs.
8867 * benchtests/asin-inputs: Likewise.
8869 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8872 * manual/arith.texi: Fix spelling.
8873 * manual/charset.texi: Likewise.
8874 * manual/errno.texi: Likewise.
8875 * manual/filesys.texi: Likewise.
8876 * manual/lang.texi: Likewise.
8877 * manual/llio.texi: Likewise.
8878 * manual/locale.texi: Likewise.
8879 * manual/message.texi: Likewise.
8880 * manual/resource.texi: Likewise.
8881 * manual/search.texi: Likewise.
8882 * manual/setjmp.texi: Likewise.
8883 * manual/stdio.texi: Likewise.
8884 * manual/string.texi: Likewise.
8885 * manual/sysinfo.texi: Likewise.
8886 * manual/time.texi: Likewise.
8888 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8890 * po/sl.po: New file.
8892 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8894 * .gitignore: Add core/.gdbinit/.gdb_history.
8896 2013-12-27 Allan McRae <allan@archlinux.org>
8899 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8900 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8902 2013-12-24 Brooks Moses <bmoses@google.com>
8904 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8905 all compilers that claim C++98 compliance, not just GCC.
8906 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8909 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8911 * NEWS: Restore accidentally deleted bug-fix entries.
8913 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8914 Ondřej Bílka <neleai@seznam.cz>
8917 * malloc/malloc.c (_int_free): Perform sanity check only if we
8920 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8923 * manual/stdio.texi (String Input Conversions): Clarify that character
8924 classes are not supported.
8926 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8930 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8933 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8934 Calculate results for small negative arguments directly rather
8935 than using reflection formula with special underflow handling.
8937 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8938 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8939 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8940 (fchflags): Likewise.
8942 (setlogin): Likewise.
8943 (sigaltstack): Likewise.
8946 (sigsetmask): Likewise.
8948 (waitpid): Likewise.
8949 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8950 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8952 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8953 * sysdeps/unix/bsd/Makefile: ... here.
8954 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8955 * sysdeps/unix/bsd/Versions: ... here.
8956 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8957 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8958 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8959 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8960 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8961 * sysdeps/unix/bsd/sigblock.c: ... here.
8962 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8963 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8964 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8965 * sysdeps/unix/bsd/sigvec.c: ... here.
8966 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8967 * sysdeps/unix/bsd/tcdrain.c: ... here.
8968 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8969 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8970 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8971 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8972 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8973 * sysdeps/unix/bsd/wait.c: ... here.
8974 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8975 * sysdeps/unix/bsd/wait3.c: ... here.
8976 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8977 * sysdeps/unix/bsd/waitpid.c: ... here.
8979 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8983 round-to-nearest for [!USE_AS_EXPM1L].
8984 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8985 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8986 more tests of exp and exp10. Expect some exp10 tests to miss
8987 exceptions or fail in directed rounding modes.
8988 * math/auto-libm-test-out: Regenerated.
8989 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8990 (exp10_test_tonearest): New function.
8991 (exp10_towardzero_test_data): New array.
8992 (exp10_test_towardzero): New function.
8993 (exp10_downward_test_data): New array.
8994 (exp10_test_downward): New function.
8995 (exp10_upward_test_data): New array.
8996 (exp10_test_upward): New function.
8997 (main): Call the new functions.
8998 * sysdeps/i386/fpu/libm-test-ulps: Update.
8999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9001 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9003 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9004 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9005 * math/auto-libm-test-out: Regenerated.
9006 * math/libm-test.inc (acosh_test_data): Add more tests.
9007 (atanh_test_data): Likewise.
9008 (ceil_test_data): Likewise.
9009 (copysign_test_data): Likewise.
9010 * sysdeps/i386/fpu/libm-test-ulps: Update.
9011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9013 * timezone/checktab.awk: Update from tzcode 2013i.
9014 * timezone/private.h: Likewise.
9015 * timezone/scheck.c: Likewise.
9016 * timezone/tzfile.h: Likewise.
9017 * timezone/tzselect.ksh: Likewise.
9018 * timezone/zdump.c: Likewise.
9019 * timezone/zic.c: Likewise.
9021 * math/auto-libm-test-in: Add tests of cpow.
9022 * math/auto-libm-test-out: Regenerated.
9023 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9024 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9026 (func_calc_desc): Add mpc_cc_c union field.
9027 (test_functions): Add cpow.
9028 (special_fill_2pi): New function.
9029 (special_real_inputs): Add 2pi.
9030 (calc_generic_results): Handle mpc_cc_c.
9031 * sysdeps/i386/fpu/libm-test-ulps: Update.
9032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9034 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9035 csqrt, ctan and ctanh.
9036 * math/auto-libm-test-out: Regenerated.
9037 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9038 (TEST_COND_x86): Likewise.
9039 (ccos_test_data): Use AUTO_TESTS_c_c.
9040 (ccosh_test_data): Likewise.
9041 (cexp_test_data): Likewise.
9042 (clog_test_data): Likewise.
9043 (csqrt_test_data): Likewise.
9044 (ctan_test_data): Likewise.
9045 (ctan_tonearest_test_data): Likewise.
9046 (ctan_towardzero_test_data): Likewise.
9047 (ctan_downward_test_data): Likewise.
9048 (ctan_upward_test_data): Likewise.
9049 (ctanh_test_data): Likewise.
9050 (ctanh_tonearest_test_data): Likewise.
9051 (ctanh_towardzero_test_data): Likewise.
9052 (ctanh_downward_test_data): Likewise.
9053 (ctanh_upward_test_data): Likewise.
9054 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9056 (func_calc_desc): Add mpc_c_c union field.
9057 (FUNC_mpc_c_c): New macro.
9058 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9059 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9061 (special_fill_min_subnorm_p120): New function.
9062 (special_real_inputs): Add min_subnorm_p120.
9063 (calc_generic_results): Handle mpc_c_c.
9064 * sysdeps/i386/fpu/libm-test-ulps: Update.
9065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9067 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9069 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9070 (do_sin_slow): New functions.
9071 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9072 (cslow2, csloww1, csloww2): Use the new functions.
9074 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9075 Use M to change sign of result instead of X. Assume X is
9077 (csloww1): Likewise.
9081 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9088 (sloww1): Don't adjust sign of DX.
9089 (csloww1): Likewise.
9090 (sloww2): Use X directly and don't adjust sign of DX.
9091 (csloww2): Likewise.
9093 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9095 * math/auto-libm-test-in: Add tests of cabs and carg.
9096 * math/auto-libm-test-out: Regenerated.
9097 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9098 (carg_test_data): Likewise.
9099 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9101 (func_calc_desc): Add mpc_c_f union field.
9102 (test_functions): Add cabs and carg.
9103 (calc_generic_results): Handle mpc_c_f.
9105 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9106 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9107 as a macro and a compat symbol.
9108 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9109 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9110 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9111 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9112 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9113 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9115 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9117 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9119 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9121 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9123 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9125 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9126 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9129 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9133 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9135 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9136 trailing whitespace removed.
9137 * scripts/config.guess: Update to version 2013-11-29.
9138 * scripts/config.sub: Update to version 2013-10-01.
9140 * math/auto-libm-test-in: Add tests of sincos.
9141 * math/auto-libm-test-out: Regenerated.
9142 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9143 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9145 (func_calc_desc): Add mpfr_f_11 union field.
9146 (test_functions): Add sincos.
9147 (calc_generic_results): Handle mpfr_f_11.
9148 * sysdeps/i386/fpu/libm-test-ulps: Update.
9149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9151 2013-12-19 Andreas Schwab <schwab@suse.de>
9153 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9155 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9156 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9157 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9159 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9161 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9162 * sysdeps/i386/fpu/libm-test-ulps: Update.
9163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9166 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9167 round-to-nearest mode when using frndint.
9168 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9169 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9170 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9172 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9174 * math/auto-libm-test-out: Regenerated.
9175 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9176 (TEST_COND_x86): Likewise.
9177 (expm1_tonearest_test_data): New array.
9178 (expm1_test_tonearest): New function.
9179 (expm1_towardzero_test_data): New array.
9180 (expm1_test_towardzero): New function.
9181 (expm1_downward_test_data): New array.
9182 (expm1_test_downward): New function.
9183 (expm1_upward_test_data): New array.
9184 (expm1_test_upward): New function.
9185 (main): Run the new test functions.
9186 * sysdeps/i386/fpu/libm-test-ulps: Update.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9189 * include/features.h: Update comment documenting feature test
9190 macros. Mention _DEFAULT_SOURCE in comment.
9191 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9192 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9193 _BSD_SOURCE and _SVID_SOURCE.
9194 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9195 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9196 !_SVID_SOURCE]: Likewise.
9197 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9198 (__USE_POSIX_IMPLICITLY): Define.
9199 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9200 (_POSIX_SOURCE): Undefine and redefine.
9201 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9202 (_POSIX_C_SOURCE): Likewise.
9203 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9204 (Feature Test Macros): Update documentation of default features.
9206 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9208 * benchtests/Makefile: Add bench-strtok.
9209 * benchtests/bench-strtok.c: New file: strtok benchtest.
9211 2013-12-19 Allan McRae <allan@archlinux.org>
9213 * manual/install.texi: Suppress menu for plain text output.
9214 * INSTALL: Regenerated.
9216 2013-12-18 Brooks Moses <bmoses@google.com>
9219 * misc/getauxval.c: Include errno.h.
9220 (__getauxval): Set errno to ENOENT if the requested type is not
9222 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9223 don't declare with __attribute_const__.
9224 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9225 * manual/startup.texi: Document that getauxval sets errno.
9227 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9229 * math/auto-libm-test-in: Add tests of jn and yn.
9230 * math/auto-libm-test-out: Regenerated.
9231 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9232 (yn_test_data): Likewise.
9233 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9235 (func_calc_desc): Add mpfr_if_f union field.
9236 (FUNC_mpfr_if_f): New macro.
9237 (test_functions): Add jn and yn.
9238 (calc_generic_results): Assert type of second input for
9239 mpfr_ff_f. Handle mpfr_if_f.
9240 (output_for_one_input_case): Disable all checking for arguments
9241 fitting floating-point types in case of an integer argument.
9242 * sysdeps/i386/fpu/libm-test-ulps: Update.
9243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9246 Don't expect fegetround reference in libm.so.
9248 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9250 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9251 $(config-cflags-nofma).
9253 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9255 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9256 * math/auto-libm-test-out: Regenerated.
9259 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9260 to determine exponent and adjust argument to have exponent of -1.
9261 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9263 * math/auto-libm-test-out: Regenerated.
9264 * sysdeps/i386/fpu/libm-test-ulps: Update.
9265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9267 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9269 * manual/probes.texi: Remove cases when per-thread arenas are
9272 2013-12-18 Andreas Schwab <schwab@suse.de>
9274 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9275 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9276 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9277 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9278 * sysdeps/i386/i686/multiarch/Makefile: Update.
9279 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9281 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9284 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9286 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9289 Support TZ transition times < 00:00:00.
9290 This is needed for version-3 tz-format files; it supports time
9291 stamps past 2037 for America/Godthab (the only entry in the tz
9292 database for which this change is relevant).
9293 * manual/time.texi (TZ Variable): Document transition times
9294 from -167:59:59 through -00:00:01.
9295 * time/tzset.c (tz_rule): Time of day is now signed.
9296 (__tzset_parse_tz): Parse negative time of day.
9298 Document TZ transition times >= 25:00:00.
9299 * manual/time.texi (TZ Variable): Document transition times from
9300 25:00:00 through 167:59:59. These are already supported, and this
9301 support will help with version-3 tz-format files.
9303 * manual/time.texi (TZ Variable): Modernize North America example
9304 to reflect current (i.e., 2007-and-later) daylight saving rules.
9306 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9308 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9310 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9311 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9312 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9314 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9315 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9316 * sysdeps/unix/bsd/clock.c: Likewise.
9317 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9318 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9319 * sysdeps/unix/bsd/init-posix.c: Likewise.
9320 * sysdeps/unix/bsd/poll.c: Likewise.
9321 * sysdeps/unix/bsd/ptsname.c: Likewise.
9322 * sysdeps/unix/bsd/seekdir.c: Likewise.
9323 * sysdeps/unix/bsd/setegid.c: Likewise.
9324 * sysdeps/unix/bsd/seteuid.c: Likewise.
9325 * sysdeps/unix/bsd/setgid.c: Likewise.
9326 * sysdeps/unix/bsd/setrgid.c: Likewise.
9327 * sysdeps/unix/bsd/setruid.c: Likewise.
9328 * sysdeps/unix/bsd/setsid.c: Likewise.
9329 * sysdeps/unix/bsd/setuid.c: Likewise.
9330 * sysdeps/unix/bsd/sigaction.c: Likewise.
9331 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9332 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9333 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9334 * sysdeps/unix/bsd/telldir.c: Likewise.
9335 * sysdeps/unix/bsd/times.c: Likewise.
9336 * sysdeps/unix/bsd/usleep.c: Likewise.
9338 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9339 ($(objpfx)libbsd-compat.a): Remove rule.
9341 * include/features.h (__FAVOR_BSD): Do not define.
9342 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9343 features conflicting with POSIX.
9344 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9345 (_BSD_SOURCE): Remove description of not being a subset of other
9346 feature test macros.
9347 * manual/job.texi (getpgrp): Do not document BSD version.
9348 (getpgid): Do not document by reference to BSD getpgrp.
9349 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9350 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9351 * signal/signal.h [__FAVOR_BSD]: Likewise.
9352 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9353 instead of making contents conditional on [__FAVOR_BSD].
9354 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9356 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9360 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9363 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9364 values below 2**-450, not 2**-500.
9365 * math/auto-libm-test-in: Don't allow spurious underflow from
9367 * math/auto-libm-test-out: Regenerated.
9371 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9372 values of ha and hb and sort them after adjusting subnormal
9374 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9376 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9377 values of ea and eb and sort them after adjusting subnormal
9379 * math/auto-libm-test-in: Do not expect some hypot tests of
9380 subnormals to fail. Add more hypot tests.
9381 * math/auto-libm-test-out: Regenerated.
9383 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9386 * sysdeps/sh/s_fma.c: New file.
9387 * sysdeps/sh/s_fmaf.c: New file.
9388 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9390 * sysdeps/sh/Implies: Add sh/soft-fp.
9392 2013-12-16 Roland McGrath <roland@hack.frob.com>
9394 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9395 level of indirection to members `objname', `errstring', `malloced'.
9396 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9397 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9398 it as the __longjmp argument (just pass 1 instead).
9399 (_dl_catch_error): Initialize C with argument pointers and address of
9400 volatile local ERRCODE rather than copying values out of C at return.
9402 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9404 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9405 * math/auto-libm-test-out: Regenerated.
9406 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9407 (hypot_test_data): Likewise.
9408 (pow_test_data): Likewise.
9409 (pow_tonearest_test_data): Likewise.
9410 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9412 (func_calc_desc): Add mpfr_ff_f union field.
9413 (FUNC_mpfr_ff_f): New macro.
9414 (test_functions): Add atan2, hypot and pow.
9415 (special_fill_min): New function.
9416 (special_fill_minus_min): Likewise.
9417 (special_fill_min_subnorm): Likewise.
9418 (special_fill_minus_min_subnorm): Likewise.
9419 (special_real_inputs): Add min, -min, min_subnorm and
9421 (calc_generic_results): Handle mpfr_ff_f.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425 2013-12-16 Will Newton <will.newton@linaro.org>
9427 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9428 (Aligned Memory Blocks): Add documentation for aligned_alloc
9429 and suggest it as an alternative to posix_memalign.
9430 (Hooks for Malloc): Document __memalign_hook is also called
9431 for aligned_alloc. (Summary of Malloc): Add summary for
9432 aligned alloc. Document __memalign_hook is also called
9435 2013-12-16 Will Newton <will.newton@linaro.org>
9437 * manual/memory.texi (Malloc Examples): Clarify default
9438 alignment documentation. Suggest posix_memalign rather
9439 than memalign or valloc.
9440 (Aligned Memory Blocks): Remove suggestion to use memalign
9441 or valloc. Remove obsolete comment about BSD.
9442 Document memalign errno values and mark the function obsolete.
9443 Document posix_memalign returned error codes. Mark valloc
9444 as obsolete. (Hooks for Malloc): __memalign_hook is also
9445 called for posix_memalign and valloc.
9446 (Summary of Malloc): Add posix_memalign to function summary.
9447 __memalign_hook is also called for posix_memalign and valloc.
9449 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9451 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9455 (sloww): Use mynumber union. Expand ternary operator into
9457 (cslow): use mynumber union.
9459 2013-12-16 Allan McRae <allan@archlinux.org>
9461 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9462 * configure: Regenerated.
9464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9467 * configure.ac: Added --enable-maintainer-mode. Check for
9468 autoconf when enabled.
9469 * configure: Regenerated.
9471 * nscd/nscd.service: New file.
9472 * nscd/nscd.tmpfiles: New file.
9474 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9477 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9478 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9479 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9480 (strstr): Add __strstr_sse2_unaligned ifunc.
9481 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9482 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9483 (strcasestr): Remove __strcasestr_sse42 ifunc.
9484 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9488 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9490 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9491 * sysdeps/sh/bits/fenv.h: ... here.
9492 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9494 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9496 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9499 hypotf multiarch implementations.
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9503 multiarch hypot for PPC64.
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9505 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9506 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9507 multiarch hypotf for PPC64.
9509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9510 modff multiarch implementations.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9514 multiarch modf for PPC64.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9518 multiarch modff for PPC64.
9520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9521 and logl multiarch implementations.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9525 multiarch logb for PPC64.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9529 multiarch logb for PPC64.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9533 multiarch logb for PPC64.
9535 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9536 isinff multiarch implementation.
9537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9541 multiarch isinf for PPC64.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9545 multiarch isinff for PPC64.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9548 finitef multiarch implementation.
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9553 multiarch finite for PPC64.
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9557 multiarch finitef for PPC64.
9559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9560 lrint multiarch implementation.
9561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9565 multiarch llrint for PPC64.
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9567 multiarch lrint for PPC64.
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9570 copysignf multiarch implementation.
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9576 multiarch copysign for PPC64.
9577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9578 multiarch copysignf for PPC64.
9580 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9581 multiarch implementation.
9582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9590 multiarch llround for PPC64.
9591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9592 multiarch trunc for PPC64.
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9594 multiarch truncf for PPC64.
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9597 multiarch implementation.
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9606 multiarch llround for PPC64.
9607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9608 multiarch round for PPC64.
9609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9610 multiarch roundf for PPC64.
9612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9613 multiarch implementation.
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9622 multiarch llround for PPC64.
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9624 multiarch floor for PPC64.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9626 multiarch floorf for PPC64.
9628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9629 multiarch implementation.
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9638 multiarch llround for PPC64.
9639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9640 multiarch ceil for PPC64.
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9642 multiarch ceilf for PPC64.
9644 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9645 multiarch implementation.
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9653 multiarch llround for PPC64.
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9655 multiarch lround for PPC64.
9657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9658 multiarch implementation.
9659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9666 multiarch isnan for PPC64.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9668 multiarch isnanf for PPC64.
9670 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9671 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9672 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9673 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9674 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9677 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9678 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9680 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9683 multiarch implementations.
9684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9685 (__libc_ifunc_impl_list): Likewise.
9686 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9688 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9689 multiarch stpcpy for PPC64.
9691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9692 multiarch implementations.
9693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9694 (__libc_ifunc_impl_list): Likewise.
9695 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9696 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9697 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9698 multiarch strcpy for PPC64.
9700 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9701 redefine function name.
9702 (_wordcopy_fwd_dest_aligned): Likewise.
9703 (_wordcopy_bwd_aligned): Likewise.
9704 (_wordcopy_bwd_dest_aligned): Likewise.
9705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9706 multiarch implementations.
9707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9708 (__libc_ifunc_impl_list): Likewise.
9709 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9710 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9711 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9712 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9713 multiarch wcscpy for PPC64.
9715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9716 multiarch implementations.
9717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9718 (__libc_ifunc_impl_list): Likewise.
9719 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9721 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9722 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9723 multiarch wcscpy for PPC64.
9725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9726 multiarch implementations.
9727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9728 (__libc_ifunc_impl_list): Likewise.
9729 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9730 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9731 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9732 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9733 multiarch wcsrchr for PPC64.
9735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9736 multiarch implementations.
9737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9738 (__libc_ifunc_impl_list): Likewise.
9739 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9740 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9741 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9742 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9743 multiarch wcschr for PPC64.
9745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9746 multiarch implementations.
9747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9748 (__libc_ifunc_impl_list): Likewise.
9749 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9750 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9751 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9752 multiarch strchrnul for PPC64.
9754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9757 (__libc_ifunc_impl_list): Likewise.
9758 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9759 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9760 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9761 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9767 (__libc_ifunc_impl_list): Likewise.
9768 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9769 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9770 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9771 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9775 multiarch implementations.
9776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9777 (__libc_ifunc_impl_list): Likewise.
9778 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9779 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9780 strncasecmp for PPC64.
9781 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9782 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9783 multiarch strncasecmp_l for PPC64.
9785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9786 multiarch implementations.
9787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9788 (__libc_ifunc_impl_list): Likewise.
9789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9790 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9791 multiarch strcasecmp for PPC64.
9792 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9794 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9795 multiarch strcasecmp_l for PPC64.
9797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9800 (__libc_ifunc_impl_list): Likewise.
9801 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9802 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9803 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9806 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9809 (__libc_ifunc_impl_list): Likewise.
9810 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9811 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9812 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9818 (__libc_ifunc_impl_list): Likewise.
9819 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9820 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9821 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9822 rawmemrchr for PPC64.
9824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9827 (__libc_ifunc_impl_list): Likewise.
9828 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9829 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9830 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9836 (__libc_ifunc_impl_list): Likewise.
9837 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9838 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9839 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9845 (__libc_ifunc_impl_list): Likewise.
9846 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9847 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9848 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9851 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9852 avoid cretion of __bzero symbol.
9853 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9855 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9857 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9860 multiarch implementations.
9861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9862 (__libc_ifunc_impl_list): Likewise.
9863 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9864 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9865 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9866 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9868 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9869 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9870 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9871 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9872 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9874 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9876 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9880 (__libc_ifunc_impl_list): Likewise.
9881 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9882 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9883 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9884 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9888 multiarch for POWER/PPC64.
9889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9890 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9892 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9893 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9894 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9895 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9896 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9897 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9900 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9901 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9902 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9903 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9904 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9905 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9906 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9907 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9908 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9909 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9910 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9911 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9912 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9913 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9914 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9923 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9925 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9927 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9929 * benchtests/Makefile (bench): Add exp2 and log2.
9930 (LDLIBS-bench-exp2): Add -lm.
9931 (LDLIBS-bench-log2): Likewise.
9932 * benchtests/exp2-inputs: New inputs file.
9933 * benchtests/log2-inputs: New inputs file.
9934 * benchtests/log-inputs: Add new inputs.
9935 * benchtests/tan-inputs: Likewise.
9937 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9939 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9941 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9942 (csloww2): ... from here.
9944 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9945 instead of structures.
9946 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9947 (POLYNOMIAL): Likewise.
9948 (TAYLOR_SLOW): Likewise.
9956 (bsloww1): Likewise.
9957 (bsloww2): Likewise.
9960 (csloww1): Likewise.
9961 (csloww2): Likewise.
9963 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9965 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9966 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9967 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9968 * malloc/hooks.c (realloc_check): Likewise.
9970 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9971 * malloc/arena.c: Remove PER_THREAD conditional.
9972 [!PER_THREAD]: Remove code.
9973 (ptmalloc_unlock_all2): Likewise.
9974 (ptmalloc_init): Likewise.
9975 (_int_new_arena): Likewise.
9976 (arena_get2): Likewise.
9977 * malloc/hooks.c (__malloc_get_state): Likewise.
9978 (__malloc_set_state): Likewise.
9979 * malloc/malloc.c: Likewise.
9980 (struct malloc_state): Likewise.
9981 (struct malloc_par): Likewise.
9982 (__libc_realloc): Likewise.
9983 (__libc_mallopt): Likewise.
9985 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9987 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9989 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9991 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9992 macro to a function. Check for zero perturb_byte.
9993 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9995 * malloc/malloc.c: (force_reg): Remove.
9996 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9997 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9998 force_reg by atomic_forced_read.
9999 * malloc/arena.c (ptmalloc_init): Likewise.
10000 * malloc/hooks.c (top_check): Likewise.
10002 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10006 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10010 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10012 * math/auto-libm-test-in: Add tests of lgamma.
10013 * math/auto-libm-test-out: Regenerated.
10014 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10015 (M_LOG_2_SQRT_PIl): Likewise.
10016 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10019 (func_calc_desc): Add mpfr_f_f1 union field.
10020 (ARGS1): New macro.
10028 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10029 (test_functions): Add lgamma.
10030 (calc_generic_results): Handle mpfr_f_f1.
10031 * sysdeps/i386/fpu/libm-test-ulps: Update.
10032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10034 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10036 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10037 __mpn_add_n for PowerPC64/POWER7.
10038 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10039 __mpn_sub_n for PowerPC64/POWER7.
10041 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10042 __mpn_addmul_1 for PowerPC64.
10043 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10044 __mpn_submul_1 for PowerPC64.
10045 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10047 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10050 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10053 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10055 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10057 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10059 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10060 add multiarch folders.
10061 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10062 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10063 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10064 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10065 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10066 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10067 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10068 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10069 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10070 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10071 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10080 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10086 multiarch __ieee754_hypot for PowerPC32.
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10092 multiarch __ieee754_hypotf for PowerPC32.
10094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10095 long_double_symbol only if __logbl is defined.
10096 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10097 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10099 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10101 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10102 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10103 path for implementation.
10104 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10105 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10107 logb, and logbl multiarch implementations for PowerPC32.
10108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10113 multiarch logb for PowerPC32.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10119 multiarch logbf for PowerPC32.
10120 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10124 multiarch logbl implementation for PowerPC32.
10126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10127 and modff multiarch implementations.
10128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10133 multiarch modf for PowerPC32.
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10139 multiarch modff for PowerPC32.
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10142 and lrintf multiarch implementations.
10143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10148 multiarch lrint for PowerPC32.
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10150 file: multiarch lrintf for PowerPC32.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10153 and lroundf multiarch implementations.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10161 multiarch lround for PowerPC32.
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10163 file: multiarch lroundf for PowerPC32.
10165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10166 copysign and copysignf multiarch implementations.
10167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10172 file: multiarch copysign for PowerPC32.
10173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10174 file: multiarch copysignf for PowerPC32.
10176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10177 and truncf multiarch implementations.
10178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10183 multiarch trunc for PowerPC32.
10184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10189 multiarch truncf for PowerPC32.
10191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10192 and roundf multiarch implementations.
10193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10198 multiarch round for PowerPC32.
10199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10204 multiarch roundf for PowerPC32.
10206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10207 and floorf multiarch implementations.
10208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10213 multiarch floor for PowerPC32.
10214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10219 multiarch floorf for PowerPC32.
10221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10222 and ceilf multiarch implementations.
10223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10228 multiarch ceil for PowerPC32.
10229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10234 multiarch ceilf for PowerPC32.
10236 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10238 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10239 FINITEF is defined.
10240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10241 and finitef multiarch implementations.
10242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10247 multiarch finite for PowerPC32.
10248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10251 file: multiarch finitef for PowerPC32.
10253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10254 and isinff multiarch implementations.
10255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10260 multiarch isinf for PowerPC32.
10261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10264 multiarch isinff for PowerPC32.
10266 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10267 alias when __isnan is defined.
10268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10269 and isnanf multiarch implementations.
10270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10279 multiarch isnan for PowerPC32.
10280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10285 multiarch isnanf for PowerPC32.
10287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10288 and sqrtf multiarch implementations.
10289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10294 multiarch sqrt for PowerPC32.
10295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10300 multiarch sqrtf for PowerPC32.
10302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10303 and llroundf multiarch implementations.
10304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10311 file: multiarch llround for PowerPC32.
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10313 file: multiarch llroundf for PowerPC32.
10315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10316 multiarch PowerPC32 fpu implementations.
10317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10322 multiarch llrint for PowerPC32.
10323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10332 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10334 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10339 multiarch wordcopy for PPC32.
10340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10343 (__libc_ifunc_impl_list): Likewise.
10344 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10345 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10347 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10348 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10349 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10351 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10354 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10356 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10359 multiarch wcscpy for PPC32.
10360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10363 (__libc_ifunc_impl_list): Likewise.
10364 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10365 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10366 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10367 sysdeps/powerpc/power6/wcscpy.c.
10369 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10370 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10377 multiarch wcsrchr for PPC32.
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10381 (__libc_ifunc_impl_list): Likewise.
10382 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10383 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10384 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10385 sysdeps/powerpc/power6/wcsrchr.c.
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10391 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10392 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10393 multiarch wcschr for PPc32.
10394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10397 (__libc_ifunc_impl_list): Likewise.
10398 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10399 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10400 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10401 sysdeps/powerpc/power6/wcschr.c.
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10404 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10406 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10407 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10408 file: multiarch strchr for PPC32.
10409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10412 (__libc_ifunc_impl_list): Likewise.
10414 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10416 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10418 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10420 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10421 multiarch strchrnul for PPC32.
10422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10425 (__libc_ifunc_impl_list): Likewise.
10427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10429 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10430 multiarch strncasecmp for PPC32.
10431 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10433 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10434 multiarch strncasecmp_l for PPC32.
10435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10436 strncasecmp multiarch objects.
10437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10438 (__libc_ifunc_impl_list): Likewise.
10440 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10442 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10443 multiarch strncasecmp for PPC32.
10444 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10446 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10447 multiarch strcasecmp_l for PPC32.
10448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10451 (__libc_ifunc_impl_list): Likewise.
10453 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10455 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10457 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10458 multiarch strncmp for PPC32.
10459 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10461 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10462 (__libc_ifunc_impl_list): Likewise.
10464 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10465 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10468 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10472 (__libc_ifunc_impl_list): Likewise.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10476 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10482 (__libc_ifunc_impl_list): Likewise.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10486 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10488 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10489 multiarch rawmemchr for PPC32.
10490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10493 (__libc_ifunc_impl_list): Likewise.
10495 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10497 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10499 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10500 file: memrchr multiarch for PPC32.
10501 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10503 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10504 (__libc_ifunc_impl_list): Likewise.
10506 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10510 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10511 multiarch memchr for PPC32.
10512 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10514 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10515 (__libc_ifunc_impl_list): Likewise.
10517 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10518 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10523 file: multiarch mempcpy for PPC32.
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10527 (__libc_ifunc_impl_list): Likewise.
10529 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10531 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10533 multiarch bzero for PPC32.
10534 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10539 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10540 file: multiarch memset for PPC32.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10543 memset multiarch objects.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10545 (__libc_ifunc_impl_list): Likewise.
10547 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10549 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10550 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10556 (__libc_ifunc_impl_list): Likewise.
10558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10564 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10566 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10567 multiarch memcpy for PPC32.
10568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10571 (__libc_ifunc_impl_list): Likewise.
10573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10574 support multiarch for POWER/PPC32.
10575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10577 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10579 Implies file to make multiarch folder appers before the fpu and
10580 default folder for power4 configuration.
10582 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10584 * scripts/bench.pl: Append volatile keyword to type.
10586 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10588 * sysdeps/sh/sotruss-lib.c: New file.
10589 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10591 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10595 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10598 * math/w_tgamma.c: Include <errno.h>.
10599 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10600 * math/w_tgammaf.c: Include <errno.h>.
10601 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10602 * math/w_tgammal.c: Include <errno.h>.
10603 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10604 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10605 underflow. Add more tgamma tests.
10606 * math/auto-libm-test-out: Regenerated.
10607 * sysdeps/i386/fpu/libm-test-ulps: Update.
10608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10610 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10611 sin, sinh, tan, tanh, tgamma, y0 and y1.
10612 * math/auto-libm-test-out: Regenerated.
10613 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10614 (TEST_COND_x86): Likewise.
10615 (M_E2l): Remove macro.
10617 (M_2_SQRT_PIl): Likewise.
10618 (M_SQRT_PIl): Likewise.
10619 (M_1_DIV_El): Likewise.
10620 (log_test_data): Use AUTO_TESTS_f_f.
10621 (log10_test_data): Likewise.
10622 (log1p_test_data): Likewise.
10623 (log2_test_data): Likewise.
10624 (sin_test_data): Likewise.
10625 (sin_tonearest_test_data): Likewise.
10626 (sin_towardzero_test_data): Likewise.
10627 (sin_downward_test_data): Likewise.
10628 (sin_upward_test_data): Likewise.
10629 (sinh_test_data): Likewise.
10630 (sinh_tonearest_test_data): Likewise.
10631 (sinh_towardzero_test_data): Likewise.
10632 (sinh_downward_test_data): Likewise.
10633 (sinh_upward_test_data): Likewise.
10634 (tan_test_data): Likewise.
10635 (tan_tonearest_test_data): Likewise.
10636 (tan_towardzero_test_data): Likewise.
10637 (tan_downward_test_data): Likewise.
10638 (tan_upward_test_data): Likewise.
10639 (tanh_test_data): Likewise.
10640 (tgamma_test_data): Likewise.
10641 (y0_test_data): Likewise.
10642 (y1_test_data): Likewise.
10643 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10644 (special_real_inputs): Add pi/4.
10645 * sysdeps/i386/fpu/libm-test-ulps: Update.
10646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10648 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10650 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10651 "longjmp_target" static probes.
10652 (__longjmp): Rename to __longjmp_symbol.
10653 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10654 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10655 on which longjmp to generate.
10656 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10657 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10659 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10660 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10661 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10662 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10663 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10664 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10666 __longjmp_symbol based on which __longjmp to generate.
10667 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10669 (setjmp): Rename to setjmp_symbol.
10670 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10671 (_setjmp): Rename to _setjmp_symbol.
10672 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10673 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10674 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10675 which setjmp to generate.
10676 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10677 "longjmp_target" static probes.
10679 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10681 * benchtests/README: Add note about output arguments.
10682 * benchtests/bench-sincos.c: Remove file.
10683 * benchtests/sincos-inputs: New file.
10684 * scripts/bench.pl: Identify output arguments and define
10685 static variables for them.
10687 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10690 * Makefile (INSTALL): Add install-plain.texi as the primary
10692 * manual/install-plain.texi: New file.
10693 * manual/install.texi: Include node directive only for
10694 non-plaintext output.
10696 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10698 * stdlib/longlong.h: Update from GCC.
10702 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10703 * math/w_j0f.c (y0f): Likewise.
10704 * math/w_j0l.c (__y0l): Likewise.
10705 * math/w_j1.c (y1): Likewise.
10706 * math/w_j1f.c (y1f): Likewise.
10707 * math/w_j1l.c (__y1l): Likewise
10708 * math/w_jn.c (yn): Likewise.
10709 * math/w_jnf.c (ynf): Likewise.
10710 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10711 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10712 value for Bessel function domain errors outside _SVID_ mode.
10713 Adjust sign of return value for yn (negative integer, 0).
10714 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10715 by zero in return for negative x and set sign appropriately for
10717 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10718 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10719 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10720 expectations in error cases.
10721 (y1_test_data): Likewise.
10722 (yn_test_data): Likewise.
10723 * sysdeps/i386/fpu/libm-test-ulps: Update.
10724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10726 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10728 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10729 "64" to "64-v1". Add "64-v2".
10730 (abi-64-options): Rename to ...
10731 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10732 (abi-64-condition): Rename to ...
10733 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10734 (abi-64-ld-soname): Rename to ...
10735 (abi-64-v1-ld-soname): ... this.
10736 (abi-64-v2-options): Define.
10737 (abi-64-v2-condition): Likewise.
10738 (abi-64-v2-ld-soname): Likewise.
10739 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10740 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10745 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10746 Alan Modra <amodra@gmail.com>
10748 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10749 New versions for use with the ELFv2 ABI.
10750 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10751 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10753 (struct La_ppc64v2_retval): Likewise.
10754 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10755 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10756 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10757 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10758 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10759 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10760 Do not save or restore CR.
10761 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10762 (_dl_profile_resolve): Do no save or restore CR. Support extended
10763 return values for ELFv2 ABI. Fix location of FPR return registers.
10764 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10765 updated values for _CALL_ELF == 2.
10766 (La_regs, La_retval, int_retval): Likewise.
10768 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10770 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10771 (FRAME_MIN_SIZE_PARM): Likewise.
10772 (FRAME_BACKCHAIN): Likewise.
10773 (FRAME_CR_SAVE): Likewise.
10774 (FRAME_LR_SAVE): Likewise.
10775 (FRAME_TOC_SAVE): Likewise.
10776 (FRAME_PARM_SAVE): Likewise.
10777 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10778 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10779 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10780 (call_mcount_parm_offset): New macro.
10781 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10782 (PROF): Use symbolic stack frame offsets.
10783 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10784 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10785 Redefine in terms of FRAME_MIN_SIZE.
10786 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10787 (_dl_profile_resolve): Likewise. Update comment.
10788 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10789 symbols stack frame offsets.
10790 (__sigsetjmp): Likewise.
10791 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10792 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10793 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10794 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10797 (FRAME_BACKCHAIN): Remove.
10798 (FRAME_CR_SAVE): Likewise.
10799 (FRAME_LR_SAVE): Likewise.
10800 (FRAME_COMPILER_DW): Likewise.
10801 (FRAME_LINKER_DW): Likewise.
10802 (FRAME_TOC_SAVE): Likewise.
10803 (FRAME_PARM_SAVE): Likewise.
10804 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10805 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10806 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10808 (CHECK_SP): Use symbolic stack frame offsets.
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10810 zone" instead of caller's parameter save area for temp storage.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10812 Likewise. Also, use symbolic stack frame offsets.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10814 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10815 our own stack frame instead of the caller's.
10816 (__socket): Use symbolic stack frame offsets.
10818 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10819 Alan Modra <amodra@gmail.com>
10821 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10823 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10824 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10825 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10827 (elf_machine_fixup_plt): Call it.
10828 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10830 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10831 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10832 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10833 r2 before calling target.
10835 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10836 Alan Modra <amodra@gmail.com>
10838 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10839 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10840 versions of macros to support ELFv2 ABI.
10841 (LOCALENTRY): New macro.
10842 (ENTRY, EALIGN): Use it.
10843 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10844 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10845 fall through into ENTRY entry point.
10846 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10847 Only define if _CALL_ELF != 2.
10849 (elf_machine_matches_host): Verify ABI version matches.
10850 (RTLD_START): Use LOCALENTRY.
10851 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10852 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10853 (PLT_ENTRY_WORDS): New macro.
10854 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10855 (elf_machine_runtime_setup): Support ELFv2 ABI.
10856 (elf_machine_fixup_plt): Likewise.
10857 (elf_machine_plt_conflict): Likewise.
10858 (resolve_ifunc): Likewise.
10859 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10863 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10865 (makecontext): Support ELFv2 ABI.
10866 * elf/elf.h (EF_PPC64_ABI): Define.
10868 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10870 * sysdeps/powerpc/powerpc64/sysdep.h
10871 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10872 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10873 (ENTRY) [ASSEMBLER]: ... but instead here ...
10874 (EALIGN) [ASSEMBLER]: ... and here.
10875 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10876 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10877 (ENTRY_2) [!ASSEMBLER]: Use it.
10878 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10879 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10881 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10882 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10884 Use PPC64_LOAD_FUNCPTR.
10886 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10888 2013-12-04 Alan Modra <amodra@gmail.com>
10890 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10891 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10892 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10893 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10895 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10896 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10897 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10898 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10899 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10900 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10902 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10905 (__makecontext): Fix incorrect CFI when backtracing out of
10906 context created via makecontext.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10908 (__setcontext): Fix incorrect CFI during switch to new context.
10909 (__novec_setcontext): Likewise.
10911 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10914 * time/strptime_l.c (__strptime_internal): Allow modifiers
10916 * time/tst-strptime.c (day_tests): Add testcase.
10918 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10920 * scripts/bench.pl: Skip over blank lines.
10922 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10925 * manual/time.texi (Calendar Time): Clarify what timezone functions
10928 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10932 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10934 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10936 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10937 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10938 * debug/memset_chk.c (__memset_chk): Likewise.
10939 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10940 * debug/strncpy_chk.c: Likewise.
10942 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10946 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10947 (__ieee754_exp): For possibly underflowing results, check size of
10948 result and force underflow exception if required.
10949 * math/auto-libm-test-in: Add more tests of exp.
10950 * math/auto-libm-test-out: Regenerated.
10951 * sysdeps/i386/fpu/libm-test-ulps: Update.
10952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10955 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10956 * math/w_exp2f.c (__exp2f): Likewise.
10957 * math/w_exp2l.c (__exp2l): Likewise.
10958 * math/auto-libm-test-in: Do not allow missing errno on exp2
10960 * math/auto-libm-test-out: Regenerated.
10962 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10965 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10966 handle filename validation.
10967 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10970 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10973 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10974 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10975 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10977 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10979 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10980 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10981 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10982 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10983 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10984 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10985 Add more erfc tests.
10986 * math/auto-libm-test-out: Regenerated.
10987 * sysdeps/i386/fpu/libm-test-ulps: Update.
10988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10991 exp2, expm1, j0 and j1.
10992 * math/auto-libm-test-out: Regenerated.
10993 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10994 (erfc_test_data): Likewise.
10995 (exp_test_data): Likewise.
10996 (exp_tonearest_test_data): Likewise.
10997 (exp_towardzero_test_data): Likewise.
10998 (exp_downward_test_data): Likewise.
10999 (exp_upward_test_data): Likewise.
11000 (exp10_test_data): Likewise.
11001 (exp2_test_data): Likewise.
11002 (expm1_test_data): Likewise.
11003 (j0_test_data): Likewise.
11004 (j1_test_data): Likewise.
11005 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11006 (input_flag_type): Add flag_xfail_rounding.
11007 (input_flags): Add xfail-rounding.
11008 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11009 (output_for_one_input_case): Handle flag_xfail_rounding.
11010 * sysdeps/i386/fpu/libm-test-ulps: Update.
11011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11013 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11016 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11019 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11022 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11023 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11024 (STAP_PROBE0): New macro.
11025 (STAP_PROBE1): Likewise.
11026 (STAP_PROBE2): Likewise.
11027 (STAP_PROBE3): Likewise.
11028 (STAP_PROBE4): Likewise.
11030 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11032 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11034 2013-12-02 Steve Ellcey <sellcey@mips.com>
11036 * benchtests/Makefile (bench): Add sqrt.
11037 (LDLIBS-bench-sqrt): New.
11038 * benchtests/sqrt-input: New.
11040 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11042 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11043 (GAIH_EAI): Likewise.
11044 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11045 (gaih_inet): Likewise.
11046 (getaddrinfo): Don't use GAIH_EAI.
11048 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11049 (struct gaih): Remove definition.
11051 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11053 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11054 Use HERRNOP directly.
11056 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11060 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11062 * math/gen-auto-libm-tests.c (test_functions): Add more
11063 single-argument functions.
11064 (special_fill_pi_2): New function.
11065 (special_fill_minus_pi_2): Likewise.
11066 (special_fill_pi_6): Likewise.
11067 (special_fill_minus_pi_6): Likewise.
11068 (special_fill_pi_3): Likewise.
11069 (special_fill_2pi_3): Likewise.
11070 (special_fill_e): Likewise.
11071 (special_fill_1_e): Likewise.
11072 (special_fill_e_minus_1): Likewise.
11073 (special_real_inputs): Add more special inputs.
11074 (output_for_one_input_case): Do not require ERANGE on underflow to
11075 zero if round-to-nearest result does not underflow to zero, unless
11076 exact results required.
11077 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11078 atan, atanh, cbrt, cos and cosh.
11079 * math/auto-libm-test-out: Regenerated.
11080 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11081 (acos_tonearest_test_data): Likewise.
11082 (acos_towardzero_test_data): Likewise.
11083 (acos_downward_test_data): Likewise.
11084 (acos_upward_test_data): Likewise.
11085 (acosh_test_data): Likewise.
11086 (asin_test_data): Likewise.
11087 (asin_tonearest_test_data): Likewise.
11088 (asin_towardzero_test_data): Likewise.
11089 (asin_upward_test_data): Likewise.
11090 (asinh_test_data): Likewise.
11091 (atan_test_data): Likewise.
11092 (atanh_test_data): Likewise.
11093 (cbrt_test_data): Likewise.
11094 (cos_test_data): Likewise.
11095 (cos_tonearest_test_data): Likewise.
11096 (cos_towardzero_test_data): Likewise.
11097 (cos_downward_test_data): Likewise.
11098 (cos_upward_test_data): Likewise.
11099 (cosh_test_data): Likewise.
11100 (cosh_tonearest_test_data): Likewise.
11101 (cosh_towardzero_test_data): Likewise.
11102 (cosh_downward_test_data): Likewise.
11103 (cosh_upward_test_data): Likewise.
11104 * sysdeps/i386/fpu/libm-test-ulps: Update.
11105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11107 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11110 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11111 * math/w_exp10f.c (__exp10f): Likewise.
11112 * math/w_exp10l.c (__exp10l): Likewise.
11113 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11114 errno settings in existing tests.
11117 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11118 precision control set to double precision.
11119 * sysdeps/i386/fpu/w_sqrt.c: New file.
11120 * math/auto-libm-test-in: Add more tests.
11121 * math/auto-libm-test-out: Update.
11123 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11124 (sqrt_test_tonearest): New function.
11125 (sqrt_towardzero_test_data): New variable.
11126 (sqrt_test_towardzero): New function.
11127 (sqrt_downward_test_data): New variable.
11128 (sqrt_test_downward): New function.
11129 (sqrt_upward_test_data): New variable.
11130 (sqrt_test_upward): New function.
11131 (main): Call the new functions.
11133 * math/gen-auto-libm-tests.c: New file.
11134 * math/auto-libm-test-in: Likewise.
11135 * math/auto-libm-test-out: New generated file.
11136 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11138 (%beautify): Add generated representations of zero.
11139 (top level): Set $auto_input and call parse_auto_input.
11140 (beautify): Remove trailing "f" from hex float constants.
11141 (parse_args): Handle XFAIL_TEST.
11142 (convert_condition): New function.
11143 (or_value): Likewise.
11144 (or_cond_value): Likewise.
11145 (generate_testfile): Handle AUTO_TESTS_* lines.
11146 (parse_auto_input): New function.
11147 * math/libm-test.inc (XFAIL_TEST): New macro.
11148 (ERRNO_UNCHANGED): Update value.
11149 (ERRNO_EDOM): Likewise.
11150 (ERRNO_ERANGE): Likewise.
11151 (IGNORE_RESULT): Likewise.
11152 (TEST_COND_flt_32): New macro.
11153 (TEST_COND_dbl_64): Likewise.
11154 (TEST_COND_ldbl_96_intel): Likewise.
11155 (TEST_COND_ldbl_96_m68k): Likewise.
11156 (TEST_COND_ldbl_128): Likewise.
11157 (TEST_COND_ldbl_128ibm): Likewise.
11158 (TEST_COND_long32): Likewise.
11159 (TEST_COND_long64): Likewise.
11160 (TEST_COND_before_rounding): Likewise.
11161 (TEST_COND_after_rounding): Likewise.
11162 (enable_test): Handle XFAIL_TEST flag.
11163 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11164 with finite results.
11165 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11166 auto-libm-test-out.
11168 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11169 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11172 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11173 __tls_get_addr_internal instead of __tls_get_offset in order to
11174 avoid GOT pointer dependency. Make rtld export
11175 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11176 __tls_get_addr since we are a __tls_get_offset platform.
11177 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11178 GOT pointer being set up before.
11179 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11181 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11183 * manual/math.texi (Errors in Math Functions): Document accuracy
11187 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11188 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11189 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11190 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11191 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11192 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11193 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11194 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11196 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11197 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11198 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11204 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11205 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11206 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11207 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11208 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11210 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11212 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11214 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11215 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11216 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11217 atomic-feupdateenv and flt-rounds.
11218 * sysdeps/powerpc/nofpu/Versions (libc): Add
11219 __atomic_feholdexcept, __atomic_feclearexcept,
11220 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11221 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11222 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11223 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11224 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11229 * manual/arith.texi (FP Exceptions): Document that exceptions may
11230 not be raised when matherr is used.
11231 (Math Error Reporting): Document overflow in directed rounding
11232 modes. Document that errno may not be set when finite values are
11233 returned on overflow. Document intent to set errno on underflow
11234 only for underflow to zero.
11237 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11238 round-to-nearest then adjust result for other rounding modes.
11239 * include/fenv.h (fegetround): Use libm_hidden_proto.
11240 * math/fegetround.c (fegetround): Use libm_hidden_def.
11241 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11242 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11243 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11244 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11246 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11248 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11249 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11251 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11254 * nss/Versions (libnss_files): Add
11255 _nss_files_gethostbyname3_r.
11256 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11258 (HOST_DB_LOOKUP): Remove macro.
11259 (_nss_files_gethostbyname_r): Implement function without the
11260 HOST_DB_LOOKUP macro.
11261 (_nss_files_gethostbyname2_r): Likewise.
11263 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11265 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11267 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11269 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11270 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11273 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11275 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11276 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11277 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11278 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11279 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11280 __fe_nomask_env_priv and attribute_hidden.
11281 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11282 (libc_feupdateenv_test_ppc): Likewise.
11283 (libc_feresetround_ppc): Likewise.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11285 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11286 compat_symbol macro.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11288 (__fe_nomask_env): Likewise.
11289 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11291 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11293 * string/Makefile: Remove ifunc tests.
11294 * string/test-string.h: Define TEST_IFUNC.
11295 * string/test-bcopy-ifunc.c: Remove.
11296 * string/test-bzero-ifunc.c: Likewise.
11297 * string/test-memccpy-ifunc.c: Likewise.
11298 * string/test-memchr-ifunc.c: Likewise.
11299 * string/test-memcmp-ifunc.c: Likewise.
11300 * string/test-memcpy-ifunc.c: Likewise.
11301 * string/test-memmem-ifunc.c: Likewise.
11302 * string/test-memmove-ifunc.c: Likewise.
11303 * string/test-mempcpy-ifunc.c: Likewise.
11304 * string/test-memrchr-ifunc.c: Likewise.
11305 * string/test-memset-ifunc.c: Likewise.
11306 * string/test-rawmemchr-ifunc.c: Likewise.
11307 * string/test-stpcpy-ifunc.c: Likewise.
11308 * string/test-stpncpy-ifunc.c: Likewise.
11309 * string/test-strcasecmp-ifunc.c: Likewise.
11310 * string/test-strcasestr-ifunc.c: Likewise.
11311 * string/test-strcat-ifunc.c: Likewise.
11312 * string/test-strchr-ifunc.c: Likewise.
11313 * string/test-strchrnul-ifunc.c: Likewise.
11314 * string/test-strcmp-ifunc.c: Likewise.
11315 * string/test-strcpy-ifunc.c: Likewise.
11316 * string/test-strcspn-ifunc.c: Likewise.
11317 * string/test-strlen-ifunc.c: Likewise.
11318 * string/test-strncasecmp-ifunc.c: Likewise.
11319 * string/test-strncat-ifunc.c: Likewise.
11320 * string/test-strncmp-ifunc.c: Likewise.
11321 * string/test-strncpy-ifunc.c: Likewise.
11322 * string/test-strnlen-ifunc.c: Likewise.
11323 * string/test-strpbrk-ifunc.c: Likewise.
11324 * string/test-strrchr-ifunc.c: Likewise.
11325 * string/test-strspn-ifunc.c: Likewise.
11326 * string/test-strstr-ifunc.c: Likewise.
11328 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11330 * benchtests/Makefile: Remove ifunc tests.
11331 * benchtests/bench-string.h: Define TEST_IFUNC.
11332 * benchtests/bench-bcopy-ifunc.c: Remove.
11333 * benchtests/bench-bzero-ifunc.c: Likewise.
11334 * benchtests/bench-memccpy-ifunc.c: Likewise.
11335 * benchtests/bench-memchr-ifunc.c: Likewise.
11336 * benchtests/bench-memcmp-ifunc.c: Likewise.
11337 * benchtests/bench-memcpy-ifunc.c: Likewise.
11338 * benchtests/bench-memmem-ifunc.c: Likewise.
11339 * benchtests/bench-memmove-ifunc.c: Likewise.
11340 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11341 * benchtests/bench-memrchr-ifunc.c: Likewise.
11342 * benchtests/bench-memset-ifunc.c: Likewise.
11343 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11344 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11345 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11346 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11347 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11348 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11349 * benchtests/bench-strcat-ifunc.c: Likewise.
11350 * benchtests/bench-strchr-ifunc.c: Likewise.
11351 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11352 * benchtests/bench-strcmp-ifunc.c: Likewise.
11353 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11354 * benchtests/bench-strcpy-ifunc.c: Likewise.
11355 * benchtests/bench-strcspn-ifunc.c: Likewise.
11356 * benchtests/bench-strlen-ifunc.c: Likewise.
11357 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11358 * benchtests/bench-strncat-ifunc.c: Likewise.
11359 * benchtests/bench-strncmp-ifunc.c: Likewise.
11360 * benchtests/bench-strncpy-ifunc.c: Likewise.
11361 * benchtests/bench-strnlen-ifunc.c: Likewise.
11362 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11363 * benchtests/bench-strrchr-ifunc.c: Likewise.
11364 * benchtests/bench-strsep-ifunc.c: Likewise.
11365 * benchtests/bench-strspn-ifunc.c: Likewise.
11366 * benchtests/bench-strstr-ifunc.c: Likewise.
11368 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11370 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11372 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11374 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11375 * rt/aio.h: Likewise.
11376 * sysdeps/gnu/bits/utmp.h: Likewise.
11377 * sysdeps/gnu/bits/utmpx.h: Likewise.
11378 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11379 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11380 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11381 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11382 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11383 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11384 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11385 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11386 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11387 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11388 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11389 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11390 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11393 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11394 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11395 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11396 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11397 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11398 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11399 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11400 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11401 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11402 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11404 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11407 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11408 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11409 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11411 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11412 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11413 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11414 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11415 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11416 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11417 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11418 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11419 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11421 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11424 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11425 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11427 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11429 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11430 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11433 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11435 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11436 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11437 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11438 (__fesetround): Remove define.
11439 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11440 rounding and exceptions handling.
11441 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11442 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11443 (__fe_nomask_env): Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11445 __fegetround instead of fegetround.
11446 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11447 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11449 2013-11-21 Roland McGrath <roland@hack.frob.com>
11451 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11454 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11456 2013-11-21 Meador Inge <meadori@codesourcery.com>
11459 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11460 (encrypt_r): Likewise.
11461 * malloc/obstack.h (obstack_free): Likewise.
11462 * posix/unistd.h (encrypt): Likewise.
11464 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11466 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11467 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11468 DL_CALL_DT_FINI() that call the functions directly.
11469 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11470 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11471 * elf/dl-fini.c: Likewise.
11473 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11475 * malloc/hooks.c (memalign_check): Add alignment rounding.
11476 * malloc/malloc.c (_mid_memalign): New function.
11477 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11478 Implement by calling _mid_memalign.
11479 * manual/probes.texi (Memory Allocation Probes): Remove
11480 memory_valloc_retry and memory_pvalloc_retry.
11482 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11484 * locale/programs/locarchive.c (open_archive): Add const
11485 qualifier to ARCHIVEFNAME and copy default fname to
11489 * libio/tst-widetext.input: Rename Oriya to Odia.
11490 * locale/iso-639.def: Likewise.
11492 * manual/probes.texi (Mathematical Function Probes): Add
11493 documentation for sin, cos, asin and acos probes.
11494 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11495 (__sin32): Add slowasin probe.
11496 (__cos32): Add slowacos probe.
11497 (__mpsin): Add slowsin probe.
11498 (__mpcos): Add slowcos probe.
11500 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11503 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11504 thread-local __sim_exceptions_thread and global
11505 __sim_exceptions_global.
11506 (__sim_disabled_exceptions): Change to thread-local
11507 __sim_disabled_exceptions_thread and global
11508 __sim_disabled_exceptions_global.
11509 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11510 and global __sim_round_mode_global.
11511 (__simulate_exceptions): Use thread-local floating-point state and
11512 set global state from it as needed.
11513 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11514 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11515 __sim_round_mode_thread.
11516 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11517 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11518 and global __sim_exceptions_global.
11519 (__sim_disabled_exceptions): Change to thread-local
11520 __sim_disabled_exceptions_thread and global
11521 __sim_disabled_exceptions_global.
11522 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11523 and global __sim_round_mode_global.
11524 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11525 (SIM_SET_GLOBAL): Likewise.
11526 * sysdeps/powerpc/soft-fp/sfp-machine.h
11527 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11528 __sim_round_mode_thread.
11529 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11530 __sim_disabled_exceptions_thread.
11531 (__sim_exceptions): Change to __sim_exceptions_thread.
11532 (__sim_disabled_exceptions): Change to
11533 __sim_disabled_exceptions_thread.
11534 (__sim_round_mode): Change to __sim_round_mode_thread.
11535 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11536 thread-local floating-point state and set global state from it as
11538 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11539 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11540 (__sim_disabled_exceptions): Remove extern declaration.
11541 (feenableexcept): Use thread-local floating-point state and set
11542 global state from it as needed.
11543 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11544 extern declaration.
11545 (__sim_disabled_exceptions): Likewise.
11546 (__sim_round_mode): Likewise.
11547 (__fegetenv): Use thread-local floating-point state.
11548 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11549 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11550 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11551 floating-point state and set global state from it as needed.
11552 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11553 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11554 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11556 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11557 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11559 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11560 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11561 Use __sim_round_mode_thread.
11562 * math/test-fenv-tls.c: New file.
11563 * math/Makefile (tests): Add test-fenv-tls.
11564 ($(objpfx)test-fenv-tls): Depend on
11565 $(common-objpfx)nptl/libpthread.so.
11567 2013-11-19 Andreas Schwab <schwab@suse.de>
11569 * locale/programs/locale.c (show_info): Decode wordarray elements.
11570 * locale/categories.def (LC_MONETARY): Add element for
11571 _NL_MONETARY_CRNCYSTR.
11572 * locale/C-monetary.c (conversion_rate): New variable.
11573 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11576 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11578 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11579 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11581 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11583 * elf/Makefile (tst-auxv): New test.
11584 * elf/tst-auxv.c: New
11585 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11587 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11589 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11590 (hidden_proto): Caller changed.
11591 (hidden_tls_proto): New macro.
11592 (libc_hidden_tls_proto): Likewise.
11593 (rtld_hidden_tls_proto): Likewise.
11594 (libm_hidden_tls_proto): Likewise.
11595 (libresolv_hidden_tls_proto): Likewise.
11596 (librt_hidden_tls_proto): Likewise.
11597 (libdl_hidden_tls_proto): Likewise.
11598 (libnss_files_hidden_tls_proto): Likewise.
11599 (libnsl_hidden_tls_proto): Likewise.
11600 (libnss_nisplus_hidden_tls_proto): Likewise.
11601 (libutil_hidden_tls_proto): Likewise.
11603 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11606 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11607 (decompose_rpath): Defer expansion to fillin_rpath.
11608 (_dl_init_paths): Pass linkmap to fillin_rpath.
11610 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11612 * benchtests/Makefile: Add strsep.
11613 * benchtests/bench-strsep.c: New file: strsep benchtest.
11614 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11616 2013-11-18 Andreas Schwab <schwab@suse.de>
11618 * locale/programs/locale.c (show_info) [case byte]: Check for
11619 '\377' instead of '\177'.
11620 * locale/C-monetary.c (not_available): Always use "\377".
11621 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11622 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11623 detect unavailable sign_posn locale elements.
11624 * locale/localeconv.c (__localeconv): For grouping and
11625 mon_grouping handle "\177" and "\377" like no grouping.
11626 (INT_ELEM): New macro. Use it to set all numeric members.
11627 * locale/programs/ld-monetary.c (monetary_read)
11628 <tok_mon_grouping>: Normalize single -1 to the empty string.
11629 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11632 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11636 when we match (nil).
11637 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11639 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11641 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11642 (NO_TEST_INLINE): Update value.
11643 (ERRNO_UNCHANGED): Likewise.
11644 (ERRNO_EDOM): Likewise.
11645 (ERRNO_ERANGE): Likewise.
11646 (IGNORE_RESULT): Likewise.
11647 (check_float_internal): Check signs of NaN results if
11648 TEST_NAN_SIGN used.
11649 (check_complex): Pass TEST_NAN_SIGN flag through to second
11650 check_float_internal call.
11651 (copysign_test_data): Add tests with quiet NaNs as second
11652 argument. Use TEST_NAN_SIGN.
11653 (fabs_test_data): Add test of negative quiet NaN argument. Use
11655 (signbit_test_data): Add tests of quiet NaN argument.
11656 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11658 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11660 (parse_args): Handle function results specified as IGNORE.
11661 * math/libm-test.inc (IGNORE_RESULT): New macro.
11662 (check_float_internal): Do not check numerical result if flag
11664 (check_complex): Pass through IGNORE_RESULT to second
11665 check_float_internal call.
11666 (check_int): Do not check numerical result if flag IGNORE_RESULT
11668 (check_long): Likewise.
11669 (check_bool): Likewise.
11670 (check_longlong): Likewise.
11671 (lrint_test_data): Add tests of infinite and NaN arguments.
11672 (lrint_tonearest_test_data): Likewise.
11673 (lrint_towardzero_test_data): Likewise.
11674 (lrint_downward_test_data): Likewise.
11675 (lrint_upward_test_data): Likewise.
11676 (llrint_test_data): Likewise.
11677 (llrint_tonearest_test_data): Likewise.
11678 (llrint_towardzero_test_data): Likewise.
11679 (llrint_downward_test_data): Likewise.
11680 (llrint_upward_test_data): Likewise.
11681 (lround_test_data): Likewise.
11682 (llround_test_data): Likewise.
11684 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11685 (ERRNO_UNCHANGED): Update value.
11686 (ERRNO_EDOM): Likewise.
11687 (ERRNO_ERANGE): Likewise.
11688 (NO_TEST_INLINE_FLOAT): New macro.
11689 (NO_TEST_INLINE_DOUBLE): Likewise.
11690 (enable_test): New function.
11691 (RUN_TEST_f_f): Check enable_test before running test.
11692 (RUN_TEST_2_f): Likewise.
11693 (RUN_TEST_fff_f): Likewise.
11694 (RUN_TEST_c_f): Likewise.
11695 (RUN_TEST_f_f1): Likewise.
11696 (RUN_TEST_fF_f1): Likewise.
11697 (RUN_TEST_fI_f1): Likewise.
11698 (RUN_TEST_ffI_f1): Likewise.
11699 (RUN_TEST_c_c): Likewise.
11700 (RUN_TEST_cc_c): Likewise.
11701 (RUN_TEST_f_i): Likewise.
11702 (RUN_TEST_f_i_tg): Likewise.
11703 (RUN_TEST_ff_i_tg): Likewise.
11704 (RUN_TEST_f_b): Likewise.
11705 (RUN_TEST_f_b_tg): Likewise.
11706 (RUN_TEST_f_l): Likewise.
11707 (RUN_TEST_f_L): Likewise.
11708 (RUN_TEST_fFF_11): Likewise.
11709 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11711 (cosh_test_data): Likewise.
11712 (exp_test_data): Likewise.
11713 (expm1_test_data): Likewise.
11714 (hypot_test_data): Likewise.
11715 (pow_test_data): Likewise.
11716 (sinh_test_data): Likewise.
11717 (tanh_test_data): Likewise.
11718 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11721 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11722 tests with quiet NaN input and output.
11723 (acosh_test_data): Likewise.
11724 (asin_test_data): Likewise.
11725 (asinh_test_data): Likewise.
11726 (atan_test_data): Likewise.
11727 (atanh_test_data): Likewise.
11728 (atan2_test_data): Likewise.
11729 (cbrt_test_data): Likewise.
11730 (cos_test_data): Likewise.
11731 (cosh_test_data): Likewise.
11732 (erf_test_data): Likewise.
11733 (erfc_test_data): Likewise.
11734 (exp_test_data): Likewise.
11735 (exp10_test_data): Likewise.
11736 (exp2_test_data): Likewise.
11737 (expm1_test_data): Likewise.
11738 (hypot_test_data): Likewise.
11739 (j0_test_data): Likewise.
11740 (j1_test_data): Likewise.
11741 (jn_test_data): Likewise.
11742 (lgamma_test_data): Likewise.
11743 (log_test_data): Likewise.
11744 (log10_test_data): Likewise.
11745 (log1p_test_data): Likewise.
11746 (log2_test_data): Likewise.
11747 (pow_test_data): Likewise.
11748 (scalb_test_data): Likewise.
11749 (sin_test_data): Likewise.
11750 (sincos_test_data): Likewise.
11751 (sinh_test_data): Likewise.
11752 (tan_test_data): Likewise.
11753 (tanh_test_data): Likewise.
11754 (tgamma_test_data): Likewise.
11755 (y0_test_data): Likewise.
11756 (y1_test_data): Likewise.
11757 (yn_test_data): Likewise.
11760 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11761 argument being NaN and avoid computations with second argument in
11763 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11764 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11765 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11767 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11769 * locale/iso-639.def: Add Chitwani Tharu (the).
11771 2013-11-14 Andreas Schwab <schwab@suse.de>
11773 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11774 word instead of empty string.
11776 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11779 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11781 (__fe_nomask_env): Likewise.
11783 2013-11-13 Steve Ellcey <sellcey@mips.com>
11785 * benchtests/bench-timing.h: Include time.h.
11787 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11790 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11792 * sysdeps/unix/sysv/linux/configure: Regenerated.
11794 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11797 * stdlib/strtod_l.c (round_and_return): Do not consider
11798 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11799 exponent one less than half the least subnormal exponent.
11800 * stdlib/test-strtod-round-data: Add more tests.
11801 * stdlib/tst-strtod-round.c (tests): Regenerated.
11803 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11806 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11807 (__fe_mask_env): Likewise.
11808 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11809 libm_hidden_proto and add function prototype.
11810 (__fe_mask_env): Add function prototype.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11812 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11814 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11816 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11818 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11820 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11821 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11823 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11825 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11826 of htab_find_slot().
11828 2013-11-11 David S. Miller <davem@davemloft.net>
11831 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11832 symbol in the non-vis3 case in static builds.
11833 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11834 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11835 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11836 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11838 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11841 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11844 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11846 * benchtests/Makefile: Add bench-strtod.
11847 * benchtests/bench-strtod.c: New file: strtod benchtest
11849 2013-11-11 Andreas Schwab <schwab@suse.de>
11852 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11853 terminating NUL in key length.
11855 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11857 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11858 Add artificial ODP entry for vDSO symbol for PPC64.
11859 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11860 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11862 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11865 * nss/getent.c (services_keys): Recognize services starting with digit.
11867 2013-11-06 David S. Miller <davem@davemloft.net>
11870 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11871 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11873 2013-11-06 Will Newton <will.newton@linaro.org>
11875 * manual/memory.texi (Malloc Examples): Remove register
11876 keyword from examples.
11878 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11880 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11882 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11885 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11886 depending on [__GCC_IEC_559 > 0].
11887 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11888 depending on [__GCC_IEC_559_COMPLEX > 0].
11890 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11892 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11895 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11897 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11899 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11902 * malloc/malloc (malloc_info): Do not handle first bin as
11905 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11907 * locale/iso-639.def: Add Central Nahuatl (nhn).
11909 2013-11-01 Bruno Haible <bruno@clisp.org>
11912 * manual/math.texi (BSD Random): Specify range upper bound as
11915 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11917 * locale/iso-639.def: Add Meadow Mari (mhr).
11919 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11921 [BZ #14752], [BZ #15763]
11922 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11924 * rt/tst_shm.c: Add test for escaping directory.
11926 2013-10-31 Andreas Schwab <schwab@suse.de>
11929 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11930 followed by 'x' as part of digit sequence.
11931 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11933 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11936 * configure.ac: allow GNU Make 4.0 and greater.
11937 * configure: Regenerated.
11939 2013-10-30 Will Newton <will.newton@linaro.org>
11942 * malloc/hooks.c (memalign_check): Limit alignment to the
11943 maximum representable power of two.
11944 * malloc/malloc.c (__libc_memalign): Likewise.
11945 * malloc/tst-memalign.c (do_test): Add test for very
11946 large alignment values.
11947 * malloc/tst-posix_memalign.c (do_test): Likewise.
11949 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11952 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11953 (munmap_chunk): Likewise.
11954 (mremap_chunk): Likewise.
11956 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11959 * stdlib/div.c (div): Remove obsolete code.
11960 * stdlib/ldiv.c (ldiv): Likewise.
11961 * stdlib/lldiv.c (lldiv): Likewise.
11963 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11966 * nss/nss_files/files-XXX.c (get_contents_ret): New
11968 (get_contents): New function.
11969 (internal_getent): Use it. Expand size of LINEBUFLEN.
11971 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11973 * configure.in: Moved to ...
11974 * configure.ac: ... here. Change reference to configure.in
11976 * sysdeps/arm/preconfigure.ac: ... here.
11977 configure.in to configure.ac.
11978 * sysdeps/gnu/configure.in: Moved to ...
11979 * sysdeps/gnu/configure.ac: ... here.
11980 * sysdeps/i386/configure.in: Moved to ...
11981 * sysdeps/i386/configure.ac: ... here.
11982 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11983 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11984 * sysdeps/mach/configure.in: Moved to ...
11985 * sysdeps/mach/configure.ac: ... here.
11986 * sysdeps/mach/hurd/configure.in: Moved to ...
11987 * sysdeps/mach/hurd/configure.ac: ... here.
11988 * sysdeps/powerpc/configure.in: Moved to ...
11989 * sysdeps/powerpc/configure.ac: ... here.
11990 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11991 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11992 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11993 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11994 * sysdeps/s390/s390-32/configure.in: Moved to ...
11995 * sysdeps/s390/s390-32/configure.ac: ... here.
11996 * sysdeps/s390/s390-64/configure.in: Moved to ...
11997 * sysdeps/s390/s390-64/configure.ac: ... here.
11998 * sysdeps/sh/configure.in: Moved to ...
11999 * sysdeps/sh/configure.ac: ... here.
12000 * sysdeps/sparc/configure.in: Moved to ...
12001 * sysdeps/sparc/configure.ac: ... here.
12002 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12003 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12004 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12005 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12006 * sysdeps/x86_64/configure.in: Moved to ...
12007 * sysdeps/x86_64/configure.ac: ... here.
12008 * sysdeps/x86_64/preconfigure.in: Moved to ...
12009 * sysdeps/x86_64/preconfigure.ac: ... here.
12010 * aclocal.m4: Change reference to configure.in to configure.ac.
12011 * config.h.in: Likewise.
12012 * manual/install.texi: Likewise.
12013 * manual/maint.texi: Likewise.
12014 * Makefile: Likewise.
12015 * malloc/Makefile: Likewise.
12016 * nscd/Makefile: Likewise.
12017 * Makeconfig: Change reference to configure.in and
12018 preconfigure.in to configure.ac and preconfigure.ac
12020 * INSTALL: Regenerated.
12021 * configure: Likewise.
12022 * sysdeps/gnu/configure: Likewise.
12023 * sysdeps/i386/configure: Likewise.
12024 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12025 * sysdeps/mach/configure: Likewise.
12026 * sysdeps/mach/hurd/configure: Likewise.
12027 * sysdeps/powerpc/configure: Likewise.
12028 * sysdeps/powerpc/powerpc32/configure: Likewise.
12029 * sysdeps/powerpc/powerpc64/configure: Likewise.
12030 * sysdeps/s390/s390-32/configure: Likewise.
12031 * sysdeps/s390/s390-64/configure: Likewise.
12032 * sysdeps/sh/configure: Likewise.
12033 * sysdeps/sparc/configure: Likewise.
12034 * sysdeps/unix/sysv/linux/configure: Likewise.
12035 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12036 * sysdeps/x86_64/configure: Likewise.
12037 * sysdeps/x86_64/preconfigure: Likewise.
12039 2013-10-29 Andreas Schwab <schwab@suse.de>
12041 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12043 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12045 * benchtests/pow-inputs: Add new inputs.
12047 * benchtests/exp-inputs: Add new inputs.
12049 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12050 conditional check for return value.
12051 (__cos32): Likewise.
12053 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12055 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12056 to provide a boost for large inputs with word alignment.
12057 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12058 implementation based on optimized PPC64 strcpy.
12059 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12060 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12061 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12062 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12064 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12067 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12069 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12072 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12073 * time/tst-strptime.c (day_tests): Add testcase.
12075 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12078 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12080 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12083 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12084 MAP_FAILED on error.
12086 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12089 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12090 heap for large requests.
12092 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12095 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12096 result if the result has no associated interface.
12097 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12098 interface for all 127.X.Y.Z addresses.
12100 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12102 * locale/iso-639.def: Add Ligurian (lij)
12104 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12107 * sunrpc/rpc_main.c: Document rpcgen -5.
12109 2013-10-19 Michael Stahl <mstahl@redhat.com>
12111 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12113 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12116 * posix/glob.c: Match only directories when trailing slash is present.
12117 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12118 (main): Add testcase.
12120 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12123 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12125 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12127 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12128 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12129 AUTH_DES and cindex for FIPS 140-2.
12130 (DES Encryption): Add cindex FIPS 46-3.
12132 * locale/locarchive.h (struct locarhandle): Add fname.
12133 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12134 if an optional argument was specified to --list-archive,
12136 * locale/programs/locarchive.c (show_archive_content): Take new
12137 argument fname and pass it via ah.fname to open_archive.
12138 * locale/programs/localedef.h: Update decl.
12139 (open_archive): If AH->fname is non-null, open that file
12140 rather than the default file name, and don't ignore ENOENT.
12141 (create_archive): Set AH.fname to NULL.
12142 (delete_locales_from_archive): Likewise.
12143 (add_locales_to_archive): Likewise.
12144 * locale/programs/locfile.c (write_all_categories): Likewise.
12146 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12147 Aldy Hernandez <aldyh@redhat.com>
12149 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12150 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12151 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12152 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12153 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12154 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12155 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12156 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12157 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12158 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12159 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12160 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12161 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12162 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12163 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12165 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12167 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12174 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12176 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12180 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12181 * sysdeps/powerpc/preconfigure: Likewise.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12184 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12185 Replace contents of file by #include of <fenv_libc.h>.
12186 * sysdeps/powerpc/soft-fp/sfp-machine.h
12187 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12189 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12190 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12196 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12197 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12198 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12199 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12200 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12202 Allow copysignl PLT reference to be missing.
12204 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12205 Joseph Myers <joseph@codesourcery.com
12208 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12210 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12212 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12214 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12215 * elf/tst-tls1.c: Likewise.
12216 * elf/tst-tls10.h: Likewise.
12217 * elf/tst-tls14.c: Likewise.
12218 * elf/tst-tls2.c: Likewise.
12219 * elf/tst-tls3.c: Likewise.
12220 * elf/tst-tls4.c: Likewise.
12221 * elf/tst-tls5.c: Likewise.
12222 * elf/tst-tls6.c: Likewise.
12223 * elf/tst-tls7.c: Likewise.
12224 * elf/tst-tls8.c: Likewise.
12225 * elf/tst-tls9.c: Likewise.
12226 * elf/tst-tlsmod1.c: Likewise.
12227 * elf/tst-tlsmod13.c: Likewise.
12228 * elf/tst-tlsmod13a.c: Likewise.
12229 * elf/tst-tlsmod14a.c: Likewise.
12230 * elf/tst-tlsmod16a.c: Likewise.
12231 * elf/tst-tlsmod16b.c: Likewise.
12232 * elf/tst-tlsmod2.c: Likewise.
12233 * elf/tst-tlsmod3.c: Likewise.
12234 * elf/tst-tlsmod4.c: Likewise.
12235 * elf/tst-tlsmod5.c: Likewise.
12236 * elf/tst-tlsmod6.c: Likewise.
12238 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12241 * malloc/malloc.c: remove checks for statistics.
12243 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12246 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12247 * inet/tst-network.c: Add testcase.
12249 2013-10-17 Andreas Schwab <schwab@suse.de>
12252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12253 to determine canonical name.
12255 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12257 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12258 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12260 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12262 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12263 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12264 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12281 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12282 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12287 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12316 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12319 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12320 make result into a quiet NaN.
12322 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12324 * soft-fp/adddf3.c: Fix horizontal whitespace.
12325 * soft-fp/addsf3.c: Likewise.
12326 * soft-fp/addtf3.c: Likewise.
12327 * soft-fp/divdf3.c: Likewise.
12328 * soft-fp/divsf3.c: Likewise.
12329 * soft-fp/divtf3.c: Likewise.
12330 * soft-fp/double.h: Likewise.
12331 * soft-fp/eqdf2.c: Likewise.
12332 * soft-fp/eqsf2.c: Likewise.
12333 * soft-fp/eqtf2.c: Likewise.
12334 * soft-fp/extenddftf2.c: Likewise.
12335 * soft-fp/extended.h: Likewise.
12336 * soft-fp/extendsfdf2.c: Likewise.
12337 * soft-fp/extendsftf2.c: Likewise.
12338 * soft-fp/extendxftf2.c: Likewise.
12339 * soft-fp/fixdfdi.c: Likewise.
12340 * soft-fp/fixdfsi.c: Likewise.
12341 * soft-fp/fixdfti.c: Likewise.
12342 * soft-fp/fixsfdi.c: Likewise.
12343 * soft-fp/fixsfsi.c: Likewise.
12344 * soft-fp/fixsfti.c: Likewise.
12345 * soft-fp/fixtfdi.c: Likewise.
12346 * soft-fp/fixtfsi.c: Likewise.
12347 * soft-fp/fixtfti.c: Likewise.
12348 * soft-fp/fixunsdfdi.c: Likewise.
12349 * soft-fp/fixunsdfsi.c: Likewise.
12350 * soft-fp/fixunsdfti.c: Likewise.
12351 * soft-fp/fixunssfdi.c: Likewise.
12352 * soft-fp/fixunssfsi.c: Likewise.
12353 * soft-fp/fixunssfti.c: Likewise.
12354 * soft-fp/fixunstfdi.c: Likewise.
12355 * soft-fp/fixunstfsi.c: Likewise.
12356 * soft-fp/fixunstfti.c: Likewise.
12357 * soft-fp/floatdidf.c: Likewise.
12358 * soft-fp/floatdisf.c: Likewise.
12359 * soft-fp/floatditf.c: Likewise.
12360 * soft-fp/floatsidf.c: Likewise.
12361 * soft-fp/floatsisf.c: Likewise.
12362 * soft-fp/floatsitf.c: Likewise.
12363 * soft-fp/floattidf.c: Likewise.
12364 * soft-fp/floattisf.c: Likewise.
12365 * soft-fp/floattitf.c: Likewise.
12366 * soft-fp/floatundidf.c: Likewise.
12367 * soft-fp/floatundisf.c: Likewise.
12368 * soft-fp/floatunditf.c: Likewise.
12369 * soft-fp/floatunsidf.c: Likewise.
12370 * soft-fp/floatunsisf.c: Likewise.
12371 * soft-fp/floatunsitf.c: Likewise.
12372 * soft-fp/floatuntidf.c: Likewise.
12373 * soft-fp/floatuntisf.c: Likewise.
12374 * soft-fp/floatuntitf.c: Likewise.
12375 * soft-fp/fmadf4.c: Likewise.
12376 * soft-fp/fmasf4.c: Likewise.
12377 * soft-fp/fmatf4.c: Likewise.
12378 * soft-fp/gedf2.c: Likewise.
12379 * soft-fp/gesf2.c: Likewise.
12380 * soft-fp/getf2.c: Likewise.
12381 * soft-fp/ledf2.c: Likewise.
12382 * soft-fp/lesf2.c: Likewise.
12383 * soft-fp/letf2.c: Likewise.
12384 * soft-fp/muldf3.c: Likewise.
12385 * soft-fp/mulsf3.c: Likewise.
12386 * soft-fp/multf3.c: Likewise.
12387 * soft-fp/negdf2.c: Likewise.
12388 * soft-fp/negsf2.c: Likewise.
12389 * soft-fp/negtf2.c: Likewise.
12390 * soft-fp/op-1.h: Likewise.
12391 * soft-fp/op-2.h: Likewise.
12392 * soft-fp/op-4.h: Likewise.
12393 * soft-fp/op-8.h: Likewise.
12394 * soft-fp/op-common.h: Likewise.
12395 * soft-fp/quad.h: Likewise.
12396 * soft-fp/single.h: Likewise.
12397 * soft-fp/soft-fp.h: Likewise.
12398 * soft-fp/sqrtdf2.c: Likewise.
12399 * soft-fp/sqrtsf2.c: Likewise.
12400 * soft-fp/sqrttf2.c: Likewise.
12401 * soft-fp/subdf3.c: Likewise.
12402 * soft-fp/subsf3.c: Likewise.
12403 * soft-fp/subtf3.c: Likewise.
12404 * soft-fp/truncdfsf2.c: Likewise.
12405 * soft-fp/trunctfdf2.c: Likewise.
12406 * soft-fp/trunctfsf2.c: Likewise.
12407 * soft-fp/trunctfxf2.c: Likewise.
12408 * soft-fp/unorddf2.c: Likewise.
12409 * soft-fp/unordsf2.c: Likewise.
12410 * soft-fp/unordtf2.c: Likewise.
12412 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12414 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12415 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12417 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12419 * elf/dl-libc.c: Clear initfini list after freeing.
12421 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12423 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12424 * soft-fp/addsf3.c: Likewise.
12425 * soft-fp/addtf3.c: Likewise.
12426 * soft-fp/divdf3.c: Likewise.
12427 * soft-fp/divsf3.c: Likewise.
12428 * soft-fp/divtf3.c: Likewise.
12429 * soft-fp/double.h: Likewise.
12430 * soft-fp/eqdf2.c: Likewise.
12431 * soft-fp/eqsf2.c: Likewise.
12432 * soft-fp/eqtf2.c: Likewise.
12433 * soft-fp/extenddftf2.c: Likewise.
12434 * soft-fp/extended.h: Likewise.
12435 * soft-fp/extendsfdf2.c: Likewise.
12436 * soft-fp/extendsftf2.c: Likewise.
12437 * soft-fp/extendxftf2.c: Likewise.
12438 * soft-fp/fixdfdi.c: Likewise.
12439 * soft-fp/fixdfsi.c: Likewise.
12440 * soft-fp/fixdfti.c: Likewise.
12441 * soft-fp/fixsfdi.c: Likewise.
12442 * soft-fp/fixsfsi.c: Likewise.
12443 * soft-fp/fixsfti.c: Likewise.
12444 * soft-fp/fixtfdi.c: Likewise.
12445 * soft-fp/fixtfsi.c: Likewise.
12446 * soft-fp/fixtfti.c: Likewise.
12447 * soft-fp/fixunsdfdi.c: Likewise.
12448 * soft-fp/fixunsdfsi.c: Likewise.
12449 * soft-fp/fixunsdfti.c: Likewise.
12450 * soft-fp/fixunssfdi.c: Likewise.
12451 * soft-fp/fixunssfsi.c: Likewise.
12452 * soft-fp/fixunssfti.c: Likewise.
12453 * soft-fp/fixunstfdi.c: Likewise.
12454 * soft-fp/fixunstfsi.c: Likewise.
12455 * soft-fp/fixunstfti.c: Likewise.
12456 * soft-fp/floatdidf.c: Likewise.
12457 * soft-fp/floatdisf.c: Likewise.
12458 * soft-fp/floatditf.c: Likewise.
12459 * soft-fp/floatsidf.c: Likewise.
12460 * soft-fp/floatsisf.c: Likewise.
12461 * soft-fp/floatsitf.c: Likewise.
12462 * soft-fp/floattidf.c: Likewise.
12463 * soft-fp/floattisf.c: Likewise.
12464 * soft-fp/floattitf.c: Likewise.
12465 * soft-fp/floatundidf.c: Likewise.
12466 * soft-fp/floatundisf.c: Likewise.
12467 * soft-fp/floatunsidf.c: Likewise.
12468 * soft-fp/floatunsisf.c: Likewise.
12469 * soft-fp/floatuntidf.c: Likewise.
12470 * soft-fp/floatuntisf.c: Likewise.
12471 * soft-fp/floatuntitf.c: Likewise.
12472 * soft-fp/fmadf4.c: Likewise.
12473 * soft-fp/fmasf4.c: Likewise.
12474 * soft-fp/fmatf4.c: Likewise.
12475 * soft-fp/gedf2.c: Likewise.
12476 * soft-fp/gesf2.c: Likewise.
12477 * soft-fp/getf2.c: Likewise.
12478 * soft-fp/ledf2.c: Likewise.
12479 * soft-fp/lesf2.c: Likewise.
12480 * soft-fp/letf2.c: Likewise.
12481 * soft-fp/muldf3.c: Likewise.
12482 * soft-fp/mulsf3.c: Likewise.
12483 * soft-fp/multf3.c: Likewise.
12484 * soft-fp/negdf2.c: Likewise.
12485 * soft-fp/negsf2.c: Likewise.
12486 * soft-fp/negtf2.c: Likewise.
12487 * soft-fp/op-1.h: Likewise.
12488 * soft-fp/op-2.h: Likewise.
12489 * soft-fp/op-4.h: Likewise.
12490 * soft-fp/op-8.h: Likewise.
12491 * soft-fp/op-common.h: Likewise.
12492 * soft-fp/quad.h: Likewise.
12493 * soft-fp/single.h: Likewise.
12494 * soft-fp/soft-fp.h: Likewise.
12495 * soft-fp/sqrtdf2.c: Likewise.
12496 * soft-fp/sqrtsf2.c: Likewise.
12497 * soft-fp/sqrttf2.c: Likewise.
12498 * soft-fp/subdf3.c: Likewise.
12499 * soft-fp/subsf3.c: Likewise.
12500 * soft-fp/subtf3.c: Likewise.
12501 * soft-fp/truncdfsf2.c: Likewise.
12502 * soft-fp/trunctfdf2.c: Likewise.
12503 * soft-fp/trunctfsf2.c: Likewise.
12504 * soft-fp/trunctfxf2.c: Likewise.
12505 * soft-fp/unorddf2.c: Likewise.
12506 * soft-fp/unordsf2.c: Likewise.
12507 * soft-fp/unordtf2.c: Likewise.
12509 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12512 * misc/error.c (error_tail): Fix possible buffer overflow.
12514 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12517 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12520 2013-10-14 P. J. McDermott <pj@pehjota.net>
12523 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12524 testing pipefail option.
12526 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12528 * soft-fp/double.h: Indent preprocessor directives inside #if.
12529 * soft-fp/extended.h: Likewise.
12530 * soft-fp/op-2.h: Likewise.
12531 * soft-fp/op-4.h: Likewise.
12532 * soft-fp/op-common.h: Likewise.
12533 * soft-fp/quad.h: Likewise.
12534 * soft-fp/single.h: Likewise.
12535 * soft-fp/soft-fp.h: Likewise.
12537 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12539 * iconv/iconv_prog.c: Fix typos.
12540 * stdio-common/psiginfo-data.h: Likewise.
12542 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12545 * locale/setlocale.c: Fix typo.
12547 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12550 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12551 signaling NaN arguments.
12552 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12553 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12556 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12557 unordered operands.
12558 * soft-fp/gesf2.c (__gesf2): Likewise.
12559 * soft-fp/getf2.c (__getf2): Likewise.
12560 * soft-fp/ledf2.c (__ledf2): Likewise.
12561 * soft-fp/lesf2.c (__lesf2): Likewise.
12562 * soft-fp/letf2.c (__letf2): Likewise.
12564 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12565 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12566 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12567 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12568 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12569 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12570 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12571 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12572 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12573 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12574 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12575 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12576 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12577 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12578 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12579 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12580 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12581 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12582 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12583 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12584 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12585 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12586 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12587 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12588 * soft-fp/floattidf.c (__floattidf): Likewise.
12589 * soft-fp/floattisf.c (__floattisf): Likewise.
12590 * soft-fp/floattitf.c (__floattitf): Likewise.
12591 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12592 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12593 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12594 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12595 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12596 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12597 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12598 * soft-fp/gesf2.c (__gesf2): Likewise.
12599 * soft-fp/getf2.c (__getf2): Likewise.
12600 * soft-fp/ledf2.c (__ledf2): Likewise.
12601 * soft-fp/lesf2.c (__lesf2): Likewise.
12602 * soft-fp/letf2.c (__letf2): Likewise.
12604 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12605 Undefine and redefine.
12606 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12607 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12608 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12609 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12610 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12611 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12612 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12613 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12614 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12615 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12616 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12617 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12618 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12619 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12620 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12623 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12624 without decrementing exponent if mantissa >= that for the
12625 denominator, not >.
12626 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12627 denominator, not >. Decrement exponent in < case instead of
12628 incrementing in >= case.
12629 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12630 without decrementing exponent if mantissa >= that for the
12631 denominator, not >.
12633 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12634 computing saturated result for unsigned overflow.
12636 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12637 Jeff Law <law@redhat.com>
12639 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12640 (atan2Mp): Add systemtap probe marker.
12641 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12642 (__ieee754_log): Add systemtap probe marker.
12643 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12644 (atanMp): Add systemtap probe marker.
12645 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12646 (tanMp): Add systemtap probe marker.
12647 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12648 (__slowexp): Add systemtap probe marker.
12649 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12650 (__slowpow): Add systemtap probe marker.
12651 * manual/probes.texi: Document probes.
12653 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12656 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12658 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12660 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12661 written to buffer but not flushed.
12662 * libio/iofwrite_u.c: Likewise.
12663 * libio/iopadn.c: Return bytes returned even if EOF was
12665 * libio/iowpadn.c: Likewise.
12666 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12667 if _IO_padn does not write the whole buffer.
12668 [!COMPILE_WPRINTF] (PAD): Likewise.
12670 2013-10-10 David S. Miller <davem@davemloft.net>
12672 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12675 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12677 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12678 instead of FSF address.
12679 * soft-fp/fixdfti.c: Likewise.
12680 * soft-fp/fixsfti.c: Likewise.
12681 * soft-fp/fixtfti.c: Likewise.
12682 * soft-fp/fixunsdfti.c: Likewise.
12683 * soft-fp/fixunssfti.c: Likewise.
12684 * soft-fp/fixunstfti.c: Likewise.
12685 * soft-fp/floattidf.c: Likewise.
12686 * soft-fp/floattisf.c: Likewise.
12687 * soft-fp/floattitf.c: Likewise.
12688 * soft-fp/floatuntidf.c: Likewise.
12689 * soft-fp/floatuntisf.c: Likewise.
12690 * soft-fp/floatuntitf.c: Likewise.
12691 * soft-fp/trunctfxf2.c: Likewise.
12693 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12694 * soft-fp/fixdfti.c: Likewise.
12695 * soft-fp/fixsfti.c: Likewise.
12696 * soft-fp/fixtfti.c: Likewise.
12697 * soft-fp/fixunsdfti.c: Likewise.
12698 * soft-fp/fixunssfti.c: Likewise.
12699 * soft-fp/fixunstfti.c: Likewise.
12700 * soft-fp/floattidf.c: Likewise.
12701 * soft-fp/floattisf.c: Likewise.
12702 * soft-fp/floattitf.c: Likewise.
12703 * soft-fp/floatuntidf.c: Likewise.
12704 * soft-fp/floatuntisf.c: Likewise.
12705 * soft-fp/floatuntitf.c: Likewise.
12706 * soft-fp/trunctfxf2.c: Likewise.
12708 2013-10-10 David S. Miller <davem@davemloft.net>
12710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12712 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12714 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12715 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12716 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12717 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12718 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12719 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12720 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12723 for NaNs before doing comparisons on argument.
12724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12727 2013-10-10 Will Newton <will.newton@linaro.org>
12729 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12730 passed to _int_memalign does not overflow.
12732 2013-10-10 Torvald Riegel <triegel@redhat.com>
12734 * scripts/bench.pl: Add include-sources directive.
12735 * benchtests/README: Update documentation.
12737 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12739 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12740 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12741 instead of FP_INIT_ROUNDMODE.
12742 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12743 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12746 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12747 copy class of input value.
12748 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12749 not handle exceptions.
12750 * soft-fp/negsf2.c (__negsf2): Likewise.
12751 * soft-fp/negtf2.c (__negtf2): Likewise.
12752 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12754 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12756 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12757 semicolon. From Linux kernel.
12759 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12761 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12763 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12766 * manual/socket.texi: Added statement about buffer
12767 for gethostbyname2_r.
12769 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12771 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12772 Use .p2align directive instead, throughout.
12773 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12774 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12775 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12778 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12779 * sysdeps/x86_64/strchr.S: Likewise.
12780 * sysdeps/x86_64/strrchr.S: Likewise.
12782 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12784 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12786 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12788 * sysdeps/generic/math_private.h (__mpsin1): Remove
12790 (__mpcos1): Likewise.
12791 (__mpsin): New argument __range_reduce.
12792 (__mpcos): Likewise.
12793 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12794 (slow): Use __mpsin and __mpcos.
12798 (sloww1): Likewise.
12799 (sloww2): Likewise.
12800 (bsloww): Likewise.
12801 (bsloww1): Likewise.
12802 (bsloww2): Likewise.
12803 (cslow2): Likewise.
12804 (csloww): Likewise.
12805 (csloww1): Likewise.
12806 (csloww2): Likewise.
12807 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12808 range_reduce. Merge in __mpsin1.
12809 (__mpcos): Likewise.
12810 (__mpsin1): Remove.
12811 (__mpcos1): Likewise.
12813 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12815 * locale/loadlocale.c (_nl_intern_locale_data): Use
12817 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12818 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12819 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12820 obstack data is appropriately aligned.
12821 (obstack_int32_grow_fast): Likewise.
12822 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12823 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12824 (add_locale_uint32_array): Likewise.
12826 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12828 * benchtests/Makefile: Remove ARGLIST and RET variables.
12829 ($(objpfx)bench-%.c): Pass only function name to the script.
12830 * benchtests/README: Update documentation.
12831 * benchtests/acos-inputs: Add new directives.
12832 * benchtests/acosh-inputs: Likewise.
12833 * benchtests/asin-inputs: Likewise.
12834 * benchtests/asinh-inputs: Likewise.
12835 * benchtests/atan-inputs: Likewise.
12836 * benchtests/atanh-inputs: Likewise.
12837 * benchtests/cos-inputs: Likewise.
12838 * benchtests/cosh-inputs: Likewise.
12839 * benchtests/exp-inputs: Likewise.
12840 * benchtests/log-inputs: Likewise.
12841 * benchtests/pow-inputs: Likewise.
12842 * benchtests/rint-inputs: Likewise.
12843 * benchtests/sin-inputs: Likewise.
12844 * benchtests/sinh-inputs: Likewise.
12845 * benchtests/tan-inputs: Likewise.
12846 * benchtests/tanh-inputs: Likewise.
12847 * scripts/bench.pl: Add support for new directives.
12849 2013-10-07 Alan Modra <amodra@gmail.com>
12851 * README: Fix careless merge.
12853 2013-10-05 Alan Modra <amodra@gmail.com>
12855 * NEWS: Mention powerpc64le support and bugs fixed.
12856 * README: Both big-endian and little-endian powerpc64 supported.
12858 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12860 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12861 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12862 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12863 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12865 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12867 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12870 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12872 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12873 Move -mhard-float appending from
12874 ports/sysdeps/powerpc/powerpc32/Makefile.
12875 [$(with-fp) = yes] (ASFLAGS): Likewise.
12876 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12877 * sysdeps/powerpc/nofpu: Move directory from
12878 ports/sysdeps/powerpc/nofpu.
12879 * sysdeps/powerpc/soft-fp: Move directory from
12880 ports/sysdeps/powerpc/soft-fp.
12881 * sysdeps/powerpc/powerpc32/405: Move directory from
12882 ports/sysdeps/powerpc/powerpc32/405.
12883 * sysdeps/powerpc/powerpc32/440: Move directory from
12884 ports/sysdeps/powerpc/powerpc32/440.
12885 * sysdeps/powerpc/powerpc32/464: Move directory from
12886 ports/sysdeps/powerpc/powerpc32/464.
12887 * sysdeps/powerpc/powerpc32/476: Move directory from
12888 ports/sysdeps/powerpc/powerpc32/476.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12890 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12892 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12894 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12896 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12898 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12899 * README: Update for powerpc-*-linux-gnu software floating point
12902 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12903 case to powerpc/powerpc32*.
12904 * sysdeps/unix/sysv/linux/configure: Regenerated.
12906 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12907 (_FPU_MASK_OM): Define as 0x04.
12908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12913 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12916 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12919 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12922 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12923 and setcontext_e500.
12925 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12927 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12929 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12931 * manual/threads.texi (Default Thread Attributes): Fix typo.
12933 2013-10-04 Will Newton <will.newton@linaro.org>
12935 * malloc/Makefile: Add tst-memalign.
12936 * malloc/tst-memalign.c: New file.
12938 * malloc/tst-posix_memalign.c: Add comments.
12939 (do_test): Add comments and call free on all potentially
12940 allocated pointers. Add space after cast.
12942 * malloc/tst-pvalloc.c: Add comments.
12943 (do_test): Add comments and call free on all potentially
12944 allocated pointers. Remove duplicate check for NULL pointer.
12945 Add space after cast.
12947 * malloc/tst-valloc.c: Add comments.
12948 (do_test): Add comments and call free on all potentially
12949 allocated pointers. Remove duplicate check for NULL pointer.
12950 Add space after cast.
12952 2013-10-04 Alan Modra <amodra@gmail.com>
12954 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12955 Use stdint types in rather than __attribute__((mode())).
12956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12958 2013-10-04 Alan Modra <amodra@gmail.com>
12960 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12961 Correct handling of unaligned relocs for little-endian.
12962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12964 2013-10-04 Alan Modra <amodra@gmail.com>
12966 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12967 * configure: Regenerate.
12968 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12969 * shlib-versions: Likewise.
12971 2013-10-04 Alan Modra <amodra@gmail.com>
12973 * string/tester.c (test_memrchr): Increment reported test cycle.
12975 2013-10-04 Alan Modra <amodra@gmail.com>
12977 * string/test-memcpy.c (do_one_test): When reporting errors, print
12978 string address and don't overrun end of string.
12980 2013-10-04 Alan Modra <amodra@gmail.com>
12982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12983 insrdi. Make better use of reg selection to speed exit slightly.
12984 Schedule entry path a little better. Remove useless "are we done"
12985 checks on entry to main loop. Handle wrapping around zero address.
12986 Correct main loop count. Handle single left-over word from main
12987 loop inline rather than by using loop_small. Remove extra word
12988 case in loop_small caused by wrong loop count. Add little-endian
12990 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12993 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12994 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12995 support. Avoid rlwimi.
12996 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12998 2013-10-04 Alan Modra <amodra@gmail.com>
13000 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13001 insrdi. Formatting.
13002 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13003 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13004 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13005 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13006 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13009 2013-10-04 Alan Modra <amodra@gmail.com>
13011 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13012 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13013 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13014 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13015 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13016 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13017 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13018 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13019 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13020 use of regs. Use power7 mtocrf. Tidy function tails.
13022 2013-10-04 Alan Modra <amodra@gmail.com>
13024 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13025 Formatting. Consistently use rXXX register defines or rN defines.
13026 Use early exit labels that avoid restoring unused non-volatile regs.
13027 Make cr field use more consistent with rWORDn compares. Rename
13028 regs used as shift registers for unaligned loop, using rN defines
13029 for short lifetime/multiple use regs.
13030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13032 addi 1,1,64 to pop stack frame. Simplify return value code.
13033 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13035 2013-10-04 Alan Modra <amodra@gmail.com>
13037 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13038 support. Correct typos, formatting. Optimize tail. Use insrdi
13039 rather than rlwimi.
13040 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13041 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13042 little-endian support. Correct typos.
13043 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13044 rather than rlwimi.
13045 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13046 in loop and entry code to keep "and." results.
13047 (strchr): Add little-endian support. Comment. Move cntlzd
13049 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13051 2013-10-04 Alan Modra <amodra@gmail.com>
13053 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13054 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13055 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13056 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13058 2013-10-04 Alan Modra <amodra@gmail.com>
13060 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13061 (rTMP): Define as r11.
13062 (strcmp): Add little-endian support. Optimise tail.
13063 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13064 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13065 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13066 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13067 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13069 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13071 2013-10-04 Alan Modra <amodra@gmail.com>
13073 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13074 little-endian support. Remove unnecessary "are we done" tests.
13075 Handle "s" wrapping around zero and extremely large "size".
13076 Correct main loop count. Handle single left-over word from main
13077 loop inline rather than by using small_loop. Correct comments.
13078 Delete "zero" tail, use "end_max" instead.
13079 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13081 2013-10-04 Alan Modra <amodra@gmail.com>
13083 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13084 support. Don't branch over align.
13085 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13086 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13087 support. Rearrange tmp reg use to suit. Comment.
13088 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13090 2013-10-04 Alan Modra <amodra@gmail.com>
13092 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13094 2013-10-04 Alan Modra <amodra@gmail.com>
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13097 conditional form of branch and link when obtaining pc.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13100 2013-10-04 Alan Modra <amodra@gmail.com>
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13107 2013-10-04 Alan Modra <amodra@gmail.com>
13109 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13110 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13111 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13112 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13113 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13114 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13115 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13116 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13117 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13118 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13120 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13121 Alistair Popple <alistair@ozlabs.au.ibm.com>
13122 Alan Modra <amodra@gmail.com>
13125 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13126 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13127 _dl_hwcap access for little-endian.
13128 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13129 destroy vmx regs when saving unaligned.
13130 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13131 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13132 destroy vmx regs when saving unaligned.
13134 2013-10-04 Alan Modra <amodra@gmail.com>
13136 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13137 Don't use a union to pack hi/low value.
13139 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13141 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13143 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13144 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13145 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13146 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13147 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13149 2013-10-04 Alan Modra <amodra@gmail.com>
13151 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13152 constants to usual value for .cst8 section, and remove redundant
13154 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13155 constant for 0x1p52. Load little-endian words of double from
13156 correct stack offsets.
13158 2013-10-04 Alan Modra <amodra@gmail.com>
13160 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13161 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13162 words of double from correct stack offsets.
13163 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13164 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13165 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13166 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13167 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13170 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13171 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13172 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13173 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13175 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13176 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13178 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13179 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13181 2013-10-04 Alan Modra <amodra@gmail.com>
13183 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13184 64-bit int/double union.
13185 (_FPU_SETCW): Likewise.
13186 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13187 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13189 2013-10-04 Alan Modra <amodra@gmail.com>
13191 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13192 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13194 2013-10-04 Alan Modra <amodra@gmail.com>
13196 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13197 use vector int constants.
13198 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13200 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13202 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13203 array with long long.
13204 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13205 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13206 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13207 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13208 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13209 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13210 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13211 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13212 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13213 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13214 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13215 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13216 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13218 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13220 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13221 (__signbit): Likewise. Correct for little-endian.
13222 (__signbitl): Call __signbit.
13223 (lrint): Correct for little-endian.
13224 (lrintf): Call lrint.
13226 2013-10-04 Alan Modra <amodra@gmail.com>
13228 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13229 union 32-bit int array member with 64-bit int array.
13230 (t515, tm256): Double rather than long double.
13231 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13233 2013-10-04 Alan Modra <amodra@gmail.com>
13235 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13237 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13239 version of math_ldbl.h.
13241 2013-10-04 Alan Modra <amodra@gmail.com>
13243 [BZ #15734], [BZ #15735]
13244 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13245 all uses of ieee875 long double macros and unions. Simplify test
13246 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13247 ldbl_extract_mantissa value for ix,iy exponents. Properly
13248 normalize after ldbl_extract_mantissa, and don't add hidden bit
13249 already handled. Don't treat low word of ieee854 mantissa like
13250 low word of IBM long double and mask off bit when testing for
13252 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13253 all uses of ieee875 long double macros and unions. Simplify tests
13254 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13255 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13256 two1022, instead use their values. Recognise that tests for large
13257 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13259 Rewrite all uses of ieee875 long double macros and unions. Simplify
13260 test for 0.0L and nan. Correct negation.
13261 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13262 ieee875 long double macros and unions. Correct output for large
13263 magnitude x. Correct absolute value calculation.
13264 (__erfcl): Likewise.
13265 * math/libm-test.inc: Add tests for errors discovered in IBM long
13266 double versions of fmodl, remainderl, erfl and erfcl.
13268 2013-10-04 Alan Modra <amodra@gmail.com>
13270 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13271 all uses of ieee854 long double macros and unions. Simplify tests
13272 for long doubles that are fully specified by the high double.
13273 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13275 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13276 Remove dead code too.
13277 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13278 (__ieee754_ynl): Likewise.
13279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13280 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13281 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13282 Remove dead code too.
13283 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13284 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13285 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13286 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13288 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13292 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13293 Comment on variable precision.
13294 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13297 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13299 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13301 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13303 2013-10-04 Alan Modra <amodra@gmail.com>
13305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13306 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13307 all uses of ieee854 long double macros and unions.
13308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13311 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13312 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13313 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13315 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13316 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13317 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13321 Simplify sign and nan test too.
13322 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13324 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13327 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13331 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13332 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13337 2013-10-04 Alan Modra <amodra@gmail.com>
13339 * stdio-common/printf_size.c (__printf_size): Don't use
13340 union ieee854_long_double in fpnum union.
13341 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13342 signbit macro to retrieve sign from long double.
13343 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13344 retrieve sign from long double.
13345 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13346 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13347 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13348 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13349 * math/test-misc.c (main): Don't use union ieee854_long_double.
13351 2013-10-04 Alan Modra <amodra@gmail.com>
13354 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13355 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13356 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13357 calculation. Remove unnecessary test for denormal exponent.
13358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13359 Correct handling of denormals. Avoid undefined shift behaviour.
13360 Correct normalisation of low mantissa when low double is denormal.
13361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13362 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13363 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13364 Correct normalisation of low mantissa. Test for overflow of high
13365 mantissa and normalise.
13366 (ldbl_nearbyint): Use more readable constant for two52.
13367 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13368 (__mpn_construct_long_double): Fix test for overflow of high
13369 mantissa and correct normalisation. Avoid undefined shift.
13371 2013-10-04 Alan Modra <amodra@gmail.com>
13373 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13374 (union ibm_extended_long_double): Define as an array of ieee754_double.
13375 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13376 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13377 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13378 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13382 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13387 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13389 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13390 page size instead of calling getpagesize.
13392 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13393 (LOCFILE_ALIGN_MASK): Likewise.
13394 (LOCFILE_ALIGN_UP): Likewise.
13395 (LOCFILE_ALIGNED_P): Likewise.
13396 * locale/programs/ld-collate.c (collate_output): Use the new
13397 macros instead of __alignof__ (int32_t).
13398 * locale/weight.h (findidx): Likewise.
13400 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13403 * manual/string.texi: Fix strncat and wcsncat.
13405 2013-10-03 Brooks Moses <bmoses@google.com>
13408 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13409 * Makerules: ...here, and adjust associated comments.
13411 2013-10-02 Will Newton <will.newton@linaro.org>
13413 * malloc/Makefile: Add tst-pvalloc.
13414 * malloc/tst-pvalloc.c: New file.
13416 2013-10-02 Will Newton <will.newton@linaro.org>
13418 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13419 improve test coverage.
13421 2013-10-02 Will Newton <will.newton@linaro.org>
13423 * malloc/Makefile: Add tst-posix_memalign.
13424 * malloc/tst-posix_memalign.c: New file.
13426 2013-10-01 Eric Blake <eblake@redhat.com>
13428 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13429 Use __THROWNL rather than __THROW on static functions.
13431 2013-09-30 Petr Machata <pmachata@redhat.com>
13433 * elf/elf.h (R_AARCH64_ABS16): New macro.
13434 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13435 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13436 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13437 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13438 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13439 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13440 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13441 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13442 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13443 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13444 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13445 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13446 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13447 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13448 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13449 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13450 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13451 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13452 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13453 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13454 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13455 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13456 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13457 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13458 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13459 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13460 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13461 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13462 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13463 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13464 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13465 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13466 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13467 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13468 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13469 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13470 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13471 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13472 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13473 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13474 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13475 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13476 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13477 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13478 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13479 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13480 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13481 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13482 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13483 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13484 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13485 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13486 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13487 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13488 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13489 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13490 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13491 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13492 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13493 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13494 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13495 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13496 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13497 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13498 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13499 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13500 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13501 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13502 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13503 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13504 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13505 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13506 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13507 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13508 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13509 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13510 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13511 (R_AARCH64_TLSDESC_LDR): Likewise.
13512 (R_AARCH64_TLSDESC_ADD): Likewise.
13513 (R_AARCH64_TLSDESC_CALL): Likewise.
13515 2013-09-30 Andreas Schwab <schwab@suse.de>
13518 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13519 the nss database lookup.
13520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13523 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13525 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13527 2013-09-28 P. J. McDermott <pj@pehjota.net>
13529 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13530 ${Bash-specific parameter/pattern/string} parameter expansion.
13531 * sysdeps/unix/make-syscalls.sh: Likewise.
13533 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13535 * sysdeps/sh/stackguard-macros.h: New file.
13537 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13541 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13542 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13543 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13544 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13546 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13548 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13549 Fix thread ID register.
13551 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13553 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13554 [POSIX || UNIX98]: Require rather than permitting all symbols from
13556 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13557 element of struct sched_param.
13558 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13559 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13560 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13561 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13564 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13566 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13567 argument calculation.
13569 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13571 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13573 [POSIX] (pthread_attr_t): Do not require type.
13574 [POSIX] (pthread_cond_t): Likewise.
13575 [POSIX] (pthread_condattr_t): Likewise.
13576 [POSIX] (pthread_key_t): Likewise.
13577 [POSIX] (pthread_mutex_t): Likewise.
13578 [POSIX] (pthread_mutexattr_t): Likewise.
13579 [POSIX] (pthread_once_t): Likewise.
13580 [POSIX] (pthread_t): Likewise.
13581 [POSIX-based standards] (pthread_atfork): Expect function.
13583 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13584 Richard Sandiford <richard@codesourcery.com>
13586 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13587 (swap_endianness_p): New extern variable.
13588 (set_big_endian): New inline function.
13589 (maybe_swap_uint32): Likewise.
13590 (maybe_swap_uint32_array): Likewise.
13591 (maybe_swap_uint32_obstack): Likewise.
13592 * locale/programs/locfile.c: Include <stdbool.h>.
13593 (swap_endianness_p): New variable.
13594 (add_locale_uint32): Call maybe_swap_uint32.
13595 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13596 (write_locale_data): Call maybe_swap_uint32_array.
13597 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13599 (obstack_int32_grow_fast): Likewise.
13600 (output_weightwc): Call maybe_swap_uint32_obstack.
13601 (collate_output): Likewise.
13602 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13603 (OPT_LITTLE_ENDIAN): Likewise.
13604 (options): Add --little-endian and --big-endian options.
13605 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13606 * locale/programs/locarchive.c: Include "locfile.h".
13610 (create_archive): Use the new macros to access fields of
13611 structures directly mapped from or written to locale archives.
13612 (oldlocrecentcmp): Likewise.
13613 (enlarge_archive): Likewise.
13614 (insert_name): Likewise.
13615 (add_alias): Likewise.
13616 (add_locale): Likewise.
13617 (delete_locales_from_archive): Likewise.
13618 (show_archive_content): Likewise.
13619 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13622 2013-09-24 Roland McGrath <roland@hack.frob.com>
13624 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13625 http://www.gnu.org/doc/freemanuals.texi.
13626 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13628 2013-09-24 Will Newton <will.newton@linaro.org>
13630 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13633 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13635 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13638 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13640 * manual/threads.texi (POSIX Threads): Fix a typo.
13642 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13645 * string/tst-strcoll-overflow.c: New test case.
13646 * string/Makefile (xtests): Add tst-strcoll-overflow.
13647 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13648 cache if string sizes may cause integer overflow.
13651 * string/strcoll_l.c (coll_seq): New members rule, idx,
13652 save_idx and back_us.
13653 (get_next_seq_nocache): New function.
13654 (do_compare_nocache): New function.
13655 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13658 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13661 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13662 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13663 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13666 * elf/Makefile (tests): Add tst-ptrguard1.
13667 (tests-static): Add tst-ptrguard1-static.
13668 (tst-ptrguard1-ARGS): Define.
13669 (tst-ptrguard1-static-ARGS): Define.
13670 * elf/tst-ptrguard1.c: New file.
13671 * elf/tst-ptrguard1-static.c: New file.
13672 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13673 * sysdeps/i386/stackguard-macros.h: Likewise.
13674 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13675 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13676 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13677 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13678 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13679 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13681 2013-09-23 Hector Marco <hecmargi@upv.es>
13682 Ismael Ripoll <iripoll@disca.upv.es>
13683 Carlos O'Donell <carlos@redhat.com>
13686 * sysdeps/generic/stackguard-macros.h: Define
13687 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13688 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13689 Define __pointer_chk_guard_local.
13690 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13691 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13693 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13696 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13698 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13700 * include/string.h (__ffs): Declare as hidden.
13701 * string/ffs.c (__ffs): Define as hidden.
13702 * sysdeps/i386/ffs.c (__ffs): Likewise.
13703 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13704 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13705 * sysdeps/s390/ffs.c (__ffs): Likewise.
13706 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13708 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13710 * NEWS: Mention malloc probes.
13712 * malloc/arena.c (new_heap): New memory_heap_new probe.
13713 (grow_heap): New memory_heap_more probe.
13714 (shrink_heap): New memory_heap_less probe.
13715 (heap_trim): New memory_heap_free probe.
13716 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13717 (systrim): New memory_sbrk_less probe.
13718 * manual/probes.texi: Document them.
13720 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13721 * manual/probes.texi: Document it.
13723 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13724 (__libc_realloc): Add memory_realloc_retry probe.
13725 (__libc_memalign): Add memory_memalign_retry probe.
13726 (__libc_valloc): Add memory_valloc_retry probe.
13727 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13728 (__libc_calloc): Add memory_calloc_retry probe.
13729 * manual/probes.texi: Document them.
13731 * malloc/arena.c (get_free_list): Add probe
13732 memory_arena_reuse_free_list.
13733 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13734 and memory_arena_reuse.
13735 (arena_get2) [!PER_THREAD]: Likewise.
13736 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13737 memory_arena_reuse_realloc.
13738 * manual/probes.texi: Document them.
13740 * malloc/malloc.c (__libc_free): Add
13741 memory_mallopt_free_dyn_thresholds probe.
13742 (__libc_mallopt): Add multiple memory_mallopt probes.
13743 * manual/probes.texi: Document them.
13745 * malloc/malloc.c: Include stap-probe.h.
13746 (__libc_mallopt): Add memory_mallopt probe.
13747 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13748 * manual/probes.texi: New.
13749 * manual/Makefile (chapters): Add probes.
13750 * manual/threads.texi: Set next node.
13752 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13754 [BZ #15963, #13985]
13755 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13756 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13757 Add `Chinese' to `nan' entry name.
13759 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13761 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13762 (POLYNOMIAL): Likewise.
13763 (TAYLOR_SINCOS): Likewise.
13764 (TAYLOR_SLOW): Likewise.
13765 (__sin): Use TAYLOR_SINCOS.
13767 (slow): Use TAYLOR_SLOW.
13769 (bsloww): Likewise.
13770 (csloww): Likewise.
13772 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13774 * stdlib/strtod_l.c: Fix buffer overrun.
13776 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13778 * benchtests/Makefile (bench): Add sincos.
13779 * benchtests/bench-sincos.c: New file.
13781 * math/libm-test.inc (cos_test_data): New test inputs.
13782 (sin_test_data): Likewise.
13784 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13790 (sloww1): Likewise.
13791 (sloww2): Likewise.
13792 (bsloww1): Likewise.
13793 (bsloww2): Likewise.
13794 (cslow2): Likewise.
13795 (csloww1): Likewise.
13796 (csloww2): Likewise.
13798 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13807 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13809 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13810 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13811 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13812 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13813 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13814 * elf/cache.c (print_entry): Handle the new cache flags.
13816 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13817 Aldy Hernandez <aldyh@redhat.com>
13819 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13820 Change condition to [_SOFT_FLOAT].
13821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13828 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13833 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13836 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13839 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13841 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13842 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13843 (__longjmp): Use LOAD_GP to load saved GPRs.
13844 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13845 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13846 (__sigsetjmp): Use SAVE_GP to save GPRs.
13848 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13849 Do not append -msoft-float.
13850 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13852 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13854 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13856 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13859 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13860 (_FPU_GETCW): Use initial "__" on variable and field names but not
13861 on macro parameter name.
13862 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13863 parentheses around reference to macro parameter.
13865 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13867 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13869 (ctype_startup): Use uint32_t in cast and sizeof for
13872 2013-09-11 Jia Liu <proljc@gmail.com>
13874 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13876 [__FreeBSD__]: Likewise.
13878 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13881 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13882 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13883 (strchr): Remove __strchr_sse42 ifunc selection.
13884 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13885 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13887 2013-09-11 Will Newton <will.newton@linaro.org>
13889 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13890 parameter to RES. Remove hardcoded 1000 value.
13891 * benchtests/bench-skeleton.c (main): Pass RES parameter
13892 to TIMING_INIT and multiply result by 1000.
13894 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13898 2013-09-11 Andreas Schwab <schwab@suse.de>
13900 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13902 (O_TMPFILE) [__USE_GNU]: Define.
13903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13906 2013-09-11 Will Newton <will.newton@linaro.org>
13909 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13912 2013-09-11 Will Newton <will.newton@linaro.org>
13915 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13918 2013-09-11 Will Newton <will.newton@linaro.org>
13921 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13924 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13926 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13932 2013-09-10 Allan McRae <allan@archlinux.org>
13935 * manual/arith.texi (Parsing of Floats): Clarify
13939 * manual/install.texi (Running make install): Mention
13941 * INSTALL: Regenerated.
13943 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13945 * csu/init-first.c (_init): Remove the !SHARED condition around
13946 FPU control word initialization.
13947 * elf/dl-support.c (_dl_fpu_control): New variable.
13948 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13949 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13950 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13951 * math/test-fpucw-static.c: New file.
13952 * math/test-fpucw-ieee.c: New file.
13953 * math/test-fpucw-ieee-static.c: New file.
13954 * math/Makefile (tests): Add `test-fpucw-ieee' and
13956 (tests-static): New variable.
13957 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13959 [($(build-shared),yes)]
13960 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13962 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13965 2013-09-09 Allan McRae <allan@archlinux.org>
13968 * manual/string.texi (Collation Functions): Fix typo in
13970 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13973 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13976 * libio/memstream.c (open_memstream): Fix memory leak.
13977 * libio/wmemstream.c (open_wmemstream): Likewise.
13980 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13982 2013-09-09 Will Newton <will.newton@linaro.org>
13984 * malloc/Makefile: Add tst-realloc to tests.
13985 * malloc/tst-realloc.c: New file.
13987 2013-09-09 Allan McRae <allan@archlinux.org>
13990 * COPYING: Update from GNU website to fix FSF address.
13991 * COPYING.LIB: Likewise.
13993 2013-09-06 David S. Miller <davem@davemloft.net>
13995 * po/zh_TW.po: Update Chinese (traditional) translation from
13996 translation project.
13998 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13999 Joseph Myers <joseph@codesourcery.com>
14001 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14003 (obstack_chunk_alloc): New macro.
14004 (obstack_chunk_free): Likewise.
14005 (record_offset): New function.
14006 (init_locale_data): Likewise.
14007 (align_locale_data): Likewise.
14008 (add_locale_empty): Likewise.
14009 (add_locale_raw_data): Likewise.
14010 (add_locale_raw_obstack): Likewise.
14011 (add_locale_string): Likewise.
14012 (add_locale_wstring): Likewise.
14013 (add_locale_uint32): Likewise.
14014 (add_locale_uint32_array): Likewise.
14015 (add_locale_char): Likewise.
14016 (start_locale_structure): Likewise.
14017 (end_locale_structure): Likewise.
14018 (start_locale_prelude): Likewise.
14019 (end_locale_prelude): Likewise.
14020 (write_locale_data): Take locale_file structure rather than an
14022 * locale/programs/locfile.h: Include "obstack.h".
14023 (struct locale_file): Change to store locale file contents instead
14025 (init_locale_data): New prototype.
14026 (align_locale_data): Likewise.
14027 (add_locale_empty): Likewise.
14028 (add_locale_raw_data): Likewise.
14029 (add_locale_raw_obstack): Likewise.
14030 (add_locale_string): Likewise.
14031 (add_locale_wstring): Likewise.
14032 (add_locale_uint32): Likewise.
14033 (add_locale_uint32_array): Likewise.
14034 (add_locale_char): Likewise.
14035 (start_locale_structure): Likewise.
14036 (end_locale_structure): Likewise.
14037 (start_locale_prelude): Likewise.
14038 (end_locale_prelude): Likewise.
14039 (write_locale_data): Update prototype.
14040 * locale/programs/3level.h (struct TABLE): Remove result field.
14041 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14042 Use new locale_file interface.
14043 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14044 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14045 * locale/programs/ld-address.c (address_output): Use new
14046 locale_file interface.
14047 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14049 (collate_finish): Don't call collseq_table_finalize.
14050 (collate_output): Use new locale_file interface.
14051 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14053 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14054 (TABLE): Move defines earlier in file.
14055 (ELEMENT): Likewise.
14056 (DEFAULT): Likewise.
14057 (wctrans_table_add): Move macro and inline function earlier in
14059 (struct wctype_table): Move type earlier in file.
14060 (add_locale_wctype_table): New static prototype.
14061 (struct locale_ctype_t): Use logical types instead of struct iovec
14062 pointers for members.
14063 (ctype_output): Use new locale_file interface.
14064 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14065 new locale_file interface.
14066 (allocate_arrays): Update for use of new locale_file interface.
14067 * locale/programs/ld-identification.c (identification_output): Use
14068 new locale_file interface.
14069 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14070 * locale/programs/ld-messages.c (messages_output): Likewise.
14071 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14072 * locale/programs/ld-name.c (name_output): Likewise.
14073 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14074 * locale/programs/ld-paper.c (paper_output): Likewise.
14075 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14076 * locale/programs/ld-time.c (time_output): Likewise.
14078 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14080 * benchtests/Makefile: Add memrchr benchmark.
14081 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14082 benchmark as memrchr.
14083 * benchtests/bench-memrchr-ifunc.c: New file.
14084 * benchtests/bench-memrchr.c: New file.
14086 2013-09-06 Will Newton <will.newton@linaro.org>
14088 * benchtests/Makefile (string-bench): Add memcpy.
14090 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14091 Cong Wang <amwang@redhat.com>
14094 * sysdeps/unix/sysv/linux/bits/in.h
14095 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14096 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14097 before __USE_KERNEL_IPV6_DEFS uses.
14098 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14100 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14101 sockaddr_in6, or ipv6_mreq.
14103 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14105 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14106 memory access for final bytes in some large inputs.
14107 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14109 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14111 * string/test-memrchr.c: New file.
14112 * string/test-memrchr-ifunc.c: New file.
14113 * string/Makefile: Add new memrchr testcase.
14115 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14117 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14118 fanotify_init returns EPERM.
14120 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14122 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14124 (top level): Treat second token from macro or constant entries for
14125 allowed headers as allowed.
14126 * include/complex.h: Condition internal declarations on
14128 * include/fenv.h: Condition include of <stdbool.h> and internal
14129 declarations on [!_ISOMAC].
14131 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14134 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14136 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14138 * configure.in (--enable-versioning): Remove configure option.
14139 (libc_cv_asm_symver_directive): Remove configure test.
14140 (libc_cv_ld_version_script_option): Likewise.
14141 (VERSIONING): Remove variable and AC_SUBST.
14142 (DO_VERSIONING): Remove AC_DEFINE.
14143 * configure: Regenerated.
14144 * config.h.in (DO_VERSIONING): Remove macro.
14145 * Makerules [$(versioning) = yes]: Change conditionals to
14146 [$(build-shared) = yes].
14147 * config.make.in (versioning): Remove variable.
14148 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14149 [$(build-shared) = yes].
14150 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14151 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14152 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14153 [$(build-shared) = yes].
14154 * extra-lib.mk [$(versioning) = yes]: Likewise.
14155 * hurd/Makefile [$(versioning) = yes]: Likewise.
14156 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14158 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14160 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14161 [SHARED && !NO_HIDDEN].
14162 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14164 [SHARED && DO_VERSIONING]: Likewise..
14165 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14166 [$(build-shared) = yes].
14167 * manual/install.texi (--disable-versioning): Remove
14169 * INSTALL: Regenerated.
14170 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14172 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14173 [$(build-shared) = yes].
14174 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14175 * sysdeps/i386/i686/multiarch/strstr-c.c
14176 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14177 [SHARED && !NO_HIDDEN].
14178 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14179 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14180 * sysdeps/powerpc/powerpc32/dl-machine.c
14181 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14182 * sysdeps/powerpc/powerpc32/sysdep.h
14183 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14184 to [SHARED && PIC && !NO_HIDDEN].
14185 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14186 conditional to [SHARED].
14188 2013-09-04 Will Newton <will.newton@linaro.org>
14190 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14191 * benchtests/bench-string.h: Include bench-timing.h instead
14192 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14193 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14194 call to HP_TIMING_DIFF_INIT.
14195 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14196 instead of hp-timing.h macros.
14197 * benchtests/bench-memchr.c: Likewise.
14198 * benchtests/bench-memcmp.c: Likewise.
14199 * benchtests/bench-memcpy.c: Likewise.
14200 * benchtests/bench-memmem.c: Likewise.
14201 * benchtests/bench-memmove.c: Likewise.
14202 * benchtests/bench-memset.c: Likewise.
14203 * benchtests/bench-rawmemchr.c: Likewise.
14204 * benchtests/bench-strcasecmp.c: Likewise.
14205 * benchtests/bench-strcasestr.c: Likewise.
14206 * benchtests/bench-strcat.c: Likewise.
14207 * benchtests/bench-strchr.c: Likewise.
14208 * benchtests/bench-strcmp.c: Likewise.
14209 * benchtests/bench-strcpy.c: Likewise.
14210 * benchtests/bench-strcpy_chk.c: Likewise.
14211 * benchtests/bench-strlen.c: Likewise.
14212 * benchtests/bench-strncasecmp.c: Likewise.
14213 * benchtests/bench-strncat.c: Likewise.
14214 * benchtests/bench-strncmp.c: Likewise.
14215 * benchtests/bench-strncpy.c: Likewise.
14216 * benchtests/bench-strnlen.c: Likewise.
14217 * benchtests/bench-strpbrk.c: Likewise.
14218 * benchtests/bench-strrchr.c: Likewise.
14219 * benchtests/bench-strspn.c: Likewise.
14220 * benchtests/bench-strstr.c: Likewise.
14222 2013-09-04 Will Newton <will.newton@linaro.org>
14224 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14226 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14229 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14230 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14231 * math/libm-test.inc (lgamma_test_data): Add more tests.
14232 * sysdeps/i386/fpu/libm-test-ulps: Update.
14233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14235 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14237 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14241 Add strcmp-sse2-unaligned
14242 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14244 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14246 * Versions.def (libc): Add GLIBC_2.19.
14248 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14250 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14251 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14253 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14256 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14257 intermediate calculations in recurrence.
14258 (__ieee754_ynf): Likewise.
14259 * math/libm-test.inc (jn_test_data): Do not allow spurious
14260 underflow exception. Add more tests.
14261 (yn_test_data): Add more tests.
14262 * sysdeps/i386/fpu/libm-test-ulps: Update.
14263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14265 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14269 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14271 * csu/init-first.c: Fix then/than typos.
14272 * locale/programs/ld-collate.c: Likewise.
14273 * locale/programs/linereader.h: Likewise.
14274 * manual/charset.texi: Likewise.
14275 * manual/filesys.texi: Likewise.
14276 * manual/stdio.texi: Likewise.
14277 * manual/string.texi: Likewise.
14278 * stdlib/fmtmsg.c: Likewise.
14279 * sysdeps/i386/stpncpy.S: Likewise.
14280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14281 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14282 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14283 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14285 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14287 * elf/dl-open.c: Fix typos.
14288 * iconvdata/gbbig5.c: Likewise.
14289 * iconvdata/iso-2022-jp.c: Likewise.
14290 * iconv/gconv_int.h: Likewise.
14291 * iconv/loop.c: Likewise.
14292 * nis/rpcsvc/nis.h: Likewise.
14293 * resolv/ns_name.c: Likewise.
14294 * stdio-common/vfscanf.c: Likewise.
14295 * streams/stropts.h: Likewise.
14296 * sunrpc/rpc_thread.c: Likewise.
14297 * sysdeps/i386/strpbrk.S: Likewise.
14298 * sysdeps/ieee754/k_standard.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14301 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14302 * sysdeps/mach/hurd/profil.c: Likewise.
14303 * sysdeps/s390/dl-procinfo.h: Likewise.
14304 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14305 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14306 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14307 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14308 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14310 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14312 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14315 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14317 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14318 aix specific files.
14319 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14320 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14322 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14324 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14325 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14326 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14328 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14329 Roland McGrath <roland@hack.frob.com>
14331 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14332 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14334 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14336 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14337 __executable_start symbol instead of _start.
14339 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14341 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14342 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14344 * sysdeps/gnu/ldsodefs.h: ... this new file.
14346 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14347 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14348 instead of ELFOSABI_LINUX.
14350 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14351 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14352 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14353 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14355 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14356 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14357 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14359 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14360 (ibm_extended_long_double): Add ieee_nan member.
14361 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14362 (do_test): New function.
14364 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14366 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14367 functions, renamed from truncdfsf_test, trunctfsf_test,
14369 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14371 (do_test): Run all these.
14373 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14375 * argp/argp-help.c: Fix typos.
14376 * argp/argp-parse.c: Likewise.
14377 * debug/backtracesyms.c: Likewise.
14378 * elf/elf.h: Likewise.
14379 * malloc/malloc.c: Likewise.
14380 * nis/nis_print.c: Likewise.
14381 * resolv/res_comp.c: Likewise.
14382 * stdlib/stdlib.h: Likewise.
14383 * sunrpc/clnt_tcp.c: Likewise.
14384 * sunrpc/clnt_udp.c: Likewise.
14385 * sunrpc/clnt_unix.c: Likewise.
14386 * sysdeps/unix/bsd/ptsname.c: Likewise.
14387 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14388 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14395 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14397 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14399 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14402 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14405 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14406 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14407 ($(objpfx)bug-dl-leaf): New rule.
14408 ($(objpfx)bug-dl-leaf.so): Likewise.
14409 ($(objpfx)bug-dl-leaf.out): Likewise.
14410 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14411 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14412 * dlfcn/bug-dl-leaf.c: New test.
14413 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14414 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14415 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14416 (dlclose): Likewise.
14417 (dlmopen): Likewise.
14419 2013-08-27 Roland McGrath <roland@hack.frob.com>
14421 * include/netdb.h [!_ISOMAC]:
14422 Don't include <tls.h>.
14423 (h_errno, __libc_h_errno): Move declaration and macros out of
14426 * include/resolv.h [_RESOLV_H_]:
14427 Don't include <tls.h>.
14428 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14429 * resolv/res_libc.c: Don't include <tls.h>.
14430 (_res): Use __attribute__ ((nocommon)) in place of
14431 __attribute__ ((section (".bss"))).
14433 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14434 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14436 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14438 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14439 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14441 * resolv/res_mkquery.c: Include <sys/time.h>.
14443 * inet/ifreq.c: Moved to ...
14444 * sysdeps/unix/ifreq.c: ... here.
14445 * inet/ifreq.c: New file, true stub version.
14447 * socket/sa_len.c: New file.
14448 * socket/Makefile (aux): Add it.
14449 * sysdeps/unix/sysv/linux/Makefile
14450 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14451 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14452 and #include <socket/sa_len.c>.
14453 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14454 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14456 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14457 * bits/socket.h: ... here.
14459 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14460 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14461 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14463 2013-08-27 Andreas Schwab <schwab@suse.de>
14466 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14467 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14468 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14469 * string/test-strcasecmp.c (test_main): Run tests in several
14471 * string/test-strncasecmp.c (test_main): Likewise.
14473 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14474 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14475 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14476 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14477 (__strncasecmp_ssse3) [PIC]: Likewise.
14479 2013-08-26 Roland McGrath <roland@hack.frob.com>
14481 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14483 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14484 instead of explicitly declaring xdecrypt.
14485 * nis/nss_nis/nis-publickey.c: Likewise.
14487 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14490 * nscd/aicache.c: Include res_hconf.h.
14491 (addhstaiX): Initialize res_hconf.
14493 2013-08-26 Andreas Schwab <schwab@suse.de>
14495 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14496 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14498 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14500 * nscd/aicache.c (addhstaiX): Fix indentation.
14502 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14504 * configure.ac: Quote $build_pt_chown test.
14505 * configure: Regenerated.
14507 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14510 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14511 * math/s_cexpf.c (__cexpf): Likewise.
14512 * math/s_cexpl.c (__cexpl): Likewise.
14513 * math/libm-test.inc (cexp_test_data): Correct expected return
14514 value for NaN + i0. Add another test.
14516 2013-08-22 David S. Miller <davem@davemloft.net>
14518 * po/ca.po: Update Catalan translation from translation project.
14519 * po/uk.po: Add Ukrainian translations from translation project.
14521 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14524 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14525 is infinite, not alongside NaN test.
14526 * math/s_fdimf.c (__fdimf): Likewise.
14527 * math/s_fdiml.c (__fdiml): Likewise.
14528 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14529 errno is unchanged.
14531 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14533 * argp/argp-help.c: Fix typos.
14534 * crypt/speeds.c: Likewise.
14535 * csu/check_fds.c: Likewise.
14536 * elf/dl-load.c: Likewise.
14537 * elf/dl-open.c: Likewise.
14538 * elf/reldep3.c: Likewise.
14539 * elf/reldep.c: Likewise.
14540 * elf/sprof.c: Likewise.
14541 * iconv/iconv_charmap.c: Likewise.
14542 * iconv/skeleton.c: Likewise.
14543 * iconv/strtab.c: Likewise.
14544 * io/lockf64.c: Likewise.
14545 * libio/libioP.h: Likewise.
14546 * resolv/gai_notify.c: Likewise.
14547 * resolv/ns_name.c: Likewise.
14548 * resolv/ns_samedomain.c: Likewise.
14549 * resolv/res_send.c: Likewise.
14550 * stdlib/random.c: Likewise.
14551 * sunrpc/rpc/xdr.h: Likewise.
14552 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14554 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14555 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14560 * sysdeps/mach/hurd/check_fds.c: Likewise.
14561 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14562 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14563 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14564 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14565 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14566 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14567 * sysdeps/pthread/aio_notify.c: Likewise.
14568 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14569 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14570 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14571 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14572 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14574 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14576 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14577 version if bit_Slow_SSE4_2 is set.
14578 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14581 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14584 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14585 trampoline stack frame information.
14586 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14588 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14589 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14590 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14591 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14592 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14593 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14595 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14596 interrupting a syscall and set with option SA_SIGINFO.
14598 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14601 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14602 argument is infinite.
14603 * math/s_cprojf.c (__cprojf): Likewise.
14604 * math/s_cprojl.c (__cprojl): Likewise.
14605 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14606 * math/libm-test.inc (cproj_test_data): Add more tests.
14608 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14610 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14611 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14612 size. Use __ffs to determine corresponding shift.
14614 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14615 Roland McGrath <roland@hack.frob.com>
14617 * Makefile (INSTALL): Remove trailing blank lines from output of
14620 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14622 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14623 Align 32 bit compat elf_greg to 8 bytes.
14625 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14627 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14629 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14631 * string/strcoll_l.c (coll_seq): New structure.
14632 (get_next_seq_cached): New function.
14633 (get_next_seq): New function.
14634 (do_compare): New function.
14635 (STRCOLL): Use GNU style definition. Simplify implementation
14636 by using get_next_seq, get_next_seq_cached and do_compare.
14638 2013-08-16 Florian Weimer <fweimer@redhat.com>
14642 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14644 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14646 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14647 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14648 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14650 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14651 GETDENTS_64BIT_ALIGNED.
14652 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14653 * manual/filesys.texi (Reading/Closing Directory): Document
14654 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14656 * manual/conf.texi (Limits for Files): Add portability note to
14657 NAME_MAX, PATH_MAX.
14658 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14660 2013-08-13 Andreas Schwab <schwab@suse.de>
14663 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14665 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14666 LDBL_MAX_EXP >= 16384]: Add tests for it.
14668 2013-08-12 David S. Miller <davem@davemloft.net>
14670 * version.h (RELEASE): Set to "development".
14671 (VERSION): Set to "2.18.90".
14672 * NEWS: Add 2.19 section.
14674 2013-08-03 David S. Miller <davem@davemloft.net>
14676 * po/ko.po: Update Korean translation from translation project.
14678 2013-08-01 David S. Miller <davem@davemloft.net>
14680 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14681 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14684 2013-07-30 David S. Miller <davem@davemloft.net>
14686 * po/fr.po: Update French translation from translation project.
14688 2013-07-28 David S. Miller <davem@davemloft.net>
14690 * po/cs.po: Update Czech translation from translation project.
14692 * po/sv.po: Update Swedish translation from translation project.
14694 2013-07-27 David S. Miller <davem@davemloft.net>
14696 * po/eo.po: Update Esperanto translation from translation project.
14698 * po/vi.po: Update Vietnamese translation from translation project.
14700 * po/de.po: Update German translation from translation project.
14702 2013-07-26 David S. Miller <davem@davemloft.net>
14704 * po/bg.po: Update Bulgarian translation from translation project.
14706 * po/nl.po: Update Dutch translation from translation project.
14707 * po/pl.po: Update Polish translation from translation project.
14708 * po/ru.po: Update Russian translation from translation project.
14710 2013-07-24 David S. Miller <davem@davemloft.net>
14712 * po/libc.pot: Update.
14714 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14717 variable page size.
14718 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14719 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14720 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14722 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14724 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14726 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14727 Andreas Schwab <schwab@suse.de>
14728 Roland McGrath <roland@hack.frob.com>
14729 Joseph Myers <joseph@codesourcery.com>
14730 Carlos O'Donell <carlos@redhat.com>
14733 * config.h.in: Define HAVE_PT_CHOWN.
14734 * config.make.in (build-pt-chown): New variable.
14735 * configure.in (--enable-pt_chown): New configure option.
14736 * configure: Regenerate.
14737 * login/Makefile: Include Makeconfig. Build pt_chown only if
14738 build-pt-chown is enabled.
14739 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14740 pt_chown to fix pty ownership.
14741 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14743 * manual/install.texi (Configuring and compiling): Mention
14744 --enable-pt_chown. Add @findex for grantpt.
14745 * INSTALL: Regenerate.
14747 2013-07-20 David S. Miller <davem@davemloft.net>
14749 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14750 difference between 32-bit and 64-bit.
14752 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14755 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14756 Avoid system header dependency with -ffreestanding.
14757 ($(objpfx)bits/syscall%d): Likewise.
14759 2013-07-13 David S. Miller <davem@davemloft.net>
14761 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14762 underflows from atanl/atan2l due to bug 15319.
14763 (casinh_test_data): Likewise.
14765 2013-07-07 David S. Miller <davem@davemloft.net>
14767 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14769 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14771 * sysdeps/i386/fpu/libm-test-ulps: Update.
14772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14774 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14776 * configure.in (--enable-lock-elision): Fix message text.
14777 * INSTALL: Regenerate.
14778 * configure: Regenerate.
14780 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14784 2013-07-03 Andreas Jaeger <aj@suse.de>
14786 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14788 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14789 (ptrace_peeksiginfo_args): Add.
14790 (__ptrace_peeksiginfo_flags): Add.
14791 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14793 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14795 2013-07-03 Allan McRae <allan@archlinux.org>
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 2013-07-02 David S. Miller <davem@davemloft.net>
14801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14803 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14807 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14809 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14812 2013-07-02 Andi Kleen <ak@linux.intel.com>
14814 * config.h.in (ENABLE_LOCK_ELISION): Add.
14815 * configure.in (--enable-lock-elision): Add option.
14816 * manual/install.texi: Document --enable lock elision.
14817 * configure: Regenerate
14818 * INSTALL: Regenerate.
14820 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14822 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14823 SSE4.2 strcasecmp for libc.a.
14824 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14826 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14829 * soft-fp/op-common.h (_FP_FMA): New macro.
14830 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14831 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14832 (_FP_MUL_MEAT_1_imm): ... here.
14833 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14834 (_FP_MUL_MEAT_1_wide): ... here.
14835 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14836 (_FP_MUL_MEAT_1_hard): ... here.
14837 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14838 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14839 (_FP_MUL_MEAT_2_wide): ... here.
14840 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14841 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14842 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14843 (_FP_MUL_MEAT_2_gmp): ... here.
14844 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14845 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14846 (_FP_MUL_MEAT_4_wide): ... here.
14847 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14848 (_FP_MUL_MEAT_4_gmp): ... here.
14849 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14850 (_FP_WFRACBITS_DW_S): Likewise.
14851 (_FP_WFRACXBITS_DW_S): Likewise.
14852 (_FP_HIGHBIT_DW_S): Likewise.
14853 (FP_FMA_S): Likewise.
14854 (_FP_FRAC_HIGH_DW_S): Likewise.
14855 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14856 (_FP_WFRACBITS_DW_D): Likewise.
14857 (_FP_WFRACXBITS_DW_D): Likewise.
14858 (_FP_HIGHBIT_DW_D): Likewise.
14859 (FP_FMA_D): Likewise.
14860 (_FP_FRAC_HIGH_DW_D): Likewise.
14861 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14862 (_FP_WFRACBITS_DW_E): Likewise.
14863 (_FP_WFRACXBITS_DW_E): Likewise.
14864 (_FP_HIGHBIT_DW_E): Likewise.
14865 (FP_FMA_E): Likewise.
14866 (_FP_FRAC_HIGH_DW_E): Likewise.
14867 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14868 (_FP_WFRACBITS_DW_Q): Likewise.
14869 (_FP_WFRACXBITS_DW_Q): Likewise.
14870 (_FP_HIGHBIT_DW_Q): Likewise.
14871 (FP_FMA_Q): Likewise.
14872 (_FP_FRAC_HIGH_DW_Q): Likewise.
14873 * soft-fp/fmasf4.c: New file.
14874 * soft-fp/fmadf4.c: Likewise.
14875 * soft-fp/fmatf4.c: Likewise.
14877 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14879 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14880 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14884 (index_Slow_SSE4_2): Likewise.
14885 (index_Prefer_PMINUB_for_stringop): Likewise.
14886 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14887 bit_Slow_SSE4_2 is set.
14888 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14889 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14891 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14893 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14894 rtld_global._dl_hwcap2.
14895 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14897 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14898 POWER8 feature descriptions defined in _dl_hwcap2.
14899 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14900 string handling for POWER8 feature bits.
14901 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14902 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14903 _dl_powerpc_cap_flags.
14904 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14905 * sysdeps/powerpc/rtld-global-offsets.sym
14906 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14907 _dl_hwcap2 in the rtld_global_ro structure.
14909 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14911 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14912 hardware capabilities in support of AT_HWCAP2.
14913 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14914 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14916 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14917 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14918 explicitly the unknown a_type display mechanism is used.
14919 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14920 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14922 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14923 to macro prototype for AT_HWCAP2 support.
14924 * sysdeps/i386/dl-procinfo.h: Likewise.
14925 * sysdeps/s390/dl-procinfo.h: Likewise.
14926 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14927 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14928 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14929 return -1 for unknown a_type display fallback.
14930 * sysdeps/sparc/dl-procinfo.h: Likewise.
14931 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14932 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14934 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14936 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14937 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14939 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14942 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14943 mprotect making __stack_prot writable.
14945 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14946 Joseph Myers <joseph@codesourcery.com>
14948 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14949 as being properly aligned.
14951 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14953 * dlfcn/modstatic5.c: New file.
14954 * dlfcn/tststatic5.c: New file.
14955 * dlfcn/Makefile (tests): Add tststatic5.
14956 (tests-static): Likewise.
14957 (modules-names): Add modstatic5.
14958 (tststatic5-ENV): New variable.
14959 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14962 * elf/dl-support.c (_dl_main_map): New variable.
14963 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14964 (_dl_nns, _dl_load_adds): Set to 1.
14965 (_dl_initial_searchlist): Refer to _dl_main_map.
14966 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14967 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14968 call to _dl_get_origin.
14969 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14971 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14972 * dlfcn/modstatic3.c: New file.
14973 * dlfcn/tststatic3.c: New file.
14974 * dlfcn/tststatic4.c: New file.
14975 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14976 (tests-static): Likewise.
14977 (modules-names): Add modstatic3.
14978 (tststatic3-ENV, tststatic4-ENV): New variables.
14979 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14980 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14982 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14984 * configure.in (CC): Require GCC version 4.4 or later.
14985 * configure: Regenerated.
14986 * manual/install.texi (Tools for Compilation): Update GCC version
14988 * INSTALL: Regenerated.
14990 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14993 * string/test-memcmp.c (check2): New.
14994 (main): Call check2.
14996 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14998 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15001 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15003 (dl_open_worker) [!SHARED]: ... here.
15005 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15007 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15009 2013-06-25 Richard Henderson <rth@redhat.com>
15011 * locale/programs/locarchive.c: Include <libc-internal.h>
15013 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15015 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15016 trailing whitespace removed.
15018 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15021 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15022 * locale/programs/locarchive.c: Include libc-mmap.h.
15023 (prepare_address_space): Take two new outputs (the mmap base and len).
15024 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15026 (create_archive): Declare new mmap base and len values for
15027 prepare_address_space, and store the result in ah.
15028 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15029 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15030 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15031 Declare new mmap base and len values for
15032 prepare_address_space, and store the result in new_ah.
15033 (open_archive): Declare new mmap base and len values for
15034 prepare_address_space, and store the result in ah.
15035 (close_archive): If ah->mmap_base is not NULL, use that and
15036 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15037 * sysdeps/generic/libc-mmap.h: New file.
15039 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15041 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15042 (ALIGN_UP): Likewise.
15043 (PTR_ALIGN_DOWN): Likewise.
15044 (PTR_ALIGN_UP): Likewise.
15046 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15048 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15049 entry mapped to PPC_PLATFORM_POWER8.
15050 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15052 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15053 (_dl_string_platform): Add case for exporting platform position for
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15056 search path to sysdeps/powerpc/powerpc32/power8 directory.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15058 search path to sysdeps/powerpc/powerpc64/power8 directory.
15059 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15060 power7 directories.
15061 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15062 power7 directories.
15064 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15066 * INSTALL: Regenerate.
15068 * nscd/connections.c (nscd_init): Fix comment.
15070 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15072 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15075 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15076 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15078 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15080 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15082 (DL_DST_REQ_STATIC): Remove macro.
15084 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15087 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15088 with a shift of 0 bits.
15090 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15092 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15095 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15098 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15100 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15102 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15103 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15104 accepts -fno-tree-loop-distribute-patterns.
15105 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15106 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15108 * string/memset.c (memset): Likewise.
15109 * string/test-memmove.c (simple_memmove): Disable loop transformation
15111 * string/test-memset.c (simple_memset): Likewise.
15112 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15113 * benchtests/bench-memset.c (simple_memset): Likewise.
15114 * configure: Regenerated.
15116 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15118 * math/test-misc.c (main): Ignore fesetround failure when failures
15119 of subsequent rounding tests would be ignored.
15122 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15123 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15124 * math/fegetenv.c (__fegetenv): Return 0.
15125 * math/fegetexcept.c (fegetexcept): Return 0.
15126 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15128 * math/feholdexcpt.c (feholdexcept): Return 0.
15129 * math/fesetenv.c (__fesetenv): Return 0.
15130 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15131 argument FE_TONEAREST.
15132 * math/feupdateenv.c (__feupdateenv): Return 0.
15133 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15135 2013-06-18 Roland McGrath <roland@hack.frob.com>
15137 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15138 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15139 ($(objpfx)rtld-%.os rules): Use them.
15141 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15143 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15146 2013-06-17 Roland McGrath <roland@hack.frob.com>
15148 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15149 length of target pattern, then descending length of dependency pattern.
15150 * configure.in (AWK): Require gawk 3.1.2 or newer.
15151 * manual/install.texi (Tools for Compilation): Say that we do.
15152 * configure: Regenerated.
15154 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15155 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15156 * scripts/sysd-rules.awk: ... this new script.
15157 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15158 than a glob-style pattern.
15160 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15162 * math/test-misc.c (main): Do not treat incorrectly rounded
15163 conversions as failure unless ROUNDING_TESTS passes.
15165 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15168 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15169 restore exception state around main square root computation, then
15170 check for inexactness explicitly.
15172 * math/libm-test.inc (fma_test_data): Add another test.
15174 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15176 * manual/threads.texi (Non-POSIX Extensions): New document
15177 node. Document pthread_getattr_default_np and
15178 pthread_setattr_default_np.
15180 * Versions.def (libpthread): Add GLIBC_2.18.
15181 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15190 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15201 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15204 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15206 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15207 H.J. Lu <hjl.tools@gmail.com>
15210 * sysdeps/x86_64/rtld-memset.c: Remove file.
15211 * sysdeps/x86_64/rtld-memset.S: New file.
15213 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15215 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15216 (test_in_one_mode): Take arguments for whether the rounding mode
15217 is supported for each floating-point type.
15218 (do_test): Pass new arguments to test_in_one_mode using
15221 2013-06-13 Roland McGrath <roland@hack.frob.com>
15223 * posix/tst-waitid.c (do_test): Distinguish different instances of
15224 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15225 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15226 before entering the kernel for waitpid.
15228 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15230 * NEWS: Fix note on clock function precision. Text by Roland
15233 2013-06-13 Roland McGrath <roland@hack.frob.com>
15235 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15236 it into place only when and if the sanity check passes.
15238 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15240 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15241 output for whether conversion result is exact. Take argument
15242 indicating whether type is IBM long double.
15243 (round_for_all): Change need_exact field to ibm_ld.
15244 * stdlib/tst-strtod-round.c (struct exactness): New type.
15245 (struct test): Change bool ld_ok field to struct exactness exact.
15246 (TEST): Update all definitions for change to field.
15247 (tests): Regenerate array contents.
15248 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15249 field value. Check for IBM long double here.
15250 (do_test): Update calls to test_in_one_mode.
15252 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15255 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15256 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15258 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15261 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15262 generated by the compiler on loop optimizations.
15263 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15264 general definitions.
15266 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15268 * math/bug-nextafter.c: Include <math-tests.h>.
15269 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15271 * math/bug-nexttoward.c: Include <math-tests.h>.
15272 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15274 * math/test-misc.c: Include <math-tests.h>.
15275 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15278 2013-06-12 Andreas Jaeger <aj@suse.de>
15280 * po/ia.po: Update Interlingua translation from translation
15283 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15285 * include/fenv.h: Include stdbool.h.
15286 (struct rm_ctx): New structure.
15287 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15289 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15290 (SET_RESTORE_ROUNDF): Likewise.
15291 (SET_RESTORE_ROUNDL): Likewise.
15292 (SET_RESTORE_ROUND_NOEX): Likewise.
15293 (SET_RESTORE_ROUND_NOEXF): Likewise.
15294 (SET_RESTORE_ROUND_NOEXL): Likewise.
15295 (SET_RESTORE_ROUND_53BIT): Likewise.
15296 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15297 (libc_feresetround_noexf_ctx): Likewise.
15298 (libc_feresetround_noexl_ctx): Likewise.
15299 (libc_feholdsetround_53bit_ctx): Likewise.
15300 (libc_feresetround_53bit_ctx): Likewise.
15301 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15302 (libc_feholdexcept_setround_sse_ctx): New function.
15303 (libc_fesetenv_sse_ctx): Likewise.
15304 (libc_feupdateenv_sse_ctx): Likewise.
15305 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15306 (libc_feholdexcept_setround_387_ctx): Likewise.
15307 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15308 (libc_feholdsetround_387_prec_ctx): Likewise.
15309 (libc_feholdsetround_387_ctx): Likewise.
15310 (libc_feholdsetround_387_53bit_ctx): Likewise.
15311 (libc_feholdsetround_sse_ctx): Likewise.
15312 (libc_feresetround_sse_ctx): Likewise.
15313 (libc_feresetround_387_ctx): Likewise.
15314 (libc_feupdateenv_387_ctx): Likewise.
15315 (libc_feholdexcept_setroundf_ctx): Define macro.
15316 (libc_fesetenvf_ctx): Likewise.
15317 (libc_feupdateenvf_ctx): Likewise.
15318 (libc_feholdsetroundf_ctx): Likewise.
15319 (libc_feresetroundf_ctx): Likewise.
15320 (libc_feholdexcept_setround_ctx): Likewise.
15321 (libc_fesetenv_ctx): Likewise.
15322 (libc_feupdateenv_ctx): Likewise.
15323 (libc_feholdsetround_ctx): Likewise.
15324 (libc_feresetround_ctx): Likewise.
15325 (libc_feholdexcept_setroundl_ctx): Likewise.
15326 (libc_feupdateenvl_ctx): Likewise.
15327 (libc_feholdsetroundl_ctx): Likewise.
15328 (libc_feresetroundl_ctx): Likewise.
15329 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15330 (libc_feresetround_53bit_ctx): Likewise.
15332 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15334 * locale/iso-639.def: Convert to UTF-8.
15336 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15338 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15339 (EXCEPTION_TESTS_double): Likewise.
15340 (EXCEPTION_TESTS_long_double): Likewise.
15341 (EXCEPTION_TESTS): Likewise.
15342 * math/libm-test.inc (test_exceptions): Only test exceptions if
15343 EXCEPTION_TESTS (FLOAT).
15345 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15347 * benchtests/Makefile (string-bench): Add strcpy_chk and
15349 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15350 * benchtests/bench-stpcpy_chk.c: New file.
15351 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15352 * benchtests/bench-strcpy_chk.c: New file.
15353 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15355 (do_test): Likewise.
15357 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15359 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15360 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15361 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15362 with tabs where appropriate.
15363 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15365 [PPC_PLATFORM_PPC440]: Likewise.
15366 [PPC_PLATFORM_PPC464]: Likewise.
15367 [PPC_PLATFORM_PPC476]: Likewise.
15368 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15369 ppc464, and ppc476 platform strings merging from ports/
15372 2013-06-11 Andreas Schwab <schwab@suse.de>
15375 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15376 (from_ucs4_idx): Regenerate.
15377 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15378 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15379 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15380 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15381 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15382 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15383 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15384 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15385 from FROM_LOOP and TO_LOOP specific macros.
15386 (BODY): Handle combining characters.
15387 * iconvdata/BIG5HKSCS.irreversible: Update.
15388 * iconvdata/BIG5HKSCS.precomposed: New file.
15389 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15391 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15393 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15395 * include/sys/time.h: Fix indentation and add copyright header.
15397 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15398 (do_test): Likewise.
15399 * string/test-memchr.c (do_one_test): Likewise.
15400 (do_test): Likewise.
15401 * string/test-memcmp.c (do_one_test): Likewise.
15402 (do_test): Likewise.
15403 * string/test-memcpy.c (do_one_test): Likewise.
15404 (do_test): Likewise.
15405 * string/test-memmem.c (do_one_test): Likewise.
15406 (do_test): Likewise.
15407 (do_random_tests): Likewise.
15408 * string/test-memmove.c (do_one_test): Likewise.
15409 (do_test): Likewise.
15410 * string/test-memset.c (do_one_test): Likewise.
15411 (do_test): Likewise.
15412 * string/test-rawmemchr.c (do_one_test): Likewise.
15413 (do_test): Likewise.
15414 * string/test-strcasecmp.c (do_one_test): Likewise.
15415 (do_test): Likewise.
15416 * string/test-strcasestr.c (do_one_test): Likewise.
15417 (do_test): Likewise.
15418 * string/test-strcat.c (do_one_test): Likewise.
15419 (do_test): Likewise.
15420 * string/test-strchr.c (do_one_test): Likewise.
15421 (do_test): Likewise.
15422 * string/test-strcmp.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424 * string/test-strcpy.c (do_one_test): Likewise.
15425 (do_test): Likewise.
15426 * string/test-string.h: Likewise.
15427 (test_init): Likewise.
15428 * string/test-strlen.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 * string/test-strncasecmp.c (do_one_test): Likewise.
15431 (do_test): Likewise.
15432 * string/test-strncat.c (do_one_test): Likewise.
15433 (do_test): Likewise.
15434 * string/test-strncmp.c (do_one_test): Likewise.
15435 (do_test_limit): Likewise.
15436 (do_test): Likewise.
15437 * string/test-strncpy.c (do_one_test): Likewise.
15438 (do_test): Likewise.
15439 * string/test-strnlen.c (do_one_test): Likewise.
15440 (do_test): Likewise.
15441 * string/test-strpbrk.c (do_one_test): Likewise.
15442 (do_test): Likewise.
15443 * string/test-strrchr.c (do_one_test): Likewise.
15444 (do_test): Likewise.
15445 * string/test-strspn.c (do_one_test): Likewise.
15446 (do_test): Likewise.
15447 * string/test-strstr.c (do_one_test): Likewise.
15448 (do_test): Likewise.
15450 * benchtests/Makefile (string-bench): Add string benchmarks.
15451 * benchtests/bench-bcopy-ifunc.c: New file.
15452 * benchtests/bench-bcopy.c: New file.
15453 * benchtests/bench-bzero-ifunc.c: New file.
15454 * benchtests/bench-bzero.c: New file.
15455 * benchtests/bench-memccpy-ifunc.c: New file.
15456 * benchtests/bench-memccpy.c: New file.
15457 * benchtests/bench-memchr-ifunc.c: New file.
15458 * benchtests/bench-memchr.c: New file.
15459 * benchtests/bench-memcmp-ifunc.c: New file.
15460 * benchtests/bench-memcmp.c: New file.
15461 * benchtests/bench-memmem-ifunc.c: New file.
15462 * benchtests/bench-memmem.c: New file.
15463 * benchtests/bench-memmove-ifunc.c: New file.
15464 * benchtests/bench-memmove.c: New file.
15465 * benchtests/bench-mempcpy-ifunc.c: New file.
15466 * benchtests/bench-mempcpy.c: New file.
15467 * benchtests/bench-memset-ifunc.c: New file.
15468 * benchtests/bench-memset.c: New file.
15469 * benchtests/bench-rawmemchr-ifunc.c: New file.
15470 * benchtests/bench-rawmemchr.c: New file.
15471 * benchtests/bench-stpcpy-ifunc.c: New file.
15472 * benchtests/bench-stpcpy.c: New file.
15473 * benchtests/bench-stpncpy-ifunc.c: New file.
15474 * benchtests/bench-stpncpy.c: New file.
15475 * benchtests/bench-strcasecmp-ifunc.c: New file.
15476 * benchtests/bench-strcasecmp.c: New file.
15477 * benchtests/bench-strcasestr-ifunc.c: New file.
15478 * benchtests/bench-strcasestr.c: New file.
15479 * benchtests/bench-strcat-ifunc.c: New file.
15480 * benchtests/bench-strcat.c: New file.
15481 * benchtests/bench-strchr-ifunc.c: New file.
15482 * benchtests/bench-strchr.c: New file.
15483 * benchtests/bench-strchrnul-ifunc.c: New file.
15484 * benchtests/bench-strchrnul.c: New file.
15485 * benchtests/bench-strcmp-ifunc.c: New file.
15486 * benchtests/bench-strcmp.c: New file.
15487 * benchtests/bench-strcpy-ifunc.c: New file.
15488 * benchtests/bench-strcpy.c: New file.
15489 * benchtests/bench-strcspn-ifunc.c: New file.
15490 * benchtests/bench-strcspn.c: New file.
15491 * benchtests/bench-strlen-ifunc.c: New file.
15492 * benchtests/bench-strlen.c: New file.
15493 * benchtests/bench-strncasecmp-ifunc.c: New file.
15494 * benchtests/bench-strncasecmp.c: New file.
15495 * benchtests/bench-strncat-ifunc.c: New file.
15496 * benchtests/bench-strncat.c: New file.
15497 * benchtests/bench-strncmp-ifunc.c: New file.
15498 * benchtests/bench-strncmp.c: New file.
15499 * benchtests/bench-strncpy-ifunc.c: New file.
15500 * benchtests/bench-strncpy.c: New file.
15501 * benchtests/bench-strnlen-ifunc.c: New file.
15502 * benchtests/bench-strnlen.c: New file.
15503 * benchtests/bench-strpbrk-ifunc.c: New file.
15504 * benchtests/bench-strpbrk.c: New file.
15505 * benchtests/bench-strrchr-ifunc.c: New file.
15506 * benchtests/bench-strrchr.c: New file.
15507 * benchtests/bench-strspn-ifunc.c: New file.
15508 * benchtests/bench-strspn.c: New file.
15509 * benchtests/bench-strstr-ifunc.c: New file.
15510 * benchtests/bench-strstr.c: New file.
15512 * benchtests/Makefile: Disable parallel execution of targets.
15513 (string-bench): Add memcpy.
15514 (benchset): New variable to store a list of benchmark sets.
15515 (bench-func): Renamed from bench.
15516 (bench-set): New target.
15517 (bench): Depend on bench-func and bench-set.
15518 * benchtests/README: Add section on benchmark sets.
15519 * benchtests/bench-memcpy-ifunc.c: New file.
15520 * benchtests/bench-memcpy.c: New file.
15521 * benchtests/bench-string.h: New file.
15523 2013-06-11 Andreas Schwab <schwab@suse.de>
15526 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15527 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15528 values in the triple.
15529 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15530 terminator in the group key.
15532 2013-06-11 Andreas Jaeger <aj@suse.de>
15534 * po/zh_TW.po: Update Chinese (traditional) translation from
15535 translation project.
15537 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15539 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15540 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15541 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15542 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15543 (clock_getcpuclockid): Likewise.
15544 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15545 Add weak_alias and libc_hidden_def.
15546 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15547 * rt/clock_gettime.c (clock_gettime): Rename to
15548 __clock_gettime. Add weak_alias and libc_hidden_def.
15549 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15550 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15551 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15552 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15553 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15555 * rt/clock_settime.c (clock_settime): Rename to
15556 __clock_settime. Add weak_alias and libc_hidden_def.
15557 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15559 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15561 * mach/err_boot.sub: Remove trailing whitespace.
15562 * mach/err_ipc.sub: Likewise.
15563 * mach/err_mach.sub: Likewise.
15565 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15566 (ROUNDING_TESTS_double): Likewise.
15567 (ROUNDING_TESTS_long_double): Likewise.
15568 (ROUNDING_TESTS): Likewise.
15569 * math/libm-test.inc: Include <math-tests.h>.
15570 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15571 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15572 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15573 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15575 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15577 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15580 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15582 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15583 otherwise empty TRANS lines.
15584 * sysdeps/gnu/errlist.c: Regenerated.
15586 * catgets/gencat.c (error_print): Use (void) in function
15588 * crypt/crypt_util.c (__init_des): Likewise.
15589 * crypt/speeds.c (Stop): Likewise.
15591 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15592 * inet/ruserpass.c (token): Likewise.
15593 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15594 * intl/localealias.c (extend_alias_table): Likewise.
15595 * intl/plural-exp.c (init_germanic_plural): Likewise.
15596 * libio/fcloseall.c (__fcloseall): Likewise.
15597 * libio/genops.c (_IO_flush_all): Likewise.
15598 (_IO_flush_all_linebuffered): Likewise.
15599 (_IO_cleanup): Likewise.
15600 (_IO_iter_begin): Likewise.
15601 (_IO_iter_end): Likewise.
15602 (_IO_list_lock): Likewise.
15603 (_IO_list_unlock): Likewise.
15604 (_IO_list_resetlock): Likewise.
15605 * libio/getchar.c (getchar): Likewise.
15606 * libio/getchar_u.c (getchar_unlocked): Likewise.
15607 * libio/getwchar.c (getwchar): Likewise.
15608 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15609 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15610 * login/getpt.c (__getpt): Likewise.
15611 * login/tst-utmp.c (main): Likewise.
15612 * malloc/hooks.c (__malloc_check_init): Likewise.
15613 * malloc/malloc.c (__malloc_stats): Likewise.
15614 * malloc/mtrace.c (tr_break): Likewise.
15615 (mtrace): Likewise.
15616 (muntrace): Likewise.
15617 * misc/fstab.c (endfsent): Likewise.
15618 * misc/getclktck.c (__getclktck): Likewise.
15619 * misc/getdtsz.c (__getdtablesize): Likewise.
15620 * misc/gethostid.c (gethostid): Likewise.
15621 * misc/getpagesize.c (__getpagesize): Likewise.
15622 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15623 (__get_nprocs): Likewise.
15624 (__get_phys_pages): Likewise.
15625 (__get_avphys_pages): Likewise.
15626 * misc/getttyent.c (getttyent): Likewise.
15627 (setttyent): Likewise.
15628 (endttyent): Likewise.
15629 * misc/getusershell.c (getusershell): Likewise.
15630 (endusershell): Likewise.
15631 (setusershell): Likewise.
15632 (initshells): Likewise.
15633 * misc/hsearch.c (__hdestroy): Likewise.
15634 * misc/sync.c (sync): Likewise.
15635 * misc/syslog.c (closelog_internal): Likewise.
15636 (closelog): Likewise.
15637 * misc/ttyslot.c (ttyslot): Likewise.
15638 * misc/vhangup.c (vhangup): Likewise.
15639 * posix/fork.c (__fork): Likewise.
15640 * posix/getegid.c (__getegid): Likewise.
15641 * posix/geteuid.c (__geteuid): Likewise.
15642 * posix/getgid.c (__getgid): Likewise.
15643 * posix/getpid.c (__getpid): Likewise.
15644 * posix/getppid.c (__getppid): Likewise.
15645 * posix/getuid.c (__getuid): Likewise.
15646 * posix/pause.c (pause): Likewise.
15647 * posix/setpgrp.c (setpgrp): Likewise.
15648 * posix/setsid.c (__setsid): Likewise.
15649 * posix/test-vfork.c (noop): Likewise.
15650 * resolv/gethnamaddr.c (_endhtent): Likewise.
15651 (_gethtent): Likewise.
15652 (ht_endhostent): Likewise.
15653 (gethostent): Likewise.
15654 (dns_service): Likewise.
15655 * stdlib/drand48.c (drand48): Likewise.
15656 * stdlib/lrand48.c (lrand48): Likewise.
15657 * stdlib/mrand48.c (mrand48): Likewise.
15658 * stdlib/rand.c (rand): Likewise.
15659 * stdlib/random.c (__random): Likewise.
15660 * stdlib/setenv.c (clearenv): Likewise.
15661 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15662 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15663 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15664 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15665 (__get_nprocs): Likewise.
15666 (__get_phys_pages): Likewise.
15667 (__get_avphys_pages): Likewise.
15668 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15669 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15670 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15671 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15672 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15673 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15674 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15675 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15676 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15677 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15678 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15679 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15680 * sysdeps/posix/clock.c (clock): Likewise.
15681 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15682 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15683 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15684 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15685 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15686 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15687 (__get_nprocs_conf): Likewise.
15688 (__get_phys_pages): Likewise.
15689 (__get_avphys_pages): Likewise.
15690 * time/clock.c (clock): Likewise.
15691 * time/tzset.c (__tzname_max): Likewise.
15693 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15695 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15696 (__bswap_32): Do not use "register".
15697 * crypt/crypt.c (_ufc_doit_r): Likewise.
15698 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15699 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15700 * gmon/gmon.c (__monstartup): Likewise.
15701 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15702 * hurd/hurdmalloc.c (more_memory): Likewise.
15703 (malloc): Likewise.
15705 (realloc): Likewise.
15706 (malloc_fork_prepare): Likewise.
15707 (malloc_fork_parent): Likewise.
15708 (malloc_fork_child): Likewise.
15709 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15710 (_svcauth_des): Likewise.
15711 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15712 * inet/inet_net.c (inet_network): Likewise.
15713 * inet/inet_netof.c (inet_netof): Likewise.
15714 * inet/rcmd.c (__validuser2_sa): Likewise.
15715 * io/fts.c (fts_open): Likewise.
15716 (fts_load): Likewise.
15717 (fts_close): Likewise.
15718 (fts_read): Likewise.
15719 (fts_children): Likewise.
15720 (fts_build): Likewise.
15721 (fts_stat): Likewise.
15722 (fts_sort): Likewise.
15723 (fts_alloc): Likewise.
15724 (fts_lfree): Likewise.
15725 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15726 (_IO_file_xsgetn): Likewise.
15727 (_IO_file_xsgetn_mmap): Likewise.
15728 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15729 (_IO_cookie_write): Likewise.
15730 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15731 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15732 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15733 * malloc/obstack.c (_obstack_begin): Likewise.
15734 (_obstack_begin_1): Likewise.
15735 (_obstack_newchunk): Likewise.
15736 (_obstack_allocated_p): Likewise.
15737 (obstack_free): Likewise.
15738 (_obstack_memory_used): Likewise.
15739 * misc/getttyent.c (getttynam): Likewise.
15740 (getttyent): Likewise.
15743 * misc/getusershell.c (initshells): Likewise.
15744 * misc/syslog.c (__vsyslog_chk): Likewise.
15745 * misc/ttyslot.c (ttyslot): Likewise.
15746 * nis/nis_hash.c (__nis_hash): Likewise.
15747 * posix/fnmatch_loop.c (FCT): Likewise.
15748 * posix/getconf.c (print_all): Likewise.
15750 * posix/getopt.c (exchange): Likewise.
15751 * posix/glob.c (globfree): Likewise.
15752 (prefix_array): Likewise.
15753 (__glob_pattern_type): Likewise.
15754 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15755 (NS_GET32): Likewise.
15756 (NS_PUT16): Likewise.
15757 (NS_PUT32): Likewise.
15758 * resolv/gethnamaddr.c (getanswer): Likewise.
15759 (gethostbyname2): Likewise.
15760 (gethostbyaddr): Likewise.
15761 (_gethtent): Likewise.
15762 (_gethtbyname2): Likewise.
15763 (_gethtbyaddr): Likewise.
15764 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15765 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15766 * resolv/res_init.c (__res_vinit): Likewise.
15767 (net_mask): Likewise.
15768 * resolv/res_mkquery.c (outchar): Likewise.
15770 * stdio-common/printf_fp.c (outchar): Likewise.
15772 * stdio-common/printf_fphex.c (outchar): Likewise.
15774 * stdio-common/printf_size.c (outchar): Likewise.
15776 * stdio-common/test_rdwr.c (main): Likewise.
15777 * stdio-common/tfformat.c (matches): Likewise.
15778 * stdio-common/vfprintf.c (outchar): Likewise.
15779 (printf_unknown): Likewise.
15780 (buffered_vfprintf): Likewise.
15781 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15782 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15783 (ReadFile): Likewise.
15784 * stdlib/qsort.c (SWAP): Likewise.
15785 (_quicksort): Likewise.
15786 * stdlib/setenv.c (__add_to_environ): Likewise.
15787 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15788 * stdlib/strtol_l.c (__strtol_l): Likewise.
15789 * stdlib/tst-strtod.c (main): Likewise.
15790 * stdlib/tst-strtol.c (main): Likewise.
15791 * stdlib/tst-strtoll.c (main): Likewise.
15792 * string/bits/string2.h (__strcmp_cc): Likewise.
15793 (__strcmp_cg): Likewise.
15794 (__strcspn_c1): Likewise.
15795 (__strcspn_c2): Likewise.
15796 (__strcspn_c3): Likewise.
15797 (__strspn_c1): Likewise.
15798 (__strspn_c2): Likewise.
15799 (__strspn_c3): Likewise.
15800 (__strsep_1c): Likewise.
15801 (__strsep_2c): Likewise.
15802 (__strsep_3c): Likewise.
15803 * string/memccpy.c (__memccpy): Likewise.
15804 * string/stpcpy.c (__stpcpy): Likewise.
15805 * string/strcmp.c (strcmp): Likewise.
15806 * string/strrchr.c (strrchr): Likewise.
15807 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15809 * sysdeps/mach/hurd/getcwd.c
15810 (_hurd_canonicalize_directory_name_internal): Likewise.
15811 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15812 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15813 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15814 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15815 Likewise, in both definitions.
15816 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15818 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15819 64] (__bswap_64): Likewise.
15820 * time/test_time.c (main): Likewise.
15821 * time/tzfile.c (__tzfile_read): Likewise.
15822 (__tzfile_compute): Likewise.
15823 * time/tzset.c (__tzset_parse_tz): Likewise.
15824 (tzset_internal): Likewise.
15825 (compute_change): Likewise.
15826 * wcsmbs/wcscat.c (__wcscat): Likewise.
15827 * wcsmbs/wcschr.c (wcschr): Likewise.
15828 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15829 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15830 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15831 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15832 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15833 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15834 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15835 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15836 * wcsmbs/wmemset.c (wmemset): Likewise.
15838 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15840 * scripts/config.guess: Update to version 2013-05-16.
15841 * scripts/config.sub: Update to version 2013-04-24.
15842 * scripts/install-sh: Update to version 2011-11-20.07.
15843 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15844 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15846 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15848 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15849 * elf/sln.c: Likewise.
15850 * hurd/hurd/ioctl.h: Likewise.
15851 * hurd/hurdmalloc.c: Likewise.
15852 * hurd/xattr.c: Likewise.
15853 * include/shlib-compat.h: Likewise.
15854 * inet/ruserpass.c: Likewise.
15855 * libio/iofgets_u.c: Likewise.
15856 * libio/iofgetws_u.c: Likewise.
15857 * locale/programs/ld-identification.c: Likewise.
15858 * locale/programs/ld-time.c: Likewise.
15859 * mach/msg-destroy.c: Likewise.
15860 * nss/nss_files/files-netgrp.c: Likewise.
15861 * resolv/res_data.c: Likewise.
15862 * soft-fp/op-1.h: Likewise.
15863 * soft-fp/op-2.h: Likewise.
15864 * soft-fp/op-4.h: Likewise.
15865 * soft-fp/op-common.h: Likewise.
15866 * stdio-common/printf_fphex.c: Likewise.
15867 * stdlib/strtod_l.c: Likewise.
15868 * sunrpc/rpc/clnt.h: Likewise.
15869 * sysdeps/generic/framestate.c: Likewise.
15870 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15871 * sysdeps/i386/bsd-setjmp.S: Likewise.
15872 * sysdeps/i386/__longjmp.S: Likewise.
15873 * sysdeps/i386/setjmp.S: Likewise.
15874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15875 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15876 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15877 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15879 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15880 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15881 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15882 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15883 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15884 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15885 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15886 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15891 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15892 * sysdeps/ieee754/support.c: Likewise.
15893 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15894 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15895 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15896 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15897 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15898 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15899 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15900 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15901 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15902 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15903 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15904 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15905 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15906 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15907 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15908 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15909 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15912 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15914 * posix/transbug.c: Remove executable mode.
15916 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15918 * crypt/speeds.c: Remove trailing whitespace.
15919 * dlfcn/default.c: Likewise.
15920 * elf/ifuncdep2.c: Likewise.
15921 * elf/ifuncmain1.c: Likewise.
15922 * elf/ifuncmain1vis.c: Likewise.
15923 * elf/testobj.h: Likewise.
15924 * elf/tst-stackguard1.c: Likewise.
15925 * gmon/sys/gmon.h: Likewise.
15926 * hurd/hurdmsg.c: Likewise.
15927 * hurd/new-fd.c: Likewise.
15928 * hurd/ports-get.c: Likewise.
15929 * iconvdata/ibm1008_420.c: Likewise.
15930 * inet/tst-getni1.c: Likewise.
15931 * inet/tst-getni2.c: Likewise.
15932 * libio/ioungetc.c: Likewise.
15933 * libio/wfiledoalloc.c: Likewise.
15934 * manual/libm-err-tab.pl: Likewise.
15935 * math/w_dremf.c: Likewise.
15936 * misc/ftruncate.c: Likewise.
15937 * posix/bug-glob2.c: Likewise.
15938 * posix/tst-pcre.c: Likewise.
15939 * posix/wait4.c: Likewise.
15940 * resolv/README: Likewise.
15941 * resolv/res_debug.h: Likewise.
15942 * resolv/tst-inet_ntop.c: Likewise.
15943 * setjmp/bug269-setjmp.c: Likewise.
15944 * soft-fp/extended.h: Likewise.
15945 * soft-fp/op-1.h: Likewise.
15946 * soft-fp/op-2.h: Likewise.
15947 * soft-fp/op-4.h: Likewise.
15948 * soft-fp/op-8.h: Likewise.
15949 * soft-fp/testit.c: Likewise.
15950 * stdio-common/bug16.c: Likewise.
15951 * stdlib/random.c: Likewise.
15952 * sunrpc/rpcsvc/rquota.x: Likewise.
15953 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15954 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15956 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15957 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15958 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15959 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15960 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15961 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15962 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15963 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15980 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15982 * sysdeps/ieee754/s_lib_version.c: Likewise.
15983 * sysdeps/mach/hurd/check_fds.c: Likewise.
15984 * sysdeps/mach/hurd/getsockname.c: Likewise.
15985 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15986 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15987 * sysdeps/powerpc/bits/link.h: Likewise.
15988 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15989 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15990 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15991 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15992 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15993 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15994 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15995 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15996 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15997 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15998 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15999 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16000 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16001 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16002 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16003 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16004 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16006 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16008 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16010 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16011 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16012 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16016 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16020 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16022 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16023 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16024 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16025 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16026 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16027 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16028 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16029 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16030 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16031 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16032 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16033 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16034 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16035 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16036 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16037 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16038 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16040 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16047 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16048 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16049 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16050 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16052 * sysdeps/powerpc/sysdep.h: Likewise.
16053 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16054 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16055 * sysdeps/sh/dl-trampoline.S: Likewise.
16056 * sysdeps/sh/memset.S: Likewise.
16057 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16058 * sysdeps/sh/strlen.S: Likewise.
16059 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16060 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16061 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16062 * sysdeps/sparc/sparc32/rem.S: Likewise.
16063 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16064 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16065 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16066 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16067 * sysdeps/sparc/sparc32/urem.S: Likewise.
16068 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16069 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16070 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16071 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16072 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16073 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16074 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16075 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16076 * sysdeps/unix/bsd/times.c: Likewise.
16077 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16078 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16083 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16084 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16085 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16086 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16087 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16088 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16089 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16090 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16091 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16092 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16093 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16094 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16095 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16096 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16097 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16098 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16099 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16100 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16101 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16102 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16103 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16104 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16105 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16106 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16107 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16108 * sysdeps/x86_64/strcspn.S: Likewise.
16110 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16112 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16113 generated file. Regenerate properly from gen-translit.pl.
16114 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16115 locale/C-translit.h.
16117 2013-06-05 Andreas Schwab <schwab@suse.de>
16120 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16121 week as 6 instead of -1.
16122 * time/tst-strptime.c (day_tests): Add test case.
16124 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16126 * sysdeps/generic/math_private.h
16127 (libc_feholdexcept_setround_53bit): Replace with
16128 libc_feholdsetround_53bit.
16129 (libc_feupdateenv_53bit): Replace with
16130 libc_feresetround_53bit.
16131 (SET_RESTORE_ROUND_53BIT): Adjust.
16133 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16135 * string/test-strchrnul.c: Add copyright header.
16137 * posix/tst-getaddrinfo4.c: Increase test timeout.
16139 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16142 * math/libm-test.inc (MAX_EXP): Remove
16144 (ulp): Use MIN_EXP - MANT_DIG.
16145 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16147 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16149 * po/be.po: Revert last change.
16150 * po/zh_CN.po: Likewise.
16151 * po/header.pot: Likewise.
16153 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16155 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16156 link-libc-deps to empty as target-specific variable.
16157 * Makerules (link-libc-args): New variable.
16158 (libc-for-link): Likewise.
16159 (link-libc-deps): Likewise.
16160 (lib%.so): Depend on $(link-libc-deps). Link with
16162 (build-module): Link with $(link-libc-args).
16163 (build-module-asneeded): Likewise.
16164 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16166 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16167 target-specific variable.
16168 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16169 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16170 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16172 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16174 ($(objpfx)libpcprofile.so): Likewise.
16175 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16177 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16178 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16179 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16181 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16182 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16183 * login/Makefile ($(objpfx)libutil.so): Likewise.
16184 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16185 * math/Makefile ($(objpfx)libm.so): Likewise.
16186 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16187 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16188 variable instead of depending directly on libc.
16189 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16190 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16192 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16194 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16195 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16196 ($(objpfx)libanl.so): Likewise.
16197 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16199 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16201 * sysdeps/i386/fpu/Makefile: Remove file.
16202 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16203 ($(objpfx)libm.so): Remove dependency on ld.so.
16205 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16208 * nis/yp_xdr.c (XDRMAXNAME): Define.
16209 (XDRMAXRECORD): Define.
16210 (xdr_domainname): Use XDRMAXNAME.
16211 (xdr_mapname): Likewise.
16212 (xdr_peername): Likewise.
16213 (xdr_keydat): Use XDRMAXRECORD.
16214 (xdr_valdat): Likewise.
16216 2013-05-30 Jeff Law <law@redhat.com>
16219 * manual/errno.texi (ESTALE): Update to account for more than
16220 just NFS file systems.
16221 * sysdeps/gnu/errlist.c: Regenerated.
16223 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16226 * elf/Makefile (tests): Add tst-null-argv.
16227 (modules-names): Add tst-null-argv-lib.
16228 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16229 (tst-null-argv-ENV): Set environment for tst-null-argv.
16230 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16231 (RTLD_PROGNAME): New macro.
16232 * elf/tst-null-argv.c: New test case.
16233 * elf/tst-null-argv-lib.c: Library for test case.
16234 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16235 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16236 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16237 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16238 * elf/dl-init.c (call_init): Likewise.
16239 (_dl_init): Likewise.
16240 * elf/dl-load.c (print_search_path): Likewise.
16241 (_dl_map_object): Likewise.
16242 * elf/dl-lookup.c (do_lookup_x): Likewise.
16243 (add_dependency): Likewise.
16244 (_dl_lookup_symbol_x): Likewise.
16245 (_dl_debug_bindings): Likewise.
16246 * elf/dl-open.c (_dl_show_scope): Likewise.
16247 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16248 * elf/dl-version.c (match_symbol): Likewise.
16249 (_dl_check_map_versions): Likewise.
16250 * elf/rtld.c (dl_main): Likewise.
16251 (print_unresolved): Use RTLD_PROGNAME.
16252 (print_missing_version): Likewise.
16253 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16254 (elf_machine_rela): Likewise.
16255 * sysdeps/powerpc/powerpc32/dl-machine.c
16256 (__process_machine_rela): Likewise.
16257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16259 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16261 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16263 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16268 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16270 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16272 * po/be.po: Add descriptive title.
16273 * po/zh_CN.po: Likewise.
16274 * po/header.pot: Likewise.
16276 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16278 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16280 (enlarge_archive): Likewise.
16282 2013-05-28 Ben North <ben@redfrontdoor.org>
16284 * manual/arith.texi (frexp): It is the magnitude of the return
16285 value which lies in [0.5, 1), not the return value itself.
16287 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16291 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16293 * stdio-common/bug26.c (main): Correct fscanf template.
16295 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16296 declare _dl_skip_args.
16298 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16301 * manual/platform.texi: Add missing @end deftypefun.
16303 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16306 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16307 bit of mantissa of 2^16382.
16308 * math/libm-test.inc (hypot_test_data): Add more tests.
16310 * math/libm-test.inc: Add drem and pow10 to list of tested
16312 (pow10_test): New function.
16313 (drem_test): Likewise.
16314 (drem_test_tonearest): Likewise.
16315 (drem_test_towardzero): Likewise.
16316 (drem_test_downward): Likewise.
16317 (drem_test_upward): Likewise.
16318 (main): Call the new functions.
16320 * math/libm-test.inc (finite_test_data): Remove.
16321 (finite_test): Run tests from isfinite_test_data.
16322 (gamma_test_data): Remove.
16323 (gamma_test): Run tests from lgamma_test_data.
16324 * sysdeps/i386/fpu/libm-test-ulps: Update.
16325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16327 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16329 * manual/platform.texi: Add PowerPC PPR function set documentation.
16330 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16333 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16335 * math/libm-test.inc (MAX_EXP): Define.
16337 (ulp): New function.
16338 (check_float_internal): Use ULPDIFF.
16339 (cpow_test): Disable failing test.
16340 (check_ulp): Test ulp() implemetnation.
16341 (main): Call check_ulp before starting tests.
16343 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16345 * math/gen-libm-test.pl (generate_testfile): Do not handle
16346 START_DATA and END_DATA.
16347 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16349 (acos_tonearest_test_data): Likewise.
16350 (acos_towardzero_test_data): Likewise.
16351 (acos_downward_test_data): Likewise.
16352 (acos_upward_test_data): Likewise.
16353 (acosh_test_data): Likewise.
16354 (asin_test_data): Likewise.
16355 (asin_tonearest_test_data): Likewise.
16356 (asin_towardzero_test_data): Likewise.
16357 (asin_downward_test_data): Likewise.
16358 (asin_upward_test_data): Likewise.
16359 (asinh_test_data): Likewise.
16360 (atan_test_data): Likewise.
16361 (atanh_test_data): Likewise.
16362 (atan2_test_data): Likewise.
16363 (cabs_test_data): Likewise.
16364 (cacos_test_data): Likewise.
16365 (cacosh_test_data): Likewise.
16366 (carg_test_data): Likewise.
16367 (casin_test_data): Likewise.
16368 (casinh_test_data): Likewise.
16369 (catan_test_data): Likewise.
16370 (catanh_test_data): Likewise.
16371 (cbrt_test_data): Likewise.
16372 (ccos_test_data): Likewise.
16373 (ccosh_test_data): Likewise.
16374 (ceil_test_data): Likewise.
16375 (cexp_test_data): Likewise.
16376 (cimag_test_data): Likewise.
16377 (clog_test_data): Likewise.
16378 (clog10_test_data): Likewise.
16379 (conj_test_data): Likewise.
16380 (copysign_test_data): Likewise.
16381 (cos_test_data): Likewise.
16382 (cos_tonearest_test_data): Likewise.
16383 (cos_towardzero_test_data): Likewise.
16384 (cos_downward_test_data): Likewise.
16385 (cos_upward_test_data): Likewise.
16386 (cosh_test_data): Likewise.
16387 (cosh_tonearest_test_data): Likewise.
16388 (cosh_towardzero_test_data): Likewise.
16389 (cosh_downward_test_data): Likewise.
16390 (cosh_upward_test_data): Likewise.
16391 (cpow_test_data): Likewise.
16392 (cproj_test_data): Likewise.
16393 (creal_test_data): Likewise.
16394 (csin_test_data): Likewise.
16395 (csinh_test_data): Likewise.
16396 (csqrt_test_data): Likewise.
16397 (ctan_test_data): Likewise.
16398 (ctan_tonearest_test_data): Likewise.
16399 (ctan_towardzero_test_data): Likewise.
16400 (ctan_downward_test_data): Likewise.
16401 (ctan_upward_test_data): Likewise.
16402 (ctanh_test_data): Likewise.
16403 (ctanh_tonearest_test_data): Likewise.
16404 (ctanh_towardzero_test_data): Likewise.
16405 (ctanh_downward_test_data): Likewise.
16406 (ctanh_upward_test_data): Likewise.
16407 (erf_test_data): Likewise.
16408 (erfc_test_data): Likewise.
16409 (exp_test_data): Likewise.
16410 (exp_tonearest_test_data): Likewise.
16411 (exp_towardzero_test_data): Likewise.
16412 (exp_downward_test_data): Likewise.
16413 (exp_upward_test_data): Likewise.
16414 (exp10_test_data): Likewise.
16415 (exp2_test_data): Likewise.
16416 (expm1_test_data): Likewise.
16417 (fabs_test_data): Likewise.
16418 (fdim_test_data): Likewise.
16419 (finite_test_data): Likewise.
16420 (floor_test_data): Likewise.
16421 (fma_test_data): Likewise.
16422 (fma_towardzero_test_data): Likewise.
16423 (fma_downward_test_data): Likewise.
16424 (fma_upward_test_data): Likewise.
16425 (fmax_test_data): Likewise.
16426 (fmin_test_data): Likewise.
16427 (fmod_test_data): Likewise.
16428 (fpclassify_test_data): Likewise.
16429 (frexp_test_data): Likewise.
16430 (gamma_test_data): Likewise.
16431 (hypot_test_data): Likewise.
16432 (ilogb_test_data): Likewise.
16433 (isfinite_test_data): Likewise.
16434 (isgreater_test_data): Likewise.
16435 (isgreaterequal_test_data): Likewise.
16436 (isinf_test_data): Likewise.
16437 (isless_test_data): Likewise.
16438 (islessequal_test_data): Likewise.
16439 (islessgreater_test_data): Likewise.
16440 (isnan_test_data): Likewise.
16441 (isnormal_test_data): Likewise.
16442 (issignaling_test_data): Likewise.
16443 (isunordered_test_data): Likewise.
16444 (j0_test_data): Likewise.
16445 (j1_test_data): Likewise.
16446 (jn_test_data): Likewise.
16447 (ldexp_test_data): Likewise.
16448 (lgamma_test_data): Likewise.
16449 (lrint_test_data): Likewise.
16450 (lrint_tonearest_test_data): Likewise.
16451 (lrint_towardzero_test_data): Likewise.
16452 (lrint_downward_test_data): Likewise.
16453 (lrint_upward_test_data): Likewise.
16454 (llrint_test_data): Likewise.
16455 (llrint_tonearest_test_data): Likewise.
16456 (llrint_towardzero_test_data): Likewise.
16457 (llrint_downward_test_data): Likewise.
16458 (llrint_upward_test_data): Likewise.
16459 (log_test_data): Likewise.
16460 (log10_test_data): Likewise.
16461 (log1p_test_data): Likewise.
16462 (log2_test_data): Likewise.
16463 (logb_test_data): Likewise.
16464 (logb_downward_test_data): Likewise.
16465 (lround_test_data): Likewise.
16466 (llround_test_data): Likewise.
16467 (modf_test_data): Likewise.
16468 (nearbyint_test_data): Likewise.
16469 (nextafter_test_data): Likewise.
16470 (nexttoward_test_data): Likewise.
16471 (pow_test_data): Likewise.
16472 (pow_tonearest_test_data): Likewise.
16473 (pow_towardzero_test_data): Likewise.
16474 (pow_downward_test_data): Likewise.
16475 (pow_upward_test_data): Likewise.
16476 (remainder_test_data): Likewise.
16477 (remainder_tonearest_test_data): Likewise.
16478 (remainder_towardzero_test_data): Likewise.
16479 (remainder_downward_test_data): Likewise.
16480 (remainder_upward_test_data): Likewise.
16481 (remquo_test_data): Likewise.
16482 (rint_test_data): Likewise.
16483 (rint_tonearest_test_data): Likewise.
16484 (rint_towardzero_test_data): Likewise.
16485 (rint_downward_test_data): Likewise.
16486 (rint_upward_test_data): Likewise.
16487 (round_test_data): Likewise.
16488 (scalb_test_data): Likewise.
16489 (scalbn_test_data): Likewise.
16490 (scalbln_test_data): Likewise.
16491 (signbit_test_data): Likewise.
16492 (sin_test_data): Likewise.
16493 (sin_tonearest_test_data): Likewise.
16494 (sin_towardzero_test_data): Likewise.
16495 (sin_downward_test_data): Likewise.
16496 (sin_upward_test_data): Likewise.
16497 (sincos_test_data): Likewise.
16498 (sinh_test_data): Likewise.
16499 (sinh_tonearest_test_data): Likewise.
16500 (sinh_towardzero_test_data): Likewise.
16501 (sinh_downward_test_data): Likewise.
16502 (sinh_upward_test_data): Likewise.
16503 (sqrt_test_data): Likewise.
16504 (tan_test_data): Likewise.
16505 (tan_tonearest_test_data): Likewise.
16506 (tan_towardzero_test_data): Likewise.
16507 (tan_downward_test_data): Likewise.
16508 (tan_upward_test_data): Likewise.
16509 (tanh_test_data): Likewise.
16510 (tgamma_test_data): Likewise.
16511 (trunc_test_data): Likewise.
16512 (y0_test_data): Likewise.
16513 (y1_test_data): Likewise.
16514 (yn_test_data): Likewise.
16515 (significand_test_data): Likewise.
16517 * math/gen-libm-test.pl (@functions): Remove variable.
16518 (generate_testfile): Don't handle START and END lines.
16519 * math/libm-test.inc (START): New macro.
16521 (END_COMPLEX): Likewise.
16522 (acos_test): Use END macro without arguments.
16523 (acos_test_tonearest): Likewise.
16524 (acos_test_towardzero): Likewise.
16525 (acos_test_downward): Likewise.
16526 (acos_test_upward): Likewise.
16527 (acosh_test): Likewise.
16528 (asin_test): Likewise.
16529 (asin_test_tonearest): Likewise.
16530 (asin_test_towardzero): Likewise.
16531 (asin_test_downward): Likewise.
16532 (asin_test_upward): Likewise.
16533 (asinh_test): Likewise.
16534 (atan_test): Likewise.
16535 (atanh_test): Likewise.
16536 (atan2_test): Likewise.
16537 (cabs_test): Likewise.
16538 (cacos_test): Use END_COMPLEX macro without arguments.
16539 (cacosh_test): Likewise.
16540 (carg_test): Use END macro without arguments.
16541 (casin_test): Use END_COMPLEX macro without arguments.
16542 (casinh_test): Likewise.
16543 (catan_test): Likewise.
16544 (catanh_test): Likewise.
16545 (cbrt_test): Use END macro without arguments.
16546 (ccos_test): Use END_COMPLEX macro without arguments.
16547 (ccosh_test): Likewise.
16548 (ceil_test): Use END macro without arguments.
16549 (cexp_test): Use END_COMPLEX macro without arguments.
16550 (cimag_test): Use END macro without arguments.
16551 (clog_test): Use END_COMPLEX macro without arguments.
16552 (clog10_test): Likewise.
16553 (conj_test): Likewise.
16554 (copysign_test): Use END macro without arguments.
16555 (cos_test): Likewise.
16556 (cos_test_tonearest): Likewise.
16557 (cos_test_towardzero): Likewise.
16558 (cos_test_downward): Likewise.
16559 (cos_test_upward): Likewise.
16560 (cosh_test): Likewise.
16561 (cosh_test_tonearest): Likewise.
16562 (cosh_test_towardzero): Likewise.
16563 (cosh_test_downward): Likewise.
16564 (cosh_test_upward): Likewise.
16565 (cpow_test): Use END_COMPLEX macro without arguments.
16566 (cproj_test): Likewise.
16567 (creal_test): Use END macro without arguments.
16568 (csin_test): Use END_COMPLEX macro without arguments.
16569 (csinh_test): Likewise.
16570 (csqrt_test): Likewise.
16571 (ctan_test): Likewise.
16572 (ctan_test_tonearest): Likewise.
16573 (ctan_test_towardzero): Likewise.
16574 (ctan_test_downward): Likewise.
16575 (ctan_test_upward): Likewise.
16576 (ctanh_test): Likewise.
16577 (ctanh_test_tonearest): Likewise.
16578 (ctanh_test_towardzero): Likewise.
16579 (ctanh_test_downward): Likewise.
16580 (ctanh_test_upward): Likewise.
16581 (erf_test): Use END macro without arguments.
16582 (erfc_test): Likewise.
16583 (exp_test): Likewise.
16584 (exp_test_tonearest): Likewise.
16585 (exp_test_towardzero): Likewise.
16586 (exp_test_downward): Likewise.
16587 (exp_test_upward): Likewise.
16588 (exp10_test): Likewise.
16589 (exp2_test): Likewise.
16590 (expm1_test): Likewise.
16591 (fabs_test): Likewise.
16592 (fdim_test): Likewise.
16593 (finite_test): Likewise.
16594 (floor_test): Likewise.
16595 (fma_test): Likewise.
16596 (fma_test_towardzero): Likewise.
16597 (fma_test_downward): Likewise.
16598 (fma_test_upward): Likewise.
16599 (fmax_test): Likewise.
16600 (fmin_test): Likewise.
16601 (fmod_test): Likewise.
16602 (fpclassify_test): Likewise.
16603 (frexp_test): Likewise.
16604 (gamma_test): Likewise.
16605 (hypot_test): Likewise.
16606 (ilogb_test): Likewise.
16607 (isfinite_test): Likewise.
16608 (isgreater_test): Likewise.
16609 (isgreaterequal_test): Likewise.
16610 (isinf_test): Likewise.
16611 (isless_test): Likewise.
16612 (islessequal_test): Likewise.
16613 (islessgreater_test): Likewise.
16614 (isnan_test): Likewise.
16615 (isnormal_test): Likewise.
16616 (issignaling_test): Likewise.
16617 (isunordered_test): Likewise.
16618 (j0_test): Likewise.
16619 (j1_test): Likewise.
16620 (jn_test): Likewise.
16621 (ldexp_test): Likewise.
16622 (lgamma_test): Likewise.
16623 (lrint_test): Likewise.
16624 (lrint_test_tonearest): Likewise.
16625 (lrint_test_towardzero): Likewise.
16626 (lrint_test_downward): Likewise.
16627 (lrint_test_upward): Likewise.
16628 (llrint_test): Likewise.
16629 (llrint_test_tonearest): Likewise.
16630 (llrint_test_towardzero): Likewise.
16631 (llrint_test_downward): Likewise.
16632 (llrint_test_upward): Likewise.
16633 (log_test): Likewise.
16634 (log10_test): Likewise.
16635 (log1p_test): Likewise.
16636 (log2_test): Likewise.
16637 (logb_test): Likewise.
16638 (logb_test_downward): Likewise.
16639 (lround_test): Likewise.
16640 (llround_test): Likewise.
16641 (modf_test): Likewise.
16642 (nearbyint_test): Likewise.
16643 (nextafter_test): Likewise.
16644 (nexttoward_test): Likewise.
16645 (pow_test): Likewise.
16646 (pow_test_tonearest): Likewise.
16647 (pow_test_towardzero): Likewise.
16648 (pow_test_downward): Likewise.
16649 (pow_test_upward): Likewise.
16650 (remainder_test): Likewise.
16651 (remainder_test_tonearest): Likewise.
16652 (remainder_test_towardzero): Likewise.
16653 (remainder_test_downward): Likewise.
16654 (remainder_test_upward): Likewise.
16655 (remquo_test): Likewise.
16656 (rint_test): Likewise.
16657 (rint_test_tonearest): Likewise.
16658 (rint_test_towardzero): Likewise.
16659 (rint_test_downward): Likewise.
16660 (rint_test_upward): Likewise.
16661 (round_test): Likewise.
16662 (scalb_test): Likewise.
16663 (scalbn_test): Likewise.
16664 (scalbln_test): Likewise.
16665 (signbit_test): Likewise.
16666 (sin_test): Likewise.
16667 (sin_test_tonearest): Likewise.
16668 (sin_test_towardzero): Likewise.
16669 (sin_test_downward): Likewise.
16670 (sin_test_upward): Likewise.
16671 (sincos_test): Likewise.
16672 (sinh_test): Likewise.
16673 (sinh_test_tonearest): Likewise.
16674 (sinh_test_towardzero): Likewise.
16675 (sinh_test_downward): Likewise.
16676 (sinh_test_upward): Likewise.
16677 (sqrt_test): Likewise.
16678 (tan_test): Likewise.
16679 (tan_test_tonearest): Likewise.
16680 (tan_test_towardzero): Likewise.
16681 (tan_test_downward): Likewise.
16682 (tan_test_upward): Likewise.
16683 (tanh_test): Likewise.
16684 (tgamma_test): Likewise.
16685 (trunc_test): Likewise.
16686 (y0_test): Likewise.
16687 (y1_test): Likewise.
16688 (yn_test): Likewise.
16689 (significand_test): Likewise.
16691 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16694 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16696 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16699 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16700 __ppc_mdoio and __ppc_mdoom.
16701 * manual/platform.texi: Document new functions __ppc_yield,
16702 __ppc_mdoio and __ppc_mdoom.
16704 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16706 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16707 (main): Mention "tls" pseudo-hwcap is legacy.
16708 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16710 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16712 * math/gen-libm-test.pl (parse_args): Output only string of
16713 arguments as text for test name, not full call or descriptions of
16714 tests for extra outputs.
16715 (generate_testfile): Do not pass function name to parse_args.
16716 Generate this_func variable from START.
16717 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16719 (struct test_ff_f_data): Likewise.
16720 (test_ff_f_data_nexttoward): Likewise.
16721 (struct test_fi_f_data): Likewise.
16722 (struct test_fl_f_data): Likewise.
16723 (struct test_if_f_data): Likewise.
16724 (struct test_fff_f_data): Likewise.
16725 (struct test_c_f_data): Likewise.
16726 (struct test_f_f1_data): Likewise. Remove field extra_name.
16727 (struct test_fF_f1_data): Likewise.
16728 (struct test_ffI_f1_data): Likewise.
16729 (struct test_c_c_data): Rename test_name field to arg_str.
16730 (struct test_cc_c_data): Likewise.
16731 (struct test_f_i_data): Likewise.
16732 (struct test_ff_i_data): Likewise.
16733 (struct test_f_l_data): Likewise.
16734 (struct test_f_L_data): Likewise.
16735 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16737 (COMMON_TEST_SETUP): New macro.
16738 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16739 (COMMON_TEST_CLEANUP): Likewise.
16740 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16741 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16743 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16744 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16746 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16747 (RUN_TEST_fff_f): Take argument string. Call new setup and
16749 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16750 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16752 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16753 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16755 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16756 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16758 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16759 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16761 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16762 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16764 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16765 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16767 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16768 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16770 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16771 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16773 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16774 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16776 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16777 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16779 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16780 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16782 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16783 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16785 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16786 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16788 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16789 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16791 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16792 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16794 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16796 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16798 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16799 to _sifields.sigfault.
16800 (si_addr_lsb): Define new macro.
16801 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16803 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16805 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16808 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16810 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16812 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16813 loading the domain.
16815 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16817 * math/gen-libm-test.pl (parse_args): Do not include expected
16818 result in test name.
16819 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16822 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16823 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16826 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16828 * benchtests/Makefile: Sort function entries.
16830 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16831 tanh, asinh, acosh, atanh.
16832 * benchtests/acos-inputs: New file.
16833 * benchtests/acosh-inputs: New file.
16834 * benchtests/asin-inputs: New file.
16835 * benchtests/asinh-inputs: New file.
16836 * benchtests/atanh-inputs: New file.
16837 * benchtests/cosh-inputs: New file.
16838 * benchtests/log-inputs: New file.
16839 * benchtests/sinh-inputs: New file.
16840 * benchtests/tanh-inputs: New file.
16842 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16845 * posix/tst-getaddrinfo4.c: New test.
16846 * posix/Makefile (tests): Add it.
16848 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16851 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16852 when no services were used.
16853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16854 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16856 2013-05-21 Andreas Schwab <schwab@suse.de>
16859 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16860 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16862 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16863 redundant variable declarations and reallocation of buffer when
16864 parsing as IPv6 address. Always set NSS status when called from
16865 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16866 buffer too small. Correct computation of needed size.
16867 * nss/Makefile (tests): Add test-digits-dots.
16868 * nss/test-digits-dots.c: New test.
16870 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16872 * benchtests/Makefile: Remove instructions for adding
16874 * benchtests/README: New file to explain how to execute and
16875 enhance the benchmark tests.
16877 2013-05-21 Andreas Schwab <schwab@suse.de>
16880 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16881 * setjmp/tst-sigsetjmp.c: New test.
16883 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16885 * sysdeps/x86_64/memset.S (memset): New implementation.
16886 (__bzero): Likewise.
16887 (__memset_tail): New function.
16889 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16891 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16892 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16893 __memcpy_sse2_unaligned ifunc selection.
16894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16895 Add memcpy-sse2-unaligned.S.
16896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16897 Add: __memcpy_sse2_unaligned.
16899 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16902 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16903 math_force_eval before restoring floating-point envrionment.
16904 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16905 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16907 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16909 (__nearbyintl): Use math_force_eval before restoring
16910 floating-point environment.
16911 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16913 * math/gen-libm-test.pl (special_functions): Remove.
16914 (parse_args): Don't handle TEST_extra. Handle functions with no
16916 * math/libm-test.inc (struct test_sincos_data): Replace with
16917 struct test_fFF_11_data.
16918 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16919 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16920 (sincos_test_data): Change element type to struct
16921 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16922 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16923 RUN_TEST_LOOP_sincos.
16924 * math/README.libm-test: Don't mention special handling of
16925 individual functions.
16926 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16927 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16928 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16929 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16930 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16933 * math/gen-libm-test.pl (get_variable): Remove function.
16934 (parse_args): Don't show pointer parameters to call in test
16935 names. Use "extra output N" in test names for extra outputs
16936 rather than naming variables.
16938 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16941 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16942 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16943 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16945 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16947 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16950 * math/gen-libm-test.pl (@tests): Remove variable.
16951 ($count): Likewise.
16952 (new_test): Remove function.
16953 (show_exceptions): New function.
16954 (special_functions): Use show_exceptions instead of new_test.
16955 (parse_args): Likewise.
16956 (generate_testfile): Pass only function name in generated call to
16957 print_max_error or print_complex_max_error.
16958 (get_ulps): Do not handle complex tests specially.
16959 (output_test): Rename to ...
16960 (get_all_ulps_for_test): ... this. Return a string rather than
16961 printing to a file. Require ulps to be present.
16962 (output_ulps): Generate arrays rather than #defines.
16963 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16964 (struct ulp_data): New type.
16965 (BUILD_COMPLEX_ULP): Remove macro.
16966 (compare_ulp_data): New function.
16967 (find_ulps): Likewise.
16968 (find_test_ulps): Likewise.
16969 (find_function_ulps): Likewise.
16970 (find_complex_function_ulps): Likewise.
16971 (print_max_error): Determine allowed ulps using
16972 find_function_ulps.
16973 (print_complex_max_error): Determine allowed ulps using
16974 find_complex_function_ulps.
16975 (check_float_internal): Determine max ulps using find_test_ulps.
16976 (check_float): Do not take max_ulp parameter. Update call to
16977 check_float_internal.
16978 (check_complex): Likewise.
16979 (check_int): Do not take max_ulp parameter.
16980 (check_long): Likewise.
16981 (check_bool): Likewise.
16982 (check_longlong): Likewise.
16983 (struct test_f_f_data): Remove max_ulp field.
16984 (struct test_ff_f_data): Likewise.
16985 (struct test_ff_f_data_nexttoward): Likewise.
16986 (struct test_fi_f_data): Likewise.
16987 (struct test_fl_f_data): Likewise.
16988 (struct test_if_f_data): Likewise.
16989 (struct test_fff_f_data): Likewise.
16990 (struct test_c_f_data): Likewise.
16991 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16992 (struct test_fF_f1_data): Likewise.
16993 (struct test_ffI_f1_data): Likewise.
16994 (struct test_c_c_data): Remove max_ulp field.
16995 (struct test_cc_c_data): Likewise.
16996 (struct test_f_i_data): Likewise.
16997 (struct test_ff_i_data): Likewise.
16998 (struct test_f_l_data): Likewise.
16999 (struct test_f_L_data): Likewise.
17000 (struct test_sincos_data): Likewise.
17001 (RUN_TEST_f_f): Do not handle ulps.
17002 (RUN_TEST_LOOP_f_f): Likewise.
17003 (RUN_TEST_2_f): Likewise.
17004 (RUN_TEST_LOOP_2_f): Likewise.
17005 (RUN_TEST_fff_f): Likewise.
17006 (RUN_TEST_LOOP_fff_f): Likewise.
17007 (RUN_TEST_c_f): Likewise.
17008 (RUN_TEST_LOOP_c_f): Likewise.
17009 (RUN_TEST_f_f1): Likewise.
17010 (RUN_TEST_LOOP_f_f1): Likewise.
17011 (RUN_TEST_fF_f1): Likewise.
17012 (RUN_TEST_LOOP_fF_f1): Likewise.
17013 (RUN_TEST_fI_f1): Likewise.
17014 (RUN_TEST_LOOP_fI_f1): Likewise.
17015 (RUN_TEST_ffI_f1): Likewise.
17016 (RUN_TEST_LOOP_ffI_f1): Likewise.
17017 (RUN_TEST_c_c): Likewise.
17018 (RUN_TEST_LOOP_c_c): Likewise.
17019 (RUN_TEST_cc_c): Likewise.
17020 (RUN_TEST_LOOP_cc_c): Likewise.
17021 (RUN_TEST_f_i): Likewise.
17022 (RUN_TEST_LOOP_f_i): Likewise.
17023 (RUN_TEST_f_i_tg): Likewise.
17024 (RUN_TEST_LOOP_f_i_tg): Likewise.
17025 (RUN_TEST_ff_i_tg): Likewise.
17026 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17027 (RUN_TEST_f_b): Likewise.
17028 (RUN_TEST_LOOP_f_b): Likewise.
17029 (RUN_TEST_f_b_tg): Likewise.
17030 (RUN_TEST_LOOP_f_b_tg): Likewise.
17031 (RUN_TEST_f_l): Likewise.
17032 (RUN_TEST_LOOP_f_l): Likewise.
17033 (RUN_TEST_f_L): Likewise.
17034 (RUN_TEST_LOOP_f_L): Likewise.
17035 (RUN_TEST_sincos): Likewise.
17036 (RUN_TEST_LOOP_sincos): Likewise.
17038 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17042 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17043 main case of finite arguments, set rounding mode to FE_TONEAREST
17044 and discard exceptions.
17045 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17047 (remainder_tonearest_test_data): New variable.
17048 (remainder_test_tonearest): New function.
17049 (remainder_towardzero_test_data): New variable.
17050 (remainder_test_towardzero): New function.
17051 (remainder_downward_test_data): New variable.
17052 (remainder_test_downward): New function.
17053 (remainder_upward_test_data): New variable.
17054 (remainder_test_upward): New function.
17055 (main): Call the new test functions.
17057 * math/libm-test.inc (struct test_f_f1_data): Remove field
17059 (struct test_fF_f1_data): Likewise.
17060 (struct test_ffI_f1_data): Likewise.
17061 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17062 based on value of EXTRA_EXPECTED.
17063 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17064 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17065 EXTRA_VAR based on value of EXTRA_EXPECTED.
17066 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17067 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17068 EXTRA_VAR based on value of EXTRA_EXPECTED.
17069 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17070 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17071 EXTRA_VAR based on value of EXTRA_EXPECTED.
17072 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17073 * math/gen-libm-test.pl (parse_args): Don't output initializers
17074 for extra output values.
17076 * math/libm-test.inc (check_int): Expect result to be exactly
17077 equal to expected value and do not handle ulps.
17078 (check_long): Likewise.
17079 (check_longlong): Likewise.
17081 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17083 (cimag_test_data): Likewise.
17084 (conj_test_data): Likewise.
17085 (copysign_test_data): Likewise.
17086 (cproj_test_data): Likewise.
17087 (creal_test_data): Likewise.
17088 (fabs_test_data): Likewise.
17089 (fdim_test_data): Likewise.
17090 (finite_test_data): Likewise.
17091 (floor_test_data): Likewise.
17092 (fmax_test_data): Likewise.
17093 (fmin_test_data): Likewise.
17094 (fmod_test_data): Likewise.
17095 (fpclassify_test_data): Likewise.
17096 (frexp_test_data): Likewise.
17097 (ilogb_test_data): Likewise.
17098 (isfinite_test_data): Likewise.
17099 (isgreater_test_data): Likewise.
17100 (isgreaterequal_test_data): Likewise.
17101 (isinf_test_data): Likewise.
17102 (isless_test_data): Likewise.
17103 (islessequal_test_data): Likewise.
17104 (islessgreater_test_data): Likewise.
17105 (isnan_test_data): Likewise.
17106 (isnormal_test_data): Likewise.
17107 (issignaling_test_data): Likewise.
17108 (isunordered_test_data): Likewise.
17109 (ldexp_test_data): Likewise.
17110 (lrint_test_data): Likewise.
17111 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17112 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17113 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17114 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17115 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17116 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17118 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17119 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17120 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17121 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17123 (lrint_downward_test_data): Test for "inexact" exceptions.
17124 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17125 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17126 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17128 (lrint_upward_test_data): Test for "inexact" exceptions.
17129 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17131 (llrint_test_data): Test for "inexact" exceptions.
17132 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17133 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17134 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17135 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17136 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17137 (llrint_downward_test_data): Test for "inexact" exceptions.
17138 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17139 (llrint_upward_test_data): Test for "inexact" exceptions.
17140 (logb_test_data): Likewise.
17141 (logb_downward_test_data): Likewise.
17142 (nextafter_test_data): Likewise.
17143 (nexttoward_test_data): Likewise.
17144 (remainder_test_data): Likewise.
17145 (remquo_test_data): Likewise.
17146 (scalbn_test_data): Likewise.
17147 (scalbln_test_data): Likewise.
17148 (signbit_test_data): Likewise.
17149 (sqrt_test_data): Likewise.
17150 (significand_test_data): Likewise.
17152 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17155 * benchtests/bench-modf.c (struct args): Mark arg0 as
17157 * scripts/bench.pl: Mark members of struct args as volatile.
17159 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17162 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17163 negative infinity on POWER6 or lower.
17164 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17166 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17169 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17170 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17171 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17172 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17173 (_FP_SETQNAN): New macro.
17174 (_FP_SETQNAN_SEMIRAW): Likewise.
17175 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17176 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17177 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17178 (FP_EXTEND): Use _FP_FRAC_SNANP.
17179 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17180 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17182 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17184 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17187 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17189 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17190 with DIVIDE_BY_ZERO_EXCEPTION.
17191 (gamma_test_data): Likewise.
17192 (lgamma_test_data): Likewise.
17193 (log_test_data): Likewise.
17194 (log10_test_data): Likewise.
17195 (log2_test_data): Likewise.
17196 (tgamma_test_data): Likewise.
17198 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17199 (acos_test_tonearest): Likewise.
17200 (acos_test_towardzero): Likewise.
17201 (acos_test_downward): Likewise.
17202 (acos_test_upward): Likewise.
17203 (acosh_test): Likewise.
17204 (asin_test): Likewise.
17205 (asin_test_tonearest): Likewise.
17206 (asin_test_towardzero): Likewise.
17207 (asin_test_downward): Likewise.
17208 (asin_test_upward): Likewise.
17209 (asinh_test): Likewise.
17210 (atan_test): Likewise.
17211 (atanh_test): Likewise.
17212 (atan2_test): Likewise.
17213 (cabs_test): Likewise.
17214 (cacos_test): Likewise.
17215 (cacosh_test): Likewise.
17216 (casin_test): Likewise.
17217 (casinh_test): Likewise.
17218 (catan_test): Likewise.
17219 (catanh_test): Likewise.
17220 (cbrt_test): Likewise.
17221 (ccos_test): Likewise.
17222 (ccosh_test): Likewise.
17223 (cexp_test): Likewise.
17224 (clog_test): Likewise.
17225 (clog10_test): Likewise.
17226 (cos_test): Likewise.
17227 (cos_test_tonearest): Likewise.
17228 (cos_test_towardzero): Likewise.
17229 (cos_test_downward): Likewise.
17230 (cos_test_upward): Likewise.
17231 (cosh_test): Likewise.
17232 (cosh_test_tonearest): Likewise.
17233 (cosh_test_towardzero): Likewise.
17234 (cosh_test_downward): Likewise.
17235 (cosh_test_upward): Likewise.
17236 (cpow_test): Likewise.
17237 (csin_test): Likewise.
17238 (csinh_test): Likewise.
17239 (csqrt_test): Likewise.
17240 (ctan_test): Likewise.
17241 (ctan_test_tonearest): Likewise.
17242 (ctan_test_towardzero): Likewise.
17243 (ctan_test_downward): Likewise.
17244 (ctan_test_upward): Likewise.
17245 (ctanh_test): Likewise.
17246 (ctanh_test_tonearest): Likewise.
17247 (ctanh_test_towardzero): Likewise.
17248 (ctanh_test_downward): Likewise.
17249 (ctanh_test_upward): Likewise.
17250 (erf_test): Likewise.
17251 (erfc_test): Likewise.
17252 (exp_test): Likewise.
17253 (exp_test_tonearest): Likewise.
17254 (exp_test_towardzero): Likewise.
17255 (exp_test_downward): Likewise.
17256 (exp_test_upward): Likewise.
17257 (exp10_test): Likewise.
17258 (exp2_test): Likewise.
17259 (expm1_test): Likewise.
17260 (fmod_test): Likewise.
17261 (gamma_test): Likewise.
17262 (hypot_test): Likewise.
17263 (j0_test): Likewise.
17264 (j1_test): Likewise.
17265 (jn_test): Likewise.
17266 (lgamma_test): Likewise.
17267 (log_test): Likewise.
17268 (log10_test): Likewise.
17269 (log1p_test): Likewise.
17270 (log2_test): Likewise.
17271 (logb_test_downward): Likewise.
17272 (pow_test): Likewise.
17273 (pow_test_tonearest): Likewise.
17274 (pow_test_towardzero): Likewise.
17275 (pow_test_downward): Likewise.
17276 (pow_test_upward): Likewise.
17277 (remainder_test): Likewise.
17278 (remquo_test): Likewise.
17279 (sin_test): Likewise.
17280 (sin_test_tonearest): Likewise.
17281 (sin_test_towardzero): Likewise.
17282 (sin_test_downward): Likewise.
17283 (sin_test_upward): Likewise.
17284 (sincos_test): Likewise.
17285 (sinh_test): Likewise.
17286 (sinh_test_tonearest): Likewise.
17287 (sinh_test_towardzero): Likewise.
17288 (sinh_test_downward): Likewise.
17289 (sinh_test_upward): Likewise.
17290 (sqrt_test): Likewise.
17291 (tan_test): Likewise.
17292 (tan_test_tonearest): Likewise.
17293 (tan_test_towardzero): Likewise.
17294 (tan_test_downward): Likewise.
17295 (tan_test_upward): Likewise.
17296 (tanh_test): Likewise.
17297 (tgamma_test): Likewise.
17298 (y0_test): Likewise.
17299 (y1_test): Likewise.
17300 (yn_test): Likewise.
17302 * math/gen-libm-test.pl (adjust_arg): Remove function.
17303 (special_function): Remove argument $in_func. Only handle
17304 generating output for tables of tests, not inside functions.
17305 (parse_args): Likewise.
17306 (generate_testfile): Remove variable $in_func. Update call to
17308 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17309 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17310 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17311 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17312 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17313 (MAX_VALUE_INIT): Rename macro to max_value.
17314 (MIN_VALUE_INIT): Rename macro to min_value.
17315 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17316 (plus_zero): Remove variable.
17317 (minus_zero): Likewise.
17318 (plus_infty): Likewise.
17319 (minus_infty): Likewise.
17320 (qnan_value): Likewise.
17321 (max_value): Likewise.
17322 (min_value): Likewise.
17323 (min_subnorm_value): Likewise.
17325 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17327 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17328 uint64_t or uint32_t usage.
17329 * crypt/sha256-block.c: Likewise.
17330 * crypt/sha256-crypt.c: Likewise.
17331 * crypt/sha256.c: Likewise.
17332 * crypt/sha512-block.c: Likewise.
17333 * crypt/sha512-crypt.c: Likewise.
17334 * crypt/sha512.c: Likewise.
17335 * debug/backtrace-tst.c: Likewise.
17336 * debug/pcprofiledump.c: Likewise.
17337 * elf/cache.c: Likewise.
17338 * elf/dl-cache.c: Likewise.
17339 * elf/dl-misc.c: Likewise.
17340 * elf/dl-profile.c: Likewise.
17341 * elf/dl-support.c: Likewise.
17342 * elf/ldconfig.c: Likewise.
17343 * elf/sprof.c: Likewise.
17344 * iconv/dummy-repertoire.c: Likewise.
17345 * iconv/iconv_charmap.c: Likewise.
17346 * iconv/skeleton.c: Likewise.
17347 * iconvdata/8bit-generic.c: Likewise.
17348 * iconvdata/cp737.h: Likewise.
17349 * iconvdata/cp775.h: Likewise.
17350 * iconvdata/ibm1008.h: Likewise.
17351 * iconvdata/ibm1025.h: Likewise.
17352 * iconvdata/ibm1046.h: Likewise.
17353 * iconvdata/ibm1097.h: Likewise.
17354 * iconvdata/ibm1112.h: Likewise.
17355 * iconvdata/ibm1122.h: Likewise.
17356 * iconvdata/ibm1123.h: Likewise.
17357 * iconvdata/ibm1124.h: Likewise.
17358 * iconvdata/ibm1129.h: Likewise.
17359 * iconvdata/ibm1130.h: Likewise.
17360 * iconvdata/ibm1132.h: Likewise.
17361 * iconvdata/ibm1133.h: Likewise.
17362 * iconvdata/ibm1137.h: Likewise.
17363 * iconvdata/ibm1140.h: Likewise.
17364 * iconvdata/ibm1141.h: Likewise.
17365 * iconvdata/ibm1142.h: Likewise.
17366 * iconvdata/ibm1143.h: Likewise.
17367 * iconvdata/ibm1144.h: Likewise.
17368 * iconvdata/ibm1145.h: Likewise.
17369 * iconvdata/ibm1146.h: Likewise.
17370 * iconvdata/ibm1147.h: Likewise.
17371 * iconvdata/ibm1148.h: Likewise.
17372 * iconvdata/ibm1149.h: Likewise.
17373 * iconvdata/ibm1153.h: Likewise.
17374 * iconvdata/ibm1154.h: Likewise.
17375 * iconvdata/ibm1155.h: Likewise.
17376 * iconvdata/ibm1156.h: Likewise.
17377 * iconvdata/ibm1157.h: Likewise.
17378 * iconvdata/ibm1158.h: Likewise.
17379 * iconvdata/ibm1160.h: Likewise.
17380 * iconvdata/ibm1161.h: Likewise.
17381 * iconvdata/ibm1162.h: Likewise.
17382 * iconvdata/ibm1163.h: Likewise.
17383 * iconvdata/ibm1164.h: Likewise.
17384 * iconvdata/ibm1166.h: Likewise.
17385 * iconvdata/ibm1167.h: Likewise.
17386 * iconvdata/ibm12712.h: Likewise.
17387 * iconvdata/ibm1390.h: Likewise.
17388 * iconvdata/ibm1399.h: Likewise.
17389 * iconvdata/ibm16804.h: Likewise.
17390 * iconvdata/ibm4517.h: Likewise.
17391 * iconvdata/ibm4899.h: Likewise.
17392 * iconvdata/ibm4909.h: Likewise.
17393 * iconvdata/ibm4971.h: Likewise.
17394 * iconvdata/ibm5347.h: Likewise.
17395 * iconvdata/ibm803.h: Likewise.
17396 * iconvdata/ibm856.h: Likewise.
17397 * iconvdata/ibm901.h: Likewise.
17398 * iconvdata/ibm902.h: Likewise.
17399 * iconvdata/ibm9030.h: Likewise.
17400 * iconvdata/ibm9066.h: Likewise.
17401 * iconvdata/ibm921.h: Likewise.
17402 * iconvdata/ibm922.h: Likewise.
17403 * iconvdata/ibm9448.h: Likewise.
17404 * iconvdata/isiri-3342.h: Likewise.
17405 * iconvdata/jis0201.h: Likewise.
17406 * include/link.h: Likewise.
17407 * include/netdb.h: Likewise.
17408 * inet/check_native.c: Likewise.
17409 * inet/check_pf.c: Likewise.
17410 * inet/getipv4sourcefilter.c: Likewise.
17411 * inet/getnameinfo.c: Likewise.
17412 * inet/getsourcefilter.c: Likewise.
17413 * inet/htonl.c: Likewise.
17414 * inet/setipv4sourcefilter.c: Likewise.
17415 * inet/setsourcefilter.c: Likewise.
17416 * inet/test-inet6_opt.c: Likewise.
17417 * inet/tst-network.c: Likewise.
17418 * locale/C-collate.c: Likewise.
17419 * locale/C-ctype.c: Likewise.
17420 * locale/C-time.c: Likewise.
17421 * locale/C-translit.h: Likewise.
17422 * locale/loadarchive.c: Likewise.
17423 * locale/programs/3level.h: Likewise.
17424 * locale/programs/charmap.c: Likewise.
17425 * locale/programs/charmap.h: Likewise.
17426 * locale/programs/ld-address.c: Likewise.
17427 * locale/programs/ld-collate.c: Likewise.
17428 * locale/programs/ld-ctype.c: Likewise.
17429 * locale/programs/ld-identification.c: Likewise.
17430 * locale/programs/ld-measurement.c: Likewise.
17431 * locale/programs/ld-messages.c: Likewise.
17432 * locale/programs/ld-monetary.c: Likewise.
17433 * locale/programs/ld-name.c: Likewise.
17434 * locale/programs/ld-numeric.c: Likewise.
17435 * locale/programs/ld-paper.c: Likewise.
17436 * locale/programs/ld-telephone.c: Likewise.
17437 * locale/programs/ld-time.c: Likewise.
17438 * locale/programs/linereader.c: Likewise.
17439 * locale/programs/locale.c: Likewise.
17440 * locale/programs/locarchive.c: Likewise.
17441 * locale/programs/locfile.h: Likewise.
17442 * locale/programs/repertoire.c: Likewise.
17443 * locale/programs/simple-hash.c: Likewise.
17444 * locale/programs/simple-hash.h: Likewise.
17445 * malloc/memusage.c: Likewise.
17446 * malloc/memusagestat.c: Likewise.
17447 * nis/nis_defaults.c: Likewise.
17448 * nis/nis_hash.c: Likewise.
17449 * nis/nis_print.c: Likewise.
17450 * nis/nis_xdr.c: Likewise.
17451 * nscd/connections.c: Likewise.
17452 * nscd/hstcache.c: Likewise.
17453 * nscd/nscd_gethst_r.c: Likewise.
17454 * nscd/nscd_getserv_r.c: Likewise.
17455 * nscd/nscd_helper.c: Likewise.
17456 * nscd/servicescache.c: Likewise.
17457 * nss/makedb.c: Likewise.
17458 * nss/nss_db/db-XXX.c: Likewise.
17459 * nss/nss_db/db-initgroups.c: Likewise.
17460 * nss/nss_db/db-netgrp.c: Likewise.
17461 * nss/nss_files/files-network.c: Likewise.
17462 * nss/nss_files/files-parse.c: Likewise.
17463 * posix/bug-regex5.c: Likewise.
17464 * posix/fnmatch_loop.c: Likewise.
17465 * posix/regcomp.c: Likewise.
17466 * posix/regexec.c: Likewise.
17467 * posix/tst-rfc3484-2.c: Likewise.
17468 * posix/tst-rfc3484-3.c: Likewise.
17469 * posix/tst-rfc3484.c: Likewise.
17470 * resolv/nss_dns/dns-canon.c: Likewise.
17471 * resolv/nss_dns/dns-network.c: Likewise.
17472 * resolv/res_init.c: Likewise.
17473 * resolv/res_mkquery.c: Likewise.
17474 * resolv/tst-aton.c: Likewise.
17475 * stdlib/cxa_atexit.c: Likewise.
17476 * stdlib/cxa_finalize.c: Likewise.
17477 * stdlib/gen-fpioconst.c: Likewise.
17478 * stdlib/strtol_l.c: Likewise.
17479 * string/tst-endian.c: Likewise.
17480 * sunrpc/auth_des.c: Likewise.
17481 * sunrpc/clnt_udp.c: Likewise.
17482 * sunrpc/rtime.c: Likewise.
17483 * sunrpc/svcauth_des.c: Likewise.
17484 * sunrpc/xdr.c: Likewise.
17485 * sunrpc/xdr_intXX_t.c: Likewise.
17486 * sunrpc/xdr_rec.c: Likewise.
17487 * sysdeps/generic/ldconfig.h: Likewise.
17488 * sysdeps/generic/ldsodefs.h: Likewise.
17489 * sysdeps/generic/memusage.h: Likewise.
17490 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17491 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17493 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17495 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17497 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17498 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17500 * sysdeps/posix/getaddrinfo.c: Likewise.
17501 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17502 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17503 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17504 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17505 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17506 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17507 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17508 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17509 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17510 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17512 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17513 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17514 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17515 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17516 * sysdeps/x86_64/dl-tls.h: Likewise.
17517 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17518 * time/alt_digit.c: Likewise.
17519 * time/era.c: Likewise.
17520 * wcsmbs/tst-c16c32-1.c: Likewise.
17522 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17524 * math/libm-test.inc (struct test_sincos_data): New type.
17525 (RUN_TEST_LOOP_sincos): New macro.
17526 (sincos_test_data): New variable.
17527 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17529 2013-05-16 Richard Henderson <rth@redhat.com>
17531 * math/atest-exp2.c (LIMB64): New macro.
17532 (CONSTSZ): New macro.
17533 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17535 (print_mpn_fp): ... to function scope.
17536 (read_mpn_hex): Remove.
17537 (get_log2): Remove.
17538 (exp2_mpn): Use mp_log2.
17539 (main): Use mp_exp1.
17541 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17543 * math/libm-test.inc: Remove comment about not testing "inexact"
17545 (INEXACT_EXCEPTION): New macro.
17546 (NO_INEXACT_EXCEPTION): Likewise.
17547 (INVALID_EXCEPTION_OK): Update value.
17548 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17549 (OVERFLOW_EXCEPTION_OK): Likewise.
17550 (UNDERFLOW_EXCEPTION_OK): Likewise.
17551 (IGNORE_ZERO_INF_SIGN): Likewise.
17552 (ERRNO_UNCHANGED): Likewise.
17553 (ERRNO_EDOM): Likewise.
17554 (ERRNO_ERANGE): Likewise.
17555 (test_exceptions): Handle testing "inexact" exceptions.
17556 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17557 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17558 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17559 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17561 (rint_towardzero_test_data): Likewise.
17562 (rint_downward_test_data): Likewise.
17563 (rint_upward_test_data): Likewise.
17565 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17566 with OVERFLOW_EXCEPTION.
17567 (exp10_test_data): Likewise.
17568 (exp2_test_data): Likewise.
17569 (expm1_test_data): Likewise.
17570 (lgamma_test_data): Likewise.
17571 (pow_test_data): Likewise.
17572 (tgamma_test_data): Likewise.
17573 (yn_test_data): Remove duplicate test of overflow.
17575 * math/libm-test.inc (struct test_cc_c_data): New type.
17576 (RUN_TEST_LOOP_cc_c): New macro.
17577 (cpow_test_data): New variable.
17578 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17580 * math/libm-test.inc (struct test_f_L_data): New type.
17581 (RUN_TEST_LOOP_f_L): New macro.
17582 (llrint_test_data): New variable.
17583 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17584 (llrint_tonearest_test_data): New variable.
17585 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17586 (llrint_towardzero_test_data): New variable.
17587 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17588 (llrint_downward_test_data): New variable.
17589 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17590 (llrint_upward_test_data): New variable.
17591 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17592 (llround_test_data): New variable.
17593 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17595 2013-05-13 Peter Collingbourne <pcc@google.com>
17597 * math/atest-exp2.c (get_log2): Remove const attribute.
17599 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17601 * math/libm-test.inc (struct test_f_l_data): New type.
17602 (RUN_TEST_LOOP_f_l): New macro.
17603 (lrint_test_data): New variable.
17604 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17605 (lrint_tonearest_test_data): New variable.
17606 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17607 (lrint_towardzero_test_data): New variable.
17608 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17609 (lrint_downward_test_data): New variable.
17610 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17611 (lrint_upward_test_data): New variable.
17612 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17613 (lround_test_data): New variable.
17614 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17616 2013-05-15 Peter Collingbourne <pcc@google.com>
17618 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17619 (EXTRACT_WORDS64) Use where appropriate.
17620 (INSERT_WORDS64) Likewise.
17622 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17623 constraints with x constraints.
17624 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17626 * malloc/obstack.c (_obstack_compat): Add initializer.
17628 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17630 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17631 si_trapno and add si_addr_lsb to _sifields.sigfault.
17632 (si_trapno): Remove macro.
17633 (si_addr_lsb): Define new macro.
17634 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17636 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17638 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17639 instead of TEST_f_l.
17640 (llrint_test_tonearest): Likewise.
17641 (llrint_test_towardzero): Likewise.
17642 (llrint_test_downward): Likewise.
17643 (llrint_test_upward): Likewise.
17644 (llround_test): Likewise.
17646 * math/libm-test.inc (struct test_f_i_data): Add comment.
17647 (RUN_TEST_LOOP_f_b): New macro.
17648 (RUN_TEST_LOOP_f_b_tg): Likewise.
17649 (finite_test_data): New variable.
17650 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17651 (isfinite_test_data): New variable.
17652 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17653 (isinf_test_data): New variable.
17654 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17655 (isnan_test_data): New variable.
17656 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17657 (isnormal_test_data): New variable.
17658 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17659 (issignaling_test_data): New variable.
17660 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17661 (signbit_test_data): New variable.
17662 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17664 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17665 with INVALID_EXCEPTION.
17666 (acosh_test_data): Likewise.
17667 (asin_test_data): Likewise.
17668 (atanh_test_data): Likewise.
17669 (fmod_test_data): Likewise.
17670 (log_test_data): Likewise.
17671 (log10_test_data): Likewise.
17672 (log2_test_data): Likewise.
17673 (pow_test_data): Likewise.
17674 (sqrt_test_data): Likewise.
17675 (y0_test_data): Likewise.
17676 (y1_test_data): Likewise.
17677 (yn_test_data): Likewise.
17679 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17682 * math/libm-test.inc (struct test_ff_i_data): New type.
17683 (RUN_TEST_LOOP_ff_i_tg): New macro.
17684 (isgreater_test_data): New variable.
17685 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17686 (isgreaterequal_test_data): New variable.
17687 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17688 (isless_test_data): New variable.
17689 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17690 (islessequal_test_data): New variable.
17691 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17692 (islessgreater_test_data): New variable.
17693 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17694 (isunordered_test_data): New variable.
17695 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17697 2013-05-14 David S. Miller <davem@davemloft.net>
17699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17701 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17703 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17705 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17707 (struct test_f_i_data): Change type of max_ulp to int.
17709 * math/libm-test.inc (test_ffI_f1_data): New type.
17710 (RUN_TEST_LOOP_ffI_f1): New macro.
17711 (remquo_test_data): New variable.
17712 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17714 * setjmp/tst-setjmp-fp.c: New file.
17715 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17716 (link-libm): New variable.
17717 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17719 * math/libm-test.inc (struct test_f_i_data): New type.
17720 (RUN_TEST_LOOP_f_i): New macro.
17721 (RUN_TEST_LOOP_f_i_tg): Likewise.
17722 (fpclassify_test_data): New variable.
17723 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17724 (ilogb_test_data): New variable.
17725 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17727 * math/libm-test.inc (scalbln_test): Correct function name in END
17730 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17731 (RUN_TEST_LOOP_fI_f1): New macro.
17732 (frexp_test_data): New variable.
17733 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17735 * math/libm-test.inc (struct test_fF_f1_data): New type.
17736 (RUN_TEST_LOOP_fF_f1): New macro.
17737 (modf_test_data): New variable.
17738 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17740 * math/libm-test.inc (struct test_f_f1_data): New type.
17741 (RUN_TEST_LOOP_f_f1): New macro.
17742 (gamma_test_data): New variable.
17743 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17744 (lgamma_test_data): New variable.
17745 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17747 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17749 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17750 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17751 (main): Comment "tls" pseudo-hwcap.
17753 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17755 * math/libm-test.inc (struct test_fl_f_data): New type.
17756 (RUN_TEST_LOOP_fl_f): New variable.
17757 (scalbln_test_data): New variable.
17758 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17760 * math/libm-test.inc (struct test_fi_f_data): New type.
17761 (RUN_TEST_LOOP_fi_f): New macro.
17762 (ldexp_test_data): New variable.
17763 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17764 (scalbn_test_data): New variable.
17765 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17767 * math/libm-test.inc (struct test_c_f_data): New type.
17768 (RUN_TEST_LOOP_c_f): New macro.
17769 (cabs_test_data): New variable.
17770 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17771 (carg_test_data): New variable.
17772 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17773 (cimag_test_data): New variable.
17774 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17775 (creal_test_data): New variable.
17776 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17778 * math/libm-test.inc (struct test_if_f_data): New type.
17779 (RUN_TEST_LOOP_if_f): New macro.
17780 (jn_test_data): New variable.
17781 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17782 (yn_test_data): New variable.
17783 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17785 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17787 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17789 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17790 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17792 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17794 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17795 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17796 (bench-deps): Add bench-timing.h.
17797 * benchtests-bench-skeleton.c: Include bench-timing.h.
17798 (main): Use TIMING_* macros instead of clock_gettime.
17799 * benchtests/bench-timing.h: New file.
17802 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17803 Renamed from _LIB_VERSION.
17804 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17806 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17808 * math/libm-test.inc (struct test_fff_f_data): New type.
17809 (RUN_TEST_LOOP_fff_f): New macro.
17810 (fma_test_data): New variable.
17811 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17812 (fma_towardzero_test_data): New variable.
17813 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17814 (fma_downward_test_data): New variable.
17815 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17816 (fma_upward_test_data): New variable.
17817 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17819 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17820 (struct test_c_c_data): New type.
17821 (RUN_TEST_LOOP_c_c): New macro.
17822 (cacos_test_data): New variable.
17823 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17824 (cacosh_test_data): New variable.
17825 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17826 (casin_test_data): New variable.
17827 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17828 (casinh_test_data): New variable.
17829 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17830 (catan_test_data): New variable.
17831 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17832 (catanh_test_data): New variable.
17833 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17834 (ccos_test_data): New variable.
17835 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17836 (ccosh_test_data): New variable.
17837 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17838 (cexp_test_data): New variable.
17839 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17840 (clog_test_data): New variable.
17841 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17842 (clog10_test_data): New variable.
17843 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (conj_test_data): New variable.
17845 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17846 (cproj_test_data): New variable.
17847 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17848 (csin_test_data): New variable.
17849 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17850 (csinh_test_data): New variable.
17851 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17852 (csqrt_test_data): New variable.
17853 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17854 (ctan_test_data): New variable.
17855 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17856 (ctan_tonearest_test_data): New variable.
17857 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17858 (ctan_towardzero_test_data): New variable.
17859 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17860 (ctan_downward_test_data): New variable.
17861 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17862 (ctan_upward_test_data): New variable.
17863 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17864 (ctanh_test_data): New variable.
17865 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17866 (ctanh_tonearest_test_data): New variable.
17867 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17868 (ctanh_towardzero_test_data): New variable.
17869 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17870 (ctanh_downward_test_data): New variable.
17871 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17872 (ctanh_upward_test_data): New variable.
17873 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17874 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17877 * math/libm-test.inc (struct test_ff_f_data): New type.
17878 (struct test_ff_f_data_nexttoward): Likewise.
17879 (RUN_TEST_LOOP_2_f): New macro.
17880 (RUN_TEST_LOOP_ff_f): Likewise.
17881 (atan2_test_data): New variable.
17882 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17883 (copysign_test_data): New variable.
17884 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17885 (fdim_test_data): New variable.
17886 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17887 (fmax_test_data): New variable.
17888 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17889 (fmin_test_data): New variable.
17890 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17891 (fmod_test_data): New variable.
17892 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17893 (hypot_test_data): New variable.
17894 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17895 (nextafter_test_data): New variable.
17896 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17897 (nexttoward_test_data): New variable.
17898 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17899 (pow_test_data): New variable.
17900 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17901 (pow_tonearest_test_data): New variable.
17902 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17903 (pow_towardzero_test_data): New variable.
17904 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17905 (pow_downward_test_data): New variable.
17906 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17907 (pow_upward_test_data): New variable.
17908 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17909 (remainder_test_data): New variable.
17910 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17911 (scalb_test_data): New variable.
17912 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17913 * sysdeps/i386/fpu/libm-test-ulps: Update.
17915 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17917 * math/libm-test.inc (fma_test): Use max_value instead of local
17919 (nextafter_test): Likewise.
17921 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17922 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17923 (acos_downward_test_data): New variable.
17924 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17925 (acos_upward_test_data): New variable.
17926 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17927 (acosh_test_data): New variable.
17928 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17929 (asin_test_data): New variable.
17930 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17931 (asin_tonearest_test_data): New variable.
17932 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17933 (asin_towardzero_test_data): New variable.
17934 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17935 (asin_downward_test_data): New variable.
17936 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17937 (asin_upward_test_data): New variable.
17938 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17939 (asinh_test_data): New variable.
17940 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17941 (atan_test_data): New variable.
17942 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17943 (atanh_test_data): New variable.
17944 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17945 (cbrt_test_data): New variable.
17946 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17947 (ceil_test_data): New variable.
17948 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17949 (cos_test_data): New variable.
17950 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17951 (cos_tonearest_test_data): New variable.
17952 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17953 (cos_towardzero_test_data): New variable.
17954 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17955 (cos_downward_test_data): New variable.
17956 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17957 (cos_upward_test_data): New variable.
17958 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17959 (cosh_test_data): New variable.
17960 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17961 (cosh_tonearest_test_data): New variable.
17962 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17963 (cosh_towardzero_test_data): New variable.
17964 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17965 (cosh_downward_test_data): New variable.
17966 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17967 (cosh_upward_test_data): New variable.
17968 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17969 (erf_test_data): New variable.
17970 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17971 (erfc_test_data): New variable.
17972 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17973 (exp_test_data): New variable.
17974 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17975 (exp_tonearest_test_data): New variable.
17976 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17977 (exp_towardzero_test_data): New variable.
17978 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17979 (exp_downward_test_data): New variable.
17980 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17981 (exp_upward_test_data): New variable.
17982 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17983 (exp10_test_data): New variable.
17984 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17985 (exp2_test_data): New variable.
17986 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17987 (expm1_test_data): New variable.
17988 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17989 (fabs_test_data): New variable.
17990 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17991 (floor_test_data): New variable.
17992 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17993 (j0_test_data): New variable.
17994 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (j1_test_data): New variable.
17996 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17997 (log_test_data): New variable.
17998 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17999 (log10_test_data): New variable.
18000 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18001 (log1p_test_data): New variable.
18002 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18003 (log2_test_data): New variable.
18004 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (logb_test_data): New variable.
18006 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (logb_downward_test_data): New variable.
18008 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18009 (nearbyint_test_data): New variable.
18010 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18011 (rint_test_data): New variable.
18012 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18013 (rint_tonearest_test_data): New variable.
18014 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18015 (rint_towardzero_test_data): New variable.
18016 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18017 (rint_downward_test_data): New variable.
18018 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18019 (rint_upward_test_data): New variable.
18020 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18021 (round_test_data): New variable.
18022 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18023 (sin_test_data): New variable.
18024 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18025 (sin_tonearest_test_data): New variable.
18026 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18027 (sin_towardzero_test_data): New variable.
18028 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18029 (sin_downward_test_data): New variable.
18030 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18031 (sin_upward_test_data): New variable.
18032 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18033 (sinh_test_data): New variable.
18034 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18035 (sinh_tonearest_test_data): New variable.
18036 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18037 (sinh_towardzero_test_data): New variable.
18038 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18039 (sinh_downward_test_data): New variable.
18040 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18041 (sinh_upward_test_data): New variable.
18042 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18043 (sqrt_test_data): New variable.
18044 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18045 (tan_test_data): New variable.
18046 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18047 (tan_tonearest_test_data): New variable.
18048 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18049 (tan_towardzero_test_data): New variable.
18050 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18051 (tan_downward_test_data): New variable.
18052 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18053 (tan_upward_test_data): New variable.
18054 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18055 (tanh_test_data): New variable.
18056 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18057 (tgamma_test_data): New variable.
18058 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18059 (trunc_test_data): New variable.
18060 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18061 (y0_test_data): New variable.
18062 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18063 (y1_test_data): New variable.
18064 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18065 (significand_test_data): New variable.
18066 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18068 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18071 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18073 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18075 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18077 2013-05-10 Andreas Jaeger <aj@suse.de>
18080 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18081 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18083 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18085 * math/gen-libm-test.pl (adjust_arg): New function.
18086 (special_functions): Handle generating output in both functions
18088 (parse_args): Likewise.
18089 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18090 $in_func argument to parse_args.
18091 * math/libm-test.inc (struct test_f_f_data): New type.
18092 (IF_ROUND_INIT_): New macro.
18093 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18094 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18095 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18096 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18097 (ROUND_RESTORE_): Likewise.
18098 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18099 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18100 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18101 (ROUND_RESTORE_FE_UPWARD): Likewise.
18102 (RUN_TEST_LOOP_f_f): New macro.
18103 (acos_test_data): New variable.
18104 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18105 (acos_tonearest_test_data): New variable.
18106 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18108 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18110 * benchtests/bench-skeleton.c (startup): Fix coding style.
18112 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18115 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18116 negative infinity argument.
18117 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18118 negative infinity argument.
18119 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18120 negative infinity argument.
18121 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18124 2013-05-10 Florian Weimer <fweimer@redhat.com>
18126 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18127 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18128 * iconv/iconv_prog.c (main): Likewise.
18129 * locale/programs/charmap-dir.c (charmap_readdir)
18130 (fopen_uncompressed): Likewise.
18131 * locale/programs/locfile.c (siblings_uncached)
18132 (write_locale_data): Use lstat64 instead of lstat.
18133 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18136 2013-05-10 Andreas Jaeger <aj@suse.de>
18139 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18141 Include <locale.h>.
18143 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18145 * elf/dl-close.c (_dl_close_worker): Add comments.
18147 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18150 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18152 (__ieee754_rem_pio2l): Update comments.
18155 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18157 (__ieee754_rem_pio2l): Update comments.
18159 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18160 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18162 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18165 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18166 (M_PI_34_LOG10El): Likewise.
18167 (M_PI2_LOG10El): Likewise.
18168 (M_PI4_LOG10El): Likewise.
18169 (M_PI_LOG10El): Likewise.
18171 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18175 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18177 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18178 (MINUS_ZERO_INIT): Likewise.
18179 (PLUS_INFTY_INIT): Likewise.
18180 (MINUS_INFTY_INIT): Likewise.
18181 (QNAN_VALUE_INIT): Likewise.
18182 (MAX_VALUE_INIT): Likewise.
18183 (MIN_VALUE_INIT): Likewise.
18184 (MIN_SUBNORM_VALUE_INIT): Likewise.
18185 (plus_zero): Initialize with PLUS_ZERO_INIT.
18186 (minus_zero): Initialize with MINUS_ZERO_INIT.
18187 (plus_infty): Initialize with PLUS_INFTY_INIT.
18188 (minus_infty): Initialize with MINUS_INFTY_INIT.
18189 (qnan_value): Initialize with QNAN_VALUE_INIT.
18190 (max_value): Initialize with MAX_VALUE_INIT.
18191 (min_value): Initialize with MIN_VALUE_INIT.
18192 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18194 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18195 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18196 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18197 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18199 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18200 (RUN_TEST_2_f): Likewise.
18201 (RUN_TEST_ff_f): Likewise.
18202 (RUN_TEST_fi_f): Likewise.
18203 (RUN_TEST_fl_f): Likewise.
18204 (RUN_TEST_fff_f): Likewise.
18205 (RUN_TEST_c_f): Likewise.
18206 (RUN_TEST_f_f1): Likewise.
18207 (RUN_TEST_fF_f1): Likewise.
18208 (RUN_TEST_fI_f1): Likewise.
18209 (RUN_TEST_ffI_f1): Likewise.
18210 (RUN_TEST_c_c): Likewise.
18211 (RUN_TEST_cc_c): Likewise.
18212 (RUN_TEST_f_i): Likewise.
18213 (RUN_TEST_f_i_tg): Likewise.
18214 (RUN_TEST_ff_i_tg): Likewise.
18215 (RUN_TEST_f_b): Likewise.
18216 (RUN_TEST_f_b_tg): Likewise.
18217 (RUN_TEST_f_l): Likewise.
18218 (RUN_TEST_f_L): Likewise.
18219 (RUN_TEST_sincos): Likewise.
18220 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18221 whether to show exceptions. Do not include ");\n" in return
18223 (special_functions): Output call to RUN_TEST_sincos instead of
18224 check_float calls. Update calls to new_test.
18225 (parse_args): Output call to single RUN_TEST_* macro instead of
18226 check_* calls and other assignments. Update calls to new_test.
18232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18233 input to result for tgamma overflow.
18234 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18235 (gamma_coeff): New variable.
18236 (NCOEFF): New macro.
18237 (gamma_positive): New function.
18238 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18239 underflow here. Use gamma_positive instead of exp (lgamma) for
18241 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18242 (gamma_coeff): New variable.
18243 (NCOEFF): New macro.
18244 (gammaf_positive): New function.
18245 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18246 underflow here. Use gamma_positive instead of exp (lgamma) for
18248 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18249 (gamma_coeff): New variable.
18250 (NCOEFF): New macro.
18251 (gammal_positive): New function.
18252 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18253 underflow here. Use gamma_positive instead of exp (lgamma) for
18255 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18256 (gamma_coeff): New variable.
18257 (NCOEFF): New macro.
18258 (gammal_positive): New function.
18259 (__ieee754_gammal_r): Handle positive infinity, overflow and
18260 underflow here. Handle NaN the same as positive infinity. Remove
18261 check x < 0xffffffff for negative integers. Use gamma_positive
18262 instead of exp (lgamma) for other arguments.
18263 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18264 (gamma_coeff): New variable.
18265 (NCOEFF): New macro.
18266 (gammal_positive): New function.
18267 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18268 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18273 * sysdeps/generic/math_private.h (__gamma_productf): New
18275 (__gamma_product): Likewise.
18276 (__gamma_productl): Likewise.
18277 * math/Makefile (libm-calls): Add gamma_product.
18278 * math/libm-test.inc (tgamma_test): Add more tests.
18279 * sysdeps/i386/fpu/libm-test-ulps: Update.
18280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18282 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18284 * benchtests/bench-skeleton.c (main): Preheat CPU.
18286 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18288 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18290 2013-05-07 Roland McGrath <roland@hack.frob.com>
18292 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18293 and _dl_skip_args_internal.
18295 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18297 * manual/message.texi (Message Translation): Talk about users.
18298 Message to key mapping impacts design.
18300 2013-05-06 Roland McGrath <roland@hack.frob.com>
18302 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18304 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18306 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18307 * sysdeps/wordsize-64/glob64.c: ... here.
18309 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18310 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18313 * debug/getlogin_r_chk.c: Moved to ...
18314 * login/getlogin_r_chk.c: ... here.
18315 * debug/Makefile (routines): Move getlogin_r_chk to ...
18316 * login/Makefile (routines): ... here.
18317 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18318 * login/Versions (libc: GLIBC_2.4): ... here.
18320 * io/poll.c (__poll): Renamed from poll.
18321 Add libc_hidden_def.
18322 (poll): Define as weak alias.
18324 * debug/ptsname_r_chk.c: Moved to ...
18325 * login/ptsname_r_chk.c: ... here.
18326 * debug/Makefile (routines): Move ptsname_r_chk to ...
18327 * login/Makefile (routines): ... here.
18328 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18329 * login/Versions (libc: GLIBC_2.4): ... here.
18331 * posix/getlogin.c: Moved to ...
18332 * login/getlogin.c: ... here.
18333 * posix/getlogin_r.c: Moved to ...
18334 * login/getlogin_r.c: ... here.
18335 * posix/getlogin_r.c: Moved to ...
18336 * login/getlogin_r.c: ... here.
18337 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18338 * login/Makefile (routines): ... here.
18339 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18340 * login/Versions (libc: GLIBC_2.0): ... here.
18342 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18343 (setrlimit): Define as weak alias.
18345 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18346 Call __ names for open, ftruncate, and close.
18347 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18348 (truncate): Define as weak alias.
18350 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18352 * math/gen-libm-test.pl (parse_args): Initialize x before each
18353 test of frexp, modf and remquo.
18355 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18356 test signgam value.
18358 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18362 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18364 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18366 2013-05-06 Roland McGrath <roland@hack.frob.com>
18368 * elf/dl-writev.h: New file.
18369 * elf/dl-misc.c: Include it.
18370 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18371 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18373 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18375 * math/libm-test.inc (noXFails): Remove variable.
18376 (noXPasses): Likewise.
18377 (BUILD_COMPLEX_INT): Remove macro.
18378 (print_screen): Remove xfail argument.
18379 (print_screen_max_error): Likewise.
18380 (update_stats): Likewise.
18381 (print_max_error): Likewise. Update calls to other affected
18383 (print_complex_max_error): Likewise.
18384 (test_single_exception): Update calls to print_screen.
18385 (test_single_errno): Likewise.
18386 (check_float_internal): Remove xfail argument. Update calls to
18387 other affected functions.
18388 (check_float): Likewise.
18389 (check_complex): Likewise.
18390 (check_int): Likewise.
18391 (check_long): Likewise.
18392 (check_bool): Likewise.
18393 (check_longlong): Likewise.
18394 (main): Don't print noXFails and noXPasses.
18395 * math/gen-libm-test.pl (top level): Don't mention expected
18396 failure handling in comment.
18397 (new_test): Don't handle expected failures.
18398 (parse_args): Don't mention expected failure handling in comment.
18399 (generate_testfile): Don't handle expected failures.
18400 (parse_ulps): Likewise.
18401 (print_ulps_file): Likewise.
18402 (get_failure): Remove function.
18403 (output_test): Don't handle expected failures.
18404 * make/README.libm-test: Don't mention expected failure handling.
18406 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18407 (minus_zero): Likewise.
18408 (plus_infty): Likewise.
18409 (minus_infty): Likewise.
18410 (qnan_value): Likewise.
18411 (max_value): Likewise.
18412 (min_value): Likewise.
18413 (min_subnorm_value): Likewise.
18414 (initialize): Do not initialize those variables dynamically.
18416 2013-05-03 Roland McGrath <roland@hack.frob.com>
18418 * io/open.c (__open_2): Moved to ...
18419 * io/open_2.c: ... this new file.
18420 * io/open64.c (__open64_2): Moved to ...
18421 * io/open64_2.c: ... this new file.
18422 * io/openat.c (__openat_2): Moved to ...
18423 * io/openat_2.c: ... this new file.
18424 * io/openat64.c (__openat64_2): Moved to ...
18425 * io/openat64_2.c: ... this new file.
18426 * io/Makefile (routines): Add them.
18427 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18428 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18429 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18430 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18431 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18432 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18433 (__openat64): Add hidden_ver.
18434 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18435 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18437 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18438 Separately conditionalize setting of GLRO(dl_sysinfo) so
18439 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18440 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18442 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18444 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18445 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18447 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18448 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18449 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18450 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18451 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18453 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18455 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18456 test signgam value.
18458 * math/libm-test.inc (hypot_test): Do not use
18459 IGNORE_ZERO_INF_SIGN.
18461 2013-05-03 Andreas Jaeger <aj@suse.de>
18463 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18465 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18466 (PF_MAX): Adjust for VSOCK change.
18468 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18472 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18475 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18476 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18477 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18479 2013-05-02 David S. Miller <davem@davemloft.net>
18481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18483 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18485 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18487 2013-05-01 Roland McGrath <roland@hack.frob.com>
18489 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18491 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18494 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18495 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18496 Use __attribute__ ((__gnu_inline__)).
18497 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18498 Don't use __attribute__ ((__gnu_inline__)).
18500 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18503 * math/s_catan.c (__catan): Handle small real or imaginary part of
18504 input specially to avoid spurious underflow.
18505 * math/s_catanf.c (__catanf): Likewise.
18506 * math/s_catanh.c (__catanh): Likewise.
18507 * math/s_catanhf.c (__catanhf): Likewise.
18508 * math/s_catanhl.c (__catanhl): Likewise.
18509 * math/s_catanl.c (__catanl): Likewise.
18510 * math/libm-test.inc (catan_test): Add more tests.
18511 (catanh_test): Likewise.
18512 * sysdeps/i386/fpu/libm-test-ulps: Update.
18513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18515 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18519 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18522 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18523 accurately for denominator in atan2.
18524 * math/s_catanf.c (__catanf): Likewise.
18525 * math/s_catanh.c (__catanh): Likewise.
18526 * math/s_catanhf.c (__catanhf): Likewise.
18527 * math/s_catanhl.c (__catanhl): Likewise.
18528 * math/s_catanl.c (__catanl): Likewise.
18529 * math/libm-test.inc (catan_test): Add more tests.
18530 (catanh_test): Likewise.
18531 * sysdeps/i386/fpu/libm-test-ulps: Update.
18532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18534 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18536 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18538 * benchtests/Makefile (bench): Remove slow benchmarks.
18539 * benchtests/atan-inputs: Add slow benchmark inputs.
18540 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18541 (BENCH_FUNC): Accept variant offset.
18543 * benchtests/bench-skeleton.c (main): Run benchmark for each
18545 * benchtests/cos-inputs: Add slow benchmark inputs.
18546 * benchtests/exp-inputs: Likewise.
18547 * benchtests/pow-inputs: Likewise.
18548 * benchtests/sin-inputs: Likewise.
18549 * benchtests/slowatan-inputs: Remove.
18550 * benchtests/slowatan.c: Remove.
18551 * benchtests/slowcos-inputs: Remove.
18552 * benchtests/slowcos.c: Remove.
18553 * benchtests/slowexp-inputs: Remove.
18554 * benchtests/slowexp.c: Remove.
18555 * benchtests/slowpow-inputs: Remove.
18556 * benchtests/slowpow.c: Remove.
18557 * benchtests/slowsin-inputs: Remove.
18558 * benchtests/slowsin.c: Remove.
18559 * benchtests/slowtan-inputs: Remove.
18560 * benchtests/slowtan.c: Remove.
18561 * benchtests/tan-inputs: Add slow benchmark inputs.
18562 * scripts/bench.pl: Parse comments and directives.
18564 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18566 ($(objpfx)bench-%.c): Remove *-ITER.
18567 * benchtests/bench-modf.c: Remove definition of ITER.
18568 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18569 (main): Loop for DURATION seconds instead of fixed number of
18571 * scripts/bench.pl: Don't expect iterations in parameters.
18573 2013-04-29 Roland McGrath <roland@hack.frob.com>
18575 * io/fchdir.c (__fchdir): Renamed from fchdir.
18576 (fchdir): Define as weak alias.
18578 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18580 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18581 (ERRNO_EDOM): Likewise.
18582 (ERRNO_ERANGE): Likewise.
18583 (noErrnoTests): New variable.
18584 (init_max_error): Set errno to 0.
18585 (test_single_errno): New function.
18586 (test_errno): Likewise.
18587 (check_float_internal): Call test_errno. Set errno to 0.
18588 (check_complex): Refer to errno tests in comment.
18589 (check_int): Call test_errno. Set errno to 0.
18590 (check_long): Likewise.
18591 (check_bool): Likewise.
18592 (check_longlong): Likewise.
18593 (cos_test): Use ERRNO_* flags for errno tests instead of
18595 (expm1_test): Likewise.
18596 (fmod_test): Likewise.
18597 (ilogb_test): Likewise.
18598 (lgamma_test): Likewise.
18599 (pow_test): Likewise.
18600 (remainder_test): Likewise.
18601 (sin_test): Likewise.
18602 (tan_test): Likewise.
18603 (yn_test): Likewise.
18604 (initialize): Set errno to 0.
18605 (main): Print number of errno tests.
18606 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18608 2013-04-29 Andreas Jaeger <aj@suse.de>
18611 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18615 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18616 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18620 * stdlib/random.c (__initstate): Return NULL if
18624 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18625 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18628 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18632 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18634 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18635 of individual tests.
18636 (casin_test): Likewise.
18637 (casinh_test): Likewise.
18639 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18642 * math/s_catan.c (__catan): Handle arguments with large real or
18643 imaginary part separately without squaring.
18644 * math/s_catanf.c (__catanf): Likewise.
18645 * math/s_catanh.c (__catanh): Likewise.
18646 * math/s_catanhf.c (__catanhf): Likewise.
18647 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18649 (__catanhl): Handle arguments with large real or imaginary part
18650 separately without squaring.
18651 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18653 (__catanl): Handle arguments with large real or imaginary part
18654 separately without squaring.
18655 * math/libm-test.inc (catan_test): Add more tests.
18656 (catanh_test): Likewise.
18657 * sysdeps/i386/fpu/libm-test-ulps: Update.
18658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18660 2013-04-27 Andreas Jaeger <aj@suse.de>
18663 * stdlib/stdlib.h: Update guards for qecvt.
18664 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18667 2013-04-27 Allan McRae <allan@archlinux.org>
18669 * sysdeps/i386/fpu/libm-test-ulps: Update.
18671 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18674 * math/s_catan.c: Include <float.h>.
18675 (__catan): Ensure underflow exception occurs for underflowed
18677 * math/s_catanf.c: Include <float.h>.
18678 (__catanf): Ensure underflow exception occurs for underflowed
18680 * math/s_catanh.c: Include <float.h>.
18681 (__catanh): Ensure underflow exception occurs for underflowed
18683 * math/s_catanhf.c: Include <float.h>.
18684 (__catanhf): Ensure underflow exception occurs for underflowed
18686 * math/s_catanhl.c: Include <float.h>.
18687 (__catanhl): Ensure underflow exception occurs for underflowed
18689 * math/s_catanl.c: Include <float.h>.
18690 (__catanl): Ensure underflow exception occurs for underflowed
18692 * math/libm-test.inc (catan_test): Add more tests.
18693 (catanh_test): Likewise.
18696 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18697 underflowed result.
18698 * math/s_ccoshf.c (__ccoshf): Likewise.
18699 * math/s_ccoshl.c (__ccoshl): Likewise.
18700 * math/s_csin.c (__csin): Likewise.
18701 * math/s_csinf.c (__csinf): Likewise.
18702 * math/s_csinh.c (__csinh): Likewise.
18703 * math/s_csinhf.c (__csinhf): Likewise.
18704 * math/s_csinhl.c (__csinhl): Likewise.
18705 * math/s_csinl.c (__csinl): Likewise.
18706 * math/libm-test.inc (ccos_test): Add more tests.
18707 (ccosh_test): Likewise.
18708 (csin_test): Likewise.
18709 (csinh_test): Likewise.
18711 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18713 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18714 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18715 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18716 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18717 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18718 powerpc/power5+/fpu folders.
18719 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18722 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18726 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18728 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18729 additions to variable.
18730 [$(config-machine) = x86_64] (modules-names): Likewise.
18731 ($(objpfx)tst-audit3): Remove dependency.
18732 ($(objpfx)tst-audit3.out): Likewise.
18733 ($(objpfx)tst-audit4): Likewise.
18734 ($(objpfx)tst-audit4.out): Likewise.
18735 ($(objpfx)tst-audit5): Likewise.
18736 ($(objpfx)tst-audit5.out): Likewise.
18737 ($(objpfx)tst-audit6): Likewise.
18738 ($(objpfx)tst-audit6.out): Likewise.
18739 ($(objpfx)tst-audit7): Likewise.
18740 ($(objpfx)tst-audit7.out): Likewise.
18741 (tst-audit3-ENV): Remove variable.
18742 (tst-audit4-ENV): Likewise.
18743 (tst-audit5-ENV): Likewise.
18744 (tst-audit6-ENV): Likewise.
18745 (tst-audit7-ENV): Likewise.
18746 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18747 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18748 addition to variable.
18749 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18750 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18751 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18752 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18753 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18754 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18755 tst-audit3, tst-audit4 and tst-audit5.
18756 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18757 tst-audit6 and tst-audit7.
18758 [$(subdir) = elf] (modules-names): Add audit modules for those
18760 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18761 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18762 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18763 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18764 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18765 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18766 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18767 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18768 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18769 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18770 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18771 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18772 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18773 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18774 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18775 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18777 [$(subdir) = elf && $(config-cflags-avx) = yes]
18778 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18779 [$(subdir) = elf && $(config-cflags-avx) = yes]
18780 (CFLAGS-tst-auditmod4a.c): Likewise.
18781 [$(subdir) = elf && $(config-cflags-avx) = yes]
18782 (CFLAGS-tst-auditmod4b.c): Likewise.
18783 [$(subdir) = elf && $(config-cflags-avx) = yes]
18784 (CFLAGS-tst-auditmod6b.c): Likewise.
18785 [$(subdir) = elf && $(config-cflags-avx) = yes]
18786 (CFLAGS-tst-auditmod6c.c): Likewise.
18787 [$(subdir) = elf && $(config-cflags-avx) = yes]
18788 (CFLAGS-tst-auditmod7b.c): Likewise.
18789 * elf/tst-audit3.c: Move to ...
18790 * sysdeps/x86_64/tst-audit3.c: ... here.
18791 * elf/tst-audit4.c: Move to ...
18792 * sysdeps/x86_64/tst-audit4.c: ... here.
18793 * elf/tst-audit5.c: Move to ...
18794 * sysdeps/x86_64/tst-audit5.c: ... here.
18795 * elf/tst-audit6.c: Move to ...
18796 * sysdeps/x86_64/tst-audit6.c: ... here.
18797 * elf/tst-audit7.c: Move to ...
18798 * sysdeps/x86_64/tst-audit7.c: ... here.
18799 * elf/tst-auditmod3a.c: Move to ...
18800 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18801 * elf/tst-auditmod3b.c: Move to ...
18802 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18803 * elf/tst-auditmod4a.c: Move to ...
18804 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18805 * elf/tst-auditmod4b.c: Move to ...
18806 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18807 * elf/tst-auditmod5a.c: Move to ...
18808 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18809 * elf/tst-auditmod5b.c: Move to ...
18810 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18811 * elf/tst-auditmod6a.c: Move to ...
18812 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18813 * elf/tst-auditmod6b.c: Move to ...
18814 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18815 * elf/tst-auditmod6c.c: Move to ...
18816 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18817 * elf/tst-auditmod7a.c: Move to ...
18818 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18819 * elf/tst-auditmod7b.c: Move to ...
18820 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18822 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18825 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18826 define unconditionally.
18827 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18828 define unconditionally.
18829 (INT8_C, INT16_C, etc.): Likewise.
18831 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18833 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18834 __ehdr_start with hidden visibility.
18836 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18838 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18840 * math/libm-test.inc (cos_test): Use accurate hex constants.
18841 (sincost_test): Likewise.
18843 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18845 * math/libm-test.inc (catan_test): Add more tests.
18846 (catanh_test): Likewise.
18848 * math/s_catanf.c (__catanf): Use suffixed floating-point
18850 * math/s_catanhf.c (__catanhf): Likewise.
18851 * math/s_catanhl.c (__catanhl): Likewise.
18852 * math/s_catanl.c (__catanl): Likewise.
18855 * math/s_catan.c (__catan): Calculate imaginary part of result
18856 with log1p not log unless computing log of number close to 0.
18857 * math/s_catanf.c (__catanf): Likewise.
18858 * math/s_catanl.c (__catanl): Likewise.
18859 * math/s_catanh.c (__catanh): Calculate real part of result with
18860 log1p not log unless computing log of number close to 0.
18861 * math/s_catanhf.c (__catanhf): Likewise.
18862 * math/s_catanhl.c (__catanhl): Likewise.
18863 * math/libm-test.inc (catan_test): Add more tests.
18864 (catanh_test): Likewise.
18865 * sysdeps/i386/fpu/libm-test-ulps: Update.
18866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18868 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18870 * benchtests/Makefile: Mention files in which fast and slow
18871 paths of math functions are implemented.
18873 2013-04-23 Roland McGrath <roland@hack.frob.com>
18875 * sysdeps/posix/timespec_get.c: New file.
18877 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18879 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18881 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18883 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18884 powerpc/power5/fpu folders.
18885 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18886 * benchtests/Makefile: Add modf testcase.
18887 * benchtests/bench-modf.c: New file: Benchmark test for mo
18889 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18892 * time/Makefile (tests): Add tst-strptime-whitespace.
18893 * time/strptime_l.c (get_number): Use ISSPACE.
18894 (__strptime_internal): Likewise.
18895 * time/tst-strptime-whitespace.c: New test case.
18897 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18899 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18901 (_nss_files_init): Set it here.
18903 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18905 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18906 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18909 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18911 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18913 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18915 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18918 2013-04-21 David S. Miller <davem@davemloft.net>
18920 * po/ru.po: Update Russion translation from translation project.
18922 2013-04-17 Adam Conrad <adconrad@0c3.net>
18924 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18927 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18929 * configure.in: Remove i386 configure warning. Remove i386 case.
18930 * configure: Regenerate.
18931 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18932 Add example to error message.
18933 * sysdeps/i386/configure: Regenerate.
18935 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18937 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18939 * benchtests/cos-inputs: New file.
18940 * benchtests/slowcos-inputs: New file.
18941 * benchtests/slowcos.c: New file.
18942 * benchtests/slowtan-inputs: New file.
18943 * benchtests/slowtan.c: New file.
18944 * benchtests/tan-inputs: New file.
18946 2013-04-16 Roland McGrath <roland@hack.frob.com>
18948 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18951 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18953 * benchtests/Makefile: Include cppflags-iterator.mk to add
18954 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18956 * Makefile.in (bench-clean): New target.
18957 * benchtests/Makefile (bench-clean): Likewise.
18959 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18961 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18963 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18965 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18967 2013-04-15 Andreas Schwab <schwab@suse.de>
18969 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18971 * nscd/pwdcache.c (cache_addpw): Likewise.
18972 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18975 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18977 * benchtests/Makefile (bench): Write all output to
18978 bench-out.tmp together.
18980 2013-04-15 Andreas Schwab <schwab@suse.de>
18982 * nscd/nscd.c (main): Don't fork again after closing files.
18984 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18986 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18988 * benchtests/Rules (bench-deps): Collect dependencies into a
18989 single variable. Add Makefile to dependencies.
18990 ($(objpfx)bench-%.c): Depend on bench-deps.
18992 2013-04-12 Roland McGrath <roland@hack.frob.com>
18993 Xavier Roche <roche+kml2@exalead.com>
18996 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18997 just that it's a file descriptor.
18998 * manual/llio.texi (Synchronizing AIO Operations): Update description
18999 for EBADF error from aio_fsync.
19001 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19003 * Rules (bench): Move target definition...
19004 * benchtests/Makefile: ... here.
19006 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19008 * math/libm-test.inc (cos_test): Fix PI/2 test.
19009 (sincos_test): Likewise.
19010 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19011 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19013 2013-04-11 Andreas Schwab <schwab@suse.de>
19016 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19017 accept exponent character only when digits were seen.
19018 * stdio-common/Makefile (tests): Add bug26.
19019 * stdio-common/bug26.c: New file.
19022 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19025 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19027 * Makeconfig (rtld-prefix): Define built linker prefix.
19028 * Rules (run-bench): Use it.
19029 * math/Makefile (run-regen-ulps): Likewise.
19031 * Rules (bench): Remove eval.
19033 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19034 Roland McGrath <roland@hack.frob.com>
19035 Ondrej Bilka <neleai@seznam.cz>
19038 * time/getdate.c: Include ctype.h and alloca.h.
19039 (__getdate_r): Trim leading and trailing spaces of input.
19040 * time/tst-getdate.c (tests): Add tests with leading and
19043 2013-04-08 Roland McGrath <roland@hack.frob.com>
19046 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19047 when computing value.
19049 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19051 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19052 Use testrun.sh to run libm tests.
19055 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19057 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19060 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19062 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19064 * Makefile.in (regen-ulps): New target.
19065 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19066 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19067 [ifneq (no,$(PERL)] (regen-ulps): New target.
19068 [ifeq (no,$(PERL)] (regen-ulps): New target.
19069 * math/libm-test.inc (ulps_file_name): Define.
19070 (output_dir): New variable.
19071 (options): Add "output-dir" option.
19072 (parse_opt): Handle 'o' case.
19073 (main): If output_dir is non-NULL use it as a prefix
19075 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19077 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19079 [BZ #10060, #10062]
19080 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19081 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19082 fail configure if __sync_val_compare_and_swap is not inlined.
19083 * sysdeps/i386/configure: Regenerate.
19084 * configure.in: Build for i686 when configured for i386.
19085 * configure: Regenerate.
19086 * README: Remove i386 reference.
19088 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19090 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19093 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19095 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19096 (lmsnanval): New variables.
19097 (F): Add conversion tests.
19098 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19099 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19101 * stdio-common/tstdiomisc.c (F): Properly collect individual
19104 [BZ #14686, #15336]
19105 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19106 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19107 Instead, use input NaN values or generate a qNaN by arithmetic
19108 operation. Also fix bugs to comply with the standard.
19109 * math/libm-test.inc (remainder_test): Add more tests.
19111 [BZ #15335, #15342]
19112 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19114 input NaN values or generate a qNaN by arithmetic operation.
19116 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19119 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19122 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19125 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19126 underflowed result.
19127 * math/s_cexpf.c (__cexpf): Likewise.
19128 * math/s_cexpl.c (__cexpl): Likewise.
19129 * math/libm-test.inc (cexp_test): Add more tests.
19131 2013-04-03 Andreas Schwab <schwab@suse.de>
19134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19135 order arrays from heap if bigger than alloca cutoff.
19137 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19139 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19140 (SNAN_TESTS_double): Refer to GCC PR56831.
19141 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19144 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19146 * Rules (bench): Move bench.out after the run is complete.
19148 * Rules (bench): Echo currently running benchmark.
19150 * benchtests/Makefile (bench): Add atan and slowatan.
19151 * benchtests/atan-inputs: New file.
19152 * benchtests/slowatan-inputs: New file.
19153 * benchtests/slowatan.c: New file.
19155 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19160 * sysdeps/unix/sysv/linux/kernel-features.h
19161 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19162 __ASSUME_XFS_RESTRICTED_CHOWN.
19163 * sysdeps/unix/sysv/linux/pathconf.c
19164 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19165 Save and restore errno.
19167 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19170 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19171 arguments using __kernel_casinh.
19172 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19173 arguments using __kernel_casinhf.
19174 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19175 arguments using __kernel_casinhl.
19176 * math/libm-test.inc (cacosh_test): Add more tests.
19177 * sysdeps/i386/fpu/libm-test-ulps: Update.
19178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19180 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19182 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19185 * bench/Makefile (bench): Add sin and slowsin.
19186 * benchtests/sin-inputs: New file.
19187 * benchtests/slowsin-inputs: New file.
19188 * benchtests/slowsin.c: New file.
19190 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19191 (bench): Add slowexp and slowpow.
19192 (exp-ITER): Increase iterations.
19193 (pow-ITER): Likewise.
19194 * benchtests/exp-inputs: Change input.
19195 * benchtests/pow-inputs: Likewise.
19196 * benchtests/slowexp-inputs: New file.
19197 * benchtests/slowexp.c: New file.
19198 * benchtests/slowpow-inputs: New file.
19199 * benchtests/slowpow.c: New file.
19201 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19203 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19205 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19206 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19207 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19208 * benchtests/Makefile: Add rint benchtest.
19209 * benchtests/rint-inputs: Input for rint benchtest.
19211 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19213 * Versions.def (libm): Add GLIBC_2.18.
19214 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19215 hidden libm prototypes.
19216 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19217 * math/Makefile (libm-calls): Add s_issignaling.
19218 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19219 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19220 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19222 * math/math.h [__USE_GNU] (issignaling): New macro.
19223 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19224 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19226 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19229 * manual/arith.texi (issignaling): New section.
19230 * manual/libm-err-tab.pl (@all_functions): Update comment.
19231 * math/gen-libm-test.pl (parse_args): Apply special handling for
19233 * math/libm-test.inc (print_float, issignaling_test): New
19235 (check_float_internal): Add issignaling checks.
19236 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19237 default definition.
19238 * sysdeps/powerpc/math-tests.h: New file.
19239 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19241 * math/test-snan.c (TEST_FUNC): Likewise.
19243 2013-03-30 David S. Miller <davem@davemloft.net>
19245 * po/de.po: Update from translation team.
19247 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19250 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19251 imaginary part less than 1.0 and real part less than 0.5
19253 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19254 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19255 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19256 (cacos_test): Add more tests.
19257 (casin_test): Likewise.
19258 (casinh_test): Likewise.
19259 * sysdeps/i386/fpu/libm-test-ulps: Update.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19264 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19265 ONE with its value.
19267 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19268 (__pow_mp): Replace ONE and MONE with their values.
19269 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19271 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19272 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19273 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19276 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19278 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19279 (__pow_mp): Replace ZERO and MZERO with their values.
19280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19281 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19282 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19284 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19285 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19288 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19290 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19292 2013-03-28 Roland McGrath <roland@hack.frob.com>
19294 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19295 Declare with __attribute__ ((weak)).
19296 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19297 Call __call_tls_dtors only if it's not NULL.
19299 2013-03-28 Roland McGrath <roland@hack.frob.com>
19301 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19302 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19303 magic __ehdr_start linker symbol if it's defined.
19304 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19305 them up here if it was already done.
19307 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19308 (_dl_aux_init): Use const in cast when setting it.
19309 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19310 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19311 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19313 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19315 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19316 * csu/libc-tls.c: Nor here.
19317 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19319 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19320 (__libc_message): Never call vsyslog.
19322 2013-03-28 Alan Modra <amodra@gmail.com>
19324 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19326 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19329 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19336 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19339 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19340 Don't add gid passed as argument.
19342 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19344 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19347 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19348 imaginary part between 1.0 and 1.5 and real part less than 0.5
19350 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19351 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19352 * math/libm-test.inc (cacos_test): Add more tests.
19353 (casin_test): Likewise.
19354 (casinh_test): Likewise.
19355 * sysdeps/i386/fpu/libm-test-ulps: Update.
19356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19358 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19360 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19363 (denorm): Likewise.
19364 (__dbl_mp): Likewise.
19365 (add_magnitudes): Likewise.
19366 (sub_magnitudes): Likewise.
19374 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19376 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19377 (__dubcos): Likewise.
19378 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19379 (__ieee754_acos): Likewise.
19380 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19381 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19382 (__exp1): Likewise.
19383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19386 (my_log2): Likewise.
19387 (checkint): Likewise.
19388 * sysdeps/ieee754/dbl-64/e_remainder.c
19389 (__ieee754_remainder): Likewise.
19390 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19392 (bsloww): Likewise.
19393 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19395 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19396 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19397 MANTISSA_STORE_T to store computations on mantissa. Use
19398 macros for rounding and division.
19399 (denorm): Likewise.
19400 (__dbl_mp): Likewise.
19401 (add_magnitudes): Likewise.
19402 (sub_magnitudes): Likewise.
19405 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19406 powers of two in terms of TWOPOW macro.
19407 (mp_no): Make type of mantissa as MANTISSA_T.
19408 [!RADIXI]: Define RADIXI.
19409 [!TWO52]: Define TWO52.
19410 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19412 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19414 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19415 llroundl symbol when building for PPC32.
19417 2013-03-24 Mark H Weaver <mhw@netris.org>
19419 * manual/arith.texi (Normalization Functions): Fix prototypes for
19420 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19422 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19426 high value to check if expl overflow.
19427 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19428 to check for underflow and overflow.
19429 * math/libm-test.inc: Add exp test.
19431 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19434 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19437 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19439 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19442 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19444 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19445 wrap blocks consisting of several statements.
19447 * sysdeps/generic/math-tests.h: New file.
19448 * sysdeps/i386/fpu/math-tests.h: Likewise.
19449 * math/test-snan.c: Include it.
19450 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19452 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19455 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19456 (__ieee754_j0l): Do not improve calculations using cos of twice
19457 input for inputs above LDBL_MAX / 2.0L.
19458 (__ieee754_y0l): Likewise.
19459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19460 (__ieee754_j1l): Do not improve calculations using cos of twice
19461 input for inputs above LDBL_MAX / 2.0L.
19462 (__ieee754_y1l): Likewise.
19463 * math/libm-test.inc (j0_test): Add another test.
19464 (j1_test): Likewise.
19465 (y0_test): Likewise.
19466 (y1_test): Likewise.
19467 * sysdeps/i386/fpu/libm-test-ulps: Update.
19469 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19471 * Rules ($(objpfx)bench-%.c): Include code from a C source
19474 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19477 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19478 imaginary part 1.0 and real part less than 0.5 specially.
19479 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19480 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19481 * math/libm-test.inc (cacos_test): Add more tests.
19482 (casin_test): Likewise.
19483 (casinh_test): Likewise.
19484 * sysdeps/i386/fpu/libm-test-ulps: Update.
19485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19487 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19489 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19490 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19492 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19494 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19495 * config.make.in (config-cflags-sse4): Remove variable.
19496 (config-cflags-avx): Likewise.
19497 (config-cflags-sse2avx): Likewise.
19498 (config-cflags-novzeroupper): Likewise.
19499 (config-asflags-i686): Likewise.
19500 (have-mfma4): Likewise.
19501 (have-as-vis3): Likewise.
19503 * configure.in (MIG): Do not AC_SUBST.
19504 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19505 (libc_cv_cc_sse4): Do not AC_SUBST.
19506 (libc_cv_cc_avx): Likewise.
19507 (libc_cv_cc_sse2avx): Likewise.
19508 (libc_cv_cc_novzeroupper): Likewise.
19509 (libc_cv_cc_fma4): Likewise.
19510 (libc_cv_as_i686): Likewise.
19511 (libc_cv_sparc_as_vis3): Likewise.
19512 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19514 (config-asflags-i686): Likewise.
19515 (config-cflags-avx): Likewise.
19516 (config-cflags-sse2avx): Likewise.
19517 (have-mfma4): Likewise.
19518 (config-cflags-novzeroupper): Likewise.
19519 * sysdeps/mach/configure.in (MIG): Likewise.
19520 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19521 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19523 (config-cflags-avx): Likewise.
19524 (config-cflags-sse2avx): Likewise.
19525 (have-mfma4): Likewise.
19526 (config-cflags-novzeroupper): Likewise.
19527 * configure: Regenerated.
19528 * sysdeps/i386/configure: Likewise.
19529 * sysdeps/mach/configure: Likewise.
19530 * sysdeps/sparc/configure: Likewise.
19531 * sysdeps/x86_64/configure: Likewise.
19533 2013-03-20 Roland McGrath <roland@hack.frob.com>
19536 * locale/programs/localedef.c (options): Put N_ translation marker
19537 on argument names, not just descriptions.
19539 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19541 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19543 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19546 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19548 2013-03-19 Roland McGrath <roland@hack.frob.com>
19550 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19551 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19552 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19553 [!BEFORE_ABORT] (before_abort): New function.
19554 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19555 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19556 (writev_for_fatal): New function.
19557 (WRITEV_FOR_FATAL): New macro; call that.
19558 (backtrace_and_maps): New function.
19559 (BEFORE_ABORT): New macro; call that.
19560 (struct str_list): Type removed.
19561 (__libc_message, __libc_fatal): Functions removed.
19562 Include <sysdeps/posix/libc_fatal.c> instead.
19564 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19566 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19568 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19571 2013-03-19 Andreas Schwab <schwab@suse.de>
19573 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19574 * sysdeps/gnu/configure: Regenerate.
19576 * configure.in: Substitute libc_cv_rtlddir.
19577 * configure: Regenerate.
19578 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19579 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19580 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19581 * elf/Makefile (install-others, CFLAGS-interp.c)
19582 (ldso_install, common-ldd-rewrite): Likewise.
19583 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19584 $(inst_slibdir)/$(rtld-installed-name).
19585 * scripts/rellns-sh: Add -p option.
19586 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19589 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19591 * manual/nptl.texi: Renamed to ...
19592 * manual/threads.texi: ... this.
19593 * manual/Makefile (chapters): Update.
19595 2013-03-18 Roland McGrath <roland@hack.frob.com>
19598 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19599 on argument names, not just descriptions.
19600 * malloc/memusagestat.c (options): Likewise.
19601 * nss/getent.c (options): Likewise.
19603 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19606 * iconv/iconv_prog.c (options): Put N_ translation marker
19607 on argument names, not just descriptions.
19608 * iconv/iconvconfig.c (options): Likewise.
19610 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19612 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19613 implementation which is faster on all x86_64 architectures.
19614 Tested on AMD, Intel Nehalem, SNB, IVB.
19615 * sysdeps/x86_64/strnlen.S: Likewise.
19617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19618 Remove all multiarch strlen and strnlen versions.
19619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19620 Remove strlen and strnlen related parts.
19622 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19623 Inline strlen part.
19624 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19626 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19627 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19628 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19629 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19630 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19631 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19633 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19635 * manual/memory.texi (Malloc Tunable Parameters):
19636 Sort parameters alphabetically. Add comments for missing entries.
19638 2013-03-17 David S. Miller <davem@davemloft.net>
19640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19642 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19646 for arguments at most half maximum finite value.
19647 * math/libm-test.inc (j0_test): Add more tests.
19648 (j1_test): Likewise.
19649 (y0_test): Likewise.
19650 (y1_test): Likewise.
19651 * sysdeps/i386/fpu/libm-test-ulps: Update.
19652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19655 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19656 1 / x and functions P and Q for arguments above 0x1p256L.
19657 (__ieee754_y0l): Likewise.
19658 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19659 (__ieee754_y1l): Likewise.
19660 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19661 (j1_test): Likewise.
19662 (y0_test): Likewise.
19663 (y1_test): Likewise.
19665 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19667 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19670 2013-03-15 Roland McGrath <roland@hack.frob.com>
19672 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19673 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19674 zero since it's initialized to EXEC_PAGESIZE.
19676 * sysdeps/unix/sysv/linux/ldsodefs.h
19677 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19678 * sysdeps/generic/ldsodefs.h: ... here.
19680 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19682 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19684 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19686 * math/test-snan.c: Renamed from
19687 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19688 * math/Makefile (tests): Add test-snan.
19689 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19692 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19693 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19695 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19696 __builtin_nan family of functions.
19697 * math/libm-test.inc (initialize): Initialize qnan_value with
19698 __builtin_nan family of functions.
19699 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19701 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19703 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19704 storage class. Initialize qNaN_var and sNaN_var with
19705 __builtin_nan and __builtin_nans families of functions,
19708 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19709 (sqrt_test): Remove duplicate test with qNaN input.
19710 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19711 (round_test, signbit_test, significand_test): Note missing +/-Inf
19712 as well as qNaN tests.
19714 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19715 qNaN_var. Fix a few strings, too.
19716 * math/libm-test.inc (nan_value): Rename to qnan_value.
19717 * math/gen-libm-test.pl (%beautify): Adjust to that.
19718 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19719 * math/test-misc.c (main): Likewise.
19720 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19721 to __qnan_bytes, and __qnan_union, respectively.
19722 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19724 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19725 and lqnanval, respectively.
19726 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19727 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19728 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19729 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19731 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19732 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19735 * math/test-misc.c (main): Fix copy'n'pastos.
19736 * misc/tst-efgcvt.c (special): Likewise.
19738 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19739 Remove declarations.
19741 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19743 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19744 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19745 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19746 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19748 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19751 macro to return vdso values correctly in IFUNC implementations.
19752 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19753 Optimization by using IFUNC.
19755 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19756 Richard Henderson <rth@redhat.com>
19757 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19759 * Makefile.in (bench): New target.
19760 * NEWS: Mention the benchmark framework.
19761 * Rules (bench): Likewise.
19762 (binaries-bench): Generate binaries for functions to
19764 * benchtests/Makefile: New makefile for benchmark tests.
19765 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19767 * benchtests/exp-inputs: New input file for EXP function.
19768 * benchtests/pow-inputs: New input file for POW function.
19769 * scripts/bench.pl: New script to generate source files for
19770 benchmark programs.
19772 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19774 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19775 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19776 computations on mantissa. Use macros for rounding and
19778 (denorm): Likewise.
19779 (__dbl_mp): Likewise.
19780 (add_magnitudes): Likewise.
19781 (sub_magnitudes): Likewise.
19784 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19785 powers of two in terms of TWOPOW macro.
19786 (mp_no): Make type of mantissa as MANTISSA_T.
19787 [!RADIXI]: Define RADIXI.
19788 [!TWO52]: Define TWO52.
19789 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19791 * manual/nptl.texi (cindex): Modify threads to pthreads.
19793 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19795 * sysdeps/x86_64/preconfigure: Regenerated.
19797 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19800 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19802 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19803 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19805 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19806 * math/libm-test.inc (j0_test): Do not allow one spurious
19807 underflow exception.
19808 (y1_test): Likewise.
19810 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19812 * manual/Makefile (chapters): Add nptl.
19813 * manual/debug.texi (Debugging Support): Add link to Threads
19815 * manual/nptl.texi: New file.
19817 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19819 2013-03-14 Petr Baudis <pasky@ucw.cz>
19821 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19822 for non-NULL pointer before the memory validity test. Pointed
19823 out by Holger Brunck <holger.brunck@keymile.com>.
19825 2013-03-13 Andreas Schwab <schwab@suse.de>
19827 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19830 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19832 * timezone/zic.c: Update from tzcode 2013b.
19834 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19836 * manual/install.texi (Configuring and compiling):
19837 Mention i686 and i586.
19838 * INSTALL: Regenerate.
19840 2013-03-12 Roland McGrath <roland@hack.frob.com>
19842 * sysdeps/init_array/elf-init.c: New file.
19844 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19845 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19847 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19848 __gmon_start__ as global, but as static with a .preinit_array pointer.
19849 * sysdeps/init_array/gmon-start.c: New file. Use that.
19850 * sysdeps/init_array/crti.S: New file, empty except for comments.
19851 * sysdeps/init_array/crtn.S: Likewise.
19853 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19855 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19858 Remove Prefer_SSE_for_memop.
19859 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19860 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19861 HAS_PREFER_SSE_FOR_MEMOP.
19862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19864 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19865 Remove bzero, memset ifunc support.
19866 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19867 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19868 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19869 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19871 2013-03-11 Andreas Schwab <schwab@suse.de>
19874 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19877 (GLIBC_2.16): Remove pthread_atfork.
19879 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19881 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19882 (ptestcases.h): Likewise.
19884 2013-03-08 Roland McGrath <roland@hack.frob.com>
19886 * Makeconfig ($(common-objpfx)config.status): Depend on
19887 sysdeps/*/preconfigure{,.in} too.
19889 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19891 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19892 (__free_hook): Use void * instead of __malloc_ptr_t.
19893 (__malloc_hook): Likewise.
19894 (__realloc_hook): Likewise.
19895 (__memalign_hook): Likewise.
19896 (__after_morecore_hook): Likewise.
19897 * malloc/arena.c (save_malloc_hook): Likewise.
19898 (save_free_hook): Likewise.
19899 * malloc/hooks.c (malloc_hook_ini): Likewise.
19900 (realloc_hook_ini): Likewise.
19901 (memalign_hook_ini): Likewise.
19902 * malloc/malloc.c (malloc_hook_ini): Likewise.
19903 (realloc_hook_ini): Likewise.
19904 (memalign_hook_ini): Likewise.
19905 (__free_hook): Likewise.
19906 (__malloc_hook): Likewise.
19907 (__realloc_hook): Likewise.
19908 (__memalign_hook): Likewise.
19909 (__libc_malloc): Likewise.
19910 (__libc_free): Likewise.
19911 (__libc_realloc): Likewise.
19912 (__libc_memalign): Likewise.
19913 (__libc_valloc): Likewise.
19914 (__libc_pvalloc): Likewise.
19915 (__libc_calloc): Likewise.
19916 (__posix_memalign): Likewise.
19917 * malloc/morecore.c (__sbrk): Likewise.
19918 (__default_morecore): Likewise.
19920 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19922 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19923 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19924 __malloc_ptrdiff_t.
19926 * malloc/malloc.h (__malloc_size_t): Remove macro.
19927 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19929 (old_memalign_hook): Likewise.
19930 (old_realloc_hook): Likewise.
19931 (struct hdr): Likewise.
19933 (mallochook): Likewise.
19934 (memalignhook): Likewise.
19935 (reallochook): Likewise.
19936 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19937 (tr_old_realloc_hook): Likewise.
19938 (tr_old_memalign_hook): Likewise.
19939 (tr_mallochook): Likewise.
19940 (tr_reallochook): Likewise.
19941 (tr_memalignhook): Likewise.
19943 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19946 default_ldbl_pack and using as default implementation.
19947 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19949 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19950 redundant definition.
19951 (ldbl_insert_mantissa): Likewise.
19952 (ldbl_canonicalize): Likewise.
19953 (ldbl_nearbyint): Likewise.
19954 (ldbl_pack): Rename to ldbl_pack_ppc.
19955 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19956 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19957 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19959 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19962 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19963 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19964 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19967 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19968 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19970 2013-03-07 Andreas Jaeger <aj@suse.de>
19972 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19975 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19977 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19978 Include mpa.h and declare __MPEXP.
19979 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19980 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19981 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19982 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19983 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19984 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19985 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19987 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19988 (__slowpow): Use long double EXPL and LOGL functions to
19990 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19991 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19992 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19993 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19994 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19995 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19998 intermediate variable to calculate exponent.
20000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20004 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20005 [!NO__SQR]: Define __sqr.
20006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20007 and NO__SQR. Remove all code except __mul and __sqr. Include
20008 sysdeps/ieee754/dbl-64/mpa.c.
20009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20012 * posix/Makefile (tests): Add tst-pathconf.
20013 * posix/tst-pathconf.c: New test case.
20014 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20016 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20018 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20020 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20022 2013-03-06 Andreas Jaeger <aj@suse.de>
20024 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20025 definition via __MAP_ANONYMOUS.
20027 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20028 it's not part of Linux headers.
20030 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20031 (MAP_HUGE_MASK): Define.
20033 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20035 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20036 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20038 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20039 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20041 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20044 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20046 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20047 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20048 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20049 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20050 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20051 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20053 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20056 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20057 Handle f2fs and efivarfs.
20059 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20062 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20063 (EFIVARFS_MAGIC): Add.
20064 (F2FS_LINK_MAX): Add.
20066 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20068 * stdio-common/vfprintf.c: Replace __builtin_expect with
20071 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20074 * sysdeps/generic/bp-sym.h: Remove file.
20075 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20076 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20077 <bp-sym.h> and <bp-asm.h>.
20078 (__longjmp): Don't use BP_SYM.
20079 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20081 (memcpy): Don't use BP_SYM.
20082 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20083 <bp-sym.h> and <bp-asm.h>.
20084 (memcpy): Don't use BP_SYM.
20085 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20087 (memcpy): Don't use BP_SYM.
20088 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20090 (memset): Don't use BP_SYM.
20091 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20092 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20093 (__bzero): Don't use BP_SYM.
20094 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20095 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20096 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20097 <bp-sym.h> and <bp-asm.h>.
20098 (memcmp): Don't use BP_SYM. Remove comment about bounded
20100 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20101 <bp-sym.h> and <bp-asm.h>.
20102 (memcpy): Don't use BP_SYM.
20103 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20104 <bp-sym.h> and <bp-asm.h>.
20105 (memset): Don't use BP_SYM.
20106 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20107 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20108 (__bzero): Don't use BP_SYM.
20109 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20110 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20112 <bp-sym.h> and <bp-asm.h>.
20113 (strncmp): Don't use BP_SYM. Remove comment about bounded
20115 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20116 <bp-sym.h> and <bp-asm.h>.
20117 (memcpy): Don't use BP_SYM.
20118 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20119 <bp-sym.h> and <bp-asm.h>.
20120 (memset): Don't use BP_SYM.
20121 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20122 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20123 (__bzero): Don't use BP_SYM.
20124 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20125 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20127 <bp-sym.h> and <bp-asm.h>.
20128 (__memchr): Don't use BP_SYM.
20129 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20130 <bp-sym.h> and <bp-asm.h>.
20131 (memcmp): Don't use BP_SYM. Remove comment about bounded
20133 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20134 <bp-sym.h> and <bp-asm.h>.
20135 (memcpy): Don't use BP_SYM.
20136 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (__mempcpy): Don't use BP_SYM.
20139 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20140 <bp-sym.h> and <bp-asm.h>.
20141 (__memrchr): Don't use BP_SYM.
20142 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20143 <bp-sym.h> and <bp-asm.h>.
20144 (memset): Don't use BP_SYM.
20145 (__bzero): Likewise.
20146 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20147 <bp-sym.h> and <bp-asm.h>.
20148 (__rawmemchr): Don't use BP_SYM.
20149 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20150 <bp-sym.h> and <bp-asm.h>.
20151 (__STRCMP): Don't use BP_SYM.
20152 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (strchr): Don't use BP_SYM.
20155 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20156 <bp-sym.h> and <bp-asm.h>.
20157 (__strchrnul): Don't use BP_SYM.
20158 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20159 <bp-sym.h> and <bp-asm.h>.
20160 (strlen): Don't use BP_SYM.
20161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20162 <bp-sym.h> and <bp-asm.h>.
20163 (strncmp): Don't use BP_SYM. Remove comment about bounded
20165 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20166 <bp-sym.h> and <bp-asm.h>.
20167 (__strnlen): Don't use BP_SYM.
20168 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20169 <bp-sym.h> and <bp-asm.h>.
20170 (__GI__setjmp): Don't use BP_SYM.
20171 (_setjmp): Likewise.
20172 (__sigsetjmp): Likewise.
20173 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20174 (L(start_addresses)): Don't use BP_SYM.
20175 (_start): Likewise.
20176 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20178 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20179 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20180 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20181 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20182 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20184 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20185 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20186 about bounded pointers.
20187 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20188 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20189 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20191 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20192 about bounded pointers. Remove GKM FIXME comments.
20193 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20194 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20196 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20197 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20198 Remove GKM FIXME comments.
20199 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20200 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20201 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20203 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20204 about bounded pointers. Remove GKM FIXME comment.
20205 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20207 (strncmp): Don't use BP_SYM. Remove comment about bounded
20209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20210 <bp-sym.h> and <bp-asm.h>.
20211 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20213 <bp-sym.h> and <bp-asm.h>.
20214 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20217 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20219 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20222 2013-03-05 David S. Miller <davem@davemloft.net>
20224 * po/es.po: Update from translation team.
20226 2013-03-05 Andreas Jaeger <aj@suse.de>
20228 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20229 <bits/mman-linux.h>.
20230 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20232 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20233 <bits/mman-linux.h> to end of file.
20234 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20236 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20237 <bits/mman-linux.h> to end of file.
20238 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20240 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20241 <bits/mman-linux.h> to end of file.
20243 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20244 (MCL_CURRENT, MCL_FUTURE): Define here.
20246 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20249 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20251 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20253 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20255 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20256 fourth parameter needed for rt_sigprocmask syscall.
20257 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20258 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20259 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20260 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20261 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20262 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20264 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20267 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20268 comment about bounded pointers.
20269 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20270 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20272 2013-03-04 Andreas Jaeger <aj@suse.de>
20274 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20275 common definitions.
20277 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20278 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20279 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20281 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20284 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20288 __ieee754_sqrl instead of __sqrl.
20290 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20292 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20293 * sysdeps/powerpc/fpu_control.h: ... here.
20294 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20295 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20296 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20297 * sysdeps/powerpc/bits/mathinline.h: ... here.
20299 2013-03-01 Roland McGrath <roland@hack.frob.com>
20301 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20302 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20303 to just [NEED_DL_SYSINFO_DSO].
20304 * elf/dl-support.c: Likewise.
20305 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20306 * elf/rtld.c (dl_main): Likewise.
20307 * elf/setup-vdso.h (setup_vdso): Likewise.
20308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20309 * sysdeps/unix/sysv/linux/dl-sysdep.c
20310 (_dl_discover_osversion): Likewise.
20312 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20314 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20315 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20317 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20319 * NEWS: Mention libm performance improvements and non-x86 PI
20322 * csu/libc-start.c (__pthread_initialize_minimal): Change
20323 function arguments.
20324 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20326 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20329 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20330 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20331 <bp-sym.h> and <bp-asm.h>.
20332 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20333 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20335 (memcpy): Don't use BP_SYM.
20336 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20338 (__mpn_add_n): Don't use BP_SYM.
20339 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20340 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20342 (__mpn_addmul_1): Don't use BP_SYM.
20343 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20344 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20346 (_setjmp): Don't use BP_SYM.
20347 (__novmx_setjmp): Likewise.
20348 (__GI__setjmp): Likewise.
20349 (__vmx_setjmp): Likewise.
20350 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20352 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20353 (__bzero): Don't use BP_SYM.
20354 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20355 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20356 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20357 <bp-sym.h> and <bp-asm.h>.
20358 (memcpy): Don't use BP_SYM.
20359 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20360 <bp-sym.h> and <bp-asm.h>.
20361 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20362 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20363 <bp-sym.h> and <bp-asm.h>.
20364 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20365 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20367 (__mpn_lshift): Don't use BP_SYM.
20368 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20369 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20371 (memset): Don't use BP_SYM.
20372 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20373 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20374 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20376 (__mpn_mul_1): Don't use BP_SYM.
20377 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20379 <bp-sym.h> and <bp-asm.h>.
20380 (memcmp): Don't use BP_SYM.
20381 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20382 <bp-sym.h> and <bp-asm.h>.
20383 (memcpy): Don't use BP_SYM.
20384 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20385 <bp-sym.h> and <bp-asm.h>.
20386 (memset): Don't use BP_SYM.
20387 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20388 <bp-sym.h> and <bp-asm.h>.
20389 (strncmp): Don't use BP_SYM.
20390 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20391 <bp-sym.h> and <bp-asm.h>.
20392 (memcpy): Don't use BP_SYM.
20393 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20394 <bp-sym.h> and <bp-asm.h>.
20395 (memset): Don't use BP_SYM.
20396 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20397 <bp-sym.h> and <bp-asm.h>.
20398 (__memchr): Don't use BP_SYM.
20399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20400 <bp-sym.h> and <bp-asm.h>.
20401 (memcmp): Don't use BP_SYM.
20402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20403 <bp-sym.h> and <bp-asm.h>.
20404 (memcpy): Don't use BP_SYM.
20405 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20406 <bp-sym.h> and <bp-asm.h>.
20407 (__mempcpy): Don't use BP_SYM.
20408 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20409 <bp-sym.h> and <bp-asm.h>.
20410 (__memrchr): Don't use BP_SYM.
20411 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20412 <bp-sym.h> and <bp-asm.h>.
20413 (memset): Don't use BP_SYM.
20414 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20415 <bp-sym.h> and <bp-asm.h>.
20416 (__rawmemchr): Don't use BP_SYM.
20417 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20418 <bp-sym.h> and <bp-asm.h>.
20419 (__STRCMP): Don't use BP_SYM.
20420 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20421 <bp-sym.h> and <bp-asm.h>.
20422 (strchr): Don't use BP_SYM.
20423 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20424 <bp-sym.h> and <bp-asm.h>.
20425 (__strchrnul): Don't use BP_SYM.
20426 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20427 <bp-sym.h> and <bp-asm.h>.
20428 (strlen): Don't use BP_SYM.
20429 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20430 <bp-sym.h> and <bp-asm.h>.
20431 (strncmp): Don't use BP_SYM.
20432 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20433 <bp-sym.h> and <bp-asm.h>.
20434 (__strnlen): Don't use BP_SYM.
20435 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20437 (__mpn_rshift): Don't use BP_SYM.
20438 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20439 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20440 <bp-sym.h> and <bp-asm.h>.
20441 (__sigsetjmp): Don't use BP_SYM.
20442 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20443 (L(start_addresses)): Don't use BP_SYM.
20444 (_start): Likewise.
20445 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20447 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20448 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20449 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20450 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20452 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20453 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20454 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20455 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20457 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20459 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20460 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20462 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20464 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20465 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20466 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20468 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20470 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20472 (strncmp): Don't use BP_SYM,
20473 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20475 (__mpn_sub_n): Don't use BP_SYM.
20476 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20477 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20479 (__mpn_submul_1): Don't use BP_SYM.
20480 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20482 <bp-sym.h> and <bp-asm.h>.
20483 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20485 <bp-sym.h> and <bp-asm.h>.
20486 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20489 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20492 Use ZK to minimize writes to Z.
20493 (sub_magnitudes): Simplify code a bit.
20494 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20495 Use ZK to minimize writes to Z.
20496 (sub_magnitudes): Simplify code a bit.
20498 2013-02-27 Roland McGrath <roland@hack.frob.com>
20500 * csu/gmon-start.c: Add special exception to license text.
20502 2013-02-27 Richard Henderson <rth@redhat.com>
20504 * scripts/config.guess: Update from config.git.
20505 * scripts/config.sub: Likewise.
20507 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20509 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20511 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20513 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20515 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20517 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20519 2013-02-26 Roland McGrath <roland@hack.frob.com>
20521 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20522 [$(build-shared = yes].
20524 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20526 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20527 (__mul): Reduce iterations for calculating mantissa.
20529 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20531 (__mpranred): Likewise.
20534 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20535 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20537 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20539 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20540 Define __attribute__.
20542 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20544 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20546 * posix/regex_internal.h (__attribute): Remove.
20547 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20548 (re_string_context_at): Likewise.
20549 (bitset_not): Use __attribute__ and mark function as possibly
20551 (bitset_merge): Likewise.
20552 (bitset_mask): Likewise.
20553 (re_string_char_size_at): Likewise.
20554 (re_string_wchar_at): Likewise.
20555 (re_string_elem_size_at): Likewise.
20557 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20559 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20563 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20567 (denorm): Likewise.
20568 (__dbl_mp): Likewise.
20569 (add_magnitudes): Likewise.
20570 (sub_magnitudes): Likewise.
20574 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20577 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20580 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20584 up changes with default code.
20585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20588 2013-02-24 Allan McRae <allan@archlinux.org>
20590 * manual/socket.texi (The Internet Namespace): Order menu items
20591 to match that in the file.
20593 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20594 node listing of the info page menu.
20596 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20599 * sysdeps/i386/bp-asm.h: Remove file.
20600 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20601 (PARMS): Do not use macros from bp-asm.h.
20605 (__mpn_add_n): Do not use BP_SYM
20606 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20608 (PARMS): Do not use macros from bp-asm.h.
20611 (__mpn_addmul_1): Do not use BP_SYM
20612 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20614 (PARMS): Do not use macros from bp-asm.h.
20615 (SIGMSK): Likewise.
20616 (_setjmp): Likewise. Do not use BP_SYM.
20617 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20619 (PARMS): Do not use macros from bp-asm.h.
20620 (SIGMSK): Likewise.
20621 (setjmp): Likewise. Do not use BP_SYM.
20622 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20624 (PARMS): Do not use macros from bp-asm.h.
20625 (__frexp): Do not use BP_SYM.
20627 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20629 (PARMS): Do not use macros from bp-asm.h.
20630 (__frexpf): Do not use BP_SYM.
20631 (frexpf): Likewise.
20632 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20634 (PARMS): Do not use macros from bp-asm.h.
20635 (__frexpl): Do not use BP_SYM.
20636 (frexpl): Likewise.
20637 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20639 (PARMS): Do not use macros from bp-asm.h.
20640 (__remquo): Do not use BP_SYM.
20641 (remquo): Likewise.
20642 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20644 (PARMS): Do not use macros from bp-asm.h.
20645 (__remquof): Do not use BP_SYM.
20646 (remquof): Likewise.
20647 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20649 (PARMS): Do not use macros from bp-asm.h.
20650 (__remquol): Do not use BP_SYM.
20651 (remquol): Likewise.
20652 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20654 (PARMS): Do not use macros from bp-asm.h.
20657 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20658 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20660 (PARMS): Do not use macros from bp-asm.h.
20661 (strlen): Do not use BP_SYM.
20662 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20664 (PARMS): Do not use macros from bp-asm.h.
20668 (__mpn_add_n): Do not use BP_SYM.
20669 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20671 (PARMS): Do not use macros from bp-asm.h.
20674 (__mpn_addmul_1): Do not use BP_SYM.
20675 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20678 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20680 (PARMS): Do not use macros from bp-asm.h.
20683 (__mpn_lshift): Do not use BP_SYM.
20684 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20686 (PARMS): Do not use macros from bp-asm.h.
20690 (memcpy): Likewise. Do not use BP_SYM.
20691 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20692 libc_hidden_def and weak_alias.
20693 (mempcpy): Do not use BP_SYM in weak_alias.
20694 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20696 (PARMS): Do not use macros from bp-asm.h.
20699 [!BZERO_P] (CHR): Likewise.
20700 (memset): Likewise. Do not use BP_SYM.
20701 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20703 (PARMS): Do not use macros from bp-asm.h.
20706 (__mpn_mul_1): Do not use BP_SYM.
20707 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20709 (PARMS): Do not use macros from bp-asm.h.
20712 (__mpn_rshift): Do not use BP_SYM.
20713 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20715 (PARMS): Do not use macros from bp-asm.h.
20718 (strchr): Likewise. Do not use BP_SYM.
20719 (index): Do not use BP_SYM in weak_alias.
20720 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20722 (PARMS): Do not use macros from bp-asm.h.
20725 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20726 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20728 (PARMS): Do not use macros from bp-asm.h.
20729 (strlen): Do not use BP_SYM.
20730 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20732 (PARMS): Do not use macros from bp-asm.h.
20736 (__mpn_sub_n): Do not use BP_SYM.
20737 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20739 (PARMS): Do not use macros from bp-asm.h.
20742 (__mpn_submul_1): Do not use BP_SYM.
20743 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20745 (PARMS): Do not use macros from bp-asm.h.
20749 (__mpn_add_n): Do not use BP_SYM.
20750 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20753 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20755 (PARMS): Do not use macros from bp-asm.h.
20758 (memcmp): Do not use BP_SYM.
20759 (bcmp): Do not use BP_SYM in weak_alias.
20760 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20762 (PARMS): Do not use macros from bp-asm.h.
20766 (memcpy): Likewise. Do not use BP_SYM.
20767 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20769 (PARMS): Do not use macros from bp-asm.h.
20773 (memmove): Likewise. Do not use BP_SYM.
20774 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20776 (PARMS): Do not use macros from bp-asm.h.
20780 (__mempcpy): Likewise. Do not use BP_SYM.
20781 (mempcpy): Do not use BP_SYM in weak_alias.
20782 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20784 (PARMS): Do not use macros from bp-asm.h.
20787 [!BZERO_P] (CHR): Likewise.
20788 (memset): Likewise. Do not use BP_SYM.
20789 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20791 (PARMS): Do not use macros from bp-asm.h.
20793 (strcmp): Do not use BP_SYM.
20794 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20796 (PARMS): Do not use macros from bp-asm.h.
20799 [USE_AS_STRTOK_R] (SAVE): Likewise.
20800 (FUNCTION): Likewise. Do not use BP_SYM.
20801 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20803 (strtok_r): Likewise.
20804 (__GI___strtok_r): Likewise.
20805 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20806 (PARMS): Do not use macros from bp-asm.h.
20809 (__mpn_lshift): Do not use BP_SYM.
20810 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20811 (PARMS): Do not use macros from bp-asm.h.
20814 (__memchr): Do not use BP_SYM.
20815 (memchr): Do not use BP_SYM in weak_alias.
20816 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20817 (PARMS): Do not use macros from bp-asm.h.
20820 (memcmp): Do not use BP_SYM.
20821 (bcmp): Do not use BP_SYM in weak_alias.
20822 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20823 (PARMS): Do not use macros from bp-asm.h.
20826 (__mpn_mul_1): Do not use BP_SYM.
20827 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20829 (PARMS): Do not use macros from bp-asm.h.
20832 (__rawmemchr): Do not use BP_SYM.
20833 (rawmemchr): Do not use BP_SYM in weak_alias.
20834 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20835 (PARMS): Do not use macros from bp-asm.h.
20838 (__mpn_rshift): Do not use BP_SYM.
20839 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20840 (PARMS): Do not use macros from bp-asm.h.
20841 (SIGMSK): Likewise.
20842 (__sigsetjmp): Likewise. Do not use BP_SYM.
20843 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20844 (_start): Do not use BP_SYM.
20845 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20846 (PARMS): Do not use macros from bp-asm.h.
20849 (__stpcpy): Likewise. Do not use BP_SYM.
20850 (stpcpy): Do not use BP_SYM in weak_alias.
20851 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20853 (PARMS): Do not use macros from bp-asm.h.
20857 (__stpncpy): Likewise. Do not use BP_SYM.
20858 (stpncpy): Do not use BP_SYM in weak_alias.
20859 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20860 (PARMS): Do not use macros from bp-asm.h.
20863 (strchr): Likewise. Do not use BP_SYM.
20864 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20866 (PARMS): Do not use macros from bp-asm.h.
20869 (__strchrnul): Likewise. Do not use BP_SYM.
20870 (strchrnul): Do not use BP_SYM in weak_alias.
20871 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20873 (PARMS): Do not use macros from bp-asm.h.
20875 (strcspn): Do not use BP_SYM.
20876 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20878 (PARMS): Do not use macros from bp-asm.h.
20881 (strpbrk): Likewise. Do not use BP_SYM.
20882 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20884 (PARMS): Do not use macros from bp-asm.h.
20887 (strrchr): Likewise. Do not use BP_SYM.
20888 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20889 (PARMS): Do not use macros from bp-asm.h.
20891 (strspn): Do not use BP_SYM.
20892 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20893 (PARMS): Do not use macros from bp-asm.h.
20897 (FUNCTION): Likewise. Do not use BP_SYM.
20898 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20900 (strtok_r): Likewise.
20901 (__GI___strtok_r): Likewise.
20902 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20903 (PARMS): Do not use macros from bp-asm.h.
20907 (__mpn_sub_n): Do not use BP_SYM.
20908 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20910 (PARMS): Do not use macros from bp-asm.h.
20913 (__mpn_submul_1): Do not use BP_SYM.
20914 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20916 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20918 (PARMS): Do not use macros from bp-asm.h.
20923 (__clone): Do not use BP_SYM.
20924 (clone): Do not use BP_SYM in weak_alias.
20925 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20927 (PARMS): Do not use macros from bp-asm.h.
20929 (__mmap64): Do not use BP_SYM.
20930 (mmap64): Do not use BP_SYM in weak_alias.
20931 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20932 <bp-sym.h> and <bp-asm.h>.
20933 (PARMS): Do not use macros from bp-asm.h.
20934 (__posix_fadvise64_l64): Do not use BP_SYM.
20935 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20936 (PARMS): Do not use macros from bp-asm.h.
20938 (semtimedop): Do not use BP_SYM.
20939 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20942 2013-02-21 Allan McRae <allan@archlinux.org>
20944 * manual/message.texi (Charset conversion in gettext):
20945 Move @end statement to beginning of line.
20947 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20954 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20955 (denorm): Likewise.
20956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20959 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20961 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20962 tail-call to the resolved function if pltexit isn't needed.
20964 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20967 or Y being zero as being unlikely.
20968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20971 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20973 * manual/nss.texi (System Databases and Name Service Switch):
20974 Remove frobnicate @pxref.
20976 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20978 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20979 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20981 2013-02-20 Petr Machata <pmachata@redhat.com>
20983 * elf/elf.h (R_ARM_TARGET1): New macro.
20984 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20985 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20986 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20987 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20988 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20989 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20990 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20991 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20992 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20993 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20994 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20995 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20996 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20997 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20998 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20999 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21000 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21001 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21002 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21003 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21004 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21005 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21006 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21007 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21008 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21009 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21010 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21011 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21012 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21013 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21014 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21015 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21016 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21017 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21018 (R_ARM_THM_GOT_BREL12): Likewise.
21019 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21020 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21021 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21022 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21023 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21024 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21025 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21026 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21027 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21029 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21031 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21032 __attribute_used__ to __attribute__ ((unused)).
21034 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21036 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21039 comment formatting.
21040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21042 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21045 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21047 (ENTER): Remove both macro definitions.
21049 (CHECK_BOUNDS_LOW): Likewise.
21050 (CHECK_BOUNDS_HIGH): Likewise.
21051 (CHECK_BOUNDS_BOTH): Likewise.
21052 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21053 (RETURN_BOUNDED_POINTER): Likewise.
21054 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21055 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21056 (POP_ERRNO_LOCATION_RETURN): Likewise.
21057 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21058 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21059 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21061 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21062 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21063 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21064 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21065 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21066 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21067 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21068 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21069 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21070 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21071 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21072 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21073 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21074 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21076 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21077 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21079 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21080 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21081 * sysdeps/i386/i586/memset.S (memset): Likewise.
21082 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21083 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21084 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21086 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21087 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21088 Change uses of L(2) to L(out).
21089 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21090 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21091 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21092 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21093 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21095 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21096 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21098 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21099 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21100 (RETURN): Do not use macro LEAVE.
21101 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21102 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21103 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21104 * sysdeps/i386/i686/memset.S (memset): Likewise.
21105 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21106 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21107 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21108 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21110 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21111 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21112 L(1_2) and L(1_3) into L(1).
21113 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21114 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21115 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21116 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21117 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21118 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21119 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21120 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21121 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21123 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21124 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21125 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21126 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21127 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21128 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21129 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21130 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21131 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21132 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21133 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21134 * sysdeps/i386/strspn.S (strspn): Likewise.
21135 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21137 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21138 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21139 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21140 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21141 L(1_3) into L(1_1).
21142 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21143 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21144 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21146 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21148 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21150 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21153 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21155 * math/atest-exp.c (exp_mpn): Remove ROUND.
21156 * math/atest-exp2.c (exp_mpn): Likewise.
21157 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21159 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21160 * stdlib/tst-tls-atexit-lib.c: Likewise.
21161 * stdlib/tst-tls-atexit.c: Likewise.
21163 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21165 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21166 and __attribute_alloc_size__.
21168 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21170 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21171 __attribute_alloc_size__.
21172 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21173 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21175 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21177 * include/programs/xmalloc.h: New file.
21178 * catgets/gencat.c: Include it.
21179 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21180 * elf/pldd.c: Likewise.
21181 * iconv/iconv_charmap.c: Likewise.
21182 * iconv/iconvconfig.c: Likewise.
21183 * iconv/strtab.c: Likewise.
21184 * locale/programs/locale.c: Likewise.
21185 * locale/programs/localedef.h: Likewise.
21186 * locale/programs/simple-hash.c: Likewise.
21187 * nscd/nscd.h: Likewise.
21188 * nss/makedb.c: Likewise.
21189 * sysdeps/generic/ldconfig.h: Likewise.
21191 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21193 * Versions.def: Add GLIBC_2.18.
21194 * include/link.h (struct link_map): New member l_tls_dtor_count.
21195 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21196 (__call_tls_dtors): Likewise.
21197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21198 __cxa_thread_atexit_impl.
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21207 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21215 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21216 (tests): Add test case tst-tls-atexit.
21217 (modules-names): Add shared library for tst-tls-atexit.
21218 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21219 (GLIBC_PRIVATE): Add __call_tls_dtors.
21220 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21222 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21223 * stdlib/tst-tls-atexit.c: New test case.
21224 * stdlib/tst-tls-atexit-lib.c: New test case.
21226 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21228 * elf/Versions (ld): Add _dl_find_dso_for_object.
21229 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21230 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21231 (dl_open_worker): Use _dl_find_dso_for_object.
21232 * elf/dl-sym.c (do_sym): Likewise.
21233 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21235 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21237 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21238 Syntactic changes only.
21239 (_dl_runtime_profile): Do a tail-call to the resolved function.
21241 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21244 * sysdeps/x86_64/bp-asm.h: Remove file.
21245 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21246 <bp-sym.h> and <bp-asm.h>.
21247 (__clone): Do not use BP_SYM.
21248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21249 <bp-sym.h> and <bp-asm.h>.
21250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21251 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21253 (_setjmp): Do not use BP_SYM.
21254 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21256 (setjmp): Do not use BP_SYM.
21257 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21259 (mempcpy): Do not use BP_SYM in weak_alias.
21260 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21262 (strchr): Do not use BP_SYM.
21263 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21265 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21266 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21267 (_start): Do not use BP_SYM.
21268 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21270 (strcat): Do not use BP_SYM.
21271 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21273 (STRCMP): Do not use BP_SYM.
21274 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21276 (STRCPY): Do not use BP_SYM.
21277 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21279 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21281 (FUNCTION): Do not use BP_SYM.
21282 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21284 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21286 2013-02-17 Andreas Jaeger <aj@suse.de>
21288 * time/Versions: Sort entries.
21289 * string/Versions: Likewise.
21290 * resolv/Versions: Likewise.
21291 * posix/Versions: Likewise.
21292 * iconv/Versions: Likewise.
21293 * elf/Versions: Likewise.
21294 * wcsmbs/Versions: Likewise.
21296 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21298 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21299 loop termination condition.
21301 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21302 variable to calculate EZ.
21305 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21306 the lower precision input.
21308 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21311 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21312 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21313 (run-via-rtld-prefix): Do not handle %-bp tests.
21314 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21315 (all-object-suffixes): Remove .ob.
21316 (bppfx): Remove variable.
21317 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21318 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21319 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21320 [$(build-bounded) = yes] (libtype.ob): Likewise.
21321 * Makerules (elide-routines.ob): Remove variable.
21322 (do-tests-clean): Do not handle *-bp.out.
21323 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21324 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21325 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21326 (tests): Do not include $(tests-bp.out).
21327 (xtests): Do not include $(xtests-bp.out).
21328 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21329 [$(build-bounded) = yes] ($(addprefix
21330 $(objpfx),$(binaries-bounded))): Remove rule.
21331 ($(objpfx)%-bp.out): Remove rule.
21332 * config.make.in (build-bounded): Remove variable.
21333 * crypt/Makefile [$(build-bounded) = yes]
21334 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21335 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21336 append to variable.
21337 [$(build-bounded) = yes] (install-lib): Likewise.
21338 [$(build-bounded) = yes] (generated): Likewise.
21339 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21341 * intl/Makefile [$(build-bounded) = yes]
21342 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21343 * math/Makefile [$(build-bounded) = yes]
21344 ($(tests:%=$(objpfx)%-bp): Likewise.
21345 * misc/Makefile [$(build-bounded) = yes]
21346 ($(objpfx)tst-tsearch-bp): Likewise.
21347 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21348 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21350 * string/Makefile (o-objects.ob): Remove variable.
21351 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21352 (CFLAGS-.ob): Remove variable.
21353 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21354 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21355 both definitions of variable.
21356 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21357 (ASFLAGS-.ob): Remove variable.
21359 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21362 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21363 Remove __BOUNDED_POINTERS__ from condition.
21364 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21365 * string/bits/string2.h [!__NO_STRING_INLINES &&
21366 !__BOUNDED_POINTERS__]: Likewise.
21367 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21369 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21370 Remove conditional code.
21371 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21372 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21373 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21377 * csu/libc-start.c: Do not include <bp-sym.h>.
21378 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21379 * elf/dl-open.c: Do not include <bp-sym.h>.
21380 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21381 * math/fegetenv.c: Do not include <bp-sym.h>.
21382 (fegetenv): Do not use BP_SYM in versioned symbols.
21383 * nptl/sysdeps/pthread/bits/libc-lockP.h
21384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21387 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21389 (__pthread_mutex_destroy): Likewise.
21390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21391 (__pthread_mutex_lock): Likewise.
21392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21393 (__pthread_mutex_trylock): Likewise.
21394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21395 (__pthread_mutex_unlock): Likewise.
21396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21397 (__pthread_mutexattr_init): Likewise.
21398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21399 (__pthread_mutexattr_destroy): Likewise.
21400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21401 (__pthread_mutexattr_settype): Likewise.
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21403 (__pthread_rwlock_init): Likewise.
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (__pthread_rwlock_destroy): Likewise.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (__pthread_rwlock_rdlock): Likewise.
21408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21409 (__pthread_rwlock_tryrdlock): Likewise.
21410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21411 (__pthread_rwlock_wrlock): Likewise.
21412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21413 (__pthread_rwlock_trywrlock): Likewise.
21414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21415 (__pthread_rwlock_unlock): Likewise.
21416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21417 (__pthread_key_create): Likewise.
21418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21419 (__pthread_setspecific): Likewise.
21420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21421 (__pthread_getspecific): Likewise.
21422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21425 (_pthread_cleanup_push_defer): Likewise.
21426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21427 (_pthread_cleanup_pop_restore): Likewise.
21428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21429 (pthread_setcancelstate): Likewise.
21430 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21432 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21433 (memchr): Do not use BP_SYM in weak_alias.
21434 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21435 (fegetenv): Do not use BP_SYM in versioned symbols.
21436 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21437 (fesetenv): Do not use BP_SYM in versioned symbols.
21438 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21439 (feupdateenv): Do not use BP_SYM in versioned symbols.
21440 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21441 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21442 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21443 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21444 (open64): Do not use BP_SYM in weak_alias.
21445 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21446 (fegetenv): Do not use BP_SYM in versioned symbols.
21447 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21448 (fesetenv): Do not use BP_SYM in versioned symbols.
21449 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21450 (feupdateenv): Do not use BP_SYM in versioned symbols.
21451 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21452 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21453 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21454 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21455 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21456 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21457 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21459 (__libc_start_main): Do not use BP_SYM.
21461 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21464 redundant return line.
21466 (denorm): Likewise.
21467 (dbl_mp): Likewise.
21468 (sub_magnitudes): Likewise.
21474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21476 (denorm): Likewise.
21477 (dbl_mp): Likewise.
21478 (sub_magnitudes): Likewise.
21485 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21487 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21488 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21491 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21492 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21494 of __mul for squares.
21495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21499 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21500 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21502 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21505 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21507 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21508 prototype or function definition. Rename ubp_* variables and
21509 parameters. Remove argv definitions conditional on
21510 [__BOUNDED_POINTERS__].
21511 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21512 * elf/dl-runtime.c (_dl_fixup): Likewise.
21513 * include/set-hooks.h (RUN_HOOK): Likewise.
21514 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21516 * string/strcpy.c (strcpy): Do not use __unbounded.
21517 * sysdeps/generic/frame.h (struct layout): Likewise.
21518 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21519 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21520 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21521 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21522 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21523 (__backtrace): Likewise.
21524 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21526 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21527 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21528 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21530 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21531 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21532 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21533 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21534 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21535 Do not use __unbounded.
21536 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21537 Rename __unboundedrlimits parameter to rlimits in prototype.
21538 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21539 Do not use __unbounded.
21540 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21541 not use __ptrvalue.
21542 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21543 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21544 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21545 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21546 __ptrvalue or __unbounded.
21547 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21548 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21550 (__new_msgctl): Do not use __ptrvalue.
21551 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21553 (__libc_msgrcv): Do not use __ptrvalue.
21554 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21555 startup_info): Do not use __unbounded.
21556 (__libc_start_main): Likewise. Rename ubp_* variables and
21557 parameters. Remove argv definitions conditional on
21558 [__BOUNDED_POINTERS__].
21559 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21561 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21563 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21565 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21567 (__new_shmctl): Do not use __ptrvalue.
21568 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21569 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21571 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21573 (__libc_sigaction): Likewise.
21574 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21575 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21577 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21579 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21581 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21583 * string/mempcpy.c: Implement by calling memcpy.
21585 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21587 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21592 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21593 values in the mantissa.
21595 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21596 minimize writes to Z.
21597 (sub_magnitudes): Simplify code a bit.
21599 2013-02-12 Roland McGrath <roland@hack.frob.com>
21601 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21602 from the message. The linker prefixes all warnings with that already.
21604 2013-02-12 Andreas Schwab <schwab@suse.de>
21607 * posix/regexec.c (extend_buffers): Add parameter min_len.
21608 (check_matching): Pass minimum needed length.
21609 (clean_state_log_if_needed): Likewise.
21610 (get_subexp): Likewise.
21611 * posix/Makefile (tests): Add bug-regex34.
21612 (bug-regex34-ENV): Define.
21613 * posix/bug-regex34.c: New file.
21616 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21617 elements compare against the byte sequence of it, not its name.
21618 * posix/Makefile (tests): Add bug-regex35.
21619 (bug-regex35-ENV): Define.
21620 * posix/bug-regex35.c: New file.
21622 2013-02-11 Tom de Vries <tom@codesourcery.com>
21624 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21626 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21627 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21628 (CHECK_EOL): Add undef.
21630 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21632 * bits/stdlib-bsearch.h: New file.
21633 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21634 * stdlib/stdlib.h: Likewise.
21636 2013-02-11 Roland McGrath <roland@hack.frob.com>
21638 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21639 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21641 * manual/search.texi (Array Search Function): Add missing const in
21643 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21644 declaration to use rlim_t.
21645 (Basic Scheduling Functions): Remove erroneous const from
21646 sched_getparam prototype. Remove erroneous * from
21647 sched_get_priority_max and sched_get_priority_min prototypes.
21648 (Resource Usage): Fix summary @comment on vtimes to refer to
21649 sys/vtimes.h rather than vtimes.h.
21650 Add missing *s in vtimes prototype.
21651 (Limits on Resources): Fix ulimit prototype to return long int.
21652 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21653 prototypes to use long int rather than double.
21654 (BSD Random): Fix initstate and setstate to use char *, not void *.
21655 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21656 prototype to make second argument 'struct aiocb64 *const[]'.
21657 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21658 (Status of AIO Operations): Remove erroneous const in aio_return and
21659 aio_return64 prototypes.
21660 (Synchronizing I/O): Fix sync prototype to return void.
21661 * manual/startup.texi (Suboptions): Remove an erroneous const in
21662 getsubopt prototype.
21663 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21664 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21665 use size_t rather than int.
21666 (Scanning All Users): Likewise for getpwent_r.
21667 (Setting Groups): Add missing const to setgroups prototype.
21668 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21669 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21670 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21671 'const void *' rather than 'const char *'.
21672 (Host Address Functions): Likewise for inet_ntop.
21673 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21674 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21675 ssize_t for return value.
21676 (Sending Data): Likewise for send, sendto, sendmsg.
21677 (Socket Option Functions): Add a missing const in setsockopt prototype.
21678 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21679 use wchar_t for the argument.
21680 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21681 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21683 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21684 double/float/long double for second argument.
21685 Fix return types of significand, significandf, significandl.
21686 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21687 argument in fchmod prototype.
21688 (File Owner): Use uid_t and gid_t in fchown prototype.
21689 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21690 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21691 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21692 use 'const struct dirent **' as argument types to CMP function pointer
21694 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21695 (File Times): Fix summary magic @comment for struct utimbuf and utime
21696 to refer to utime.h, not time.h.
21697 * manual/string.texi (Argz Functions): Add missing const in
21698 argz_extract and argz_next prototypes.
21699 (Finding Tokens in a String): Likewise for basename.
21700 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21701 (Copying and Concatenation): Fix typo in wmemmove prototype.
21702 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21703 (Signal Stack): Remove erroneous const in sigstack prototype.
21704 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21706 (Simple Calendar Time): Likewise for stime.
21707 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21709 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21710 say sys/sysctl.h instead.
21711 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21712 and vsyslog prototypes.
21714 2013-02-11 Tom de Vries <tom@codesourcery.com>
21716 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21719 2013-02-11 Roland McGrath <roland@hack.frob.com>
21721 * misc/sys/mman.h: Fix typo in mremap comment.
21723 2013-02-08 Roland McGrath <roland@hack.frob.com>
21725 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21726 the '\0' terminator.
21728 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21731 * debug/segfault.c: Don't include <bp-checks.h>.
21732 * sysdeps/generic/bp-checks.h: Remove file.
21733 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21734 (__GETDENTS): Don't use CHECK_N.
21735 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21736 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21737 (__getgroups): Don't use CHECK_N.
21738 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21739 (setgroups): Don't use CHECK_N.
21740 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21741 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21742 (__libc_msgrcv): Don't use CHECK_N.
21743 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21744 (__libc_msgsnd): Don't use CHECK_N.
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21747 (__libc_pread): Don't use CHECK_N.
21748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21749 include <bp-checks.h>.
21750 (__libc_pread64): Don't use CHECK_N.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21752 include <bp-checks.h>.
21753 (__libc_pwrite): Don't use CHECK_N.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21755 include <bp-checks.h>.
21756 (__libc_pwrite64): Don't use CHECK_N.
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21759 (__libc_pread): Don't use CHECK_N.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21761 include <bp-checks.h>.
21762 (__libc_pread64): Don't use CHECK_N.
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21764 include <bp-checks.h>.
21765 (__libc_pwrite): Don't use CHECK_N.
21766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21767 include <bp-checks.h>.
21768 (__libc_pwrite64): Don't use CHECK_N.
21769 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21770 (do_pread): Don't use CHECK_N.
21771 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21772 (do_pread64): Don't use CHECK_N.
21773 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21774 (do_pwrite): Don't use CHECK_N.
21775 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21776 (do_pwrite64): Don't use CHECK_N.
21777 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21778 (__libc_readv): Don't use CHECK_N.
21779 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21780 (semop): Don't use CHECK_N.
21781 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21783 (semtimedop): Don't use CHECK_N.
21784 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21785 (__libc_pread): Don't use CHECK_N.
21786 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21788 (__libc_pread64): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21791 (__libc_pwrite): Don't use CHECK_N.
21792 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21794 (__libc_pwrite64): Don't use CHECK_N.
21795 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21797 (__libc_msgrcv): Don't use CHECK_N.
21798 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21799 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21800 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21801 (__libc_writev): Don't use CHECK_N.
21803 2013-02-08 Roland McGrath <roland@hack.frob.com>
21805 * string/strcpy.c: Removed unused variable.
21807 * Makeconfig (+sysdep-includes): Define with := rather than =.
21808 Use an existing include/ subdir of each sysdeps dir before it.
21810 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21812 * nscd/connection.c (register_traced_file): Comment function.
21813 [HAVE_INOTIFY] (union __inev): Define.
21814 [HAVE_INOTIFY] (inotify_check_files): New function.
21815 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21816 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21818 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21820 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21822 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21823 loaded if not already and that a failure is permanent.
21825 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21828 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21829 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21831 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21834 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21835 (CHECK_1_NULL_OK): Likewise.
21836 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21837 (__fxstat): Do not use CHECK_1.
21838 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21840 (___fxstat64): Do not use CHECK_1.
21841 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21843 (__fxstatat): Do not use CHECK_1.
21844 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21846 (__fxstatat64): Do not use CHECK_1.
21847 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21849 (__fxstat): Do not use CHECK_1.
21850 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21852 (__fxstatat): Do not use CHECK_1.
21853 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21855 (__getresgid): Do not use CHECK_1.
21856 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21858 (__getresuid): Do not use CHECK_1.
21859 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21861 (__lxstat): Do not use CHECK_1.
21862 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21864 (__old_msgctl): Do not use CHECK_1.
21865 (__new_msgctl): Likewise.
21866 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21868 (__new_setrlimit): Do not use CHECK_1.
21869 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21871 (__old_shmctl): Do not use CHECK_1.
21872 (__new_shmctl): Likewise.
21873 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21875 (__xstat): Do not use CHECK_1.
21876 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21877 (__lxstat): Do not use CHECK_1.
21878 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21880 (___lxstat64): Do not use CHECK_1.
21881 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21882 (__old_msgctl): Do not use CHECK_1.
21883 (__new_msgctl): Likewise.
21884 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21886 (__gettimeofday): Do not use CHECK_1.
21887 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21888 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21889 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21891 (__gettimeofday): Do not use CHECK_1.
21892 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21893 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21894 (__new_shmctl): Do not use CHECK_1.
21895 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21897 (do_sigtimedwait): Do not use CHECK_1.
21898 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21900 (do_sigwaitinfo): Do not use CHECK_1.
21901 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21903 (msgctl): Do not use CHECK_1.
21904 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21906 (shmctl): Do not use CHECK_1.
21907 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21908 (ustat): Do not use CHECK_1.
21909 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21911 (__fxstat): Do not use CHECK_1.
21912 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21914 (__fxstatat): Do not use CHECK_1.
21915 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21917 (__lxstat): Do not use CHECK_1.
21918 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21920 (__xstat): Do not use CHECK_1.
21921 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21922 (__xstat): Do not use CHECK_1.
21923 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21924 (___xstat64): Do not use CHECK_1.
21927 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21929 (CHECK_BOUNDS_HIGH): Likewise.
21930 * string/strcpy.c: Do not include <bp-checks.h>.
21931 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21933 2013-02-07 Roland McGrath <roland@hack.frob.com>
21935 * nscd/nscd-client.h (__nscd_drop_map_ref):
21936 Add __attribute__ ((unused)).
21937 * nis/nss-nisplus.h (niserr2nss): Likewise.
21939 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21940 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21942 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21943 Remove inline keyword.
21944 * include/rounding-mode.h (round_away): Likewise.
21945 * libio/wfileops.c (adjust_wide_data): Likewise.
21946 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21947 (__m128i_strloadu_tolower): Likewise.
21948 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21949 (__m128i_strloadu_tolower): Likewise.
21950 * time/mktime.c (ydhms_diff): Likewise.
21951 * locale/elem-hash.h (elem_hash): Likewise.
21952 * locale/setlocale.c (setdata): Likewise.
21953 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21954 (re_string_wchar_at): Likewise.
21955 (bitset_not, bitset_merge, bitset_mask): Likewise.
21956 [!(__GNUC__ > 3)] (inline): Remove macro.
21957 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21958 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21959 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21960 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21961 * string/memcmp.c (memcmp_bytes): Likewise.
21962 * locale/programs/locarchive.c (compute_hashval): Likewise.
21963 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21964 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21965 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21966 * nss/getent.c (print_rpc, print_protocols): Likewise.
21967 (print_passwd, print_group, print_aliases): Likewise.
21968 * nis/nss-nisplus.h (niserr2nss): Likewise.
21969 * nscd/connections.c (restart_p): Likewise.
21970 Change return type to bool.
21972 2013-02-05 Roland McGrath <roland@hack.frob.com>
21974 * Makeconfig (all-Depend-files): Add existing
21975 $(sorted-subdirs:=/Depend) files.
21976 (all-subdirs): Remove nss.
21977 * sysdeps/unix/inet/Subdirs: Add it here instead.
21978 * hesiod/Depend: New file.
21980 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21981 instead of calling alloca.
21983 * io/lseek.c (__lseek): Rename to __libc_lseek.
21984 Define __lseek as an alias.
21986 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21988 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21990 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21991 else clause and remove check for non-standard endianness.
21993 2013-02-04 David S. Miller <davem@davemloft.net>
21995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21997 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22000 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22001 (__ubp_memchr): Remove prototype.
22002 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22003 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22004 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22005 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22006 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22008 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22009 (__ubp_memchr): Likewise.
22010 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22011 (__ubp_memchr): Likewise.
22012 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22013 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22014 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22015 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22017 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22018 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22019 (__getcwd): Do not use CHECK_STRING.
22020 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22022 (__real_chown): Do not use CHECK_STRING.
22023 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22025 (fchownat): Do not use CHECK_STRING.
22026 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22028 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22030 (__lchown): Do not use CHECK_STRING.
22031 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22032 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22033 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22034 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22036 include <bp-checks.h>.
22037 (truncate64): Do not use CHECK_STRING.
22038 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22040 (__real_chown): Do not use CHECK_STRING.
22041 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22043 (__lchown): Do not use CHECK_STRING.
22044 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22046 (__chown): Do not use CHECK_STRING.
22047 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22049 (truncate64): Do not use CHECK_STRING.
22050 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22052 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22053 (__xmknod): Do not use CHECK_STRING.
22054 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22056 (__xmknodat): Do not use CHECK_STRING.
22057 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22058 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22060 2013-02-04 Andreas Schwab <schwab@suse.de>
22063 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22064 * include/netdb.h: Likewise for h_errno.
22065 * elf/tst-stackguard1.c: Include <tls.h>.
22067 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22069 * elf/link.h (struct link_map): Extend the l_addr comment.
22070 * include/link.h (struct link_map): Likewise.
22072 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22075 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22076 (BOUNDED_1): Remove macro.
22077 * debug/backtrace.c: Don't include <bp-checks.h>.
22078 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22079 (__backtrace): Likewise.
22080 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22082 (__backtrace): Don't use BOUNDED_1.
22083 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22085 (__backtrace): Don't use BOUNDED_1.
22086 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22087 (__backtrace): Don't use BOUNDED_1.
22088 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22089 (shmat): Don't use BOUNDED_N.
22091 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22094 * sysdeps/generic/bp-start.h: Remove file.
22095 * csu/libc-start.c: Don't include <bp-start.h>.
22096 (LIBC_START_MAIN): Set up __environ directly instead of using
22097 INIT_ARGV_and_ENVIRON.
22098 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22102 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22104 (CHECK_FCNTL): Likewise.
22105 (CHECK_N_PAGES): Likewise.
22108 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22110 (CHECK_SIGSET_NULL_OK): Likewise.
22111 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22113 (sigpending): Don't use CHECK_SIGSET.
22114 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22116 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22117 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22119 (do_sigsuspend): Don't use CHECK_SIGSET.
22120 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22122 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22123 (do_sigwait): Don't use CHECK_SIGSET.
22124 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22126 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22127 include <bp-checks.h>.
22128 (sigpending): Don't use CHECK_SIGSET.
22129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22130 include <bp-checks.h>.
22131 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22132 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22134 (sigpending): Don't use CHECK_SIGSET.
22135 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22137 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22140 * sysdeps/generic/bp-semctl.h: Remove file.
22141 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22142 <bp-checks.h> and <bp-semctl.h>.
22143 (__old_semctl): Don't use CHECK_SEMCTL.
22144 (__new_semctl): Likewise.
22145 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22147 (__old_semctl): Don't use CHECK_SEMCTL.
22148 (__new_semctl): Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22150 <bp-checks.h> and <bp-semctl.h>.
22151 (__old_semctl): Don't use CHECK_SEMCTL.
22152 (__new_semctl): Likewise.
22153 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22154 <bp-checks.h> and <bp-semctl.h>.
22155 (semctl): Don't use CHECK_SEMCTL.
22158 * Makerules (elide-bp-thunks): Remove variable.
22159 (elide-routines.oS): Don't use $(elide-bp-thunks).
22160 (elide-routines.os): Likewise.
22161 (elide-routines.o): Likewise.
22162 (elide-routines.op): Likewise.
22163 (elide-routines.og): Likewise.
22164 (objects): Don't use $(bp-thunks).
22165 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22167 (common-generated): Do not add s-proto-bp.d.
22168 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22171 Do not generate makefile rules for bounded-pointer thunks.
22172 * sysdeps/generic/bp-thunks.h: Remove file.
22173 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22174 * sysdeps/unix/s-proto-bp.S: Likewise.
22177 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22178 parts of result separately when argument is not close to line from
22179 -i to i and one part of argument is small.
22180 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22181 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22182 * math/libm-test.inc (cacos_test): Add more tests.
22183 (casin_test): Likewise.
22184 (casinh_test): Likewise.
22185 * sysdeps/i386/fpu/libm-test-ulps: Update.
22186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22188 2013-01-31 David S. Miller <davem@davemloft.net>
22190 * po/de.po: Update from translation team.
22192 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22194 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22196 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22198 * configure.in (_AC_PROG_CC_C89): New definition.
22199 * configure: Regenerate.
22201 * configure.in (AC_PROG_CPP): New definition.
22202 * configure: Regenerate.
22204 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22206 * debug/tst-backtrace.h: New file.
22207 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22208 (ret): Remove variable.
22210 (FAIL): Remove macro.
22211 (NO_INLINE): Likewise.
22212 (fn1): Use match function instead of strstr.
22213 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22214 (ret): Remove variable.
22216 (FAIL): Remove macro.
22217 (NO_INLINE): Likewise.
22218 (fn): Use match function instead of strstr.
22219 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22220 (ret): Remove variable.
22222 (FAIL): Remove macro.
22223 (NO_INLINE): Likewise.
22224 (handle_signal): Use match function instead of strstr.
22225 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22226 (ret): Remove variable.
22228 (FAIL): Remove macro.
22229 (NO_INLINE): Likewise.
22230 (handle_signal): Use match function instead of strstr.
22232 2013-01-23 Roland McGrath <roland@hack.frob.com>
22234 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22236 2013-01-23 David S. Miller <davem@davemloft.net>
22238 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22239 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22240 argument of CAS if possible.
22241 * sysdeps/sparc/sparc64/bits/atomic.h
22242 (__arch_compare_and_exchange_val_32_acq): Likewise.
22243 (__arch_compare_and_exchange_val_64_acq): Likewise.
22245 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22247 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22248 * sysdeps/posix/ulimit.c: ... this.
22249 Include <limits.h>.
22250 * sysdeps/unix/bsd/ulimit.c: Remove file.
22252 2013-01-23 Adam Conrad <adconrad@0c3.net>
22254 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22255 (LDFLAGS-tst-array5): Likewise.
22257 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22260 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22261 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22262 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22263 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22265 2013-01-21 David S. Miller <davem@davemloft.net>
22267 * sysdeps/sparc/backtrace.c: New file.
22268 * sysdeps/sparc/sparc32/backtrace.h: New file.
22269 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22270 * sysdeps/sparc/sparc64/backtrace.h: New file.
22271 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22272 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22275 2013-01-21 Andreas Schwab <schwab@suse.de>
22278 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22281 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22287 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22288 Mark Mitchell <mark@codesourcery.com>
22289 Tom de Vries <tom@codesourcery.com>
22290 Paul Pluzhnikov <ppluzhnikov@google.com>
22292 * debug/tst-backtrace2.c: New file.
22293 * debug/tst-backtrace3.c: Likewise.
22294 * debug/tst-backtrace4.c: Likewise.
22295 * debug/tst-backtrace5.c: Likewise.
22296 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22297 (CFLAGS-tst-backtrace3.c): Likewise.
22298 (CFLAGS-tst-backtrace4.c): Likewise.
22299 (CFLAGS-tst-backtrace5.c): Likewise.
22300 (LDFLAGS-tst-backtrace2): Likewise.
22301 (LDFLAGS-tst-backtrace3): Likewise.
22302 (LDFLAGS-tst-backtrace4): Likewise.
22303 (LDFLAGS-tst-backtrace5): Likewise.
22304 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22305 tst-backtrace4 and tst-backtrace5.
22307 2013-01-18 Anton Blanchard <anton@samba.org>
22308 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22310 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22311 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22312 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22313 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22315 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22316 "+r" and remove output regs list as redundant. Add explicit inline
22317 asm to specify register of return val to work around compiler codegen
22318 bug. Remove (int) cast on return value. Add return type parameter to
22319 use in macro so that this macro does not truncate return value for
22321 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22322 pass to INTERNAL_VSYSCALL_NCS.
22323 (INLINE_VSYSCALL): Add 'long int' as return type to
22324 INTERNAL_VSYSCALL_NCS macro invocation.
22325 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22326 INTERNAL_VSYSCALL_NCS macro invocation.
22327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22329 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22332 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22333 Fix application of SIMD FP exception mask.
22335 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22336 mp_no from a power of two.
22337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22338 __mpexp_twomm1. Use __pow_mp.
22340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22343 2013-01-17 David S. Miller <davem@davemloft.net>
22345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22347 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22350 * include/complex.h: Condition contents on [!_COMPLEX_H].
22351 (__kernel_casinhf): New prototype.
22352 (__kernel_casinh): Likewise.
22353 (__kernel_casinhl): Likewise.
22354 * math/Makefile (libm_calls): Add k_casinh.
22355 * math/k_casinh.c: New file.
22356 * math/k_casinhf.c: Likewise.
22357 * math/k_casinhl.c: Likewise.
22358 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22359 finite nonzero arguments.
22360 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22361 finite nonzero arguments.
22362 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22363 finite nonzero arguments.
22364 * math/s_casinh.c: Do not include <float.h>.
22365 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22366 * math/s_casinhf.c: Do not include <float.h>.
22367 (__casinhf): Move code for finite nonzero arguments to
22369 * math/s_casinhl.c: Do not include <float.h>.
22370 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22372 (__casinhl): Move code for finite nonzero arguments to
22374 * math/libm-test.inc (cacos_test): Add more tests.
22375 * sysdeps/i386/fpu/libm-test-ulps: Update.
22376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22378 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22380 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22381 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22382 [!HAVE_MREMAP]: Remove [defined linux] case.
22383 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22385 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22387 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22389 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22391 * elf/elf.h (R_386_SIZE32): New relocation.
22392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22394 (elf_machine_rela): Likewise.
22395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22396 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22398 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22400 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22401 (FP_FAST_FMA): Do not define.
22402 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22403 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22404 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22405 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22406 !_SOFT_FLOAT]: Likewise.
22407 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22408 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22410 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22411 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22412 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22413 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22414 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22415 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22418 2013-01-16 Andreas Schwab <schwab@suse.de>
22421 * include/stdlib.h (__mktemp): Add declaration.
22422 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22423 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22425 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22427 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22429 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22430 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22431 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22433 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22434 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22436 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22438 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22439 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22440 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22442 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22443 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22445 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22447 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22449 2013-01-15 David S. Miller <davem@davemloft.net>
22451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22452 trunc{,f} to libm-sysdep_routes.
22453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22464 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22465 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22466 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22467 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22468 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22471 nearbyint{,f} to libm-sysdep_routes.
22472 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22483 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22485 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22486 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22488 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22489 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22490 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22492 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22493 libc_feholdexcept and libc_fesetenv.
22495 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22497 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22499 2013-01-14 David S. Miller <davem@davemloft.net>
22501 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22502 (SPARC_ASM_VIS2_IFUNC): Likewise.
22503 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22505 use of 'siam' instruction.
22506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22539 routines to libm-sysdep_routines.
22540 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22543 fdim/fdimf to libm-sysdep_routines.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22552 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22553 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22554 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22555 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22557 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22559 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22560 to optimize copies.
22562 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22564 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22567 local variable MPTWO.
22568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22571 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22573 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22576 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22578 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22580 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22582 * manual/pattern.texi (glob_t): Document gl_flags.
22583 (glob64_t): Likewise.
22585 2013-01-11 David S. Miller <davem@davemloft.net>
22587 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22588 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22589 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22590 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22591 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22592 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22593 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22594 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22595 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22596 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22597 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22598 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22599 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22601 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22602 sparc V9 rather than using V8 code.
22603 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22604 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22606 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22608 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22611 2013-01-11 Roland McGrath <roland@hack.frob.com>
22613 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22614 not in the main loop.
22615 * configure: Regenerated.
22617 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22619 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22620 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22622 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22623 [!__GLIBC_HAVE_LONG_LONG] case.
22624 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22625 condition to just #else.
22626 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22627 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22628 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22629 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22631 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22632 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22633 #elif condition to just #else.
22634 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22635 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22636 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22637 #elif condition to just #else.
22639 2013-01-11 Steve Ellcey <sellcey@mips.com>
22641 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22642 (EF_MIPS_ARCH_64): Fix value.
22643 (EF_MIPS_ARCH_32R2): New.
22644 (EF_MIPS_ARCH_64R2): New.
22646 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22648 * Makeconfig (+link-pie-before-libc): New.
22649 (+link-pie-after-libc): Likewise.
22650 (+link-pie-tests): Likewise.
22651 (+link-pie): Rewritten.
22652 (link-before-libc): Remove $(config-LDFLAGS).
22653 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22654 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22655 (config-LDFLAGS): Renamed to ...
22656 (rtld-LDFLAGS): This.
22657 (rtld-tests-LDFLAGS): New macro.
22658 (link-libc-rpath-link): Likewise.
22659 (link-libc-tests-rpath-link): Likewise.
22660 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22661 (link-libc): Prepand $(link-libc-rpath-link).
22662 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22663 (test-program-prefix): New macro.
22664 (test-via-rtld-prefix): Likewise.
22665 (test-program-cmd): Likewise.
22666 (host-test-program-cmd): Likewise.
22667 * Makefile ($(common-objpfx)testrun.sh): Replace
22668 $(run-program-prefix) with $(test-program-prefix).
22669 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22671 ($(common-objpfx)shlib.lds): Likewise.
22672 (build-module-helper): Likewise.
22673 ($(common-objpfx)format.lds): Likewise.
22674 * Rules (binaries-pie-tests): New.
22675 (binaries-pie-notests): Likewise.
22676 (binaries-pie): Rewritten.
22677 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22678 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22679 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22680 (make-test-out): Replace $(host-built-program-cmd) with
22681 $(host-test-program-cmd).
22682 * config.make.in (build-hardcoded-path-in-tests): New variable.
22683 * configure.in (--enable-hardcoded-path-in-tests): New configure
22685 (hardcoded_path_in_tests): New AC_SUBST.
22686 * configure: Regenerated.
22687 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22688 $(built-program-cmd) with $(test-program-cmd).
22689 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22690 (test_program_cmd): This.
22691 * elf/Makefile ($(objpfx)order.out): Run test with
22692 $(test-program-prefix).
22693 ($(objpfx)order2.out): Likewise.
22694 ($(objpfx)tst-initorder.out): Likewise.
22695 ($(objpfx)tst-initorder2.out): Likewise.
22696 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22697 $(test-program-cmd).
22698 ($(objpfx)tst-array1-static.out): Likewise.
22699 ($(objpfx)tst-array2.out): Likewise.
22700 ($(objpfx)tst-array3.out): Likewise.
22701 ($(objpfx)tst-array4.out): Likewise.
22702 ($(objpfx)tst-array5.out): Likewise.
22703 ($(objpfx)tst-array5-static.out): Likewise.
22704 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22705 $(test-program-cmd).
22706 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22707 $(run-program-prefix) with $(test-program-prefix).
22708 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22709 (test_program_prefix): This.
22710 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22711 $(run-program-prefix) with $(test-program-prefix).
22712 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22713 (test_program_prefix): This.
22714 * iconvdata/tst-tables.sh: Likewise.
22715 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22716 $(run-program-prefix) with $(test-program-prefix).
22717 ($(objpfx)tst-translit.out): Likewise.
22718 ($(objpfx)tst-gettext2.out): Likewise.
22719 ($(objpfx)tst-gettext4.out): Likewise.
22720 ($(objpfx)tst-gettext6.out): Likewise.
22721 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22722 (test_program_prefix): This.
22723 * intl/tst-gettext2.sh: Likewise.
22724 * intl/tst-gettext4.sh Likewise.
22725 * intl/tst-gettext6.sh: Likewise.
22726 * intl/tst-translit.sh: Likewise.
22727 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22728 with $(test-program-cmd).
22729 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22730 $(run-program-prefix) with $(test-program-prefix).
22731 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22732 (test_program_prefix): This.
22733 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22734 $(run-program-prefix) with $(test-program-prefix).
22735 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22736 (test_program_prefix): This.
22737 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22738 * posix/Makefile ($(objpfx)globtest.out): Replace
22739 $(run-via-rtld-prefix) and $(test-wrapper) with
22740 $(test-program-prefix) and $(test-via-rtld-prefix).
22741 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22742 $(test-program-prefix).
22743 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22744 $(host-test-program-cmd).
22745 (tst-spawn-ARGS): Likewise.
22746 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22747 $(test-program-prefix).
22748 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22749 (test_via_rtld_prefix): This.
22750 (test_wrapper): Renamed to ...
22751 (test_program_prefix): This.
22752 (run_program_prefix): Replaced by test_program_prefix.
22753 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22754 (test_program_prefix): This.
22755 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22756 with $(host-test-program-cmd).
22757 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22758 $(run-program-prefix) with $(test-program-prefix).
22759 ($(objpfx)tst-printf.out): Likewise.
22760 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22761 $(test-program-cmd).
22762 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22763 (test_program_prefix): This.
22764 * stdio-common/tst-unbputc.sh: Likewise.
22765 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22766 $(run-program-prefix) with $(test-program-prefix).
22767 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22768 (test_program_prefix): This.
22769 * string/Makefile ($(objpfx)tst-svc.out): Replace
22770 $(built-program-cmd) with $(test-program-cmd).
22772 2013-01-11 Andreas Jaeger <aj@suse.de>
22775 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22776 value. Sync with Linux 3.7.
22778 2013-01-10 David S. Miller <davem@davemloft.net>
22780 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22781 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22782 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22784 2013-01-10 Roland McGrath <roland@hack.frob.com>
22786 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22788 * configure: Regenerated.
22790 2013-01-10 David S. Miller <davem@davemloft.net>
22792 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22793 sparc V9 rather than using V8 code.
22794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22797 2013-01-10 Roland McGrath <roland@hack.frob.com>
22799 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22800 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22801 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22802 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22803 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22804 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22805 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22806 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22807 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22808 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22809 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22810 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22811 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22812 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22813 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22814 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22815 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22816 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22817 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22818 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22819 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22820 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22821 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22822 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22823 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22824 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22825 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22827 2013-01-10 David S. Miller <davem@davemloft.net>
22829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22831 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22833 * posix/Makefile (tests-static): New variable.
22834 (tests): Add $(tests-static).
22835 (tst-exec-static-ARGS): New variable.
22836 (tst-spawn-static-ARGS): Likewise.
22837 * posix/tst-exec-static.c: New file.
22838 * posix/tst-spawn-static.c: Likewise.
22839 * posix/tst-exec.c: Support run directly.
22840 * posix/tst-spawn.c: Likewise.
22842 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22844 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22846 * math/bits/mathcalls.h (llrint): Likewise.
22847 (llround): Likewise.
22848 * stdlib/stdlib.h (struct drand48_data): Likewise.
22849 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22850 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22851 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22853 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22855 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22856 (elf_greg_t): Likewise.
22857 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22858 (__jmp_buf): Likewise.
22859 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22861 (llrint): Likewise, for all definitions.
22862 (llrintl): Likewise.
22864 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22865 Remove [__GNUC__] condition.
22866 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22867 condition to just [__USE_ISOC99].
22868 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22870 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22873 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22874 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22876 (_POSIX_V6_ILP32_OFF32): Likewise.
22877 (_XBS5_ILP32_OFF32): Likewise.
22878 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22879 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22881 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22883 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22886 doubles __mpexp_twomm1. Adjust usage.
22887 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22890 2013-01-10 Andreas Schwab <schwab@suse.de>
22893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22894 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22896 2013-01-09 David S. Miller <davem@davemloft.net>
22899 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22900 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22901 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22902 (TCP_FASTOPEN): Define.
22903 (tcp_repair_opt): New structure.
22904 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22906 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22907 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22908 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22909 (tcp_cookie_transactions): New structure.
22911 2013-01-09 Anton Blanchard <anton@samba.org>
22913 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22914 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22916 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22918 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22920 * include/features.h (__USE_ANSI): Remove.
22922 2013-01-09 Roland McGrath <roland@hack.frob.com>
22924 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22926 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22928 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22930 * sysdeps/s390/fpu/libm-test-ulps: Update.
22932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22934 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22938 (denorm): Likewise.
22939 (__mp_dbl): Likewise.
22940 (__dbl_mp): Likewise.
22941 (add_magnitudes): Likewise.
22942 (sub_magnitudes): Likewise.
22948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22952 (denorm): Likewise.
22953 (__mp_dbl): Likewise.
22954 (__dbl_mp): Likewise.
22955 (add_magnitudes): Likewise.
22956 (sub_magnitudes): Likewise.
22962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22966 (denorm): Likewise.
22967 (__mp_dbl): Likewise.
22968 (__dbl_mp): Likewise.
22969 (add_magnitudes): Likewise.
22970 (sub_magnitudes): Likewise.
22977 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22979 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22980 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22981 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22982 2 && __USE_EXTERN_INLINES]: Likewise.
22984 2013-01-08 Andreas Jaeger <aj@suse.de>
22987 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22989 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22990 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22992 2013-01-07 Anton Blanchard <anton@samba.org>
22994 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22995 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22996 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22997 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22998 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22999 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23000 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23001 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23003 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23004 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23005 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23006 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23007 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23008 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23009 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23010 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23011 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23012 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23013 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23014 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23015 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23016 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23017 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23018 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23019 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23020 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23021 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23022 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23023 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23024 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23026 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23027 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23029 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23030 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23031 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23032 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23033 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23034 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23035 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23036 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23038 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23040 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23041 (__MALLOC_PMT): Likewise.
23042 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23043 [__GNUC__], only on [_LIBC].
23044 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23045 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23046 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23047 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23048 forward declaration.
23049 (realloc_hook_ini): Likewise.
23050 (memalign_hook_ini): Likewise.
23051 (__libc_memalign): Do not use __MALLOC_PMT in variable
23053 (__libc_valloc): Likewise.
23054 (__libc_pvalloc): Likewise.
23055 (__libc_calloc): Likewise.
23056 (__posix_memalign): Likewise.
23059 * math/s_casinh.c: Include <float.h>.
23060 (__casinh): Do not do computation with squaring and square root
23061 for large arguments.
23062 * math/s_casinhf.c: Include <float.h>.
23063 (__casinhf): Do not do computation with squaring and square root
23064 for large arguments.
23065 * math/s_casinhl.c: Include <float.h>.
23066 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23067 (__casinhl): Do not do computation with squaring and square root
23068 for large arguments.
23069 * math/libm-test.inc (casin_test): Add more tests.
23070 (casinh_test): Likewise.
23071 * sysdeps/i386/fpu/libm-test-ulps: Update.
23072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23074 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23076 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23077 (__x86_64_raw_data_cache_size): Likewise.
23078 (__x86_64_data_cache_size_half): Likewise.
23079 (__x86_64_raw_data_cache_size_half): Likewise.
23080 (__x86_64_shared_cache_size): Likewise.
23081 (__x86_64_raw_shared_cache_size): Likewise.
23082 (__x86_64_shared_cache_size_half): Likewise.
23083 (__x86_64_raw_shared_cache_size_half): Likewise.
23084 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23086 (__x86_data_cache_size): This.
23087 (__x86_64_raw_data_cache_size): Renamed to ...
23088 (__x86_raw_data_cache_size): This.
23089 (__x86_64_data_cache_size_half): Renamed to ...
23090 (__x86_data_cache_size_half): This.
23091 (__x86_64_raw_data_cache_size_half): Renamed to ...
23092 (__x86_raw_data_cache_size_half): This.
23093 (__x86_64_shared_cache_size): Renamed to ...
23094 (__x86_shared_cache_size): This.
23095 (__x86_64_raw_shared_cache_size): Renamed to ...
23096 (__x86_raw_shared_cache_size): This.
23097 (__x86_64_shared_cache_size_half): Renamed to ...
23098 (__x86_shared_cache_size_half): This.
23099 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23100 (__x86_raw_shared_cache_size_half): This.
23101 * sysdeps/x86_64/memcpy.S: Updated.
23102 * sysdeps/x86_64/memset.S: Likewise.
23103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23104 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23105 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23107 2013-01-04 David S. Miller <davem@davemloft.net>
23109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23111 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23113 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23114 1 to avoid redefinition warning.
23115 (__USE_GNU): Don't define.
23116 (init_signaling_nan): Protoize.
23118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23120 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23122 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23124 (__cpymn): Likewise.
23125 (norm): Remove commented code.
23126 (denorm): Likewise.
23127 (__mp_dbl): Likewise.
23129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23130 (__cpymn): Likewise.
23131 (norm): Remove commented code.
23132 (denorm): Likewise.
23133 (__mp_dbl): Likewise.
23136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23137 mp_no value for 1.0 and 2.0.
23138 (norm): Use RADIXI instead of radixi.d.
23139 (denorm): Likewise.
23140 (__mul): Use 0.0 instead of zero.d.
23141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23142 mp_no value for 1.0 and 2.0.
23143 (norm): Use RADIXI instead of radixi.d.
23144 (denorm): Likewise.
23145 (__mul): Use 0.0 instead of zero.d.
23147 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23150 * math/s_casinh.c (__casinh): Reduce finite argument to first
23151 quadrant then set signs of results at the end.
23152 * math/s_casinhf.c (__casinhf): Likewise.
23153 * math/s_casinhl.c (__casinhl): Likewise.
23154 * math/libm-test.inc (casin_test): Add more tests.
23155 (casinh_test): Likewise.
23156 * sysdeps/i386/fpu/libm-test-ulps: Update.
23157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23159 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23161 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23163 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23165 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23167 (denorm): Likewise.
23168 (__mp_dbl): Likewise.
23171 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23172 and adjust the header comment.
23174 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23175 variable name from declaration.
23177 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23180 Initialize COMMON_CPUID_INDEX_7 element.
23181 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23182 (CPUID_RTM): Likewise.
23183 (HAS_RTM): Likewise.
23184 (COMMON_CPUID_INDEX_7): New enum.
23186 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23189 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23190 size is zero, record memory as freed.
23192 2013-01-03 Andreas Jaeger <aj@suse.de>
23194 * po/ia.po: Add new Interlingua translation.
23196 2012-01-03 Allan McRae <allan@archlinux.org>
23198 * locale/programs/localedef.c: Fix description of '--posix' flag.
23200 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23202 * NEWS: Update dates in second copyright notice.
23203 * README: Update copyright dates in example.
23204 * manual/libc.texinfo: Update copyright dates.
23205 * scripts/test-installation.pl: Update copyright date in --version
23208 * hurd/ctty-input.c: Fix copyright notice formatting.
23209 * hurd/ctty-output.c: Likewise.
23210 * hurd/dtable.c: Likewise.
23211 * hurd/hurd-raise.c: Likewise.
23212 * hurd/hurdprio.c: Likewise.
23213 * hurd/msgportdemux.c: Likewise.
23214 * misc/sys/file.h: Likewise.
23215 * misc/sys/ioctl.h: Likewise.
23216 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23217 * sysdeps/mach/hurd/chdir.c: Likewise.
23218 * sysdeps/mach/hurd/fchdir.c: Likewise.
23219 * sysdeps/mach/hurd/rename.c: Likewise.
23220 * sysdeps/mach/hurd/rmdir.c: Likewise.
23221 * sysdeps/mach/hurd/seekdir.c: Likewise.
23222 * sysdeps/mach/hurd/setsid.c: Likewise.
23223 * sysdeps/posix/wait3.c: Likewise.
23225 * All files with FSF copyright notices: Update copyright dates
23226 using scripts/update-copyrights.
23227 * intl/plural.c: Regenerated.
23228 * locale/programs/charmap-kw.h: Likewise.
23229 * locale/programs/locfile-kw.h: Likewise.
23231 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23233 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23236 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23237 calculation loop and add branch prediction.
23239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23240 check access beyond bounds of m1np.
23242 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23244 (__inv): Remove local variable MPTWO to use the global
23246 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23247 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23249 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23250 MP3HALFS static const.
23252 2013-01-01 David S. Miller <davem@davemloft.net>
23254 * po/ca.po: Update from translation team.
23256 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23258 * scripts/update-copyrights: New file.
23259 * Makeconfig: Reformat copyright notice.
23260 * ctype/ctype.h: Likewise.
23261 * debug/swprintf_chk.c: Likewise.
23262 * elf/dl-cache.c: Likewise.
23263 * elf/dl-debug.c: Likewise.
23264 * elf/dl-object.c: Likewise.
23265 * grp/initgroups.c: Likewise.
23266 * hurd/Makefile: Likewise.
23267 * hurd/hurd/signal.h: Likewise.
23268 * hurd/hurdfault.c: Likewise.
23269 * hurd/hurdioctl.c: Likewise.
23270 * hurd/hurdlookup.c: Likewise.
23271 * hurd/intr-msg.c: Likewise.
23272 * iconv/gconv_open.c: Likewise.
23273 * libio/swprintf.c: Likewise.
23274 * locale/lc-ctype.c: Likewise.
23275 * locale/nl_langinfo.c: Likewise.
23276 * mach/Machrules: Likewise.
23277 * mach/Makefile: Likewise.
23278 * malloc/obstack.h: Likewise.
23279 * manual/Makefile: Likewise.
23280 * manual/tsort.awk: Likewise.
23281 * misc/bits/stab.def: Likewise.
23282 * nis/nis_print_group_entry.c: Likewise.
23283 * nis/nis_table.c: Likewise.
23284 * nis/nss_compat/compat-pwd.c: Likewise.
23285 * nis/nss_compat/compat-spwd.c: Likewise.
23286 * po/Makefile: Likewise.
23287 * posix/fnmatch.c: Likewise.
23288 * posix/regex.h: Likewise.
23289 * resolv/Makefile: Likewise.
23290 * resolv/nss_dns/dns-network.c: Likewise.
23291 * resolv/res_hconf.c: Likewise.
23292 * scripts/gen-sorted.awk: Likewise.
23293 * soft-fp/soft-fp.h: Likewise.
23294 * stdio-common/printf.h: Likewise.
23295 * stdlib/monetary.h: Likewise.
23296 * stdlib/random.c: Likewise.
23297 * stdlib/random_r.c: Likewise.
23298 * sysdeps/generic/Makefile: Likewise.
23299 * sysdeps/gnu/Makefile: Likewise.
23300 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23328 * sysdeps/mach/hurd/errnos.awk: Likewise.
23329 * sysdeps/mach/hurd/fork.c: Likewise.
23330 * sysdeps/mach/hurd/getcwd.c: Likewise.
23331 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23332 * sysdeps/mach/hurd/mmap.c: Likewise.
23333 * sysdeps/mach/hurd/utimes.c: Likewise.
23334 * sysdeps/mach/hurd/xmknod.c: Likewise.
23335 * sysdeps/posix/profil.c: Likewise.
23336 * sysdeps/posix/readdir_r.c: Likewise.
23337 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23338 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23339 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23340 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23342 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23344 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23346 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23347 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23348 * sysdeps/pthread/lio_listio.c: Likewise.
23349 * sysdeps/sparc/dl-procinfo.h: Likewise.
23350 * sysdeps/unix/i386/sysdep.S: Likewise.
23351 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23352 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23353 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23354 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23356 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23357 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23358 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23359 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23360 * sysdeps/wordsize-32/divdi3.c: Likewise.
23361 * time/sys/time.h: Likewise.
23362 * wcsmbs/Makefile: Likewise.
23364 2013-01-01 David S. Miller <davem@davemloft.net>
23366 * po/fr.po: Update from translation team.
23368 * catgets/gencat.c: Update copyright year.
23369 * csu/version.c: Likewise.
23370 * debug/catchsegv.sh: Likewise.
23371 * debug/pcprofiledump.c: Likewise.
23372 * debug/xtrace.sh: Likewise.
23373 * elf/ldconfig.c: Likewise.
23374 * elf/ldd.bash.in: Likewise.
23375 * elf/pldd.c: Likewise.
23376 * elf/sotruss.ksh: Likewise.
23377 * elf/sprof.c: Likewise.
23378 * iconv/iconv_prog.c: Likewise.
23379 * iconv/iconvconfig.c: Likewise.
23380 * locale/programs/locale.c: Likewise.
23381 * locale/programs/localedef.c: Likewise.
23382 * login/programs/pt_chown.c: Likewise.
23383 * malloc/memusage.sh: Likewise.
23384 * malloc/memusagestat.c: Likewise.
23385 * malloc/mtrace.pl: Likewise.
23386 * nscd/nscd.c: Likewise.
23387 * nss/getent.c: Likewise.
23388 * nss/makedb.c: Likewise.
23389 * posix/getconf.c: Likewise.
23391 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23393 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23396 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23398 * math/bits/mathcalls.h (modf): Use __nonnull.
23400 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23402 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23403 (split): Use macro CN instead of the bare value.
23404 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23407 instead of the bare value.
23408 (power1): Likewise.
23410 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23414 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23416 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23418 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23420 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23421 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23423 2012-12-28 Andreas Jaeger <aj@suse.de>
23425 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23426 values are from Linux 3.7.
23428 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23429 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23431 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23433 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23436 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23438 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23439 variables with preprocessor constants.
23440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23441 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23442 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23444 2012-12-27 Bruno Haible <bruno@clisp.org>
23447 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23450 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23452 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23453 and use variable directly.
23454 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23456 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23458 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23459 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23461 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23463 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23464 include directive. Remove local variable MPONE.
23465 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23466 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23467 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23469 2012-12-25 David S. Miller <davem@davemloft.net>
23471 * version.h (RELEASE): Set to "development".
23472 (VERSION): Set to "2.17.90".
23473 * NEWS: Add 2.18 section.
23475 2012-12-21 David S. Miller <davem@davemloft.net>
23477 * po/hr.po: Update from translation team.
23479 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23481 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23483 2012-12-19 Steve Ellcey <sellcey@mips.com>
23485 * NEWS: Mention new memcpy for MIPS.
23487 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23489 * manual/contrib.texi (Contributors): Spelling correction.
23491 2012-12-15 David S. Miller <davem@davemloft.net>
23493 * po/ru.po: Update from translation team.
23495 2012-12-13 David S. Miller <davem@davemloft.net>
23497 * NEWS: Mention IFUNC testsuite enhancements.
23499 * po/pl.po: Update from translation team.
23500 * po/bg.po: Likewise.
23502 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23503 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23505 2012-12-11 David S. Miller <davem@davemloft.net>
23507 * po/sv.po: Update from translation team.
23509 * po/vi.po: Update from translation team.
23511 * po/cs.po: Update from translation team.
23513 * po/de.po: Update from translation team.
23514 * po/eo.po: Likewise.
23515 * po/nl.po: Likewise.
23517 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23520 * manual/argp.texi (Argp Helper Functions): Move node to follow
23521 Argp Parsing State.
23524 * manual/conf.texi (Limits on File System Capacity): Mention if
23525 terminating null is included in the max size.
23527 2012-12-10 Andreas Jaeger <aj@suse.de>
23529 * po/cs.po: Update from translation team.
23531 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23533 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23534 void pointer and cast to uintptr_t.
23535 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23537 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23538 * sysdeps/s390/s390-64/memset.S: Likewise.
23540 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23543 * menual/message.texi (Message Translation): Fix typos.
23544 (Helper programs for gettext): Likewise.
23546 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23549 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23552 2012-12-07 David S. Miller <davem@davemloft.net>
23554 * po/libc.pot: Update.
23556 2012-12-07 Richard Henderson <rth@redhat.com>
23559 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23560 normal/normal case to before the switch.
23561 (_FP_DIV): Likewise.
23563 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23564 Mike Frysinger <vapier@gentoo.org>
23566 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23567 check for __NR_fadvise64_64.
23569 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23571 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23572 0, not just to plain "0" as a statement.
23573 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23576 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23578 * NEWS: Use sourceware.org in Bugzilla URL.
23580 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23583 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23585 * stdio-common/tst-put-error.c (do_test): Add newline to the
23586 padded test to ensure flush.
23588 2012-12-05 Jeff Law <law@redhat.com>
23590 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23592 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23594 * README: Don't refer to ports add-on as distributed separately.
23595 Mention AArch64 in list of systems supported in the ports add-on.
23597 * LICENSES: Add more non-FSF copyright and license notices.
23599 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23602 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23604 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23605 10000 as width of padded output.
23607 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23609 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23612 variable LX with __attribute__ ((unused)).
23613 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23615 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23618 with __attribute__ ((unused)).
23620 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23622 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23624 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23626 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23627 (CFLAGS-nldbl-acos.c): New variable.
23628 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23629 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23630 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23631 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23632 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23633 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23634 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23635 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23636 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23637 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23638 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23727 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23731 whole low double instead of just low 47 bits when splitting values
23734 2012-12-03 Allan McRae <allan@archlinux.org>
23736 * manual/stdio.texi (Predefined Printf Handlers): Remove
23737 @hsep and @vsep usage.
23739 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23741 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23742 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23744 2012-12-03 Jeff Law <law@redhat.com>
23746 * time/sys/time.h (settimeofday): Do not mark TV argument
23749 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23751 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23752 when currently writing and seek to current position when not.
23753 * libio/Makefile (tests): Remove bug-fclose1.
23754 * libio/bug-fclose1.c: Delete.
23756 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23758 * manual/arith.texi (feenableexcept): Fix typo.
23759 (fedisableexcept): Likewise.
23761 2012-11-30 Roland McGrath <roland@hack.frob.com>
23763 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23764 second, differently-typed declaration, rather than a cast.
23766 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23768 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23769 * include/rpc/svc.h: ... here.
23771 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23774 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23775 depending n and resplen2 to catch cases where answer
23778 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23780 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23781 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23783 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23785 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23787 2012-11-29 Roland McGrath <roland@hack.frob.com>
23789 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23791 2012-11-28 Jeff Law <law@redhat.com>
23794 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23795 dataset_temporary. Track alloca usage into alloca_used.
23796 If dataset is large allocate and release it via malloc/free.
23798 2012-06-04 Florian Weimer <fweimer@redhat.com>
23801 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23803 2012-11-28 David S. Miller <davem@davemloft.net>
23805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23807 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23810 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23811 of pi/2 rounded to nearest to 64 bits.
23812 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23813 nearest to 64 bits.
23814 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23817 2012-11-28 Jeff Law <law@redhat.com>
23818 Martin Osvald <mosvald@redhat.com>
23821 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23822 * sunrpc/svc.c: Include time.h.
23823 (__svc_accept_failed): New function.
23824 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23825 any reason other than EINTR, call __svc_accept_failed.
23826 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23827 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23829 2012-11-28 Andreas Schwab <schwab@suse.de>
23831 * scripts/abilist.awk: Also handle indirect functions in .opd
23834 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23837 * sysdeps/x86/fpu/powl_helper.c: New file.
23838 * sysdeps/x86/fpu/Makefile: Likewise.
23839 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23841 (__ieee754_powl): Use __powl_helper for finite arguments except
23842 integer exponents below 8.
23843 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23845 (__ieee754_powl): Use __powl_helper for finite arguments except
23846 integer exponents below 8.
23847 * math/libm-test.inc (pow_test): Add more tests and enable some
23848 previously disabled tests.
23849 * sysdeps/i386/fpu/libm-test-ulps: Update.
23850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23852 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23853 Carlos O'Donell <carlos_odonell@mentor.com>
23855 * nss/makedb.c (is_prime): Assert that input is odd and greater
23856 than 4. Note that fact in a comment too.
23857 (next_prime): Add 4 to input.
23859 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23862 * libio/Makefile (tests): Add test case tst-fwrite-error.
23863 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23864 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23865 * libio/tst-fwrite-error.c: New test case.
23867 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23869 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23870 before casting to void *.
23871 * include/libc-internal.h (__pointer_type): New macro.
23872 (__integer_if_pointer_type_sub): Likewise.
23873 (__integer_if_pointer_type): Likewise.
23874 (cast_to_integer): Likewise.
23875 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23876 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23877 before casting to atomic64_t.
23878 (atomic_exchange_acq): Likewise.
23879 (__arch_exchange_and_add_body): Likewise.
23880 (__arch_add_body): Likewise.
23881 (atomic_add_negative): Likewise.
23882 (atomic_add_zero): Likewise.
23884 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23886 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23887 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23888 (add_fdes): Likewise.
23889 (linear_search_fdes): Likewise.
23890 (binary_search_unencoded_fdes): Likewise.
23892 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23894 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23896 2012-11-24 Adam Conrad <adconrad@0c3.net>
23898 * configure.in: Autodetect C++ header directories.
23899 * configure: Regenerated.
23901 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23903 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23905 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23909 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23911 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23912 LDBL_MANT_DIG == 106]: Disable some tests.
23913 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23915 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23919 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23920 input for small inputs. Return +/- pi/2 for large inputs.
23921 * math/libm-test.inc (atan_test): Add more tests.
23923 * sysdeps/generic/unwind-dw2-fde-glibc.c
23924 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23925 __attribute__ ((unused)).
23928 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23929 x * y if x and y are nonzero and z is zero.
23932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23933 nonzero exponents with absolute value below 0x1p-117 to +/-
23937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23938 up arguments below 2**-450, not just those below 2**-500.
23939 * math/libm-test.inc (hypot_test): Add another test.
23942 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23943 Return a+b for ratio over 2**120, not 2**60.
23944 * math/libm-test.inc (hypot_test): Add another test.
23946 * math/libm-test.inc (clog_test): Use
23947 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23948 (clog10_test): Likewise.
23951 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23953 2012-11-22 Andreas Schwab <schwab@suse.de>
23955 * sysdeps/i386/fpu/libm-test-ulps: Update.
23957 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23959 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23960 printf output with newline.
23962 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23965 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23966 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23967 -z nodlopen, -z initfirst and -z execstack support.
23968 * configure: Regenerated.
23970 * elf/elf.h (DF_1_NODIRECT): New macro.
23971 (DF_1_IGNMULDEF): Likewise.
23972 (DF_1_NOKSYMS): Likewise.
23973 (DF_1_NOHDR): Likewise.
23974 (DF_1_EDITED): Likewise.
23975 (DF_1_NORELOC): Likewise.
23976 (DF_1_SYMINTPOSE): Likewise.
23977 (DF_1_GLOBAUDIT): Likewise.
23978 (DF_1_SINGLETON): Likewise.
23979 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23980 DT_1_SUPPORTED_MASK bits.
23981 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23983 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23985 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23987 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23989 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23992 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23993 (sendmmsg): Move declarations...
23994 * socket/sys/socket.h: ... here.
23995 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23996 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23998 * socket/recvmmsg.c: ... this new file.
23999 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24000 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24001 definition of __sendmmsg hidden.
24002 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24003 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24004 Move ENOSYS stub into and include it from...
24005 * socket/sendmmsg.c: ... this new file.
24006 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24007 (sysdep_routines): Move recvmmsg and sendmmsg...
24008 * socket/Makefile (routines): ... here.
24009 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24010 (GLIBC_PRIVATE): Add __sendmmsg.
24011 * include/sys/socket.h (__sendmmsg): Add declarations.
24012 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24015 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24017 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24018 variable I1 with __attribute__ ((unused)).
24019 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24021 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24023 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24024 DUMMY variables with __attribute__ ((unused)).
24026 * bits/byteswap.h: Include <bits/types.h>.
24027 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24029 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24031 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24032 string_t. Do not manually set errno.
24033 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24034 length with __strnlen. Make sure to both set errno and return it on
24037 2012-11-19 David S. Miller <davem@davemloft.net>
24039 With help from Joseph Myers.
24040 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24041 very large arguments properly.
24042 * math/libm-test.inc (atan_test): New tests.
24043 (atan2_test): New tests.
24044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24047 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24050 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24053 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24054 [POSIX] (EADDRNOTAVAIL): Likewise.
24055 [POSIX] (EAFNOSUPPORT): Likewise.
24056 [POSIX] (EALREADY): Likewise.
24057 [POSIX] (ECONNABORTED): Likewise.
24058 [POSIX] (ECONNREFUSED): Likewise.
24059 [POSIX] (ECONNRESET): Likewise.
24060 [POSIX] (EDESTADDRREQ): Likewise.
24061 [POSIX] (EDQUOT): Likewise.
24062 [POSIX] (EHOSTUNREACH): Likewise.
24063 [POSIX] (EIDRM): Likewise.
24064 [POSIX] (EISCONN): Likewise.
24065 [POSIX] (ELOOP): Likewise.
24066 [POSIX] (EMULTIHOP): Likewise.
24067 [POSIX] (ENETDOWN): Likewise.
24068 [POSIX] (ENETUNREACH): Likewise.
24069 [POSIX] (ENOBUFS): Likewise.
24070 [POSIX] (ENODATA): Likewise.
24071 [POSIX] (ENOLINK): Likewise.
24072 [POSIX] (ENOMSG): Likewise.
24073 [POSIX] (ENOPROTOOPT): Likewise.
24074 [POSIX] (ENOSR): Likewise.
24075 [POSIX] (ENOSTR): Likewise.
24076 [POSIX] (ENOTCONN): Likewise.
24077 [POSIX] (ENOTSOCK): Likewise.
24078 [POSIX] (EOPNOTSUPP): Likewise.
24079 [POSIX] (EOVERFLOW): Likewise.
24080 [POSIX] (EPROTO): Likewise.
24081 [POSIX] (EPROTONOSUPPORT): Likewise.
24082 [POSIX] (EPROTOTYPE): Likewise.
24083 [POSIX] (ESTALE): Likewise.
24084 [POSIX] (ETIME): Likewise.
24085 [POSIX] (ETXTBSY): Likewise.
24086 [POSIX] (EWOULDBLOCK): Likewise.
24087 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24088 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24089 [POSIX] (SEEK_CUR): Likewise.
24090 [POSIX] (SEEK_END): Likewise.
24091 [POSIX || UNIX98] (mode_t): Do not require.
24092 [POSIX] (off_t): Likewise.
24093 [POSIX] (pid_t): Likewise.
24094 [POSIX] (sys/stat.h): Do not allow header.
24095 [POSIX] (unistd.h): Likewise.
24096 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24097 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24098 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24099 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24101 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24102 sigevent): Specify elements.
24103 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24105 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24106 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24108 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24109 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24110 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24111 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24112 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24113 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24114 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24115 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24116 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24117 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24118 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24119 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24120 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24121 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24123 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24125 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24127 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24129 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24130 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24131 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24132 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24133 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24134 Specify lower bound on value.
24135 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24136 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24137 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24138 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24139 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24140 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24141 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24142 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24144 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24146 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24151 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24152 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24153 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24154 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24155 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24156 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24163 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24172 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24174 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24177 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24178 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24180 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24181 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24182 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24184 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24185 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24186 specify as optional.
24187 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24188 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24189 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24190 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24191 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24192 [XPG3] (NL_LANGMAX): Likewise.
24193 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24194 [POSIX || XPG3] (NL_NMAX): Likewise.
24195 [POSIX || XPG3] (NL_SETMAX): Likewise.
24196 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24197 [XPG3] (NZERO): Likewise.
24198 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24199 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24200 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24201 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24202 (REG_ERANGE): Expect.
24203 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24205 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24206 Use (void) in prototype.
24207 [POSIX] (*_t): Allow.
24208 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24209 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24210 (WRDE_BADVAL): Expect.
24212 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24214 [XPG3 || XPG4] (O_RSYNC): Likewise.
24215 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24217 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24218 [XPG3 || XPG4] (sigqueue): Likewise.
24219 [XPG3 || XPG4] (sigtimedwait): Likewise.
24220 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24221 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24222 [XPG3 || XPG4] (vsnprintf): Likewise.
24223 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24225 [XPG3 || XPG4] (blksize_t): Likewise.
24226 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24228 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24229 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24230 [XPG3 || XPG4] (struct itimerspec): Likewise.
24231 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24232 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24233 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24234 [XPG3 || XPG4] (clockid_t): Likewise.
24235 [XPG3 || XPG4] (timer_t): Likewise.
24236 [XPG3 || XPG4] (clock_getres): Likewise.
24237 [XPG3 || XPG4] (clock_gettime): Likewise.
24238 [XPG3 || XPG4] (clock_settime): Likewise.
24239 [XPG3 || XPG4] (nanosleep): Likewise.
24240 [XPG3 || XPG4] (timer_create): Likewise.
24241 [XPG3 || XPG4] (timer_delete): Likewise.
24242 [XPG3 || XPG4] (timer_gettime): Likewise.
24243 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24244 [XPG3 || XPG4] (timer_settime): Likewise.
24245 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24246 [XPG3 || XPG4] (getlogin_r): Likewise.
24247 [XPG3 || XPG4] (pread): Likewise.
24248 [XPG3 || XPG4] (pthread_atfork): Likewise.
24249 [XPG3 || XPG4] (pwrite): Likewise.
24252 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24255 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24257 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24258 finalizing MALLSTREAM.
24260 * sysdeps/mach/hurd/syncfs.c: New file.
24262 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24265 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24266 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24267 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24268 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24269 (_nss_dns_gethostbyname4_r): Likewise.
24270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24271 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24273 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24276 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24278 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24280 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24281 * elf/cache.c (print_entry): Print ",AArch64" for
24284 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24285 * elf/cache.c (print_entry): Print ",hard-float" for
24288 2012-11-18 David S. Miller <davem@davemloft.net>
24290 With help from Joseph Myers.
24291 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24293 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24295 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24296 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24298 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24299 * math/libm-test.inc (y0_test): New tests.
24300 (y1_test): New tests.
24301 * sysdeps/i386/fpu/libm-test-ulps: Update.
24302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24305 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24307 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24309 * configure: Regenerated.
24311 2012-11-17 David S. Miller <davem@davemloft.net>
24314 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24315 nonzero exponents with absolute value below 0x1p-128 to +/-
24318 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24320 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24322 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24324 * posix/getconf-speclist.c: New file.
24325 * posix/posix-envs.def: Likewise.
24326 * posix/confstr.c (START_ENV_GROUP): New macro.
24327 (END_ENV_GROUP): Likewise.
24328 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24329 (KNOWN_PRESENT_ENV_STRING): Likewise.
24330 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24331 (UNKNOWN_ENVIRONMENT): Likewise.
24332 (confstr): Include posix-envs.def instead of handling
24333 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24334 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24335 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24336 (END_ENV_GROUP): Likewise.
24337 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24338 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24339 (UNKNOWN_ENVIRONMENT): Likewise.
24340 (__sysconf): Include posix-envs.def instead of handling associated
24341 cases directly here.
24342 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24343 preprocessing getconf-speclist.c rather than running getconf or
24344 generating empty file.
24346 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24348 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24350 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24353 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24355 2012-11-16 David S. Miller <davem@davemloft.net>
24357 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24358 smaller than LDBL_EPSILON/2.0L, just return xm1.
24360 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24362 * elf/tst-array1.c (init): Set constructor priority to 1000.
24363 (fini): Set destructor priority to 1000.
24364 * elf/tst-array2dep.c: Likewise.
24366 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24369 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24370 (_IO_new_file_xsputn): Also return EOF if none of the input
24371 data was written when overflow failed.
24372 * libio/iopadn.c (_IO_padn): Likewise.
24373 * libio/iowpadn.c (_IO_wpadn): Likewise.
24374 * stdio-common/tst-put-error.c: Add copyright notice.
24375 (do_test): Add case for printing padded string.
24376 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24377 _IO_padn returned error.
24378 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24379 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24382 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24384 * libio/libioP.h: Add comment note that the references to C++
24385 bits are now obsolete.
24387 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24389 * math/libm-test.inc (check_complex): Use asprintf.
24391 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24393 * debug/pcprofiledump.c (print_version): Update copyright year.
24394 * malloc/memusagestat.c (print_version): Likewise.
24396 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24399 * elf/Makefile (tests): Add tst-audit8.
24400 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24401 ($(objpfx)tst-audit8.out): New target.
24402 (tst-audit8-ENV): New variable.
24403 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24404 audit if l_reloc_result is NULL.
24405 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24406 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24407 * elf/tst-audit8.c: New file.
24409 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24411 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24412 * misc/Makefile (CFLAGS-select.c): Define.
24413 * posix/Makefile (CFLAGS-pause.c): Define.
24415 2012-11-13 David S. Miller <davem@davemloft.net>
24417 * crypt/Makefile: Move test targets after toplevel Rules
24418 inclusion. Grab any necessary sysdep routines when linking.
24419 * crypt/md5.c (md5_process_block): Remove define, we will always
24420 name it __md5_process_block.
24421 (md5_finish_ctx): Update md5_process_block call.
24422 (md5_stream): Likewise.
24423 (md5_process_bytes): Likewise.
24424 (md5_process_block): Rename to __md5_process_block and move to ...
24425 * crypt/md5-block.c: ... here.
24426 * crypt/sha256.c (sha256_process_block): Move to ...
24427 * crypt/sha256-block.c: ... here.
24428 * crypt/sha512.c (sha512_process_block): Move to ...
24429 * crypt/sha512-block.c: ... here.
24430 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24432 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24433 * sysdeps/sparc/sparc64/multiarch/Makefile
24434 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24436 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24437 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24439 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24440 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24441 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24442 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24443 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24444 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24445 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24446 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24447 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24449 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24450 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24452 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24454 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24456 * timezone/tzselect.ksh: Update from tzcode git revision
24457 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24458 * timezone/zdump.c: Likewise.
24459 * timezone/zic.c: Likewise.
24460 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24461 in TZVERSION setting, not $(PKGVERSION).
24462 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24463 REPORT_BUGS_TO settings.
24466 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24469 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24471 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24472 detection to immediately after _FP_ROUND().
24473 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24476 2012-11-11 David S. Miller <davem@davemloft.net>
24478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24480 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24481 __close rather than their public counterparts.
24483 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24485 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24487 [UNIX98] (sem_timedwait): Do not expect.
24488 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24489 [XPG4 || UNIX98] (sockatmark): Do not expect.
24490 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24491 (clock_getcpuclockid): Do not expect.
24492 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24493 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24495 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24496 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24497 [UNIX98] (vwscanf): Likewise.
24498 [UNIX98] (vswscanf): Likewise.
24500 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24502 * timezone/version.h: Remove file.
24503 * timezone/README: Do not refer to version.h.
24504 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24505 $(objpfx)version.h.
24506 ($(objpfx)zdump.o): Likewise.
24507 ($(objpfx)version.h): New target.
24509 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24511 * timezone/README: Don't mention modification to tzselect.ksh.
24512 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24513 work on unmodified tzselect.ksh. Substitute version numbers in
24516 * Makefile (format-me): Remove.
24517 (INSTALL): Adjust indentation. Use commands directly instead of
24518 using $(format-me).
24520 * aclocal.m4 (ACX_PKGVERSION): New macro.
24521 (ACX_BUGURL): Likewise.
24522 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24523 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24524 (REPORT_BUGS_TO): Likewise.
24525 * configure: Regenerated.
24526 * config.h.in (PKGVERSION): New macro.
24527 (REPORT_BUGS_TO): Likewise.
24528 * config.make.in (PKGVERSION): New variable.
24529 (PKGVERSION_TEXI): Likewise.
24530 (REPORT_BUGS_TO): Likewise.
24531 (REPORT_BUGS_TEXI): Likewise.
24532 * Makefile (format-me): Use -I$(common-objpfx)manual.
24533 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24534 ($(common-objpfx)manual/%): New target.
24535 (manual/%): Remove target.
24536 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24537 (print_version): Use PKGVERSION.
24538 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24539 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24540 and REPORT_BUGS_TO.
24541 ($(objpfx)xtrace): Likewise.
24542 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24543 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24544 (print_version): Use PKGVERSION.
24545 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24546 (do_version): Use PKGVERSION.
24547 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24549 (common-ldd-rewrite): Likewise.
24550 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24551 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24552 (print_version): Use PKGVERSION.
24553 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24554 * elf/pldd.c (argp_program_bug_address): Remove variable.
24555 (more_help): New function.
24556 (argp): Use more_help.
24557 (print_version): Use PKGVERSION.
24558 * elf/sln.c (main): Use PKGVERSION.
24559 (usage): Use REPORT_BUGS_TO.
24560 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24561 (top level): Use PKGVERSION.
24562 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24563 (print_version): Use PKGVERSION.
24564 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24565 (print_version): Use PKGVERSION.
24566 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24567 (print_version): Use PKGVERSION.
24568 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24569 (print_version): Use PKGVERSION.
24570 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24571 (print_version): Use PKGVERSION.
24572 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24573 (print_version): Use PKGVERSION.
24574 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24576 ($(objpfx)memusage): Likewise.
24577 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24578 (do_version): Use PKGVERSION.
24579 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24580 (print_version): Use PKGVERSION.
24581 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24582 ($PKGVERSION): New variable.
24583 ($REPORT_BUGS_TO): Likewise.
24584 (usage): Use $REPORT_BUGS_TO.
24585 (top level): Use $PKGVERSION.
24586 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24587 ($(objpfx)pkgvers.texi): New rule.
24588 ($(objpfx)stamp-pkgvers): Likewise.
24589 * manual/install.texi: Include pkgvers.texi.
24590 (--with-pkgversion): Document new configure option.
24591 (--with-bugurl): Likewise.
24592 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24593 than necessarily for this particular distribution. Use
24594 REPORT_BUGS_TO for where to report bugs.
24595 * INSTALL: Regenerated.
24596 * manual/libc.texinfo: Include pkgvers.texi.
24597 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24598 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24599 (print_version): Use PKGVERSION.
24600 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24601 (print_version): Use PKGVERSION.
24602 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24603 (print_version): Use PKGVERSION.
24604 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24605 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24607 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24608 (print_version): Use PKGVERSION.
24609 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24610 (print_version): Use PKGVERSION.
24611 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24614 * timezone/checktab.awk: Update from tzcode 2012i.
24615 * timezone/ialloc.c: Likewise.
24616 * timezone/private.h: Likewise.
24617 * timezone/scheck.c: Likewise.
24618 * timezone/tzfile.h: Likewise.
24619 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24620 (TZVERSION): Hardcode tzcode version number.
24621 * timezone/zdump.c: Update from tzcode 2012i.
24622 * timezone/zic.c: Likewise.
24623 * timezone/version.h: New file.
24624 * timezone/README: Describe version.h. Update upstream location.
24627 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24628 (mktemp): Enable declaration.
24629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24630 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24632 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24634 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24636 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24646 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24647 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24648 for copies of such integer values.
24649 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24650 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24652 2012-11-09 Andreas Jaeger <aj@suse.de>
24654 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24655 definitions and declarations that are provided by
24656 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24658 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24660 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24661 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24662 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24665 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24667 * elf/elf.h: Update comment before AArch64 relocations.
24669 2012-11-07 David S. Miller <davem@davemloft.net>
24671 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24672 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24673 (__start_context): Declare.
24674 (__makecontext_ret): Delete.
24675 (__makecontext): Hook up __start_context instead of
24677 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24678 (sysdep_routines): Add __start_context when in stdlib.
24680 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24682 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24683 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24684 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24686 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24687 (READELF): New variable. Use it instead of hardcoded "readelf".
24689 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24691 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24692 * sysdeps/x86/Makefile: Here.
24693 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24694 * sysdeps/x86/tst-xmmymm.sh: This.
24696 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24698 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24700 [UNIX98] (pthread_barrier_t): Do not expect.
24701 [UNIX98] (pthread_barrierattr_t): Likewise.
24702 [UNIX98] (pthread_spinlock_t): Likewise.
24703 [UNIX98] (pthread_barrier_destroy): Likewise.
24704 [UNIX98] (pthread_barrier_init): Likewise.
24705 [UNIX98] (pthread_barrier_wait): Likewise.
24706 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24707 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24708 [UNIX98] (pthread_barrierattr_init): Likewise.
24709 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24710 [UNIX98] (pthread_getcpuclockid): Likewise.
24711 [UNIX98] (pthread_mutex_timedlock): Likewise.
24712 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24713 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24714 [UNIX98] (pthread_sigmask): Likewise.
24715 [UNIX98] (pthread_spin_destroy): Likewise.
24716 [UNIX98] (pthread_spin_init): Likewise.
24717 [UNIX98] (pthread_spin_lock): Likewise.
24718 [UNIX98] (pthread_spin_trylock): Likewise.
24719 [UNIX98] (pthread_spin_unlock): Likewise.
24720 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24722 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24723 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24724 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24725 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24726 [XPG3 || XPG4] (pthread_key_t): Likewise.
24727 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24728 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24729 [XPG3 || XPG4] (pthread_once_t): Likewise.
24730 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24731 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24732 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24733 [XPG3 || XPG4] (pthread_t): Likewise.
24735 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24737 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24739 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24740 Change function return type to int.
24742 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24743 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24744 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24745 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24746 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24747 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24748 [!POSIX] (posix_madvise): Likewise.
24749 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24751 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24752 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24753 (mode_t): Likewise.
24754 (posix_mem_offset): Likewise.
24755 (posix_typed_mem_get_info): Likewise.
24756 (posix_typed_mem_open): Likewise.
24758 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24759 Change condition to [XOPEN2K8].
24761 * conform/conformtest.pl: Preprocess allow-header data with -x c
24762 instead of from stdin.
24763 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24764 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24765 [C99-based standards] (cerfc): Likewise.
24766 [C99-based standards] (cexp2): Likewise.
24767 [C99-based standards] (cexpm1): Likewise.
24768 [C99-based standards] (clog10): Likewise.
24769 [C99-based standards] (clog1p): Likewise.
24770 [C99-based standards] (clog2): Likewise.
24771 [C99-based standards] (clgamma): Likewise.
24772 [C99-based standards] (ctgamma): Likewise.
24773 [C99-based standards] (cerff): Likewise.
24774 [C99-based standards] (cerfcf): Likewise.
24775 [C99-based standards] (cexp2f): Likewise.
24776 [C99-based standards] (cexpm1f): Likewise.
24777 [C99-based standards] (clog10f): Likewise.
24778 [C99-based standards] (clog1pf): Likewise.
24779 [C99-based standards] (clog2f): Likewise.
24780 [C99-based standards] (clgammaf): Likewise.
24781 [C99-based standards] (ctgammaf): Likewise.
24782 [C99-based standards] (cerfl): Likewise.
24783 [C99-based standards] (cerfcl): Likewise.
24784 [C99-based standards] (cexp2l): Likewise.
24785 [C99-based standards] (cexpm1l): Likewise.
24786 [C99-based standards] (clog10l): Likewise.
24787 [C99-based standards] (clog1pl): Likewise.
24788 [C99-based standards] (clog2l): Likewise.
24789 [C99-based standards] (clgammal): Likewise.
24790 [C99-based standards] (ctgammal): Likewise.
24791 * conform/data/inttypes.h-data [C99-based standards]: Include
24792 stdint.h-data. Remove all expectations for stdint.h contents.
24793 [C99-based standards] (PRI*): Do not allow.
24794 [C99-based standards] (SCN*): Likewise.
24795 [C99-based standards] (*_t): Likewise.
24796 [C99-based-standards] (PRId8): Expect macro.
24797 [C99-based-standards] (PRIi8): Likewise.
24798 [C99-based-standards] (PRIo8): Likewise.
24799 [C99-based-standards] (PRIu8): Likewise.
24800 [C99-based-standards] (PRIx8): Likewise.
24801 [C99-based-standards] (PRIX8): Likewise.
24802 [C99-based-standards] (SCNd8): Likewise.
24803 [C99-based-standards] (SCNi8): Likewise.
24804 [C99-based-standards] (SCNo8): Likewise.
24805 [C99-based-standards] (SCNu8): Likewise.
24806 [C99-based-standards] (SCNx8): Likewise.
24807 [C99-based-standards] (PRIdLEAST8): Likewise.
24808 [C99-based-standards] (PRIiLEAST8): Likewise.
24809 [C99-based-standards] (PRIoLEAST8): Likewise.
24810 [C99-based-standards] (PRIuLEAST8): Likewise.
24811 [C99-based-standards] (PRIxLEAST8): Likewise.
24812 [C99-based-standards] (PRIXLEAST8): Likewise.
24813 [C99-based-standards] (SCNdLEAST8): Likewise.
24814 [C99-based-standards] (SCNiLEAST8): Likewise.
24815 [C99-based-standards] (SCNoLEAST8): Likewise.
24816 [C99-based-standards] (SCNuLEAST8): Likewise.
24817 [C99-based-standards] (SCNxLEAST8): Likewise.
24818 [C99-based-standards] (PRIdFAST8): Likewise.
24819 [C99-based-standards] (PRIiFAST8): Likewise.
24820 [C99-based-standards] (PRIoFAST8): Likewise.
24821 [C99-based-standards] (PRIuFAST8): Likewise.
24822 [C99-based-standards] (PRIxFAST8): Likewise.
24823 [C99-based-standards] (PRIXFAST8): Likewise.
24824 [C99-based-standards] (SCNdFAST8): Likewise.
24825 [C99-based-standards] (SCNiFAST8): Likewise.
24826 [C99-based-standards] (SCNoFAST8): Likewise.
24827 [C99-based-standards] (SCNuFAST8): Likewise.
24828 [C99-based-standards] (SCNxFAST8): Likewise.
24829 [C99-based-standards] (PRId16): Likewise.
24830 [C99-based-standards] (PRIi16): Likewise.
24831 [C99-based-standards] (PRIo16): Likewise.
24832 [C99-based-standards] (PRIu16): Likewise.
24833 [C99-based-standards] (PRIx16): Likewise.
24834 [C99-based-standards] (PRIX16): Likewise.
24835 [C99-based-standards] (SCNd16): Likewise.
24836 [C99-based-standards] (SCNi16): Likewise.
24837 [C99-based-standards] (SCNo16): Likewise.
24838 [C99-based-standards] (SCNu16): Likewise.
24839 [C99-based-standards] (SCNx16): Likewise.
24840 [C99-based-standards] (PRIdLEAST16): Likewise.
24841 [C99-based-standards] (PRIiLEAST16): Likewise.
24842 [C99-based-standards] (PRIoLEAST16): Likewise.
24843 [C99-based-standards] (PRIuLEAST16): Likewise.
24844 [C99-based-standards] (PRIxLEAST16): Likewise.
24845 [C99-based-standards] (PRIXLEAST16): Likewise.
24846 [C99-based-standards] (SCNdLEAST16): Likewise.
24847 [C99-based-standards] (SCNiLEAST16): Likewise.
24848 [C99-based-standards] (SCNoLEAST16): Likewise.
24849 [C99-based-standards] (SCNuLEAST16): Likewise.
24850 [C99-based-standards] (SCNxLEAST16): Likewise.
24851 [C99-based-standards] (PRIdFAST16): Likewise.
24852 [C99-based-standards] (PRIiFAST16): Likewise.
24853 [C99-based-standards] (PRIoFAST16): Likewise.
24854 [C99-based-standards] (PRIuFAST16): Likewise.
24855 [C99-based-standards] (PRIxFAST16): Likewise.
24856 [C99-based-standards] (PRIXFAST16): Likewise.
24857 [C99-based-standards] (SCNdFAST16): Likewise.
24858 [C99-based-standards] (SCNiFAST16): Likewise.
24859 [C99-based-standards] (SCNoFAST16): Likewise.
24860 [C99-based-standards] (SCNuFAST16): Likewise.
24861 [C99-based-standards] (SCNxFAST16): Likewise.
24862 [C99-based-standards] (PRId32): Likewise.
24863 [C99-based-standards] (PRIi32): Likewise.
24864 [C99-based-standards] (PRIo32): Likewise.
24865 [C99-based-standards] (PRIu32): Likewise.
24866 [C99-based-standards] (PRIx32): Likewise.
24867 [C99-based-standards] (PRIX32): Likewise.
24868 [C99-based-standards] (SCNd32): Likewise.
24869 [C99-based-standards] (SCNi32): Likewise.
24870 [C99-based-standards] (SCNo32): Likewise.
24871 [C99-based-standards] (SCNu32): Likewise.
24872 [C99-based-standards] (SCNx32): Likewise.
24873 [C99-based-standards] (PRIdLEAST32): Likewise.
24874 [C99-based-standards] (PRIiLEAST32): Likewise.
24875 [C99-based-standards] (PRIoLEAST32): Likewise.
24876 [C99-based-standards] (PRIuLEAST32): Likewise.
24877 [C99-based-standards] (PRIxLEAST32): Likewise.
24878 [C99-based-standards] (PRIXLEAST32): Likewise.
24879 [C99-based-standards] (SCNdLEAST32): Likewise.
24880 [C99-based-standards] (SCNiLEAST32): Likewise.
24881 [C99-based-standards] (SCNoLEAST32): Likewise.
24882 [C99-based-standards] (SCNuLEAST32): Likewise.
24883 [C99-based-standards] (SCNxLEAST32): Likewise.
24884 [C99-based-standards] (PRIdFAST32): Likewise.
24885 [C99-based-standards] (PRIiFAST32): Likewise.
24886 [C99-based-standards] (PRIoFAST32): Likewise.
24887 [C99-based-standards] (PRIuFAST32): Likewise.
24888 [C99-based-standards] (PRIxFAST32): Likewise.
24889 [C99-based-standards] (PRIXFAST32): Likewise.
24890 [C99-based-standards] (SCNdFAST32): Likewise.
24891 [C99-based-standards] (SCNiFAST32): Likewise.
24892 [C99-based-standards] (SCNoFAST32): Likewise.
24893 [C99-based-standards] (SCNuFAST32): Likewise.
24894 [C99-based-standards] (SCNxFAST32): Likewise.
24895 [C99-based-standards] (PRId64): Likewise.
24896 [C99-based-standards] (PRIi64): Likewise.
24897 [C99-based-standards] (PRIo64): Likewise.
24898 [C99-based-standards] (PRIu64): Likewise.
24899 [C99-based-standards] (PRIx64): Likewise.
24900 [C99-based-standards] (PRIX64): Likewise.
24901 [C99-based-standards] (SCNd64): Likewise.
24902 [C99-based-standards] (SCNi64): Likewise.
24903 [C99-based-standards] (SCNo64): Likewise.
24904 [C99-based-standards] (SCNu64): Likewise.
24905 [C99-based-standards] (SCNx64): Likewise.
24906 [C99-based-standards] (PRIdLEAST64): Likewise.
24907 [C99-based-standards] (PRIiLEAST64): Likewise.
24908 [C99-based-standards] (PRIoLEAST64): Likewise.
24909 [C99-based-standards] (PRIuLEAST64): Likewise.
24910 [C99-based-standards] (PRIxLEAST64): Likewise.
24911 [C99-based-standards] (PRIXLEAST64): Likewise.
24912 [C99-based-standards] (SCNdLEAST64): Likewise.
24913 [C99-based-standards] (SCNiLEAST64): Likewise.
24914 [C99-based-standards] (SCNoLEAST64): Likewise.
24915 [C99-based-standards] (SCNuLEAST64): Likewise.
24916 [C99-based-standards] (SCNxLEAST64): Likewise.
24917 [C99-based-standards] (PRIdFAST64): Likewise.
24918 [C99-based-standards] (PRIiFAST64): Likewise.
24919 [C99-based-standards] (PRIoFAST64): Likewise.
24920 [C99-based-standards] (PRIuFAST64): Likewise.
24921 [C99-based-standards] (PRIxFAST64): Likewise.
24922 [C99-based-standards] (PRIXFAST64): Likewise.
24923 [C99-based-standards] (SCNdFAST64): Likewise.
24924 [C99-based-standards] (SCNiFAST64): Likewise.
24925 [C99-based-standards] (SCNoFAST64): Likewise.
24926 [C99-based-standards] (SCNuFAST64): Likewise.
24927 [C99-based-standards] (SCNxFAST64): Likewise.
24928 [C99-based-standards] (PRIdMAX): Likewise.
24929 [C99-based-standards] (PRIiMAX): Likewise.
24930 [C99-based-standards] (PRIoMAX): Likewise.
24931 [C99-based-standards] (PRIuMAX): Likewise.
24932 [C99-based-standards] (PRIxMAX): Likewise.
24933 [C99-based-standards] (PRIXMAX): Likewise.
24934 [C99-based-standards] (SCNdMAX): Likewise.
24935 [C99-based-standards] (SCNiMAX): Likewise.
24936 [C99-based-standards] (SCNoMAX): Likewise.
24937 [C99-based-standards] (SCNuMAX): Likewise.
24938 [C99-based-standards] (SCNxMAX): Likewise.
24939 [C99-based-standards] (PRIdPTR): Likewise.
24940 [C99-based-standards] (PRIiPTR): Likewise.
24941 [C99-based-standards] (PRIoPTR): Likewise.
24942 [C99-based-standards] (PRIuPTR): Likewise.
24943 [C99-based-standards] (PRIxPTR): Likewise.
24944 [C99-based-standards] (PRIXPTR): Likewise.
24945 [C99-based-standards] (SCNdPTR): Likewise.
24946 [C99-based-standards] (SCNiPTR): Likewise.
24947 [C99-based-standards] (SCNoPTR): Likewise.
24948 [C99-based-standards] (SCNuPTR): Likewise.
24949 [C99-based-standards] (SCNxPTR): Likewise.
24950 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24952 * conform/data/stdint.h-data: Update comments to clarify
24954 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24956 [C99-based standards] (INT8_MAX): Likewise.
24957 [C99-based standards] (INT16_MIN): Likewise.
24958 [C99-based standards] (INT16_MAX): Likewise.
24959 [C99-based standards] (INT32_MIN): Likewise.
24960 [C99-based standards] (INT32_MAX): Likewise.
24961 [C99-based standards] (INT64_MIN): Likewise.
24962 [C99-based standards] (INT64_MAX): Likewise.
24963 [C99-based standards] (UINT8_MAX): Likewise.
24964 [C99-based standards] (UINT16_MAX): Likewise.
24965 [C99-based standards] (UINT32_MAX): Likewise.
24966 [C99-based standards] (UINT64_MAX): Likewise.
24967 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24968 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24969 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24970 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24971 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24972 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24973 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24974 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24975 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24976 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24977 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24978 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24979 [C99-based standards] (INT_FAST8_MIN): Likewise.
24980 [C99-based standards] (INT_FAST8_MAX): Likewise.
24981 [C99-based standards] (INT_FAST16_MIN): Likewise.
24982 [C99-based standards] (INT_FAST16_MAX): Likewise.
24983 [C99-based standards] (INT_FAST32_MIN): Likewise.
24984 [C99-based standards] (INT_FAST32_MAX): Likewise.
24985 [C99-based standards] (INT_FAST64_MIN): Likewise.
24986 [C99-based standards] (INT_FAST64_MAX): Likewise.
24987 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24988 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24989 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24990 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24991 [C99-based standards] (INTPTR_MIN): Likewise.
24992 [C99-based standards] (INTPTR_MAX): Likewise.
24993 [C99-based standards] (UINTPTR_MAX): Likewise.
24994 [C99-based standards] (INTMAX_MIN): Likewise.
24995 [C99-based standards] (INTMAX_MAX): Likewise.
24996 [C99-based standards] (UINTMAX_MAX): Likewise.
24997 [C99-based standards] (PTRDIFF_MIN): Likewise.
24998 [C99-based standards] (PTRDIFF_MAX): Likewise.
24999 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25000 [C99-based standards] (SIZE_MAX): Likewise.
25001 [C99-based standards] (WCHAR_MAX): Likewise.
25002 [C99-based standards] (WINT_MAX): Likewise.
25003 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25004 constraint on value.
25005 [C99-based standards] (WCHAR_MIN): Likewise.
25006 [C99-based standards] (WINT_MIN): Likewise.
25007 [C99-based standards] (*_t): Allow.
25008 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25009 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25010 Include math.h-data and complex.h-data. Remove all expectations
25011 of math.h and complex.h contents.
25012 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25014 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25015 (struct tm): Expect tag.
25016 [C99-based-standards] (wcstof): Expect function.
25017 [C99-based-standards] (wcstold): Likewise.
25018 [C99-based-standards] (wcstoll): Likewise.
25019 [C99-based-standards] (wcstoull): Likewise.
25020 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25021 macro-int-constant. Specify type.
25022 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25023 constraint on value.
25024 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25026 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25028 [ISO C standards]: Do not allow headers.
25029 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25030 wcs[abcdefghijklmnopqrstuvwxyz]*.
25031 [ISO C standards] (*_t): Do not allow.
25032 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25034 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25035 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25037 [ISO C standards]: Do not allow headers.
25038 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25039 is[abcdefghijklmnopqrstuvwxyz]*.
25040 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25041 to[abcdefghijklmnopqrstuvwxyz]*.
25042 [ISO C standards] (*_t): Do not allow.
25043 * conform/data/stdalign.h-data: New file.
25044 * conform/data/stdbool.h-data: Likewise.
25045 * conform/data/stdnoreturn.h-data: Likewise.
25047 2012-11-07 Roland McGrath <roland@hack.frob.com>
25050 * manual/filesys.texi (Directory Entries): Typo fix.
25051 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25053 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25055 * elf/elf.h (EM_AARCH64): New macro.
25056 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25057 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25058 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25059 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25060 (R_AARCH64_TLSDESC): Likewise.
25061 (NT_ARM_TLS): Likewise.
25062 (NT_ARM_HW_BREAK): Likewise.
25063 (NT_ARM_HW_WATCH): Likewise.
25065 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25068 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25069 (__ieee754_powl): Saturate nonzero exponents with absolute value
25070 below 0x1p-79 to +/- 0x1p-79.
25071 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25072 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25073 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25074 nonzero exponents with absolute value below 0x1p-32 to +/-
25076 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25077 (__ieee754_powl): Saturate nonzero exponents with absolute value
25078 below 0x1p-79 to +/- 0x1p-79.
25079 * math/libm-test.inc (pow_test): Add more tests.
25081 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25083 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25084 _dl_s390_cap_flags with kernel. Increase string length.
25085 (_dl_s390_platforms): Add z196 and zEC12.
25087 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25089 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25090 Change XOPEN21K to XOPEN2K.
25092 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25094 * string/memmove.c: Use memcpy when possible.
25096 2012-11-06 Andreas Jaeger <aj@suse.de>
25098 * po/eo.po: Update from translation team.
25100 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25104 exponent and small x and y exponents, scale x or y up. Increase
25105 by 2 the exponent used in scaling up.
25106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25108 * math/libm-test.inc (fma_test): Add more tests.
25109 (fma_test_towardzero): Likewise.
25110 (fma_test_downward): Likewise.
25111 (fma_test_upward): Likewise.
25113 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25120 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25121 namespace for names of struct fields.
25122 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25124 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25125 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25127 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25130 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25132 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25134 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25138 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25141 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25145 definitely overflow as x * y not x * y + z.
25146 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25147 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25148 * math/libm-test.inc (fma_test): Add more tests.
25149 (fma_test_towardzero): Likewise.
25150 (fma_test_downward): Likewise.
25151 (fma_test_upward): Likewise.
25153 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25157 * include/stub-tag.h: Remove file.
25158 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25160 * manual/maint.texi (Porting): Don't reference it.
25161 * Makerules ($(objpfx)stubs): Likewise.
25162 * dirent/closedir.c: Don't include <stub-tag.h>.
25163 * dirent/dirfd.c: Likewise.
25164 * dirent/fdopendir.c: Likewise.
25165 * dirent/getdents.c: Likewise.
25166 * dirent/getdents64.c: Likewise.
25167 * dirent/opendir.c: Likewise.
25168 * dirent/readdir.c: Likewise.
25169 * dirent/readdir64.c: Likewise.
25170 * dirent/readdir64_r.c: Likewise.
25171 * dirent/readdir_r.c: Likewise.
25172 * dirent/rewinddir.c: Likewise.
25173 * dirent/seekdir.c: Likewise.
25174 * dirent/telldir.c: Likewise.
25175 * gmon/profil.c: Likewise.
25176 * grp/setgroups.c: Likewise.
25177 * inet/if_index.c: Likewise.
25178 * io/access.c: Likewise.
25179 * io/chdir.c: Likewise.
25180 * io/chmod.c: Likewise.
25181 * io/chown.c: Likewise.
25182 * io/close.c: Likewise.
25183 * io/dup.c: Likewise.
25184 * io/dup2.c: Likewise.
25185 * io/dup3.c: Likewise.
25186 * io/euidaccess.c: Likewise.
25187 * io/faccessat.c: Likewise.
25188 * io/fchdir.c: Likewise.
25189 * io/fchmod.c: Likewise.
25190 * io/fchmodat.c: Likewise.
25191 * io/fchown.c: Likewise.
25192 * io/fchownat.c: Likewise.
25193 * io/fcntl.c: Likewise.
25194 * io/flock.c: Likewise.
25195 * io/fstatfs.c: Likewise.
25196 * io/fstatfs64.c: Likewise.
25197 * io/fstatvfs.c: Likewise.
25198 * io/fstatvfs64.c: Likewise.
25199 * io/futimens.c: Likewise.
25200 * io/fxstat.c: Likewise.
25201 * io/fxstat64.c: Likewise.
25202 * io/fxstatat.c: Likewise.
25203 * io/fxstatat64.c: Likewise.
25204 * io/getcwd.c: Likewise.
25205 * io/isatty.c: Likewise.
25206 * io/lchmod.c: Likewise.
25207 * io/lchown.c: Likewise.
25208 * io/link.c: Likewise.
25209 * io/linkat.c: Likewise.
25210 * io/lseek.c: Likewise.
25211 * io/lseek64.c: Likewise.
25212 * io/lxstat64.c: Likewise.
25213 * io/mkdir.c: Likewise.
25214 * io/mkdirat.c: Likewise.
25215 * io/mkfifo.c: Likewise.
25216 * io/mkfifoat.c: Likewise.
25217 * io/open.c: Likewise.
25218 * io/open64.c: Likewise.
25219 * io/openat.c: Likewise.
25220 * io/openat64.c: Likewise.
25221 * io/pipe.c: Likewise.
25222 * io/pipe2.c: Likewise.
25223 * io/poll.c: Likewise.
25224 * io/posix_fadvise.c: Likewise.
25225 * io/posix_fadvise64.c: Likewise.
25226 * io/posix_fallocate.c: Likewise.
25227 * io/posix_fallocate64.c: Likewise.
25228 * io/read.c: Likewise.
25229 * io/readlink.c: Likewise.
25230 * io/readlinkat.c: Likewise.
25231 * io/rmdir.c: Likewise.
25232 * io/sendfile.c: Likewise.
25233 * io/sendfile64.c: Likewise.
25234 * io/statfs.c: Likewise.
25235 * io/statfs64.c: Likewise.
25236 * io/statvfs.c: Likewise.
25237 * io/statvfs64.c: Likewise.
25238 * io/symlink.c: Likewise.
25239 * io/symlinkat.c: Likewise.
25240 * io/ttyname.c: Likewise.
25241 * io/ttyname_r.c: Likewise.
25242 * io/umask.c: Likewise.
25243 * io/unlink.c: Likewise.
25244 * io/unlinkat.c: Likewise.
25245 * io/utime.c: Likewise.
25246 * io/utimensat.c: Likewise.
25247 * io/write.c: Likewise.
25248 * io/xmknod.c: Likewise.
25249 * io/xmknodat.c: Likewise.
25250 * io/xstat.c: Likewise.
25251 * io/xstat64.c: Likewise.
25252 * login/getpt.c: Likewise.
25253 * login/grantpt.c: Likewise.
25254 * login/unlockpt.c: Likewise.
25255 * math/e_acoshl.c: Likewise.
25256 * math/e_acosl.c: Likewise.
25257 * math/e_asinl.c: Likewise.
25258 * math/e_atan2l.c: Likewise.
25259 * math/e_atanhl.c: Likewise.
25260 * math/e_coshl.c: Likewise.
25261 * math/e_expl.c: Likewise.
25262 * math/e_fmodl.c: Likewise.
25263 * math/e_gammal_r.c: Likewise.
25264 * math/e_hypotl.c: Likewise.
25265 * math/e_j0l.c: Likewise.
25266 * math/e_j1l.c: Likewise.
25267 * math/e_jnl.c: Likewise.
25268 * math/e_lgammal_r.c: Likewise.
25269 * math/e_log10l.c: Likewise.
25270 * math/e_log2l.c: Likewise.
25271 * math/e_logl.c: Likewise.
25272 * math/e_powl.c: Likewise.
25273 * math/e_rem_pio2l.c: Likewise.
25274 * math/e_sinhl.c: Likewise.
25275 * math/e_sqrtl.c: Likewise.
25276 * math/fclrexcpt.c: Likewise.
25277 * math/fedisblxcpt.c: Likewise.
25278 * math/feenablxcpt.c: Likewise.
25279 * math/fegetenv.c: Likewise.
25280 * math/fegetexcept.c: Likewise.
25281 * math/fegetround.c: Likewise.
25282 * math/feholdexcpt.c: Likewise.
25283 * math/fesetenv.c: Likewise.
25284 * math/fesetround.c: Likewise.
25285 * math/feupdateenv.c: Likewise.
25286 * math/fgetexcptflg.c: Likewise.
25287 * math/fraiseexcpt.c: Likewise.
25288 * math/fsetexcptflg.c: Likewise.
25289 * math/ftestexcept.c: Likewise.
25290 * math/k_cosl.c: Likewise.
25291 * math/k_rem_pio2l.c: Likewise.
25292 * math/k_sinl.c: Likewise.
25293 * math/k_tanl.c: Likewise.
25294 * math/s_asinhl.c: Likewise.
25295 * math/s_atanl.c: Likewise.
25296 * math/s_cbrtl.c: Likewise.
25297 * math/s_erfl.c: Likewise.
25298 * math/s_expm1l.c: Likewise.
25299 * math/s_log1pl.c: Likewise.
25300 * math/s_tanhl.c: Likewise.
25301 * misc/acct.c: Likewise.
25302 * misc/brk.c: Likewise.
25303 * misc/chflags.c: Likewise.
25304 * misc/chroot.c: Likewise.
25305 * misc/fchflags.c: Likewise.
25306 * misc/fgetxattr.c: Likewise.
25307 * misc/flistxattr.c: Likewise.
25308 * misc/fremovexattr.c: Likewise.
25309 * misc/fsetxattr.c: Likewise.
25310 * misc/fsync.c: Likewise.
25311 * misc/ftruncate.c: Likewise.
25312 * misc/futimes.c: Likewise.
25313 * misc/futimesat.c: Likewise.
25314 * misc/getdomain.c: Likewise.
25315 * misc/getdtsz.c: Likewise.
25316 * misc/gethostid.c: Likewise.
25317 * misc/gethostname.c: Likewise.
25318 * misc/getloadavg.c: Likewise.
25319 * misc/getpagesize.c: Likewise.
25320 * misc/getsysstats.c: Likewise.
25321 * misc/getxattr.c: Likewise.
25322 * misc/gtty.c: Likewise.
25323 * misc/ioctl.c: Likewise.
25324 * misc/lgetxattr.c: Likewise.
25325 * misc/listxattr.c: Likewise.
25326 * misc/llistxattr.c: Likewise.
25327 * misc/lremovexattr.c: Likewise.
25328 * misc/lsetxattr.c: Likewise.
25329 * misc/lutimes.c: Likewise.
25330 * misc/madvise.c: Likewise.
25331 * misc/mincore.c: Likewise.
25332 * misc/mlock.c: Likewise.
25333 * misc/mlockall.c: Likewise.
25334 * misc/mmap.c: Likewise.
25335 * misc/mprotect.c: Likewise.
25336 * misc/msync.c: Likewise.
25337 * misc/munlock.c: Likewise.
25338 * misc/munlockall.c: Likewise.
25339 * misc/munmap.c: Likewise.
25340 * misc/preadv.c: Likewise.
25341 * misc/preadv64.c: Likewise.
25342 * misc/ptrace.c: Likewise.
25343 * misc/pwritev.c: Likewise.
25344 * misc/pwritev64.c: Likewise.
25345 * misc/readv.c: Likewise.
25346 * misc/reboot.c: Likewise.
25347 * misc/remap_file_pages.c: Likewise.
25348 * misc/removexattr.c: Likewise.
25349 * misc/revoke.c: Likewise.
25350 * misc/select.c: Likewise.
25351 * misc/setdomain.c: Likewise.
25352 * misc/setegid.c: Likewise.
25353 * misc/seteuid.c: Likewise.
25354 * misc/sethostid.c: Likewise.
25355 * misc/sethostname.c: Likewise.
25356 * misc/setregid.c: Likewise.
25357 * misc/setreuid.c: Likewise.
25358 * misc/setxattr.c: Likewise.
25359 * misc/sstk.c: Likewise.
25360 * misc/stty.c: Likewise.
25361 * misc/swapoff.c: Likewise.
25362 * misc/swapon.c: Likewise.
25363 * misc/sync.c: Likewise.
25364 * misc/syncfs.c: Likewise.
25365 * misc/syscall.c: Likewise.
25366 * misc/truncate.c: Likewise.
25367 * misc/ualarm.c: Likewise.
25368 * misc/usleep.c: Likewise.
25369 * misc/ustat.c: Likewise.
25370 * misc/utimes.c: Likewise.
25371 * misc/vhangup.c: Likewise.
25372 * misc/writev.c: Likewise.
25373 * posix/_exit.c: Likewise.
25374 * posix/alarm.c: Likewise.
25375 * posix/execve.c: Likewise.
25376 * posix/fexecve.c: Likewise.
25377 * posix/fork.c: Likewise.
25378 * posix/fpathconf.c: Likewise.
25379 * posix/getaddrinfo.c: Likewise.
25380 * posix/getegid.c: Likewise.
25381 * posix/geteuid.c: Likewise.
25382 * posix/getgid.c: Likewise.
25383 * posix/getgroups.c: Likewise.
25384 * posix/getlogin.c: Likewise.
25385 * posix/getlogin_r.c: Likewise.
25386 * posix/getpgid.c: Likewise.
25387 * posix/getpid.c: Likewise.
25388 * posix/getppid.c: Likewise.
25389 * posix/getresgid.c: Likewise.
25390 * posix/getresuid.c: Likewise.
25391 * posix/getsid.c: Likewise.
25392 * posix/getuid.c: Likewise.
25393 * posix/glob64.c: Likewise.
25394 * posix/nanosleep.c: Likewise.
25395 * posix/pathconf.c: Likewise.
25396 * posix/pause.c: Likewise.
25397 * posix/posix_madvise.c: Likewise.
25398 * posix/pread.c: Likewise.
25399 * posix/pread64.c: Likewise.
25400 * posix/pwrite.c: Likewise.
25401 * posix/pwrite64.c: Likewise.
25402 * posix/sched_getaffinity.c: Likewise.
25403 * posix/sched_getp.c: Likewise.
25404 * posix/sched_gets.c: Likewise.
25405 * posix/sched_primax.c: Likewise.
25406 * posix/sched_primin.c: Likewise.
25407 * posix/sched_rr_gi.c: Likewise.
25408 * posix/sched_setaffinity.c: Likewise.
25409 * posix/sched_setp.c: Likewise.
25410 * posix/sched_sets.c: Likewise.
25411 * posix/sched_yield.c: Likewise.
25412 * posix/setgid.c: Likewise.
25413 * posix/setlogin.c: Likewise.
25414 * posix/setpgid.c: Likewise.
25415 * posix/setresgid.c: Likewise.
25416 * posix/setresuid.c: Likewise.
25417 * posix/setsid.c: Likewise.
25418 * posix/setuid.c: Likewise.
25419 * posix/sleep.c: Likewise.
25420 * posix/spawni.c: Likewise.
25421 * posix/sysconf.c: Likewise.
25422 * posix/times.c: Likewise.
25423 * posix/wait.c: Likewise.
25424 * posix/wait3.c: Likewise.
25425 * posix/wait4.c: Likewise.
25426 * posix/waitpid.c: Likewise.
25427 * resolv/gai_sigqueue.c: Likewise.
25428 * resource/getpriority.c: Likewise.
25429 * resource/getrlimit.c: Likewise.
25430 * resource/getrusage.c: Likewise.
25431 * resource/nice.c: Likewise.
25432 * resource/setpriority.c: Likewise.
25433 * resource/setrlimit.c: Likewise.
25434 * resource/ulimit.c: Likewise.
25435 * rt/aio_cancel.c: Likewise.
25436 * rt/aio_fsync.c: Likewise.
25437 * rt/aio_read.c: Likewise.
25438 * rt/aio_sigqueue.c: Likewise.
25439 * rt/aio_suspend.c: Likewise.
25440 * rt/aio_write.c: Likewise.
25441 * rt/clock_getres.c: Likewise.
25442 * rt/clock_gettime.c: Likewise.
25443 * rt/clock_nanosleep.c: Likewise.
25444 * rt/clock_settime.c: Likewise.
25445 * rt/lio_listio.c: Likewise.
25446 * rt/mq_close.c: Likewise.
25447 * rt/mq_getattr.c: Likewise.
25448 * rt/mq_notify.c: Likewise.
25449 * rt/mq_open.c: Likewise.
25450 * rt/mq_receive.c: Likewise.
25451 * rt/mq_send.c: Likewise.
25452 * rt/mq_setattr.c: Likewise.
25453 * rt/mq_timedreceive.c: Likewise.
25454 * rt/mq_timedsend.c: Likewise.
25455 * rt/mq_unlink.c: Likewise.
25456 * rt/shm_open.c: Likewise.
25457 * rt/shm_unlink.c: Likewise.
25458 * rt/timer_create.c: Likewise.
25459 * rt/timer_delete.c: Likewise.
25460 * rt/timer_getoverr.c: Likewise.
25461 * rt/timer_gettime.c: Likewise.
25462 * rt/timer_settime.c: Likewise.
25463 * setjmp/__longjmp.c: Likewise.
25464 * setjmp/setjmp.c: Likewise.
25465 * signal/kill.c: Likewise.
25466 * signal/killpg.c: Likewise.
25467 * signal/raise.c: Likewise.
25468 * signal/sigaction.c: Likewise.
25469 * signal/sigaltstack.c: Likewise.
25470 * signal/sigblock.c: Likewise.
25471 * signal/sigignore.c: Likewise.
25472 * signal/sigintr.c: Likewise.
25473 * signal/signal.c: Likewise.
25474 * signal/sigpause.c: Likewise.
25475 * signal/sigpending.c: Likewise.
25476 * signal/sigqueue.c: Likewise.
25477 * signal/sigreturn.c: Likewise.
25478 * signal/sigset.c: Likewise.
25479 * signal/sigsetmask.c: Likewise.
25480 * signal/sigstack.c: Likewise.
25481 * signal/sigsuspend.c: Likewise.
25482 * signal/sigtimedwait.c: Likewise.
25483 * signal/sigvec.c: Likewise.
25484 * signal/sigwait.c: Likewise.
25485 * signal/sigwaitinfo.c: Likewise.
25486 * signal/sysv_signal.c: Likewise.
25487 * socket/accept.c: Likewise.
25488 * socket/accept4.c: Likewise.
25489 * socket/bind.c: Likewise.
25490 * socket/connect.c: Likewise.
25491 * socket/getpeername.c: Likewise.
25492 * socket/getsockname.c: Likewise.
25493 * socket/getsockopt.c: Likewise.
25494 * socket/isfdtype.c: Likewise.
25495 * socket/listen.c: Likewise.
25496 * socket/recv.c: Likewise.
25497 * socket/recvfrom.c: Likewise.
25498 * socket/recvmsg.c: Likewise.
25499 * socket/send.c: Likewise.
25500 * socket/sendmsg.c: Likewise.
25501 * socket/sendto.c: Likewise.
25502 * socket/setsockopt.c: Likewise.
25503 * socket/shutdown.c: Likewise.
25504 * socket/sockatmark.c: Likewise.
25505 * socket/socket.c: Likewise.
25506 * socket/socketpair.c: Likewise.
25507 * stdio-common/ctermid.c: Likewise.
25508 * stdio-common/cuserid.c: Likewise.
25509 * stdio-common/remove.c: Likewise.
25510 * stdio-common/rename.c: Likewise.
25511 * stdio-common/renameat.c: Likewise.
25512 * stdio-common/tempname.c: Likewise.
25513 * stdlib/getcontext.c: Likewise.
25514 * stdlib/makecontext.c: Likewise.
25515 * stdlib/setcontext.c: Likewise.
25516 * stdlib/swapcontext.c: Likewise.
25517 * stdlib/system.c: Likewise.
25518 * streams/fattach.c: Likewise.
25519 * streams/fdetach.c: Likewise.
25520 * streams/getmsg.c: Likewise.
25521 * streams/getpmsg.c: Likewise.
25522 * streams/putmsg.c: Likewise.
25523 * streams/putpmsg.c: Likewise.
25524 * sysdeps/unix/bsd/getpt.c: Likewise.
25525 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25526 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25527 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25530 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25531 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25532 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25533 * sysvipc/msgctl.c: Likewise.
25534 * sysvipc/msgget.c: Likewise.
25535 * sysvipc/msgrcv.c: Likewise.
25536 * sysvipc/msgsnd.c: Likewise.
25537 * sysvipc/semctl.c: Likewise.
25538 * sysvipc/semget.c: Likewise.
25539 * sysvipc/semop.c: Likewise.
25540 * sysvipc/semtimedop.c: Likewise.
25541 * sysvipc/shmat.c: Likewise.
25542 * sysvipc/shmctl.c: Likewise.
25543 * sysvipc/shmdt.c: Likewise.
25544 * sysvipc/shmget.c: Likewise.
25545 * termios/tcdrain.c: Likewise.
25546 * termios/tcflow.c: Likewise.
25547 * termios/tcflush.c: Likewise.
25548 * termios/tcgetattr.c: Likewise.
25549 * termios/tcgetpgrp.c: Likewise.
25550 * termios/tcsendbrk.c: Likewise.
25551 * termios/tcsetattr.c: Likewise.
25552 * termios/tcsetpgrp.c: Likewise.
25553 * time/adjtime.c: Likewise.
25554 * time/clock.c: Likewise.
25555 * time/getitimer.c: Likewise.
25556 * time/gettimeofday.c: Likewise.
25557 * time/setitimer.c: Likewise.
25558 * time/settimeofday.c: Likewise.
25559 * time/stime.c: Likewise.
25560 * time/time.c: Likewise.
25562 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25564 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25567 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25569 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25571 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25575 FE_TONEAREST before applying Dekker multiplication and Knuth
25576 addition. Clear inexact exceptions and check for exact zero
25577 results afterwards.
25578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25580 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25581 * math/libm-test.inc (fma_test): Add more tests.
25582 (fma_test_towardzero): Likewise.
25583 (fma_test_downward): Likewise.
25584 (fma_test_upward): Likewise.
25585 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25587 (libc_fesetround): New macro.
25588 (libc_fesetroundf): Likewise.
25589 (libc_fesetroundl): Likewise.
25590 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25592 (libc_fesetround_387): Likewise.
25593 (libc_fesetroundf): New macro.
25594 (libc_fesetround): Likewise.
25595 (libc_fesetroundl): Likewise.
25596 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25598 (libc_fesetroundf): New macro.
25599 (libc_fesetround): Likewise.
25600 (libc_fesetroundl): Likewise.
25601 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25602 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25603 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25605 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25606 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25608 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25609 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25611 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25615 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25616 integer constant usable in #if and use that to give value to enum
25618 (FE_DIVBYZERO): Likewise.
25619 (FE_UNDERFLOW): Likewise.
25620 (FE_OVERFLOW): Likewise.
25621 (FE_INVALID): Likewise.
25622 (FE_INVALID_SNAN): Likewise.
25623 (FE_INVALID_ISI): Likewise.
25624 (FE_INVALID_IDI): Likewise.
25625 (FE_INVALID_ZDZ): Likewise.
25626 (FE_INVALID_IMZ): Likewise.
25627 (FE_INVALID_COMPARE): Likewise.
25628 (FE_INVALID_SOFTWARE): Likewise.
25629 (FE_INVALID_SQRT): Likewise.
25630 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25631 (FE_TONEAREST): Likewise.
25632 (FE_TOWARDZERO): Likewise.
25633 (FE_UPWARD): Likewise.
25634 (FE_DOWNWARD): Likewise.
25635 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25636 (FE_DIVBYZERO): Likewise.
25637 (FE_OVERFLOW): Likewise.
25638 (FE_UNDERFLOW): Likewise.
25639 (FE_INEXACT): Likewise.
25640 (FE_TONEAREST): Likewise.
25641 (FE_DOWNWARD): Likewise.
25642 (FE_UPWARD): Likewise.
25643 (FE_TOWARDZERO): Likewise.
25644 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25645 (FE_UNDERFLOW): Likewise.
25646 (FE_OVERFLOW): Likewise.
25647 (FE_DIVBYZERO): Likewise.
25648 (FE_INVALID): Likewise.
25649 (FE_TONEAREST): Likewise.
25650 (FE_TOWARDZERO): Likewise.
25651 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25652 (FE_OVERFLOW): Likewise.
25653 (FE_UNDERFLOW): Likewise.
25654 (FE_DIVBYZERO): Likewise.
25655 (FE_INEXACT): Likewise.
25656 (FE_TONEAREST): Likewise.
25657 (FE_TOWARDZERO): Likewise.
25658 (FE_UPWARD): Likewise.
25659 (FE_DOWNWARD): Likewise.
25660 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25661 (FE_DIVBYZERO): Likewise.
25662 (FE_OVERFLOW): Likewise.
25663 (FE_UNDERFLOW): Likewise.
25664 (FE_INEXACT): Likewise.
25665 (FE_TONEAREST): Likewise.
25666 (FE_DOWNWARD): Likewise.
25667 (FE_UPWARD): Likewise.
25668 (FE_TOWARDZERO): Likewise.
25670 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25672 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25674 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25676 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25677 commands. Quote $PWD.
25678 (blacklist_exports): Don't use remove_newlines. Replace "declare
25680 (remove_newlines): Remove.
25682 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25684 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25685 * stdlib/stdlib.h (atof): Moved to ...
25686 * include/bits/stdlib-float.h: Here. New file.
25687 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25688 * stdlib/bits/stdlib-float.h: New file.
25689 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25691 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25694 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25696 * conform/conformtest.pl (@headers): Add fenv.h.
25697 * conform/data/fenv.h-data: New file.
25698 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25699 include of <math/fenv.h>.
25701 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25702 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25703 && !UNIX98]. Enables tests for XOPEN2K8.
25704 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25705 POSIX2008]: Likewise.
25707 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25708 (struct rusage): Do not expect type or its members.
25711 * math/math.h (FP_NAN): Define macro to integer constant usable in
25712 #if and use that to give value to enum constant.
25713 (FP_INFINITE): Likewise.
25714 (FP_ZERO): Likewise.
25715 (FP_SUBNORMAL): Likewise.
25716 (FP_NORMAL): Likewise.
25718 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25720 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25721 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25724 2012-11-02 Roland McGrath <roland@hack.frob.com>
25726 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25727 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25728 autoconf-time if not.
25729 * configure.in: Remove AC_PREREQ.
25731 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25733 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25734 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25735 of the internal implementation.
25737 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25739 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25740 except include of <misc/sys/syslog.h>.
25742 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25745 function returns with a NULL context exit with zero.
25747 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25749 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25751 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25753 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25754 (run_program_cmd): This.
25755 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25756 (tst_langinfo): New variable. Use it.
25758 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25760 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25761 floating point opcodes.
25763 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25765 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25768 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25770 * sysdeps/mach/hurd/powerpc: Remove directory.
25771 * sysdeps/mach/powerpc: Likewise.
25773 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25775 * scripts/check-local-headers.sh: Ignore c++ headers.
25777 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25779 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25780 __libc_cleanup_region_start argument.
25782 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25787 x * y using scaling, not as x * y + z.
25788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25790 * math/libm-test.inc (fma_test): Add more tests.
25791 (fma_test_towardzero): Likewise.
25792 (fma_test_downward): Likewise.
25793 (fma_test_upward): Likewise.
25795 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25797 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25799 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25801 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25804 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25806 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25808 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25815 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25818 Fix the order of the list for glibc 2.17.
25819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25822 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25826 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25830 for low part of x being zero before using __atanl (y).
25831 * math/libm-test.inc (atan2_test): Add another test.
25833 * manual/install.texi (Configuring and compiling): Document
25834 general use of test-wrapper and test-wrapper-env.
25835 * INSTALL: Regenerated.
25837 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25838 (__fma): Do not extract and scale down low bits on after-rounding
25839 systems when result rounded to normal precision would have normal
25841 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25842 (__fmal): Do not extract and scale down low bits on after-rounding
25843 systems when result rounded to normal precision would have normal
25845 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25846 (__fmal): Do not extract and scale down low bits on after-rounding
25847 systems when result rounded to normal precision would have normal
25849 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25851 (fma_test): Add more tests.
25852 (fma_test_towardzero): Likewise.
25853 (fma_test_downward): Likewise.
25854 (fma_test_upward): Likewise.
25856 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25858 * sysdeps/i386/tininess.h: Renamed to ...
25859 * sysdeps/x86/tininess.h: This.
25860 * sysdeps/x86_64/tininess.h: Removed.
25862 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25864 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25865 input. Use $(build-program-cmd).
25866 ($(objpfx)tst-array1-static.out): Likewise.
25867 ($(objpfx)tst-array2.out): Likewise.
25868 ($(objpfx)tst-array3.out): Likewise.
25869 ($(objpfx)tst-array4.out): Likewise.
25870 ($(objpfx)tst-array5.out): Likewise.
25871 ($(objpfx)tst-array5-static.out): Likewise.
25873 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25875 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25878 * nss/nsswitch.h (nss_interface_function): Provide new
25879 macro for use with NSS functions.
25880 * grp/initgroups.c: Use new macro.
25881 * nss/getXXbyYY.c: Likewise.
25882 * nss/getXXbyYY_r.c: Likewise.
25883 * nss/getXXent.c: Likewise.
25884 * nss/getXXent_r.c: Likewise.
25885 * sysdeps/posix/getaddrinfo.c: Likewise.
25887 2012-10-30 Andreas Jaeger <aj@suse.de>
25889 * po/ru.po: Update Russion translation from translation project.
25891 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25896 result and shift together with sticky bit instead of replicating
25897 round-to-nearest rounding.
25898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25900 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25901 missing underflow exceptions.
25902 (fma_test_towardzero): Add more tests.
25903 (fma_test_downward): Likewise.
25904 (fma_test_upward): Likewise.
25907 * sysdeps/generic/tininess.h: New file.
25908 * sysdeps/i386/tininess.h: Likewise.
25909 * sysdeps/sh/tininess.h: Likewise.
25910 * sysdeps/x86_64/tininess.h: Likewise.
25911 * stdlib/tst-strtod-underflow.c: Likewise.
25912 * stdlib/tst-tininess.c: Likewise.
25913 * stdlib/strtod_l.c: Include <tininess.h>.
25914 (round_and_return): Do not set errno for exact underflow cases.
25915 Force an underflow exception when setting errno for underflow.
25916 Determine underflow based on rounding to normal precision if
25917 TININESS_AFTER_ROUNDING.
25918 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25919 ERANGE for exact underflow cases.
25920 * stdlib/Makefile (tests): Add tst-tininess and
25921 tst-strtod-underflow.
25922 ($(objpfx)tst-tininess): Use $(link-libm).
25923 ($(objpfx)tst-strtod-underflow): Likewise.
25925 2012-10-30 Andreas Jaeger <aj@suse.de>
25928 * elf/Makefile (tests): Remove conditional for have-initfini-array
25929 since this is now always required and the variable does not exist
25931 (tests-static): Likewise.
25932 (modules-names): Likewise.
25934 * po/eo.po: Add Esperanto translation from translation project.
25936 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25937 merged with constructor/destructor.
25938 (init_array): Likewise.
25939 * elf/tst-array2dep.c (fini_array): Likewise.
25940 (init_array): Likewise.
25942 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25944 * manual/message.texi: Delete @cartouche tags.
25946 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25948 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25950 * sysdeps/mach/hurd/fsync.c: Likewise.
25952 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25953 [_POSIX_REALTIME_SIGNALS]: Change condition to
25954 [_POSIX_REALTIME_SIGNALS > 0].
25956 2012-10-27 Andreas Jaeger <aj@suse.de>
25958 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25959 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25961 [__WORDSIZE != 64]: Likewise.
25963 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25965 * iconvdata/tst-table.sh: Remove ${SHELL}.
25966 * iconvdata/tst-tables.sh: Likewise.
25968 2012-10-25 David S. Miller <davem@davemloft.net>
25970 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25971 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25976 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25977 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25978 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25981 2012-10-25 Roland McGrath <roland@hack.frob.com>
25983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25984 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25987 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25988 Jim Blandy <jimb@codesourcery.com>
25990 * scripts/cross-test-ssh.sh: New file.
25991 * manual/install.texi (Configuring and compiling): Document use of
25993 * INSTALL: Regenerated.
25995 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25997 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26000 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26002 * Makeconfig (run-program-prefix): Fix comment.
26004 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26005 Jim Blandy <jimb@codesourcery.com>
26007 * Makeconfig (test-wrapper): New variable,
26008 (test-wrapper-env): Likewise.
26009 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26010 (run-built-tests): Define to yes.
26011 (run-program-prefix): Use $(test-wrapper).
26012 (built-program-cmd): Likewise.
26013 * Rules (make-test-out): Use $(test-wrapper-env) and
26014 $(host-built-program-cmd).
26015 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26016 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26018 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26019 $(test-wrapper-env) to tst-rtld-load-self.sh.
26020 ($(objpfx)order2.out): Use $(test-wrapper).
26021 ($(objpfx)tst-initorder.out): Likewise.
26022 ($(objpfx)tst-initorder2.out): Likewise.
26023 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26024 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26025 (test_wrapper_env): New variable. Use it to run ld.so.
26026 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26027 Use it to run ld.so.
26028 (test_wrapper_env): Likewise.
26029 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26030 $(test-wrapper) to run-iconv-test.sh.
26031 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26032 (ICONV): Use $test_wrapper.
26033 * posix/Makefile ($(objpfx)globtest.out): Pass
26034 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26035 globtest.sh, not $(run-program-prefix).
26036 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26037 (test_wrapper): Likewise.
26038 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26039 set together with run_via_rtld_prefix.
26040 (run_program_prefix): Define in terms of test_wrapper and
26041 run_via_rtld_prefix.
26043 2012-10-24 Roland McGrath <roland@hack.frob.com>
26045 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26046 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26050 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26051 Declare __clock_getres, __clock_gettime, __clock_settime,
26052 __clock_nanosleep, and __clock_getcpuclockid.
26053 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26054 Remove librt_hidden_def (clock_gettime).
26055 * sysdeps/unix/clock_gettime.c: Likewise.
26056 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26057 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26058 * rt/clock_getres.c: Define __clock_getres as an alias.
26059 * sysdeps/posix/clock_getres.c: Likewise.
26060 * rt/clock_settime.c: Define __clock_settime as an alias.
26061 * sysdeps/unix/clock_settime.c: Likewise.
26062 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26063 * sysdeps/unix/clock_nanosleep.c: Likewise.
26064 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26065 * rt/clock-compat.c: New file.
26066 * rt/Makefile (librt-routines): Add clock-compat and move
26067 $(clock-routines) to ...
26068 (routines): ... here, new variable.
26069 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26070 Don't add get_clockfreq here.
26071 * rt/Versions (libc: GLIBC_2.17): New version set.
26072 Add clock_* symbols here.
26073 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26075 (GLIBC_2.17): Add clock_* symbols.
26076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26087 * NEWS: Mention the move.
26089 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26090 Use __open, __read, __close rather than their public counterparts.
26091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26092 (__get_clockfreq_via_cpuinfo): Likewise.
26093 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26094 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26096 * config.h.in (HAVE_IFUNC): New #undef.
26097 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26099 * configure: Regenerated.
26101 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26103 * configure.in: Move READELF check to start of file.
26104 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26105 libc_cv_asm_gnu_indirect_function in the process.
26106 * configure: Regenerated.
26108 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26110 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26111 send the output to /dev/null.
26112 (libc_cv_cc_with_libunwind): Likewise.
26113 (libc_cv_as_noexecstack): Likewise.
26114 * configure: Regenerate.
26116 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26118 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26120 * posix/globtest.sh (TMPDIR): Do not set.
26121 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26122 (testout): Likewise.
26124 2012-10-24 Andreas Jaeger <aj@suse.de>
26126 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26127 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26128 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26129 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26130 posix_fadvise64, posix_fallocate64.
26132 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26133 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26134 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26136 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26138 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26141 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26142 <bits/fcntl-linux.h>.
26143 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26146 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26147 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26148 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26149 [__WORDSIZE != 64]: Likewise.
26151 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26153 * Makeconfig (run-built-tests): New variable.
26154 * Rules [$(cross-compiling) = yes]: Change condition to
26155 [$(run-built-tests) = no].
26156 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26157 to [$(run-built-tests) = yes].
26158 * elf/Makefile [$(cross-compiling) = no]: Likewise
26159 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26160 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26161 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26162 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26163 * io/Makefile [$(cross-compiling) = no]: Likewise.
26164 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26165 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26166 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26167 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26168 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26169 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26170 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26171 * string/Makefile [$(cross-compiling) = no]: Likewise.
26173 * posix/Makefile ($(objpfx)globtest.out): Pass
26174 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26175 $(rtld-installed-name).
26176 * posix/globtest.sh (elf_objpfx): Remove variable.
26177 (rtld_installed_name): Likewise.
26178 (library_path): Likewise.
26179 (run_program_prefix): New variable. Use for running globtest
26182 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26183 Joseph Myers <joseph@codesourcery.com>
26185 * Makeconfig (host-built-program-cmd): New variable.
26186 * elf/Makefile (tst-stackguard1-ARGS): Use
26187 $(host-built-program-cmd).
26188 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26189 (tst-spawn-ARGS): Likewise.
26190 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26192 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26193 Jim Blandy <jimb@codesourcery.com>
26195 * Makeconfig (run-via-rtld-prefix): New variable.
26196 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26197 (built-program-cmd): Likewise.
26199 2012-10-22 Andreas Jaeger <aj@suse.de>
26201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26202 __O_RSYNC if it exists, otherwise to O_SYNC.
26204 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26205 Joseph Myers <joseph@codesourcery.com>
26207 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26209 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26211 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26214 2012-10-22 Andreas Jaeger <aj@suse.de>
26216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26221 bits/fcntl-linux.h.
26223 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26224 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26231 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26232 Joseph Myers <joseph@codesourcery.com>
26234 * config.make.in (NM): New variable.
26236 2012-10-21 Andreas Jaeger <aj@suse.de>
26238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26239 definitions and declarations that are provided by
26240 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26242 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26245 * elf/Makefile (tests-static): Add tst-leaks1-static.
26246 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26247 ($(objpfx)tst-leaks1-static): New rule.
26248 ($(objpfx)tst-leaks1-static-mem): Likewise.
26249 (tst-leaks1-static-ENV): New macro.
26250 * elf/dl-open.c (dl_open_worker): Check the main application
26251 only if SHARED is defined.
26252 * elf/tst-leaks1-static.c: New file.
26254 2012-10-20 Andreas Jaeger <aj@suse.de>
26256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26257 generic values for Linux.
26258 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26259 and declarations that are provided by <bits/fcntl-linux.h> and
26260 include <bits/fcntl-linux.h>.
26261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26264 2012-10-20 Roland McGrath <roland@hack.frob.com>
26266 * io/fcntl.h: Move include of <bits/types.h> to the top and
26267 include it unconditionally.
26269 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26271 * wcsmbs/Makefile (tests-ifunc): New variable.
26272 (tests): Add $(tests-ifunc).
26273 * wcsmbs/test-wcschr-ifunc.c: New file.
26274 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26275 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26276 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26277 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26278 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26280 * string/Makefile (tests-ifunc): New variable.
26281 (tests): Add $(tests-ifunc).
26282 * string/test-memccpy.c (TEST_NAME): New macro.
26283 * string/test-memchr.c (TEST_NAME): Likewise.
26284 * string/test-memcmp.c (TEST_NAME): Likewise.
26285 * string/test-memcpy.c (TEST_NAME): Likewise.
26286 * string/test-memmem.c (TEST_NAME): Likewise.
26287 * string/test-memmove.c (TEST_NAME): Likewise.
26288 * string/test-memset.c (TEST_NAME): Likewise.
26289 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26290 * string/test-stpcpy.c (TEST_NAME): Likewise.
26291 * string/test-stpncpy.c (TEST_NAME): Likewise.
26292 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26293 * string/test-strcasestr.c (TEST_NAME): Likewise.
26294 * string/test-strcat.c (TEST_NAME): Likewise.
26295 * string/test-strchr.c (TEST_NAME): Likewise.
26296 * string/test-strcmp.c(TEST_NAME): Likewise.
26297 * string/test-strcpy.c (TEST_NAME): Likewise.
26298 * string/test-strcspn.c (TEST_NAME): Likewise.
26299 * string/test-strlen.c (TEST_NAME): Likewise.
26300 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26301 * string/test-strncmp.c (TEST_NAME): Likewise.
26302 * string/test-strncpy.c (TEST_NAME): Likewise.
26303 * string/test-strnlen.c (TEST_NAME): Likewise.
26304 * string/test-strpbrk.c (TEST_NAME): Likewise.
26305 * string/test-strrchr.c (TEST_NAME): Likewise.
26306 * string/test-strspn.c (TEST_NAME): Likewise.
26307 * string/test-strstr.c (TEST_NAME): Likewise.
26308 * string/test-bcopy-ifunc.c: New file.
26309 * string/test-bzero-ifunc.c: Likewise.
26310 * string/test-memccpy-ifunc.c: Likewise.
26311 * string/test-memchr-ifunc.c: Likewise.
26312 * string/test-memcmp-ifunc.c: Likewise.
26313 * string/test-memcpy-ifunc.c: Likewise.
26314 * string/test-memmem-ifunc.c: Likewise.
26315 * string/test-memmove-ifunc.c: Likewise.
26316 * string/test-mempcpy-ifunc.c: Likewise.
26317 * string/test-memset-ifunc.c: Likewise.
26318 * string/test-rawmemchr-ifunc.c: Likewise.
26319 * string/test-stpcpy-ifunc.c: Likewise.
26320 * string/test-stpncpy-ifunc.c: Likewise.
26321 * string/test-strcasecmp-ifunc.c: Likewise.
26322 * string/test-strcasestr-ifunc.c: Likewise.
26323 * string/test-strcat-ifunc.c: Likewise.
26324 * string/test-strchr-ifunc.c: Likewise.
26325 * string/test-strchrnul-ifunc.c: Likewise.
26326 * string/test-strcmp-ifunc.c: Likewise.
26327 * string/test-strcpy-ifunc.c: Likewise.
26328 * string/test-strcspn-ifunc.c: Likewise.
26329 * string/test-strlen-ifunc.c: Likewise.
26330 * string/test-strncasecmp-ifunc.c: Likewise.
26331 * string/test-strncat-ifunc.c: Likewise.
26332 * string/test-strncmp-ifunc.c: Likewise.
26333 * string/test-strncpy-ifunc.c: Likewise.
26334 * string/test-strnlen-ifunc.c: Likewise.
26335 * string/test-strpbrk-ifunc.c: Likewise.
26336 * string/test-strrchr-ifunc.c: Likewise.
26337 * string/test-strspn-ifunc.c: Likewise.
26338 * string/test-strstr-ifunc.c: Likewise.
26340 * debug/Makefile (tests-ifunc): New variable.
26341 (tests): Add $(tests-ifunc).
26342 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26343 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26344 * debug/test-stpcpy_chk-ifunc.c: New file.
26345 * debug/test-strcpy_chk-ifunc.c: Likewise.
26347 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26350 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26351 header is not read in.
26353 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26355 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26356 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26357 directly. Pass built executable to script as
26358 $(built-program-cmd).
26359 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26360 $testprogram without using LD_LIBRARY_PATH and $ldso.
26362 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26363 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26364 $(rtld-installed-name).
26365 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26366 (rtld_installed_name): Likewise.
26367 (library_path): Likewise.
26368 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26369 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26370 $(run-program-prefix) to tst-tables.sh.
26371 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26372 it to run tst-table-from and tst-table-to.
26373 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26374 Pass it to tst-table.sh.
26375 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26376 $(run-program-prefix) to tst-gettext.sh.
26377 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26379 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26381 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26382 to run tst-gettext.
26383 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26384 to run tst-gettext2.
26385 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26386 to run tst-translit.
26387 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26388 $(run-program-prefix) to tst-mtrace.sh.
26389 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26391 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26392 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26393 $(rtld-installed-name).
26394 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26395 (rtld_installed_name): Likewise.
26396 (run_program_prefix): New variable. Use it to run wordexp-test.
26398 * Makeconfig (ARCH): Remove all definitions.
26399 (machine): Likewise.
26400 [ARCH]: Remove conditional code.
26401 [!objdir]: Give error.
26402 [!objdir] (objpfx): Remove.
26403 [!objdir] (common-objpfx): Likewise.
26404 [!objdir] (common-objdir): Likewise.
26405 * configure.in (config_makefile): Remove. Hardcode Makefile in
26406 AC_CONFIG_FILES call.
26407 * configure: Regenerated.
26410 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26412 (testout): Likewise.
26414 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26415 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26416 $(rtld-installed-name).
26417 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26418 (rtld_installed_name): Likwise.
26419 (runit): Remove function.
26420 (run_getconf): New variable, Use it for running getconf binary.
26422 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26425 * string/test-memmem.c (check_result): New function.
26426 (do_one_test): Use it.
26427 (check1): New function.
26428 (test_main): Use it.
26430 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26432 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26434 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26436 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26437 (_G_LSEEK64): Likewise.
26438 (_G_MMAP64): Likewise.
26439 (_G_FSTAT64): Likewise.
26440 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26441 (_G_LSEEK64): Likewise.
26442 (_G_MMAP64): Likewise.
26443 (_G_FSTAT64): Likewise.
26444 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26445 unconditional. Call __mmap64 directly.
26446 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26447 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26448 __lseek64 directly.
26449 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26450 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26452 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26453 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26454 __lseek64 directly.
26455 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26456 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26457 __lseek64 directly.
26458 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26459 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26460 __lseek64 directly.
26461 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26462 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26463 __fxstat64 directly.
26464 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26465 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26467 (freopen64) [!_G_OPEN64]: Remove conditional code.
26468 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26470 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26471 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26473 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26474 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26476 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26477 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26479 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26480 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26482 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26483 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26485 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26486 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26488 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26490 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26493 * manual/memory.texi (Malloc Tunable Parameters): Add note
26494 about free list pointers overwriting some perturb bytes.
26495 Wording suggested by Roland McGrath.
26497 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26499 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26500 (lgamma_test): Likewise.
26501 (tgamma_test): Likewise.
26503 2012-10-16 Florian Weimer <fweimer@redhat.com>
26506 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26507 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26509 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26511 * NEWS: Mention BZ #14716.
26512 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26513 when removing AVAILABLE1_USES_J macro.
26515 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26517 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26518 (__bswap_64): __uint64_t for unsigned 64-bit int.
26520 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26522 * include/string.h (memmem): Declare libc hidden alias.
26523 * string/memmem.c (memmem): Define libc hidden alias.
26524 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26525 __read, __close instead of open, read, close.
26527 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26529 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26530 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26532 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26533 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26534 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26536 (__rawmemchr_sse2): Likewise.
26537 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26538 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26539 (__strchr_sse2): Likewise.
26540 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26541 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26542 (__strcasecmp_sse2): Likewise.
26543 (__strncasecmp_sse2): Likewise.
26544 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26545 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26546 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26547 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26548 (__strrchr_sse2): Likewise.
26549 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26551 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26552 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26553 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26554 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26555 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26556 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26557 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26558 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26559 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26560 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26561 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26562 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26563 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26564 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26565 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26566 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26567 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26568 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26569 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26570 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26571 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26572 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26573 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26574 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26575 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26576 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26577 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26578 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26579 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26580 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26582 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26584 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26585 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26586 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26587 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26589 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26591 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26592 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26593 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26594 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26596 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26597 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26598 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26599 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26600 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26601 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26602 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26603 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26604 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26605 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26606 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26607 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26608 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26609 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26612 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26613 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26614 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26624 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26630 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26638 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26639 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26640 * include/ifunc-impl-list.h: New file.
26641 * misc/ifunc-impl-list.c: Likewise.
26642 * misc/Makefile (routines): Add ifunc-impl-list.
26643 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26644 * string/test-string.h: Include <ifunc-impl-list.h>.
26645 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26646 TEST_NAME]: New variables.
26647 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26649 (test_init): Call __libc_ifunc_impl_list to initialize
26650 func_list if TEST_IFUNC and TEST_NAME are defined.
26652 * string/Makefile (strop-tests): Add bcopy and bzero.
26653 * string/test-bcopy.c: New file.
26654 * string/test-bzero.c: Likewise.
26655 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26657 * string/test-memset.c: Support bzero test if TEST_BZERO is
26659 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26661 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26663 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26666 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26668 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26669 * configure: Regenerated.
26671 * Makeconfig (+link-static-before-libc): Don't include
26672 $(link-static-libc).
26674 * libio/libio.h (_IO_pos_t): Remove.
26676 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26678 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26681 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26683 * crypt/crypt-entry.c: Include fips-private.h.
26684 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26685 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26686 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26687 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26689 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26691 * crypt/crypt-private.h: Include stdbool.h.
26692 (_ufc_setup_salt_r): Return bool.
26693 * crypt/crypt-entry.c: Include errno.h.
26694 (__crypt_r): Return NULL with EINVAL for bad salt.
26695 * crypt/crypt_util.c (bad_for_salt): New.
26696 (_ufc_setup_salt_r): Check that salt is long enough and within
26697 the specified alphabet.
26698 * crypt/badsalttest.c: New file.
26699 * crypt/Makefile (tests): Add it.
26700 ($(objpfx)badsalttest): New.
26702 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26704 * NEWS: Add entry for BZ #14602.
26706 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26708 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26710 * math/libm-test.inc: Update comment listing what functions and
26712 (isgreater_test): New function.
26713 (isgreaterequal_test): Likewise.
26714 (isless_test): Likewise.
26715 (islessequal_test): Likewise.
26716 (islessgreater_test): Likewise.
26717 (isunordered_test): Likewise.
26718 (main): Call the new functions.
26720 2012-10-09 Roland McGrath <roland@hack.frob.com>
26722 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26723 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26724 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26725 * sysdeps/i386/configure: Regenerated.
26726 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26727 * sysdeps/mach/configure: Regenerated.
26728 * sysdeps/mach/hurd/configure: Regenerated.
26729 * sysdeps/powerpc/configure: Regenerated.
26730 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26731 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26732 * sysdeps/s390/s390-32/configure: Regenerated.
26733 * sysdeps/s390/s390-64/configure: Regenerated.
26734 * sysdeps/sh/configure: Regenerated.
26735 * sysdeps/sparc/configure: Regenerated.
26736 * sysdeps/unix/sysv/linux/configure: Regenerated.
26737 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26738 * sysdeps/x86_64/configure: Regenerated.
26740 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26741 defined. Don't check if MAP is NULL.
26743 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26745 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26746 (_G_stat64): Likewise.
26747 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26748 (_G_stat64): Likewise.
26749 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26750 instead of struct _G_stat64.
26751 * libio/fileops.c (mmap_remap_check): Likewise.
26752 (decide_maybe_mmap): Likewise.
26753 (_IO_new_file_seekoff): Likewise.
26754 (_IO_file_stat): Likewise.
26755 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26757 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26758 instead of struct _G_stat64.
26759 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26761 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26764 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26766 (CHECK_EOL): New macro.
26767 (two_way_short_needle): Check beginning of haystack for EOL. Use
26769 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26770 Replace with CHECK_EOL.
26771 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26772 Replace with CHECK_EOL.
26774 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26776 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26778 * math/libm-test.inc: Update comment listing what functions and
26780 (finite_test): New function.
26781 (isinf_test): Likewise.
26782 (isnan_test): Likewise.
26783 (fpclassify_test): Test subnormal input.
26784 (isfinite_test): Likewise.
26785 (isnormal_test): Likewise.
26786 (main): Call the new functions.
26788 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26791 * Makerules (%.dynsym): Force C locale when running
26792 $(OBJDUMP) --dynamic-syms.
26794 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26796 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26799 2012-10-06 David S. Miller <davem@davemloft.net>
26801 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26802 upper 32-bits of the length value in %o2 since we use branch-on-register
26803 tests which consider the entire 64-bit register.
26805 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26807 * string/test-strstr.c (check2): Add a test for page boundary.
26809 2012-10-05 David S. Miller <davem@davemloft.net>
26811 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26812 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26814 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26816 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26817 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26818 and bzero when HWCAP_SPARC_CRYPTO is present.
26820 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26823 * string/test-strstr.c (check2): New function.
26824 (test_main): Call check2.
26826 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26828 * string/bug-strcasestr1.c (do_test): Moved to ...
26829 * string/test-strcasestr.c (check1): Here. New function.
26830 (do_one_test): Break out result checking code into ...
26831 (check_result): This. New function.
26832 (do_one_test): Call check_result.
26833 (test_main): Call check1.
26834 * string/bug-strchr1.c (do_test): Moved to ...
26835 * string/test-strchr.c (check1): Here. New function.
26836 (do_one_test): Break out result checking code into ...
26837 (check_result): This. New function.
26838 (do_one_test): Call check_result.
26839 (test_main): Call check1.
26840 * string/bug-strstr1.c (main): Moved to ...
26841 * string/test-strstr.c (check1): Here. New function.
26842 (do_one_test): Break out result checking code into ...
26843 (check_result): This. New function.
26844 (do_one_test): Call check_result.
26845 (test_main): Call check1.
26846 * string/bug-strcasestr1.c: Removed.
26847 * string/bug-strchr1.c: Likewise.
26848 * string/bug-strstr1.c: Likewise.
26850 * elf/Makefile (dl-routines): Add hwcaps.
26851 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26852 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26853 (_dl_important_hwcaps): Moved to ...
26854 * elf/dl-hwcaps.c: Here. New file.
26855 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26858 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26859 if IS_IN_rtld isn't defined.
26861 * elf/dl-support.c (_dl_sysinfo_map): New.
26862 Include "get-dynamic-info.h" and "setup-vdso.h".
26863 (_dl_non_dynamic_init): Call setup_vdso.
26864 * elf/dynamic-link.h: Don't include <assert.h>.
26865 (elf_get_dynamic_info): Moved to ...
26866 * elf/get-dynamic-info.h: Here. New file.
26867 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26868 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26869 * elf/setup-vdso.h: Here. New file.
26870 * elf/rtld.c: Include "setup-vdso.h".
26871 (dl_main): Call setup_vdso.
26873 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26875 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26876 creal in comment listing functions tested. List finite, isinf,
26877 isnan, isless, islessequal, isgreater, isgreaterequal,
26878 islessgreater, isunordered, lgamma_r and pow10 as functions and
26879 macros not tested. Mention which functions not tested are aliases
26880 for other functions. Fix typo. Note that signs of NaNs are not
26883 * scripts/config.guess: Update from config.git.
26884 * scripts/config.sub: Likewise.
26886 2012-10-04 Roland McGrath <roland@hack.frob.com>
26888 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26889 * misc/madvise.c (madvise): Renamed to __madvise.
26890 Make madvise a weak alias.
26891 * include/sys/mman.h: Declare __madvise.
26892 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26893 * sysdeps/unix/syscalls.list
26894 (madvise): Make __madvise the strong name, and madvise a weak alias.
26895 * sysdeps/unix/sysv/linux/syscalls.list
26896 (madvise, mmap): Remove redundant entries.
26897 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26898 * malloc/malloc.c (mtrim): Likewise.
26899 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26901 2012-10-03 Roland McGrath <roland@hack.frob.com>
26903 * sysdeps/mach/hurd/dl-cache.c: File removed.
26904 * config.h.in (USE_LDCONFIG): New #undef.
26905 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26906 * configure: Regenerated.
26907 * elf/Makefile (dl-routines): Add dl-cache only under
26908 [$(use-ldconfig) = yes].
26909 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26910 cache on [USE_LDCONFIG].
26911 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26913 * elf/rtld.c (dl_main): Likewise.
26915 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26917 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26918 _SC_LEVEL4_CACHE_LINESIZE.
26920 2012-10-03 Roland McGrath <roland@hack.frob.com>
26922 * sysdeps/unix/bsd/confstr.h: File removed.
26924 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26926 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26929 2012-10-02 Roland McGrath <roland@hack.frob.com>
26931 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26932 Make 'mapoff' field ElfW(Off) rather than off_t.
26934 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26936 * nscd/Makefile: Remove nscd-cflags and all its users.
26937 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26938 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26941 * malloc.c (malloc_printerr): Clarify error message.
26943 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26947 Set bit_FMA_Usable if FMA is supported.
26948 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26950 (bit_FMA4_Usable): Updated.
26951 (index_FMA_Usable): New macro.
26952 (CPUID_FMA): Likewise
26953 (HAS_FMA): Defined with bit_FMA_Usable.
26955 2012-10-01 Roland McGrath <roland@hack.frob.com>
26957 * bits/types.h (__swblk_t): Type removed.
26958 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26959 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26960 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26961 (__SWBLK_T_TYPE): Likewise.
26962 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26963 (__SWBLK_T_TYPE): Likewise.
26964 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26965 (__SWBLK_T_TYPE): Likewise.
26966 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26967 (__SWBLK_T_TYPE): Likewise.
26969 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26970 Honza Horak <hhorak@redhat.com>
26972 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26973 (xdr_mapname): Use YPMAXMAP as maxsize.
26974 (xdr_peername): Use YPMAXPEER as maxsize.
26975 (xdr_keydat): Use YPAXRECORD as maxsize.
26976 (xdr_valdat): Use YPMAXRECORD as maxsize.
26978 2012-10-01 Roland McGrath <roland@hack.frob.com>
26980 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26982 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26983 * csu/init-first.c: ... here.
26984 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26985 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26986 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26987 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26988 * sysdeps/i386/init-first.c: File removed.
26989 * sysdeps/sh/init-first.c: File removed.
26991 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26995 if x * y might underflow to zero and z is zero.
26996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26998 * math/libm-test.inc (min_subnorm_value): New variable.
26999 (fma_test): Add more tests.
27000 (fma_test_towardzero): Likewise.
27001 (fma_test_downward): Likewise
27002 (fma_test_upward): Likewise.
27003 (initialize): Set min_subnorm_value.
27005 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27008 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27010 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27011 mode for addition resulting in exact zero.
27012 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27013 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27015 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27016 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27017 * math/libm-test.inc (fma_test): Add more tests.
27018 (fma_test_towardzero): New function.
27019 (fma_test_downward): Likewise.
27020 (fma_test_upward): Likewise.
27021 (main): Call the new functions.
27023 2012-09-28 David S. Miller <davem@davemloft.net>
27025 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27027 2012-09-28 Roland McGrath <roland@hack.frob.com>
27029 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27030 instead of SIGALRM.
27032 * sysdeps/gnu/_G_config.h: Moved to ...
27033 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27034 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27035 * sysdeps/generic/_G_config.h: ... here.
27037 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27039 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27041 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27042 Conditionalize target on [libnss_test1.so-version].
27044 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27046 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27047 (elfobjdir): Move out of conditionals.
27049 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27050 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27051 (__nss_lookup_function): Conditionalize label remove_from_tree on
27052 [!DO_STATIC_NSS || SHARED], matching its only use.
27054 2012-09-28 David S. Miller <davem@davemloft.net>
27056 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27057 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27059 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27061 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27063 when HWCAP_SPARC_CRYPTO is present.
27065 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27067 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27069 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27072 * stdio-common/vfprintf.c (process_string_arg): Revert
27075 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27077 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27079 * stdio-common/tst-sprintf.c: Include <locale.h>
27080 (main): Test sprintf's handling of incomplete multibyte
27083 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27085 * elf/dl-runtime.c (VERSYMIDX): Removed.
27086 * elf/dl-version.c (VERSYMIDX): Likewise.
27087 * elf/do-rel.h (VERSYMIDX): Likewise.
27088 (VALIDX): Likewise.
27089 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27090 * elf/rtld.c (VALIDX): Likewise.
27091 (ADDRIDX): Likewise.
27092 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27093 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27094 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27095 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27096 (VALIDX): Likewise.
27097 (ADDRIDX): Likewise.
27099 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27101 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27103 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27106 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27108 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27109 addresses are in the same scope as 192.0.2/24.
27110 * posix/gai.conf: Document new scope table defaults.
27112 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27115 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27116 for ftell. Compute offsets from write pointers instead.
27117 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27119 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27122 * libio/Makefile (tests): New test case tst-fseek.
27123 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27124 combination works in wide mode.
27125 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27126 state when the external buffer state changes.
27128 2012-09-27 David S. Miller <davem@davemloft.net>
27131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27132 pass reloc->r_addend in as the 'high' argument to
27133 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27137 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27139 * rt/tst-aio2.c: Include <pthread.h>.
27140 * rt/tst-aio3.c: Likewise.
27142 2012-09-27 Steve Ellcey <sellcey@mips.com>
27144 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27146 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27148 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27149 contents on [SHARED].
27151 2012-09-26 Marek Polacek <polacek@redhat.com>
27155 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27156 for C++ and GCC <4.3 as well as for non GCC compilers.
27158 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27162 2012-09-25 Roland McGrath <roland@hack.frob.com>
27164 * Makefile.in (all, install): Declare with .PHONY.
27165 Reported by Michael Hope <michael.hope@linaro.org>.
27167 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27169 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27170 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27172 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27174 (sydep_routines): Add the new and the internal functions.
27175 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27176 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27178 (GLIBC_2.17): Add the new function.
27179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27180 (GLIBC_2.17): Likewise.
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27182 (GLIBC_2.17): Likewise.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27184 (GLIBC_2.17): Likewise.
27185 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27187 2012-09-25 Alan Modra <amodra@gmail.com>
27189 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27190 Add release barrier before setting once_control to say
27191 initialisation is done. Add hints on lwarx. Use macro in
27193 (clear_once_control): Add release barrier.
27195 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27198 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27200 * math/s_clog10.c (__clog10): Likewise.
27201 * math/s_clog10f.c (__clog10f): Likewise.
27202 * math/s_clog10l.c (__clog10l): Likewise.
27203 * math/s_clogf.c (__clogf): Likewise.
27204 * math/s_clogl.c (__clogl): Likewise.
27205 * math/Makefile (libm-calls): Add x2y2m1.
27206 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27207 (__x2y2m1): Likewise.
27208 (__x2y2m1l): Likewise.
27209 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27210 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27213 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27214 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27215 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27216 * sysdeps/i386/fpu/libm-test-ulps: Update.
27217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27220 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27221 int as type of variable DEPTH.
27222 (glob): Use size_t instead of int as type of variables NEWCOUNT
27225 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27227 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27228 Add s_sincosf-sse2.
27229 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27230 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27231 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27232 macros for using routine as __sincosf_ia32.
27233 Use macro for function declaration and weak_alias.
27234 * sysdeps/i386/fpu/libm-test-ulps: Update.
27236 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27239 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27240 subnormal argument.
27241 * math/s_cexpf.c (__cexpf): Likewise.
27242 * math/s_csinf.c (__csinf): Likewise.
27243 * math/s_csinhf.c (__csinhf): Likewise.
27244 * math/s_ctanf.c (__ctanf): Likewise.
27245 * math/s_ctanhf.c (__ctanhf): Likewise.
27246 * math/s_ccosh.c (__ccoshf): Likewise.
27247 * math/s_cexp.c (__cexpl): Likewise.
27248 * math/s_csin.c (__csin): Likewise.
27249 * math/s_csinh.c (__csinh): Likewise.
27250 * math/s_ctan.c (__ctan): Likewise.
27251 * math/s_ctanh.c (ctanh): Likewise.
27252 * math/s_ccoshl.c (__ccoshl): Likewise.
27253 * math/s_cexpl.c (__cexpl): Likewise.
27254 * math/s_csinl.c (__csinl): Likewise.
27255 * math/s_csinhl.c (__csinhl): Likewise.
27256 * math/s_ctanl.c (__ctanl): Likewise.
27257 * math/s_ctanhl.c (__ctanhl): Likewise.
27259 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27261 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27262 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27263 (_IO_off_t): Define to __off_t, not _G_off_t.
27264 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27265 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27266 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27267 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27268 type of __dummy and __dummy2 fields.
27269 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27270 (_G_ssize_t): Likewise.
27271 (_G_off_t): Likewise.
27272 (_G_pid_t): Likewise.
27273 (_G_uid_t): Likewise.
27274 (_G_wchar_t): Likewise.
27275 (_G_wint_t): Likewise.
27276 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27277 (_G_ssize_t): Likewise.
27278 (_G_off_t): Likewise.
27279 (_G_pid_t): Likewise.
27280 (_G_uid_t): Likewise.
27281 (_G_wchar_t): Likewise.
27282 (_G_wint_t): Likewise.
27283 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27284 (_G_ssize_t): Likewise.
27285 (_G_off_t): Likewise.
27286 (_G_pid_t): Likewise.
27287 (_G_uid_t): Likewise.
27288 (_G_wchar_t): Likewise.
27289 (_G_wint_t): Likewise.
27291 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27293 * malloc/arena.c: Include malloc-sysdep.h.
27294 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27295 is sufficient to shrink the heap or an unmap is needed.
27296 * sysdeps/generic/malloc-sysdep.h: New file. Define
27297 new function check_may_shrink_heap.
27298 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27299 new function check_may_shrink_heap.
27301 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27303 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27306 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27308 * catgets/test-gencat.sh: Add "set -e".
27309 * elf/tst-pathopt.sh: Likewise.
27310 * grp/tst_fgetgrent.sh: Likewise.
27311 * iconvdata/run-iconv-test.sh: Likewise.
27312 * intl/tst-gettext.sh: Likewise.
27313 * intl/tst-gettext2.sh: Likewise.
27314 * intl/tst-gettext4.sh: Likewise.
27315 * intl/tst-gettext6.sh: Likewise.
27316 * intl/tst-translit.sh: Likewise.
27317 * io/ftwtest-sh: Likewise.
27318 * libio/test-freopen.sh: Likewise.
27319 * malloc/tst-mtrace.sh: Likewise.
27320 * posix/globtest.sh: Likewise.
27321 * posix/tst-getconf.sh: Likewise.
27322 * posix/wordexp-tst.sh: Likewise.
27323 * stdio-common/tst-printf.sh: Likewise.
27324 * stdio-common/tst-unbputc.sh: Likewise.
27325 * stdlib/tst-fmtmsg.sh: Likewise.
27326 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27327 * catgets/Makefile: Do not specify -e option when running
27328 testsuite shell scripts.
27329 * elf/Makefile: Likewise.
27330 * grp/Makefile: Likewise.
27331 * iconvdata/Makefile: Likewise.
27332 * intl/Makefile: Likewise.
27333 * io/Makefile: Likewise.
27334 * libio/Makefile: Likewise.
27335 * malloc/Makefile: Likewise.
27336 * posix/Makefile: Likewise.
27337 * stdio-common/Makefile: Likewise.
27338 * stdlib/Makefile: Likewise.
27339 * sysdeps/x86_64/Makefile: Likewise.
27341 * io/ftwtest-sh: Add copyright header.
27342 * posix/globtest.sh: Likewise.
27343 * posix/tst-getconf.sh: Likewise.
27344 * posix/wordexp-tst.sh: Likewise.
27345 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27347 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27350 * Makeconfig (+link): Defined as $(+link-static) if
27351 $(build-shared) isn't yes.
27352 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27354 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27356 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27359 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27360 new chunk size with MALLOC_ALIGN_MASK.
27362 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27365 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27367 (__printf_fphex): Determine rounding using get_rounding_mode and
27369 * stdio-common/tst-printf-round.c (struct hex_test): New
27371 (hex_tests): New variable.
27372 (test_hex_in_one_mode): New function.
27373 (do_test): Also run tests for hex float output.
27375 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27377 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27378 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27379 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27380 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27381 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27382 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27383 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27384 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27386 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27388 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27389 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27390 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27391 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27393 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27396 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27398 * elf/tst-rtld-load-self.sh: New test.
27399 * elf/Makefile: Run it.
27401 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27403 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27404 (tst-writev-ENV): Remove.
27405 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27407 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27409 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27411 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27413 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27415 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27417 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27418 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27419 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27422 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27425 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27426 * config.make.in (have-cpp-asm-debuginfo): Removed.
27427 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27428 * configure: Regenerated.
27430 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27433 * stdio-common/printf_fp.c: Include <stdbool.h> and
27435 (___printf_fp): Determine rounding using get_rounding_mode and
27437 * stdio-common/tst-printf-round.c: New file.
27438 * stdio-common/Makefile (tests): Add tst-printf-round.
27439 (link-libm): New variable.
27440 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27442 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27445 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27446 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27448 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27451 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27453 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27454 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27455 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27456 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27458 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27461 * include/rounding-mode.h: New file.
27462 * sysdeps/generic/get-rounding-mode.h: Likewise.
27463 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27464 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27465 (MAX_VALUE): New macro.
27466 (MIN_VALUE): Likewise.
27467 (overflow_value): New function.
27468 (underflow_value): Likewise.
27469 (round_and_return): Use overflow_value and underflow_value to
27470 determine return values in overflow and underflow cases. Use
27471 round_away to determine rounding depending on rounding mode.
27472 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27473 determine return values in overflow and underflow cases.
27474 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27475 (struct test_results): New structure.
27476 (struct test): Use struct test_results to store expected results
27477 for all rounding modes.
27478 (TEST): Include expected results for all rounding modes.
27479 (test_in_one_mode): New function.
27480 (do_test): Use test_in_one_mode to compute and check results.
27481 Check results for all rounding modes.
27482 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27485 2012-12-09 Allan McRae <allan@archlinux.org>
27487 * sysdeps/i386/fpu/libm-test-ulps: Update
27489 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27491 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27492 (_G_int32_t): Likewise.
27493 (_G_uint16_t): Likewise.
27494 (_G_uint32_t): Likewise.
27495 (_G_HAVE_BOOL): Likewise.
27496 (_G_HAVE_ATEXIT): Likewise.
27497 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27498 (_G_HAVE_IO_FILE_OPEN): Likewise.
27499 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27500 (_G_int32_t): Likewise.
27501 (_G_uint16_t): Likewise.
27502 (_G_uint32_t): Likewise.
27503 (_G_HAVE_BOOL): Likewise.
27504 (_G_HAVE_ATEXIT): Likewise.
27505 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27506 (_G_HAVE_IO_FILE_OPEN): Likewise.
27507 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27508 (_G_int32_t): Likewise.
27509 (_G_uint16_t): Likewise.
27510 (_G_uint32_t): Likewise.
27511 (_G_HAVE_BOOL): Likewise.
27512 (_G_HAVE_ATEXIT): Likewise.
27513 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27514 (_G_HAVE_IO_FILE_OPEN): Likewise.
27516 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27518 * csu/libc-tls.c: Update copyright years.
27520 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27522 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27523 [!_G_USING_THUNKS]: Remove conditional code.
27524 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27525 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27527 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27528 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27529 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27530 (_G_VTABLE_LABEL_PREFIX): Likewise.
27531 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27532 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27533 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27534 (_G_VTABLE_LABEL_PREFIX): Likewise.
27535 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27536 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27537 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27538 (_G_VTABLE_LABEL_PREFIX): Likewise.
27539 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27541 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27543 * libio/Makefile: Include ../Makeconfig before tests.
27544 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27545 only if $(build-shared) is yes.
27547 * iconv/gconv_db.c: Update copyright years.
27549 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27551 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27552 unwind info if defined PIC. Fix special cases description.
27553 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27555 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27557 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27559 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27561 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27563 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27566 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27567 (LDLIBS-tst-chk4): This.
27568 (LDFLAGS-tst-chk5): Renamed to ...
27569 (LDLIBS-tst-chk5): This.
27570 (LDFLAGS-tst-chk6): Renamed to ...
27571 (LDLIBS-tst-chk6): This.
27572 (LDFLAGS-tst-lfschk4): Renamed to ...
27573 (LDLIBS-tst-lfschk4): This.
27574 (LDFLAGS-tst-lfschk5): Renamed to ...
27575 (LDLIBS-tst-lfschk5): This.
27576 (LDFLAGS-tst-lfschk6): Renamed to ...
27577 (LDLIBS-tst-lfschk6): This.
27579 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27580 on $(common-objpfx)soversions.mk.
27582 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27585 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27588 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27590 * malloc/arena.c (arena_get_retry): New function that gets
27591 another arena for the caller to try its request on.
27592 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27593 current arena cannot fulfill the request.
27594 (__libc_memalign): Likewise.
27595 (__libc_memalign): Likewise.
27596 (__libc_pvalloc): Likewise.
27597 (__libc_calloc): Likewise.
27599 2012-09-05 John Tobey <john.tobey@gmail.com>
27602 * manual/arith.texi (Operations on Complex): Fix description
27603 of carg branch cut.
27605 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27608 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27612 * manual/memory.texi (Memory): Make order of menu items match
27615 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27617 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27618 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27619 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27621 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27623 * csu/libc-tls.c (static_dtv): Renamed to ...
27624 (_dl_static_dtv): This. Make it global.
27625 (_dl_initial_dtv): Removed.
27626 (__libc_setup_tls): Updated.
27627 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27628 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27631 2012-09-06 Petr Machata <pmachata@redhat.com>
27633 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27634 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27635 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27636 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27638 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27641 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27642 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27645 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27648 * Makeconfig (link-static-before-libc): Replace $(+prector)
27650 (link-static-after-libc): Replace $(+postctor) with
27652 (link-bounded): Replace $(+prector)/$(+postctor) with
27653 $(+prectorT)/$(+postctorT).
27654 (+prectorT): New macro.
27655 (+postctorT): Likewise.
27657 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27659 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27660 (round_str): Handle values above the maximum for IBM long double
27662 * stdlib/tst-strtod-round.c (tests): Regenerated.
27664 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27666 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27668 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27669 zarch_nohighgprs around the zarch optimized routines.
27670 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27671 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27672 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27675 2012-09-05 David S. Miller <davem@davemloft.net>
27677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27679 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27680 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27681 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27682 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27685 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27687 * malloc/arena.c: Fold copyright years.
27688 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27690 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27692 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27694 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27696 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27700 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27701 change internal state upon failure.
27703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27705 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27706 * malloc/memusage.c (mmap): Likewise.
27707 (mmap64, mremap): Likewise. Adjust name in comment.
27709 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27711 * libio/fileops.c: Fix typos in comments.
27712 * libio/oldfileops.c: Likewise.
27713 * libio/wfileops.c: Likewise.
27715 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27718 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27719 (tst-malloc-usable-ENV): Set environment for test case.
27720 * malloc/hooks.c (malloc_check_get_size): New function to get
27722 * malloc/malloc.c (musable): Use malloc_check_get_size.
27723 * malloc/tst-malloc-usable.c: New test case.
27725 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27727 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27729 2012-09-05 Allan McRae <allan@archlinux.org>
27732 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27733 determine header location.
27734 * configure: Regenerated.
27736 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27738 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27740 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27741 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27743 (test): Regenerate.
27745 2012-09-04 David S. Miller <davem@davemloft.net>
27747 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27748 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27749 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27751 2012-09-04 Florian Weimer <fweimer@redhat.com>
27753 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27756 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27758 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27761 * libio/iogetdelim.c: Include <limits.h>.
27762 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27763 + len + 1 would overflow.
27765 2012-09-03 Andreas Jaeger <aj@suse.de>
27767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27768 * sysdeps/i386/fpu/libm-test-ulps: Update.
27770 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27772 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27773 Add s_sinf-sse2, s_conf-sse2.
27775 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27776 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27777 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27778 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27780 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27781 for using routine as __sinf_ia32.
27782 Use macro for function declaration and weak_alias.
27783 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27784 for using routine as __cosf_ia32.
27785 Use macro for function declaration and weak_alias.
27787 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27788 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27790 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27791 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27794 * math/libm-test.inc (cos_test): Add more test cases.
27795 (sin_test): Likewise.
27796 (sincos_test): Likewise.
27798 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27800 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27801 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27803 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27805 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27808 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27809 first element of the GOT.
27810 (elf_machine_load_address): Return the difference between
27811 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27813 2012-09-01 Allan McRae <allan@archlinux.org>
27816 * configure.in (AWK): Require gawk version 3.0 or later.
27817 * configure: Regenerated.
27819 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27821 * sysdeps/unix/sysv/linux/kernel-features.h
27822 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27823 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27824 [__NR_clock_getres]: Make code unconditional.
27825 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27826 (clock_getcpuclockid): Remove code left unreachable by removal of
27828 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27829 code unconditional.
27830 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27831 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27832 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27833 Make code unconditional.
27834 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27835 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27836 * sysdeps/unix/sysv/linux/clock_settime.c
27837 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27839 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27840 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27842 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27845 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27846 scripts/test-installation.pl.
27848 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27849 and $ld_so_version if it is set.
27851 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27854 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27855 failure if reading from procfs failed.
27856 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27858 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27860 * sysdeps/unix/sysv/linux/kernel-features.h
27861 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27862 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27863 Remove conditional code.
27864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27865 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27866 Remove conditional code.
27867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27868 * sysdeps/unix/sysv/linux/i386/fxstat.c
27869 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27871 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27872 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27874 * sysdeps/unix/sysv/linux/i386/lxstat.c
27875 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27877 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27878 Remove conditional code.
27879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27880 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27881 Remove conditional code.
27882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27883 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27884 <kernel-features.h>.
27885 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27887 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27888 Remove conditional code.
27889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27890 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27891 Remove conditional.
27893 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27896 * NEWS: Add fixed bug number.
27898 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27901 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27902 underflowing exponent in case of negative sign.
27903 * stdlib/tst-strtod-round-data: Add more tests.
27904 * stdlib/tst-strtod-round.c (tests): Regenerated.
27907 * stdlib/strtod_l.c (NDIG): Remove.
27908 (HEXNDIG): Likewise.
27909 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27910 smallest representable value.
27911 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27912 lie within an exact representation of 1/2 ulp of the result.
27913 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27915 (TENS_P9_IDX): Define unconditionally.
27916 (TENS_P9_SIZE): Likewise.
27917 (TENS_P10_IDX): Likewise.
27918 (TENS_P10_SIZE): Likewise.
27919 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27920 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27921 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27922 entries for 10^2^13 and 10^2^14.
27923 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27924 (TENS_P13_IDX): Define.
27925 (TENS_P13_SIZE): Likewise.
27926 (TENS_P14_IDX): Likewise.
27927 (TENS_P14_SIZE): Likewise.
27928 (_fpioconst_pow10): Change array size to
27929 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27931 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27932 1024]: Add entries for 10^2^13 and 10^2^14.
27933 [LAST_POW10 > _LAST_POW10]: Remove #error.
27934 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27935 (_fpioconst_pow10): Change array size to
27936 FPIOCONST_POW10_ARRAY_SIZE.
27937 * stdlib/gen-fpioconst.c: New file.
27938 * stdlib/gen-tst-strtod-round.c: Likewise.
27939 * stdlib/tst-strtod-round-data: Likewise.
27940 * stdlib/tst-strtod-round.c: Likewise.
27941 * stdlib/Makefile (tests): Add tst-strtod-round.
27944 * stdlib/strtod_l.c: Include <stdint.h>.
27945 (NDEBUG): Do not define.
27946 (round_and_return): Change EXPONENT parameter to type intmax_t.
27947 Rearrange calculations to avoid internal overflow possibilities.
27948 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27949 Rearrange calculations to avoid internal overflow possibilities.
27950 Assert that number fits inside MPNSIZE limbs.
27951 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27952 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27953 calculations and add assertions to avoid internal overflow
27954 possibilities. Add casts to avoid signed/unsigned operations.
27955 * stdlib/tst-strtod-overflow.c: New file.
27956 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27958 2012-08-25 Marek Polacek <polacek@redhat.com>
27960 * time/time.h: Fix some typos in comments.
27962 2012-08-23 Roland McGrath <roland@hack.frob.com>
27964 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27965 * posix/tst-rfc3484-2.c: Likewise.
27966 * posix/tst-rfc3484-3.c: Likewise.
27968 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27970 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27971 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27973 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27975 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27976 #include of fxstatat64.c.
27978 2012-08-22 Roland McGrath <roland@hack.frob.com>
27980 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27981 * shadow/getspent_r.c: Likewise.
27982 * shadow/getspnam.c: Likewise.
27983 * shadow/getspnam_r.c: Likewise.
27984 * gshadow/getsgent.c: Likewise.
27985 * gshadow/getsgent_r.c: Likewise.
27986 * gshadow/getsgnam.c: Likewise.
27987 * gshadow/getsgnam_r.c: Likewise.
27988 * inet/getnetbyad.c: Likewise.
27989 * inet/getnetbyad_r.c: Likewise.
27990 * inet/getnetbynm.c: Likewise.
27991 * inet/getnetbynm_r.c: Likewise.
27992 * inet/getnetent.c: Likewise.
27993 * inet/getnetent_r.c: Likewise.
27994 * inet/getproto.c: Likewise.
27995 * inet/getproto_r.c: Likewise.
27996 * inet/getprtent.c: Likewise.
27997 * inet/getprtent_r.c: Likewise.
27998 * inet/getprtname.c: Likewise.
27999 * inet/getprtname_r.c: Likewise.
28000 * inet/getrpcbyname.c: Likewise.
28001 * inet/getrpcbyname_r.c: Likewise.
28002 * inet/getrpcbynumber.c: Likewise.
28003 * inet/getrpcbynumber_r.c: Likewise.
28004 * inet/getrpcent.c: Likewise.
28005 * inet/getrpcent_r.c: Likewise.
28006 * inet/getaliasent.c: Likewise.
28007 * inet/getaliasent_r.c: Likewise.
28008 * inet/getaliasname.c: Likewise.
28009 * inet/getaliasname_r.c: Likewise.
28010 * nscd/getgrgid_r.c: Likewise.
28011 * nscd/getgrnam_r.c: Likewise.
28012 * nscd/gethstbyad_r.c: Likewise.
28013 * nscd/gethstbynm3_r.c: Likewise.
28014 * nscd/getpwnam_r.c: Likewise.
28015 * nscd/getpwuid_r.c: Likewise.
28016 * nscd/getsrvbynm_r.c: Likewise.
28017 * nscd/getsrvbypt_r.c: Likewise.
28018 * nscd/gai.c: Likewise.
28020 * configure.in (build_nscd): New substituted variable, set
28021 by --disable-build-nscd and defaults to $use_nscd.
28022 * configure: Regenerated.
28023 * config.make.in (build-nscd): New substituted variable.
28024 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28025 Change conditional to require [$(build-nscd) = yes] as well.
28026 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28029 * configure.in (use_nscd): New substituted variable, set by
28030 --disable-nscd. If enabled, define USE_NSCD.
28031 * configure: Regenerated.
28032 * config.h.in: Add USE_NSCD.
28033 * config.make.in (use-nscd): New substituted variable.
28034 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28035 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28036 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28037 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28038 (CFLAGS-getgrnam_r.c): Likewise.
28039 (CFLAGS-initgroups.c): Likewise.
28040 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28041 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28043 * inet/getnetgrent_r.c
28044 (nscd_setnetgrent): New function, broken out of ...
28045 (setnetgrent): ... here. Call it.
28046 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28047 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28048 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28049 * nscd/Makefile (routines, aux): Move definitions after include of
28050 Makeconfig. Conditionalize on [$(use-nscd) != no].
28051 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28052 Conditionalize on [USE_NSCD].
28053 (is_nscd, nscd_init_cb): Likewise.
28054 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28055 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28056 * nss/nss_db/db-init.c: Likewise.
28057 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28059 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28060 (make_request): Use it.
28061 (cache_valid_p): New function.
28062 (__check_pf): Use it.
28063 * NEWS: Add item for --disable-nscd.
28065 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28067 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28068 to support sed >= 4.2.1-20-ga9bf076.
28069 * configure: Regenerated.
28071 2012-08-22 Roland McGrath <roland@hack.frob.com>
28073 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28074 Conditionalize whole body on [IREL].
28076 2012-08-22 Jeff Law <law@redhat.com>
28079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28080 if the family is PF_UNSPEC.
28082 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28084 * Makerules (lib-version): Rename from V.
28085 (install-lib-nosubdir): Change V to lib-version.
28087 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28090 * powerpc32/power6/wcschr.c: New file.
28091 * powerpc32/power6/wcscpy.c: New file.
28092 * powerpc32/power6/wcsrchr.c: New file.
28093 * powerpc64/power6/wcschr.c: New file.
28094 * powerpc64/power6/wcscpy.c: New file.
28095 * powerpc64/power6/wcsrchr.c: New file.
28097 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28099 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28100 (two_way_short_needle): Use it.
28101 * string/strstr.c (AVAILABLE1_USES_J): Define.
28102 * string/strcasestr.c: Likewise.
28104 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28106 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28109 * NEWS: Add an entry.
28110 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28111 define their defaults.
28112 (two_way_short_needle): Detect end-of-string on-the-fly.
28113 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28114 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28115 * string/bug-strcasestr1.c: New test.
28116 * string/Makefile: Run it.
28118 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28121 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28122 the first character.
28124 2012-08-21 Roland McGrath <roland@hack.frob.com>
28126 * csu/elf-init.c (__libc_csu_irel): Function removed.
28127 * csu/libc-start.c (apply_irel): New function.
28128 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28130 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28132 * sysdeps/unix/sysv/linux/kernel-features.h
28133 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28134 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28135 <kernel-features.h>.
28136 [__NR_fadvise64_64]: Make code unconditional.
28137 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28138 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28139 !__NR_fadvise64_64)]: Likewise.
28140 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28141 !__NR_fadvise64_64))]: Likewise.
28142 [__NR_fadvise64]: Make code unconditional.
28143 [!__NR_fadvise64]: Remove conditional code.
28144 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28145 <kernel-features.h>.
28146 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28148 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28151 not include <kernel-features.h>.
28152 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28154 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28156 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28157 include <kernel-features.h>.
28158 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28160 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28163 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28165 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28166 slight instruction rearrangements per scrollpipe analysis.
28167 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28169 2012-08-20 Roland McGrath <roland@hack.frob.com>
28171 * manual/syslog.texi (syslog; vsyslog, closelog):
28172 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28173 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28175 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28176 DSOCAPS to match condition on defining it.
28178 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28180 * sysdeps/unix/sysv/linux/kernel-features.h
28181 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28183 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28184 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28186 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28187 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28189 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28190 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28192 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28193 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28195 * sysdeps/unix/sysv/linux/kernel-features.h
28196 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28197 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28199 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28200 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28201 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28202 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28203 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28204 Make code unconditional.
28205 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28206 (__mmap64) [!__NR_mmap2]: Likewise.
28207 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28208 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28209 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28210 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28211 [__NR_mmap2]: Make code unconditional.
28212 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28213 (__mmap64) [!__NR_mmap2]: Likewise.
28215 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28217 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28219 2012-08-18 Andreas Jaeger <aj@suse.de>
28221 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28223 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28225 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28226 * include/unistd.h (__have_sock_cloexec): Likewise.
28227 (__have_pipe2): Likewise.
28228 (__have_dup3): Likewise.
28230 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28233 * include/unistd.h (__have_pipe2): Change define into an extern int.
28234 (__have_dup3): Likewise.
28235 * socket/have_sock_cloexec.c: Include fcntl.h.
28236 (__have_pipe2): New variable.
28237 (__have_dup3): Likewise.
28239 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28241 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28243 2012-08-17 Marek Polacek <polacek@redhat.com>
28245 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28246 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28248 2012-08-17 Roland McGrath <roland@hack.frob.com>
28250 * configure.in: Add AC_SUBST for sysheaders.
28251 * configure: Regenerated.
28252 * config.make.in (sysheaders): New substituted variable.
28254 * sysdeps/unix/mkfifo.c: Moved ...
28255 * sysdeps/posix/mkfifo.c: ... here.
28256 * sysdeps/unix/mkfifoat.c: Moved ...
28257 * sysdeps/posix/mkfifoat.c: ... here.
28259 * sysdeps/unix/utime.c: Moved ...
28260 * sysdeps/posix/utime.c: ... here.
28262 * sysdeps/unix/time.c: Moved ...
28263 * sysdeps/posix/time.c: ... here.
28264 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28265 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28267 * sysdeps/unix/nice.c: Moved ...
28268 * sysdeps/posix/nice.c: ... here.
28270 * sysdeps/unix/alarm.c: Moved ...
28271 * sysdeps/posix/alarm.c: ... here.
28273 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28275 2012-08-17 Jeff Law <law@redhat.com>
28277 * intl/Makefile (codeset_mo): New variable.
28278 ($(codeset_mo)): New target.
28279 (tst-codeset.out): Depend on that. Remove explicit rule.
28280 (tst-gettext3.out, tst-gettext5.out): Likewise.
28281 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28282 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28283 * intl/tst-codeset.sh: Remove.
28284 * intl/tst-gettext3.sh: Likewise.
28285 * intl/tst-gettext5.sh: Likewise.
28287 2012-08-17 Roland McGrath <roland@hack.frob.com>
28289 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28290 * sysdeps/unix/syscalls.list: ... here.
28292 * sysdeps/posix/getaddrinfo.c
28293 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28294 (gaiconf_init, gaiconf_reload): Use them.
28295 [!_STATBUF_ST_NSEC]
28296 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28297 Define using time_t rather than struct timespec.
28299 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28300 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28302 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28304 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28305 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28308 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28309 __libc_cleanup_push argument.
28311 * bits/param.h: New file.
28312 * misc/sys/param.h: New file.
28313 * include/sys/param.h: New file.
28314 * misc/Makefile (headers): Add bits/param.h.
28315 * sysdeps/generic/sys/param.h: File removed.
28316 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28317 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28318 * sysdeps/mach/hurd/bits/param.h: New file.
28319 * sysdeps/mach/hurd/sys/param.h: File removed.
28321 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28324 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28326 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28327 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28330 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28331 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28332 rather than -D_IO_MTSAFE_IO conditionally.
28333 * stdio-common/Makefile (CPPFLAGS): Likewise.
28334 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28335 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28336 Use $(libio-mtsafe).
28337 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28338 of -D_IO_MTSAFE_IO.
28339 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28340 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28341 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28342 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28343 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28344 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28345 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28346 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28347 (CFLAGS-fread_u_chk.c): Likewise.
28348 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28349 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28350 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28351 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28352 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28353 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28354 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28355 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28356 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28358 * libio/Makefile: Test [$(libc-reentrant) = yes]
28359 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28362 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28363 * sysdeps/pthread/configure: File removed.
28364 * sysdeps/pthread/Makeconfig: New file.
28365 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28366 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28368 2012-08-16 Gary Benson <gbenson@redhat.com>
28370 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28371 unmapping the first object in a namespace.
28373 2012-08-16 Roland McGrath <roland@hack.frob.com>
28375 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28376 (__internal_setnetgrent): ... this. Add internal_function to
28377 definition. Add libc_hidden_def.
28378 (setnetgrent): Update caller.
28379 (internal_endnetgrent): Renamed to ...
28380 (__internal_endnetgrent): ... this. Add internal_function to
28381 definition. Add libc_hidden_def.
28382 (endnetgrent): Update caller.
28383 (internal_getnetgrent_r): Renamed to ...
28384 (__internal_getnetgrent_r): ... this. Add internal_function to
28385 definition. Add libc_hidden_def.
28386 (__getnetgrent_r): Update caller.
28387 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28389 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28391 * stdlib/longlong.h: Update from GCC.
28393 2012-08-16 Roland McGrath <roland@hack.frob.com>
28395 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28396 on _QL, which is set by umul_ppmm but never used.
28397 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28398 variables, which are set by GMP macros but never used.
28399 * stdio-common/_itowa.c (_itowa): Likewise.
28400 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28401 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28403 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28405 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28406 struct La_sh_regs is not constant.
28407 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28408 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28409 and struct La_sparc64_regs are not constant.
28411 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28413 * sysdeps/unix/sysv/linux/kernel-features.h
28414 (__ASSUME_POSIX_TIMERS): Remove.
28415 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28416 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28417 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28418 Make code unconditional.
28419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28420 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28421 Make code unconditional.
28422 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28423 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28424 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28426 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28427 Make code unconditional.
28428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28429 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28430 (__libc_missing_posix_timers): Remove.
28432 2012-08-15 Roland McGrath <roland@hack.frob.com>
28434 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28435 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28437 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28439 * elf/dl-sym.c: Include <stdlib.h>.
28441 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28442 constants, which avoids warnings in 32-bit builds.
28444 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28445 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28447 * misc/lseek.c: File moved to ...
28448 * io/lseek.c: ... here.
28450 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28452 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28453 shifting LEN more than 31 bits at once.
28455 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28458 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28459 segmentation fault for a case of two empty input strings.
28460 * string/test-strncasecmp.c (check1): Renamed to...
28461 (bz12205): ...this.
28462 (bz14195): Add new testcase for two empty input strings and N > 0.
28463 (test_main): Call new testcase, adapt for renamed function.
28465 2012-08-15 Andreas Jaeger <aj@suse.de>
28468 * crypt/md5test2.c: New test, based on test supplied by Serge
28469 Belyshev <belyshev@depni.sinp.msu.ru>.
28470 * crypt/Makefile (xtests): Add md5test-giant..
28471 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28473 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28476 * crypt/md5.c (md5_process_block): Don't assume the buffer
28477 length is less than 2**32.
28478 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28479 length is less than 2**64.
28481 2012-08-15 Roland McGrath <roland@hack.frob.com>
28483 * string/str-two-way.h: Include <sys/param.h>.
28484 (MAX): Macro removed.
28486 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28487 Move #define and #undef of memmove to just before and after
28488 including <string.h>.
28490 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28491 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28492 and after including <string.h>. Move declarations of
28493 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28494 to before #include "string/memmove.c".
28496 * include/dirent.h: Declare __getdirentries.
28498 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28499 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28501 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28503 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28504 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28505 * sysdeps/i386/configure: Regenerated.
28506 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28507 STABS_CURRENT_FILE, and STABS_FUN.
28508 (END): Remove call to STABS_FUN_END.
28509 (STABS_CURRENT_FILE1): Delete.
28510 (STABS_CURRENT_FILE): Likewise.
28511 (STABS_FUN): Likewise.
28512 (STABS_FUN_END): Likewise.
28513 (STABS_FUN2): Likewise.
28514 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28515 * sysdeps/x86_64/configure: Regenerated.
28517 2012-08-14 Roland McGrath <roland@hack.frob.com>
28519 * elf/dl-open.c: Include <atomic.h>.
28520 * elf/dl-lookup.c: Likewise.
28522 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28524 * sysdeps/unix/sysv/linux/kernel-features.h
28525 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28526 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28528 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28530 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28531 condition on __ASSUME_CLONE_THREAD_FLAGS.
28533 2012-08-14 Andreas Jaeger <aj@suse.de>
28535 * sysdeps/i386/fpu/libm-test-ulps: Update.
28537 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28539 * include/atomic.h (atomic_exchange_and_add): Split into ...
28540 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28543 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28547 2012-08-13 Jeff Law <law@redhat.com>
28549 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28550 null byte in the output string.
28552 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28554 * sysdeps/unix/sysv/linux/kernel-features.h
28555 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28556 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28557 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28558 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28559 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28560 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28561 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28563 2012-08-09 Jeff Law <law@redhat.com>
28566 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28567 When avoid_arena is set, don't retry in the that arena. Pick the
28568 next one, whatever it might be.
28569 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28570 (arena_lock): Pass in new parameter to arena_get2.
28571 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28573 (__libc_malloc): Unify retrying after main arena failure with
28574 __libc_memalign version.
28575 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28577 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28580 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28581 to __redirect_strstr.
28582 (__strstr_sse42): Use typeof __redirect_strstr.
28583 (__strstr_ia32): Likewise.
28584 (__libc_strstr): New prototype.
28585 (strstr): Renamed to ...
28586 (__libc_strstr): This.
28587 (strstr): New strong alias of __libc_strstr.
28588 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28589 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28592 (__libc_time): New prototype.
28593 (time_ifunc): Replace time with __libc_time.
28594 (time): New strong alias and hidden definition of __libc_time.
28595 (__GI_time): Remove strong alias.
28596 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28597 Include <stddef.h>.
28598 (memmove): Redefined to __redirect_memmove.
28599 (__memmove_sse2): Use typeof __redirect_memmove.
28600 (__memmove_ssse3): Likewise.
28601 (__memmove_ssse3_back): Likewise.
28602 (__libc_memmove): New prototype.
28603 (memmove): Renamed to ...
28604 (__libc_memmove): This.
28605 (memmove): New strong alias of __libc_memmove.
28607 2012-08-08 Mark Salter <msalter@redhat.com>
28610 (R_MN10300_TLS_GD): Define.
28611 (R_MN10300_TLS_LD): Likewise.
28612 (R_MN10300_TLS_LDO): Likewise.
28613 (R_MN10300_TLS_GOTIE): Likewise.
28614 (R_MN10300_TLS_IE): Likewise.
28615 (R_MN10300_TLS_LE): Likewise.
28616 (R_MN10300_TLS_DTPMOD): Likewise.
28617 (R_MN10300_TLS_DTPOFF): Likewise.
28618 (R_MN10300_TLS_TPOFF): Likewise.
28619 (R_MN10300_SYM_DIFF): Likewise.
28620 (R_MN10300_ALIGN): Likewise.
28621 (R_MN10300_NUM): Update.
28623 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28625 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28628 2012-08-08 Roland McGrath <roland@hack.frob.com>
28630 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28632 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28633 sysdeps/unix -> sysdeps/posix move.
28634 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28636 2012-08-07 Allan McRae <allan@archlinux.org>
28639 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28640 (SUNOS_CPP): Likewise.
28641 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28643 (open_input): Call CPP using execvp.
28645 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28647 * sysdeps/unix/sysv/linux/kernel-features.h
28648 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28649 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28650 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28651 (__ASSUME_WAITID_SYSCALL): Likewise.
28652 * sysdeps/unix/sysv/linux/dl-execstack.c
28653 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28654 code unconditional.
28655 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28657 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28658 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28659 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28661 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28663 [__ASSUME_WAITID_SYSCALL]: Likewise.
28664 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28666 2012-08-07 Roland McGrath <roland@hack.frob.com>
28668 * sysdeps/unix/closedir.c: Renamed to ...
28669 * sysdeps/posix/closedir.c: ... here.
28670 * sysdeps/unix/dirfd.c: Renamed to ...
28671 * sysdeps/posix/dirfd.c: ... here.
28672 * sysdeps/unix/dirstream.h: Renamed to ...
28673 * sysdeps/posix/dirstream.h: ... here.
28674 * sysdeps/unix/fdopendir.c: Renamed to ...
28675 * sysdeps/posix/fdopendir.c: ... here.
28676 * sysdeps/unix/opendir.c: Renamed to ...
28677 * sysdeps/posix/opendir.c: ... here.
28678 * sysdeps/unix/readdir.c: Renamed to ...
28679 * sysdeps/posix/readdir.c: ... here.
28680 * sysdeps/unix/readdir_r.c: Renamed to ...
28681 * sysdeps/posix/readdir_r.c: ... here.
28682 * sysdeps/unix/rewinddir.c: Renamed to ...
28683 * sysdeps/posix/rewinddir.c: ... here.
28684 * sysdeps/unix/seekdir.c: Renamed to ...
28685 * sysdeps/posix/seekdir.c: ... here.
28686 * sysdeps/unix/telldir.c: Renamed to ...
28687 * sysdeps/posix/telldir.c: ... here.
28688 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28689 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28690 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28691 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28693 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28694 * bits/fcntl.h: ... here.
28696 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28698 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28699 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28700 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28701 (struct flock): Move l_start, l_len to the beginning.
28702 Use __pid_t for l_pid.
28703 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28704 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28705 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28706 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28707 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28708 [__USE_LARGEFILE64] (struct flock64): New type.
28709 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28711 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28712 * bits/dirent.h: ... here.
28714 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28715 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28717 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28719 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28720 Change from 2.6.0 to 2.6.16.
28721 * sysdeps/unix/sysv/linux/configure: Regenerated.
28722 * sysdeps/unix/sysv/linux/kernel-features.h
28723 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28724 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28726 (__ASSUME_UTIMES): Likewise.
28727 (__ASSUME_CLONE_STOPPED): Remove.
28728 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28729 architectures, not kernel version.
28730 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28731 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28732 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28733 (__ASSUME_WAITID_SYSCALL): Likewise.
28734 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28735 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28736 * README: State 2.6.16 as minimum Linux kernel version. Do not
28737 refer to older versions.
28739 2012-08-06 Roland McGrath <roland@hack.frob.com>
28741 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28742 Define alphasort64 as an alias.
28743 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28744 Define versionsort64 as an alias.
28745 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28746 Define scandir64 as an alias.
28747 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28748 Define scandirat64 as an alias.
28749 * dirent/alphasort64.c (alphasort64):
28750 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28751 * dirent/versionsort64.c: Likewise.
28752 * dirent/scandir64.c: Likewise.
28753 * dirent/scandirat64.c: Likewise.
28754 * sysdeps/wordsize-64/alphasort.c: File removed.
28755 * sysdeps/wordsize-64/alphasort64.c: File removed.
28756 * sysdeps/wordsize-64/scandir.c: File removed.
28757 * sysdeps/wordsize-64/scandir64.c: File removed.
28758 * sysdeps/wordsize-64/scandirat.c: File removed.
28759 * sysdeps/wordsize-64/scandirat64.c: File removed.
28760 * sysdeps/wordsize-64/versionsort.c: File removed.
28761 * sysdeps/wordsize-64/versionsort64.c: File removed.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28763 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28764 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28765 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28766 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28767 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28771 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28772 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28773 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28774 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28775 [defined __arch64__ || defined __sparcv9]
28776 (__INO_T_MATCHES_INO64_T): New macro.
28777 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28778 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28779 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28780 * sysdeps/unix/sysv/linux/bits/dirent.h
28781 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28782 (_DIRENT_MATCHES_DIRENT64): New macro.
28784 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28785 Define lockf64 as an alias.
28786 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28787 Define fseeko64 as an alias.
28788 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28789 Define ftello64 as an alias.
28790 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28791 Define _IO_fgetpos64 and fgetpos64 as aliases.
28792 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28793 Define _IO_fsetpos64 and fsetpos64 as aliases.
28794 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28795 Conditionalize body on this.
28796 * libio/fseeko64.c: Likewise.
28797 * libio/ftello64.c: Likewise.
28798 * libio/iofgetpos64.c: Likewise.
28799 * libio/iofsetpos64.c: Likewise.
28800 * sysdeps/wordsize-64/lockf.c: File removed.
28801 * sysdeps/wordsize-64/lockf64.c: File removed.
28802 * sysdeps/wordsize-64/fseeko.c: File removed.
28803 * sysdeps/wordsize-64/fseeko64.c: File removed.
28804 * sysdeps/wordsize-64/ftello.c: File removed.
28805 * sysdeps/wordsize-64/ftello64.c: File removed.
28806 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28807 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28808 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28809 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28810 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28811 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28813 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28814 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28815 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28816 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28817 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28818 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28819 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28821 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28823 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28825 [defined __arch64__ || defined __sparcv9]
28826 (__OFF_T_MATCHES_OFF64_T): New macro.
28827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28828 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28830 (__OFF_T_MATCHES_OFF64_T): New macro.
28832 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28834 * stdlib/secure-getenv.c (__secure_getenv): Replace
28835 GLIBC_2_16 with GLIBC_2_17.
28837 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28839 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28840 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28842 2012-08-03 David S. Miller <davem@davemloft.net>
28844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28846 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28850 (__ASSUME_CORRECT_SI_PID): Likewise.
28851 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28852 (__ASSUME_TMPFS_NAME): Likewise.
28853 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28854 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28855 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28856 (HAVE_AUX_SECURE): Make definition unconditional.
28857 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28858 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28860 2012-08-03 Roland McGrath <roland@hack.frob.com>
28862 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28863 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28864 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28865 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28866 __eloop_threshold instead of SYMLOOP_MAX.
28868 * sysdeps/generic/eloop-threshold.h: New file.
28869 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28871 * elf/chroot_canon.c (chroot_canon): Likewise.
28873 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28877 Change to 2.6.0 everywhere.
28878 * sysdeps/unix/sysv/linux/configure: Regenerated.
28879 * sysdeps/unix/sysv/linux/kernel-features.h
28880 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28881 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28883 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28884 (__ASSUME_FUTEX_REQUEUE): Remove.
28885 (__ASSUME_STATFS64): Define unconditionally.
28886 (__ASSUME_AT_SECURE): Likewise.
28887 (__ASSUME_CORRECT_SI_PID): Likewise.
28888 (__ASSUME_TGKILL): Define without depending on kernel version for
28890 (__ASSUME_UTIMES): Likewise.
28891 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28893 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28894 (__ASSUME_TMPFS_NAME): Likewise.
28895 * README: Update reference to Linux kernel versions.
28897 2012-08-02 Marek Polacek <polacek@redhat.com>
28900 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28901 libc_cv_asm_type_prefix with %.
28902 * configure: Regenerated.
28903 * include/libc-symbols.h: Remove comment about
28904 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28905 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28906 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28907 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28908 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28909 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28910 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28911 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28912 * elf/tst-unique2mod1.c: Likewise.
28913 * elf/tst-unique1mod2.c: Likewise.
28914 * elf/tst-unique1mod1.c: Likewise.
28915 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28916 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28917 Replace ASM_TYPE_DIRECTIVE with .type.
28918 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28919 * sysdeps/i386/sysdep.h: Likewise.
28920 * sysdeps/x86_64/sysdep.h: Likewise.
28921 * sysdeps/sh/sysdep.h: Likewise.
28922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28923 Do not define ASM_TYPE_DIRECTIVE.
28924 * sysdeps/powerpc/sysdep.h: Likewise.
28925 * sysdeps/powerpc/powerpc32/sysdep.h:
28926 Replace ASM_TYPE_DIRECTIVE with .type.
28927 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28928 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28929 * sysdeps/i386/fpu/e_powf.S: Likewise.
28930 * sysdeps/i386/fpu/e_expl.S: Likewise.
28931 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28932 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28933 * sysdeps/i386/fpu/e_pow.S: Likewise.
28934 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28935 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28936 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28937 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28938 * sysdeps/i386/fpu/e_log2.S: Likewise.
28939 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28940 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28941 * sysdeps/i386/fpu/e_powl.S: Likewise.
28942 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28943 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28944 * sysdeps/i386/fpu/e_logl.S: Likewise.
28945 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28946 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28947 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28948 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28949 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28950 * sysdeps/i386/fpu/e_log.S: Likewise.
28951 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28952 * sysdeps/i386/fpu/e_logf.S: Likewise.
28953 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28954 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28955 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28956 * sysdeps/i386/fpu/e_log10.S: Likewise.
28957 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28958 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28959 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28960 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28961 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28962 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28963 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28964 * sysdeps/i386/i686/strtok.S: Likewise.
28965 * sysdeps/i386/i386-mcount.S: Likewise.
28966 * sysdeps/i386/strtok.S: Likewise.
28967 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28968 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28969 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28970 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28971 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28972 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28973 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28974 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28975 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28976 * sysdeps/x86_64/_mcount.S: Likewise.
28977 * sysdeps/x86_64/strtok.S: Likewise.
28978 * sysdeps/sh/_mcount.S: Likewise.
28980 2012-08-01 Roland McGrath <roland@hack.frob.com>
28982 * libio/iofopen.c: Include <fcntl.h>.
28983 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28984 (_IO_fopen64, fopen64): Define as aliases.
28985 * libio/iofopen64.c: Include <fcntl.h>.
28986 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28987 Conditionalize body on this.
28988 * sysdeps/wordsize-64/iofopen.c: File removed.
28989 * sysdeps/wordsize-64/iofopen64.c: File removed.
28991 2012-08-01 Marek Polacek <polacek@redhat.com>
28993 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28994 Use dlfcn directly instead of a variable.
28995 (binfmt-subdir): Do not define.
28998 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29000 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29001 Remove all definitions.
29002 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29003 <kernel-features.h>.
29004 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29005 (miss_F_GETOWN_EX): Remove all definitions.
29006 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29008 [!__ASSUME_FCNTL64]: Remove conditional code.
29009 [__ASSUME_FCNTL64]: Make code unconditional.
29010 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29011 <kernel-features.h>.
29012 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29013 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29014 (lockf64) [__NR_fcntl64]: Make code unconditional.
29015 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29017 * sysdeps/unix/sysv/linux/kernel-features.h
29018 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29019 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29020 Make code unconditional.
29021 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29022 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29024 [__NR_vfork]: Make code unconditional.
29025 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29026 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29028 [__NR_vfork]: Make code unconditional.
29029 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29030 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29032 2012-08-01 Roland McGrath <roland@hack.frob.com>
29034 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29035 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29037 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29038 Define mkstemp64 as an alias.
29039 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29040 Define mkstemps64 as an alias.
29041 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29042 Define mkostemp64 as an alias.
29043 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29044 Define mkostemps64 as an alias.
29045 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29046 Conditionalize body on this.
29047 * misc/mkostemp64.c: Likewise.
29048 * misc/mkostemps64.c: Likewise.
29049 * misc/mkstemps64.c: Likewise.
29050 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29051 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29052 * sysdeps/wordsize-64/mkostemp.c: File removed.
29053 * sysdeps/wordsize-64/mkstemp.c: File removed.
29054 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29055 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29060 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29061 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29062 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29063 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29065 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29066 compat_symbol macros from <shlib-compat.h> rather than the underlying
29067 default_symbol_version and symbol_version macros, so that DEFAULT
29068 lines in shlib-versions are respected.
29069 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29071 2012-08-01 Florian Weimer <fweimer@redhat.com>
29073 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29074 Declare with warn_unused_result.
29075 (setgid, setregid, setegid, setresgid): Likewise.
29076 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29078 * WUR-REPORT: Remove set*id functions.
29080 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29082 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29084 2012-07-31 Roland McGrath <roland@hack.frob.com>
29087 * include/sys/socket.h (__libc_accept, __libc_accept4):
29088 Add attribute_hidden.
29089 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29091 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29093 * inet/getnetgrent_r.c (setup): Likewise.
29095 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29097 2012-07-31 David S. Miller <davem@davemloft.net>
29099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29101 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29104 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29105 value between 1.0 and 2.0 and smaller part has absolute value less
29107 * math/s_clog10.c (__clog10): Likewise.
29108 * math/s_clog10f.c (__clog10f): Likewise.
29109 * math/s_clog10l.c (__clog10l): Likewise.
29110 * math/s_clogf.c (__clogf): Likewise.
29111 * math/s_clogl.c (__clogl): Likewise.
29112 * math/libm-test.inc (clog_test): Add more tests.
29113 (clog10_test): Likewise.
29114 * sysdeps/i386/fpu/libm-test-ulps: Update.
29115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29117 2012-07-31 Florian Weimer <fweimer@redhat.com>
29119 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29120 Exit with zero in case no suitable GID is found, and write a
29121 message to standard error.
29123 2012-07-30 Roland McGrath <roland@hack.frob.com>
29125 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29127 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29128 (MAXPATHLEN): Removed.
29129 (NOGROUP, NODEV): New macros.
29130 (setbit, clrbit, isset, isclr): New macros.
29131 (howmany, roundup, powerof2): New macros.
29132 (DEV_BSIZE): New macro.
29134 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29135 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29137 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29138 definition on [!__NO_LONG_DOUBLE_MATH].
29140 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29141 PTR_MANGLE and PTR_DEMANGLE.
29143 * socket/accept4.c (accept4): Rename to __libc_accept4.
29144 Define accept4 as a weak alias.
29146 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29147 on [_DIRENT_HAVE_D_TYPE].
29148 * io/ftw.c (ftw_dir): Likewise.
29150 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29152 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29154 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29155 Use the BSD numbers rather than the arbitrary ones we had.
29156 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29157 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29158 (SIGXCPU, SIGXFSZ): New macros.
29161 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29162 initializer on [_LIBC_REENTRANT].
29164 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29165 definitions inside [_POSIX_MAPPED_FILES].
29167 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29169 * dirent/opendir.c: Include <fcntl.h>.
29171 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29172 (__libc_getspecific): Likewise.
29173 (__libc_key_create): Likewise.
29175 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29176 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29177 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29178 (tmpfile64): Define as alias.
29179 * sysdeps/wordsize-64/tmpfile.c: File removed.
29180 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29181 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29182 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29184 * stdio-common/vfscanf.c: Include <stdbool.h>.
29185 * nss/makedb.c: Likewise.
29186 * stdio-common/_i18n_number.h: Likewise.
29187 * argp/argp-help.c: Likewise.
29188 * posix/wordexp.c: Likewise.
29189 * sysdeps/posix/spawni.c: Likewise.
29190 * nss/nss_files/files-initgroups.c: Likewise.
29191 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29192 * nss/nss_files/files-initgroups.c: Likewise.
29193 * nss/nss_db/db-netgrp.c: Likewise.
29194 * nss/nss_db/db-initgroups.c: Likewise.
29195 * io/fchmodat.c: Include <sys/stat.h>.
29197 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29198 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29200 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29203 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29204 Add multiple inclusion protection.
29206 2012-07-27 David S. Miller <davem@davemloft.net>
29208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29210 2012-07-27 Gary Benson <gbenson@redhat.com>
29213 * elf/rtld.c: Include <stap-probe.h>.
29214 (dl_main): Added static probes "init_start" and "init_complete".
29215 * elf/dl-load.c: Include <stap-probe.h>.
29216 (lose): Take new parameter "nsid".
29217 Added static probe "map_failed".
29218 (_dl_map_object_from_fd): Pass namespace id to lose.
29219 Added static probe "map_start".
29220 (open_verify): Pass namespace id to lose.
29221 * elf/dl-open.c: Include <stap-probe.h>.
29222 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29223 and "reloc_complete".
29224 * elf/dl-close.c: Include <stap-probe.h>.
29225 (_dl_close_worker): Added static probes "unmap_start" and
29227 * elf/rtld-debugger-interface.txt: New file documenting the above.
29229 2012-07-26 Roland McGrath <roland@hack.frob.com>
29231 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29232 rather than a string variable.
29233 * sunrpc/rpc_main.c (h_output): Likewise.
29234 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29236 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29238 * inet/check_native.c: New file.
29240 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29243 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29244 if larger part has absolute value 1.0.
29245 * math/s_clog10.c (__clog10): Likewise.
29246 * math/s_clog10f.c (__clog10f): Likewise.
29247 * math/s_clog10l.c (__clog10l): Likewise.
29248 * math/s_clogf.c (__clogf): Likewise.
29249 * math/s_clogl.c (__clogl): Likewise.
29250 * math/libm-test.inc (clog_test): Add more tests.
29251 (clog10_test): Likewise.
29252 * sysdeps/i386/fpu/libm-test-ulps: Update.
29253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29255 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29256 (pltexit): Likewise.
29257 (La_regs): Likewise.
29258 (La_retval): Likewise.
29259 (int_retval): Likewise.
29260 Update #error for removed macros to refer only to definitions in
29262 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29264 (pltexit): Likewise.
29265 (La_regs): Likewise.
29266 (La_retval): Likewise.
29267 (int_retval): Likewise.
29268 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29270 (pltexit): Likewise.
29271 (La_regs): Likewise.
29272 (La_retval): Likewise.
29273 (int_retval): Likewise.
29274 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29276 (pltexit): Likewise.
29277 (La_regs): Likewise.
29278 (La_retval): Likewise.
29279 (int_retval): Likewise.
29280 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29282 (pltexit): Likewise.
29283 (La_regs): Likewise.
29284 (La_retval): Likewise.
29285 (int_retval): Likewise.
29286 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29288 (pltexit): Likewise.
29289 (La_regs): Likewise.
29290 (La_retval): Likewise.
29291 (int_retval): Likewise.
29292 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29294 (pltexit): Likewise.
29295 (La_regs): Likewise.
29296 (La_retval): Likewise.
29297 (int_retval): Likewise.
29298 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29299 macro definitions in tst-audit.h.
29300 * sysdeps/i386/tst-audit.h: New file.
29301 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29302 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29303 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29304 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29305 * sysdeps/sh/tst-audit.h: Likewise.
29306 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29307 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29308 * sysdeps/x86_64/tst-audit.h: Likewise.
29310 2012-07-26 Andreas Jaeger <aj@suse.de>
29312 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29315 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29316 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29317 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29319 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29320 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29321 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29323 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29326 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29328 (si_call_addr, si_syscall, si_arch): Define new macro.
29329 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29331 (si_call_addr, si_syscall, si_arch): Define new marcro.
29332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29334 (si_call_addr, si_syscall, si_arch): Define new macro.
29335 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29337 (si_call_addr, si_syscall, si_arch): Define new macro.
29339 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29342 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29343 Change to 2.4.21 where previously 2.4.1.
29344 * sysdeps/unix/sysv/linux/configure: Regenerated.
29345 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29346 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29347 Linux kernel version.
29348 (__ASSUME_STD_AUXV): Remove.
29349 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29351 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29352 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29353 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29354 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29355 (__ASSUME_NETLINK_SUPPORT): Likewise.
29356 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29357 (__no_netlink_support): Remove conditional definition.
29358 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29360 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29361 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29362 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29363 (if_nameindex_ioctl): Remove.
29364 (if_nameindex_netlink): Do not handle __no_netlink_support.
29365 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29367 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29368 Remove conditional code.
29369 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29371 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29373 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29374 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29375 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29377 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29378 [!__ASSUME_STD_AUXV]: Remove conditional code.
29379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29380 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29381 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29383 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29384 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29386 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29388 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29389 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29391 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29393 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29396 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29399 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29400 code unconditional.
29401 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29403 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29405 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29408 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29410 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29413 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29414 code unconditional.
29415 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29417 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29419 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29422 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29423 code unconditional.
29424 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29426 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29428 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29431 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29433 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29434 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29435 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29436 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29437 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29438 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29439 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29440 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29441 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29442 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29443 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29444 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29445 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29446 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29448 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29449 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29450 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29451 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29453 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29454 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29457 2012-07-25 Florian Weimer <fweimer@redhat.com>
29459 * Versions.def: Add GLIBC_2.17.
29460 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29461 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29462 Introduce __libc_secure_getenv.
29463 * stdlib/Versions (2.17): Add secure_getenv
29464 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29465 * stdlib/secure-getenv.c: Rename __secure_getenv to
29466 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29467 symbol __secure_getenv for GLIBC_2.0.
29468 * stdlib/tst-secure-getenv.c: New.
29469 * stdlib/Makefile (tests): Add testcase.
29470 * manual/startup.texi (Environment Access): Document
29472 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29473 __libc_secure_getenv.
29474 * inet/ruserpass.c (ruserpass): Likewise.
29475 * malloc/mtrace.c (mtrace): Likewise.
29476 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29477 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29478 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29479 * sysdeps/posix/tempname.c: Likewise. Evaluate
29480 HAVE_SECURE_GETENV.
29481 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29482 __secure_getenv to __libc_secure_getenv.
29483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29496 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29498 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29499 (struct La_i86_retval): Likewise.
29500 (struct La_x86_64_regs): Likewise.
29501 (struct La_x86_64_retval): Likewise.
29502 (struct La_x32_regs): Likewise.
29503 (struct La_x32_retval): Likewise.
29504 (struct La_ppc32_regs): Likewise.
29505 (struct La_ppc32_retval): Likewise.
29506 (struct La_ppc64_regs): Likewise.
29507 (struct La_ppc64_retval): Likewise.
29508 (struct La_sh_regs): Likewise.
29509 (struct La_sh_retval): Likewise.
29510 (struct La_s390_32_regs): Likewise.
29511 (struct La_s390_32_retval): Likewise.
29512 (struct La_s390_64_regs): Likewise.
29513 (struct La_s390_64_retval): Likewise.
29514 (struct La_sparc32_regs): Likewise.
29515 (struct La_sparc32_retval): Likewise.
29516 (struct La_sparc64_regs): Likewise.
29517 (struct La_sparc64_retval): Likewise.
29518 (struct audit_ifaces): Remove architecture-specific pltenter and
29520 * sysdeps/i386/ldsodefs.h: New file.
29521 * sysdeps/powerpc/ldsodefs.h: Likewise.
29522 * sysdeps/s390/ldsodefs.h: Likewise.
29523 * sysdeps/sh/ldsodefs.h: Likewise.
29524 * sysdeps/sparc/ldsodefs.h: Likewise.
29525 * sysdeps/x86_64/ldsodefs.h: Likewise.
29527 2012-07-25 Marek Polacek <polacek@redhat.com>
29530 * math/libm-test.inc (yn_test): Add another test.
29531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29532 to ERANGE when the result is +-Inf.
29533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29534 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29535 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29536 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29538 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29540 * conform/data/time.h-data (NULL): Use macro-constant. Require
29542 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29544 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29546 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29548 * configure.in <sysdeps resolving>: Correct printing
29550 * configure: Regenerate.
29552 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29554 * math/w_ilogb.c: Include <limits.h>.
29555 * math/w_ilogbl.c: Likewise.
29557 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29559 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29560 va_copy. Document allowing for unavailable va_copy only as
29561 pre-C99 compatibility.
29562 * manual/string.texi (Copying and Concatenation): Use va_copy
29563 instead of __va_copy in concat example.
29565 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29567 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29568 (__sendto): Use create_address_port. Initialize APORT and deallocate
29571 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29572 with O_NOLINK passed to __file_name_lookup.
29574 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29575 with O_NOLINK passed to __file_name_lookup.
29577 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29578 negative N or less than NGIDS.
29580 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29581 type to string_t. Set ERANGE as errno and return it if NAME is not big
29582 enough. Use memcpy instead of strncpy.
29584 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29586 * elf/Makefile (check-data): Remove.
29587 (localplt.data): New vpath directive.
29588 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29589 instead of $(check-data).
29590 * scripts/data/localplt-generic.data: Move to ...
29591 * sysdeps/generic/localplt.data: ... here.
29592 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29593 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29594 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29597 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29600 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29603 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29606 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29609 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29613 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29615 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29616 PPC32 and PPC64 files.
29617 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29618 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29620 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29622 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29623 __makecontext_ret to ...
29624 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29625 ... here and call exit if uc_link is NULL. New file.
29626 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29627 __makecontext_ret.S.
29628 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29629 __makecontext_ret to ...
29630 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29631 ... here and call exit if uc_link is NULL. New file.
29632 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29633 __makecontext_ret.S.
29635 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29637 * elf/elf.h (R_390_IRELATIVE): New definition.
29638 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29639 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29640 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29641 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29642 (elf_machine_lazy_rel): Likewise.
29643 * sysdeps/s390/dl-irel.h: New file.
29644 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29645 * sysdeps/s390/s390-64/memset.S: New asm code.
29646 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29647 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29649 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29650 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29651 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29652 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29653 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29654 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29655 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29656 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29657 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29658 * sysdeps/s390/s390-32/memset.S: New asm code.
29659 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29661 2012-07-17 Marek Polacek <polacek@redhat.com>
29664 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29665 * sysdeps/s390/s390-64/configure.in: Likewise.
29666 * sysdeps/sparc/configure.in: Likewise.
29667 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29668 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29669 * sysdeps/i386/configure.in: Likewise.
29670 * sysdeps/x86_64/configure.in: Likewise.
29671 * sysdeps/sh/configure.in: Likewise.
29672 * sysdeps/s390/s390-32/configure: Regenerated.
29673 * sysdeps/s390/s390-64/configure: Likewise.
29674 * sysdeps/x86_64/configure: Likewise.
29675 * sysdeps/sh/configure: Likewise.
29676 * sysdeps/powerpc/powerpc64/configure: Likewise.
29677 * sysdeps/powerpc/powerpc32/configure: Likewise.
29678 * sysdeps/sparc/configure: Likwise.
29679 * sysdeps/i386/configure: Likewise.
29681 * elf/dl-open.c: Comment fixes.
29683 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29685 * Makefile [CXX] (check-data): Remove.
29686 [CXX] (c++-types.data): New vpath directive.
29687 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29688 vpath. Do not allow for C++ type data being missing.
29689 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29690 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29691 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29692 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29693 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29694 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29695 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29698 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29701 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29704 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29707 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29710 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29713 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29716 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29719 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29720 definitions to architecture-specific files.
29721 (TLS_IE): Likewise.
29722 (TLS_LD): Likewise.
29723 (TLS_GD): Likewise.
29724 * sysdeps/i386/tls-macros.h: New file.
29725 * sysdeps/powerpc/tls-macros.h: Likewise.
29726 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29727 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29728 * sysdeps/sh/tls-macros.h: Likewise.
29729 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29730 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29731 * sysdeps/x86_64/tls-macros.h: Likewise.
29733 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29735 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29736 zero value for regular exit case.
29738 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29739 (__start_context): Preserve zero value for regular exit case.
29741 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29742 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29744 * manual/setjmp.texi (setcontext): Clarify normal process
29745 termination when uc_link is the null pointer.
29746 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29749 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29751 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29752 preprocessor. Test for each exception mask separately.
29754 2012-07-16 Andreas Jaeger <aj@suse.de>
29756 * po/ru.po: Update from translation team.
29758 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29760 * conform/data/string.h-data (NULL): Use macro-constant. Require
29762 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29763 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29764 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29765 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29766 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29768 2012-07-13 Andreas Jaeger <aj@suse.de>
29770 * po/fr.po: Update from translation team.
29772 2012-07-12 Marek Polacek <polacek@redhat.com>
29775 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29779 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29782 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29783 Change to 2.4.1 where previously 2.4.0.
29784 * sysdeps/unix/sysv/linux/configure: Regenerated.
29785 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29786 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29788 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29789 (__ASSUME_AT_CLKTCK): Remove.
29790 (__ASSUME_AT_PAGESIZE): Likewise.
29791 (__ASSUME_AT_XID): Likewise.
29792 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29793 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29794 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29796 (HAVE_AUX_PAGESIZE): Likewise.
29797 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29798 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29799 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29801 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29805 the temporary buffer used to invoke __gethostbyname2_r,
29806 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29807 host_data / struct gaih_addrtuple.
29808 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29809 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29810 header file nss/nsswitch.h.
29811 * nss/nsswitch.h (global scope): Add definition of implementation
29812 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29813 resolv/nss_dns/dns-host.c).
29815 2012-07-11 Andreas Jaeger <aj@suse.de>
29817 * po/fr.po: Update from translation team.
29819 * po/sv.po: Update from translation team
29820 * po/fr.po: Another update from translation team.
29822 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29824 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29825 for subnormals or multiply small sinh result by itself.
29826 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29829 2012-07-11 David S. Miller <davem@davemloft.net>
29831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29833 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29836 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29837 (INTERNAL_MARK): Shift it here.
29839 2012-07-10 Marek Polacek <polacek@redhat.com>
29842 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29843 libc_cv_asm_global_directive with .globl.
29844 * configure: Regenerated.
29845 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29847 * sysdeps/i386/configure: Regenerated.
29848 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29850 * sysdeps/x86_64/configure: Regenerated.
29851 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29852 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29853 * elf/tst-unique2mod2.c: Likewise.
29854 * elf/tst-unique2mod1.c: Likewise.
29855 * elf/tst-unique1mod2.c: Likewise.
29856 * elf/tst-unique1mod1.c: Likewise.
29857 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29858 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29860 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29861 * sysdeps/mach/sysdep.h: Likewise.
29862 * sysdeps/i386/sysdep.h: Likewise.
29863 * sysdeps/i386/i386-mcount.S: Likewise.
29864 * sysdeps/x86_64/_mcount.S: Likewise.
29865 * sysdeps/x86_64/sysdep.h: Likewise.
29866 * sysdeps/sh/_mcount.S: Likewise.
29867 * sysdeps/sh/sysdep.h: Likewise.
29868 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29869 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29870 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29871 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29872 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29873 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29874 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29875 * locale/localeinfo.h: Likewise.
29876 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29877 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29879 2012-07-09 Roland McGrath <roland@hack.frob.com>
29882 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29884 * manual/message.texi (The Uniforum approach): Likewise.
29885 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29886 (glibc iconv Implementation): Likewise.
29888 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29891 * math/s_clog.c (__clog): Avoid scaling a value down where that
29892 could result in underflow.
29893 * math/s_clog10.c (__clog10): Likewise.
29894 * math/s_clog10f.c (__clog10f): Likewise.
29895 * math/s_clog10l.c (__clog10l): Likewise.
29896 * math/s_clogf.c (__clogf): Likewise.
29897 * math/s_clogl.c (__clogl): Likewise.
29898 * math/libm-test.inc (clog_test): Add more tests.
29899 (clog10_test): Likewise.
29900 * sysdeps/i386/fpu/libm-test-ulps: Update.
29901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29903 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29906 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29907 by 7 not 8 to examine high bit of fractional part.
29910 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29911 for call to __mcount_internal.
29912 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29913 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29914 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29916 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29919 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29920 approximation for values within 0x1p-13f of an odd multiple of
29922 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29923 exception. Add more tests.
29924 * sysdeps/i386/fpu/libm-test-ulps: Update.
29927 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29928 inputs and return -1 for them. Do not check for +Inf in case not
29929 reachable for +Inf.
29930 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29931 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29933 and return -1 for them. Do not check for +Inf in case not
29934 reachable for +Inf.
29935 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29937 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29938 and return -1 for them. Do not check for +Inf in case not
29939 reachable for +Inf.
29940 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29941 spurious underflow.
29942 * sysdeps/i386/fpu/libm-test-ulps: Update.
29943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29945 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29947 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29949 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29953 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29954 could result in spurious underflow. Scale down values above
29955 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29956 * math/s_csqrtf.c (__csqrtf): Likewise.
29957 * math/s_csqrtl.c (__csqrtl): Likewise.
29958 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29959 spurious underflow.
29960 * sysdeps/i386/fpu/libm-test-ulps: Update.
29961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29963 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29965 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29967 * catgets/xopen-msg.awk: New file.
29968 * catgets/xopen-msg.sed: Removed.
29970 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29972 * intl/po2test.awk: New file.
29973 * intl/po2test.sed: Removed.
29975 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29978 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29979 or multiply small sinh result by itself.
29980 * math/s_ctanf.c (__ctanf): Likewise.
29981 * math/s_ctanh.c (__ctanh): Likewise.
29982 * math/s_ctanhf.c (__ctanhf): Likewise.
29983 * math/s_ctanhl.c (__ctanhl): Likewise.
29984 * math/s_ctanl.c (__ctanl): Likewise.
29985 * math/libm-test.inc (ctan_test_tonearest): New function.
29986 (ctan_test_towardzero): Likewise.
29987 (ctan_test_downward): Likewise.
29988 (ctan_test_upward): Likewise.
29989 (ctanh_test_tonearest): Likewise.
29990 (ctanh_test_towardzero): Likewise.
29991 (ctanh_test_downward): Likewise.
29992 (ctanh_test_upward): Likewise.
29993 (main): Call these new functions.
29994 * sysdeps/i386/fpu/libm-test-ulps: Update.
29995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29997 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29999 * .gitignore: Delete /ports entry.
30001 2012-07-03 Andreas Jaeger <aj@suse.de>
30003 * po/bg.po: Update from translation team.
30004 * po/cs.po: Likewise.
30005 * po/de.po: Likewise.
30006 * po/hr.po: Likewise.
30007 * po/nl.pl: Likewise.
30008 * po/pl.po: Likewise.
30009 * po/vi.po: Likewise.
30011 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30013 * Makeconfig [!+link] (+link-before-libc): New variable.
30014 [!+link] (+link-after-libc): Likewise.
30015 [!+link] (+link-tests): Likewise.
30016 [!+link] (+link): Define in terms of $(+link-before-libc) and
30017 $(+link-after-libc).
30018 [!+link-static] (+link-static-before-libc): New variable.
30019 [!+link-static] (+link-static-after-libc): Likewise.
30020 [!+link-static] (+link-static-tests): Likewise.
30021 [!+link-static] (+link-static): Define in terms of
30022 $(+link-static-before-libc) and $(+link-static-after-libc).
30023 [build-shared] (link-libc-before-gnulib): New variable.
30024 [build-shared] (link-libc-tests): Likewise.
30025 [build-shared] (link-libc): Define in terms of
30026 $(link-libc-before-gnulib).
30027 [!build-shared] (link-libc-tests): New variable.
30028 (link-libc-static-tests): New variable.
30029 [!gnulib] (gnulib-arch): New variable.
30030 [!gnulib] (gnulib-tests): Likewise.
30031 [!gnulib] (static-gnulib-arch): Likewise.
30032 [!gnulib] (static-gnulib-tests): Likewise.
30033 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30034 Define with "=" instead of ":=".
30035 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30036 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30037 * Rules (binaries-all-notests): New variable.
30038 (binaries-all-tests): Likewise.
30039 (binaries-static-notests): Likewise.
30040 (binaries-static-tests): Likewise.
30041 (binaries-all): Define using $(binaries-all-notests) and
30042 $(binaries-all-tests).
30043 (binaries-static): Define using $(binaries-static-notests) and
30044 $(binaries-static-tests).
30045 (binaries-shared-tests): New variable.
30046 (binaries-shared-notests): Likewise.
30047 (binaries-shared): Remove variable.
30048 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30049 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30050 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30051 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30052 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30053 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30054 * elf/Makefile (sln-modules): New variable.
30055 (extra-objs): Add $(sln-modules:=.o).
30056 (ldconfig-modules): Add static-stubs.
30057 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30058 * elf/static-stubs.c: New file.
30061 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30062 by 7 not 8 to examine high bit of fractional part. Use volatile
30063 variables when splitting into final array of floats if
30064 __FLT_EVAL_METHOD__ != 0.
30065 * math/libm-test.inc (cos_test): Add another test.
30066 (sin_test): Likewise.
30067 * sysdeps/i386/fpu/libm-test-ulps: Update.
30070 * math/libm-test.inc (cosh_test): Add more tests.
30072 * version.h (RELEASE): Set to "development".
30073 (VERSION): Set to "2.16.90".
30075 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30077 * NEWS: Update copyright. Remove last-updated date.
30078 Mention math library bug fixes and timezone data changes.
30079 * README: Mention GNU/Hurd, x32, and HPPA support status.
30081 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30083 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30085 2012-06-27 Andreas Jaeger <aj@suse.de>
30087 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30089 2012-06-25 Andreas Jaeger <aj@suse.de>
30091 * sysdeps/s390/fpu/libm-test-ulps: Update.
30093 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30094 Thomas Schwinge <thomas@codesourcery.com>
30096 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30097 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30101 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30103 * sysdeps/mach/start.c: Remove file.
30104 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30105 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30106 * sysdeps/sh/init-first.c: Likewise.
30108 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30109 registers for frame unwinding purposes, add CFI directives.
30110 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30111 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30112 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30115 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30116 __fortify_fail returning.
30117 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30119 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30120 sysdeps/sh/____longjmp_chk.S.
30121 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30122 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30123 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30124 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30126 * sysdeps/sh/abort-instr.h: New file.
30127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30128 process in case exit returns.
30130 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30131 initialize the GOT register before use.
30133 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30134 calculation of ARGC > 4.
30136 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30137 meaningful names to some local labels.
30139 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30140 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30142 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30143 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30144 (__arch_compare_and_exchange_val_16_acq): Likewise.
30145 (__arch_compare_and_exchange_val_32_acq): Likewise.
30146 (atomic_exchange_and_add): Fix gUSA sequence.
30147 (atomic_add): Likewise.
30148 (atomic_add_negative): Likewise.
30149 (atomic_add_zero): Likewise.
30150 (atomic_bit_test_set): Likewise.
30152 2012-06-22 Andreas Schwab <schwab@redhat.com>
30155 * include/link.h (struct link_map): Add l_free_initfini.
30156 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30158 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30159 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30160 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30163 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30165 * configure.in: Use AC_LANG_SOURCE.
30166 * configure: Regenerate.
30168 2012-06-22 Roland McGrath <roland@hack.frob.com>
30170 * configure.in (libc_cv_localstatedir): New substituted variable.
30171 * configure: Regenerated.
30172 * config.make.in (localstatedir): New variable, substituted from
30173 libc_cv_localstatedir.
30174 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30175 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30176 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30177 * sysdeps/gnu/configure: Regenerated.
30179 2012-06-21 Jeff Law <law@redhat.com>
30182 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30183 free. Simplify list management for _LIBC case.
30185 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30188 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30189 Clear sign bit of 64-bit integer value before comparing against
30192 * sysdeps/mach/configure: Regenerated.
30194 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30197 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30199 2012-06-21 Jeff Law <law@redhat.com>
30202 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30203 uint16_t for elements in the "seen" array to avoid char overflows.
30204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30205 * elf/dl-open.c (dl_open_worker): Likewise.
30207 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30209 * scripts/list-sources.sh: Scan PORTS for translations.
30210 * po/libc.pot: Regenerated.
30212 2012-06-21 Andreas Jaeger <aj@suse.de>
30215 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30217 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30218 * bits/byteswap-16.h (__bswap_16): Likewise.
30219 * bits/byteswap.h (__bswap_constant_16): Likewise.
30221 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30224 * sysdeps/i386/fpu_control.h: Removed.
30225 * sysdeps/x86_64/fpu_control.h: Moved to ...
30226 * sysdeps/x86/fpu_control.h: Here.
30228 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30229 (_FPU_SETCW): Likewise.
30231 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30234 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30235 * sysdeps/x86/fpu/bits/mathinline.h: This.
30236 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30240 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30241 functions if __x86_64__ is defined.
30243 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30245 * string/endian.h: Add !__ASSEMBLER__ condition for including
30246 conversion interfaces.
30248 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30252 of ABS(x) in calculating zero to negative powers other than odd
30254 * math/libm-test.inc (pow_test): Add more tests.
30256 2012-06-15 Andreas Jaeger <aj@suse.de>
30258 * manual/contrib.texi (Contributors): Update entry of Liubov
30259 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30262 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30264 * string/string.h: Add __wur to GNU version of strerror_r.
30266 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30269 * string/Makefile (tests): Add tst-strtok_r.
30270 * string/tst-strtok_r.c: New file.
30271 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30272 RAX_LP/RDX_LP on SAVE_PTR.
30274 2012-06-14 Roland McGrath <roland@hack.frob.com>
30276 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30278 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30280 * libm_test.inc (csqrt_test): Allow more spurious underflow
30282 (j0_test): Likewise.
30283 (j1_test): Likewise.
30284 (y0_test): Likewise.
30285 (y1_test): Likewise.
30287 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30289 * po/Makefile (libc.pot): Use UTF-8 charset.
30291 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30294 Suppress sign-conversion warning from FD_SET.
30295 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30296 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30297 not unsigned long int.
30298 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30300 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30304 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30305 __extern_always_inline instead of __extern_inline.
30306 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30307 (__signbit): Likewise.
30308 (__signbitl): Support C++ namespace.
30309 (lrintf): New inline function.
30311 (llrintf): Likewise.
30312 (llrint): Likewise.
30322 (floorf): Likewise.
30323 (nearbyint): Likewise.
30324 (nearbyintf): Likewise.
30326 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30328 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30329 non-default versions.
30331 2012-06-11 Roland McGrath <roland@hack.frob.com>
30334 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30336 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30338 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30339 (FE_UPWARD, FE_DOWNWARD): Don't define.
30340 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30341 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30343 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30345 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30346 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30348 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30351 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30352 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30353 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30355 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30358 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30359 * sysdeps/i386/fpu/Implies: New file.
30360 * sysdeps/x86_64/fpu/Implies: Likewise.
30361 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30362 * sysdeps/x86/fpu/bits/fenv.h: This.
30364 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30367 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30370 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30371 character 0xffff that matches the last element of the
30374 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30376 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30379 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30382 values higher than 25.6283.
30384 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30387 subnormal exponent extraction and add some __builtin_expect.
30388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30389 Fix for subnormal mantissa calculation.
30391 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30393 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30394 cpu2 is -1 and errno is not ENOSYS.
30396 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30399 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30400 * sysdeps/x86/bits/string.h: This.
30401 * sysdeps/x86_64/bits/string.h: Removed.
30403 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30404 if not compiling for x86-64, but compiling for >= i486.
30406 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30407 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30409 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30410 New macro from Linux kernel 3.4.0.
30411 (FP_XSTATE_MAGIC2): Likewise.
30412 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30413 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30414 (struct _fpx_sw_bytes): New struct.
30415 (struct _xsave_hdr): Likewise.
30416 (struct _ymmh_state): Likewise.
30417 (struct _xstate): Likewise.
30419 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30420 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30422 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30423 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30424 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30426 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30427 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30428 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30429 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30430 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30431 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30433 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30436 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30437 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30438 (sysdep_headers): Include sys/platform/ppc.h.
30439 * sysdeps/powerpc/test-gettimebase.c: Test for
30440 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30441 * manual/Makefile (appendices): Include platform.texi.
30442 * manual/contrib.texi (Contributors): Update @node pointers.
30443 * manual/maint.texi (Maintenance): Likewise.
30444 (Platform): New node.
30445 * manual/platform.texi: New file. Document the new features.
30447 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30448 Jakub Jelinek <jakub@redhat.com>
30451 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30452 where __builtin_expect is unavailable.
30454 2012-06-03 David S. Miller <davem@davemloft.net>
30456 * stdlib/longlong.h: Updated from GCC.
30458 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30461 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30462 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30465 (GLIBC_2.16): Likewise.
30467 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30471 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30474 (default-abi): New variable.
30475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30476 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30478 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30480 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30482 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30485 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30486 definition. Document in comment.
30488 2012-06-01 David S. Miller <davem@davemloft.net>
30490 * stdlib/longlong.h: Updated from GCC.
30492 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30495 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30496 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30497 sys/debugreg.h sys/io.h here.
30498 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30499 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30501 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30502 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30503 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30504 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30505 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30506 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30509 Define only if __x86_64__ is defined.
30511 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30514 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30515 Use int64_t for variable i.
30516 * math/libm-test.inc (fmod_test): Add more tests.
30518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30519 z computation is not scheduled after fetestexcept.
30520 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30521 Use math_force_eval instead of asm to ensure calculation scheduled
30522 before exception test.
30523 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30524 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30526 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30529 computation is not scheduled after fetestexcept.
30531 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30534 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30535 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30537 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30539 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30540 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30542 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30545 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30547 (__WCHAR_MIN): Support __WORDSIZE == 64.
30548 (__WCHAR_MAX): Likewise.
30550 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30551 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30554 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30555 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30558 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30559 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30561 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30562 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30564 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30565 Defined to 1 if __x86_64__ isn't defined.
30566 (_STAT_VER_LINUX_OLD): New.
30567 (st_atime): Remove duplicate.
30568 (st_mtime): Likewise.
30569 (st_ctime): Likewise.
30571 2012-05-31 David S. Miller <davem@davemloft.net>
30573 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30576 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30578 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30582 * elf/dl-reloc.c: Include <_itoa.h>.
30583 (_dl_reloc_bad_type): Remove use of INTUSE.
30584 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30585 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30586 * stdio-common/psiginfo.c (psiginfo): Likewise.
30587 * stdio-common/psignal.c (psignal): Likewise.
30588 * string/strsignal.c (strsignal): Likewise.
30589 * include/signal.h (_sys_siglist): Declare hidden proto.
30590 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30591 INTVARDEF with libc_hidden_data_def.
30592 * stdio-common/itoa-udigits.c: Likewise.
30593 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30594 (_itoa_lower_digits_internal): Remove declaration.
30595 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30596 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30597 (_sys_sigabbrev_internal): Remove aliases.
30598 (_sys_siglist): Define hidden alias.
30600 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30605 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30608 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30609 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30611 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30612 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30613 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30614 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30615 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30616 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30618 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30619 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30620 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30622 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30630 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30632 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30634 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30635 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30637 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30638 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30639 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30642 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30644 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30645 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30647 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30649 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30651 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30652 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30654 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30656 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30657 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30658 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30660 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30662 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30664 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30666 * math/math.h (M_El): Use two more decimal places.
30667 (M_LOG2El): Likewise.
30668 (M_LOG10El): Likewise.
30669 (M_LN2l): Likewise.
30670 (M_LN10l): Likewise.
30672 (M_PI_2l): Likewise.
30673 (M_PI_4l): Likewise.
30674 (M_1_PIl): Likewise.
30675 (M_2_PIl): Likewise.
30676 (M_2_SQRTPIl): Likewise.
30677 (M_SQRT2l): Likewise.
30678 (M_SQRT1_2l): Likewise.
30680 2012-05-31 David S. Miller <davem@davemloft.net>
30682 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30683 values between float registers.
30684 * sysdeps/sparc/sparc64/memset.S: Likewise.
30685 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30687 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30689 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30690 -D_FORTIFY_SOURCE=1.
30691 (CPPFLAGS-tst-longjmp_chk.c): Define.
30692 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30693 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30694 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30695 CFLAGS-tst-wchar-h.c.
30697 2012-05-31 Marek Polacek <polacek@redhat.com>
30700 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30701 __endmntent_internal): Remove declaration.
30702 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30703 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30704 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30706 2012-05-30 David S. Miller <davem@davemloft.net>
30708 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30709 (___Q_simulate_exceptions): Use real FP ops rather than writing
30711 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30714 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30717 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30718 * sysdeps/x86/bits/xtitypes.h: This.
30720 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30721 * sysdeps/x86/bits/wordsize.h: This.
30723 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30724 * sysdeps/x86/bits/huge_vall.h: This.
30726 * sysdeps/i386/bits/select.h: Removed.
30727 * sysdeps/x86_64/bits/select.h: Renamed to ...
30728 * sysdeps/x86/bits/select.h: This.
30730 * sysdeps/i386/bits/setjmp.h: Removed.
30731 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30732 * sysdeps/x86/bits/setjmp.h: This.
30734 * sysdeps/i386/bits/mathdef.h: Removed.
30735 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30736 * sysdeps/x86/bits/mathdef.h: This.
30738 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30741 * include/sys/socket.h (__connect_internal)
30742 (__libc_sa_len_internal): Remove declaration.
30743 (__connect, __libc_sa_len): Declare hidden_proto.
30744 (SA_LEN): Remove use of INTUSE.
30745 * socket/connect.c: Add libc_hidden_def.
30746 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30747 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30748 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30750 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30751 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30752 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30753 of adding _internal alias.
30755 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30758 * sysdeps/i386/bits/link.h: Removed.
30759 * sysdeps/i386/bits/linkmap.h: Likewise.
30760 * sysdeps/x86_64/bits/link.h: Renamed to ...
30761 * sysdeps/x86/bits/link.h: This.
30762 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30763 * sysdeps/x86/bits/linkmap.h: This.
30765 * sysdeps/i386/bits/endian.h: Removed.
30766 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30767 * sysdeps/x86/bits/endian.h: This.
30769 * sysdeps/i386/bits/byteswap.h: Removed.
30770 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30771 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30772 * sysdeps/x86/bits/byteswap.h: This.
30773 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30774 * sysdeps/x86/bits/byteswap-16.h: This.
30775 * sysdeps/i386/Implies: Add x86.
30776 * sysdeps/x86_64/Implies: Likewise.
30778 2012-05-30 David S. Miller <davem@davemloft.net>
30780 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30781 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30782 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30783 (FP_TRAPPING_EXCEPTIONS): Define.
30784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30785 (FP_TRAPPING_EXCEPTIONS): Define.
30786 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30787 subnormals only when inexact has been signalled or underflow
30788 exceptions are enabled.
30789 (_FP_PACK_CANONICAL): Likewise.
30791 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30794 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30795 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30797 2012-05-30 Richard Henderson <rth@twiddle.net>
30799 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30800 with #ifndef NOT_IN_libc.
30802 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30803 marked to avoid plt entry.
30805 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30808 * Makeconfig (default-abi): New macro.
30809 (abi-includes): Likewise.
30810 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30811 $(abi-$(default-abi)-lib-soname) for soname if defined.
30812 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30814 * Makefile (installed-stubs): Likewise.
30815 * include/stubs-biarch.h: Removed.
30816 * scripts/lib-names.awk: Only handle one library at a time.
30817 * scripts/soversions.awk: Remove WORDSIZE support.
30818 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30820 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30822 (syscall-list-default-condition): Likewise.
30823 (syscall-list-default-condition): Likewise.
30824 (syscall-list-includes): Likewise.
30825 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30826 syscall-list-* with abi-*. Handle undefined abi-variants.
30827 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30828 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30829 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30830 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30831 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30832 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30834 (syscall-list-32-options): Likewise.
30835 (syscall-list-32-condition): Likewise.
30836 (syscall-list-64-options): Likewise.
30837 (syscall-list-64-condition): Likewise.
30838 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30840 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30843 (abi-64-ld-soname): New macro.
30844 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30845 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30848 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30849 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30851 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30853 * sysdeps/unix/sysv/linux/kernel-features.h
30854 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30855 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30856 include <kernel-features.h>.
30857 [!__NR_ftruncate64]: Remove conditional code.
30858 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30859 [__NR_ftruncate64]: Make code unconditional.
30860 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30861 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30862 include <kernel-features.h>.
30863 [!__NR_ftruncate64]: Remove conditional code.
30864 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30865 [__NR_ftruncate64]: Make code unconditional.
30866 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30868 include <kernel-features.h>.
30869 [!__NR_ftruncate64]: Remove conditional code.
30870 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30871 [__NR_ftruncate64]: Make code unconditional.
30872 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30874 include <kernel-features.h>.
30875 [!__NR_ftruncate64]: Remove conditional code.
30876 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30877 [__NR_ftruncate64]: Make code unconditional.
30878 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30880 * configure.in (libc_cv_fpie): Weaken to a compile test using
30881 LIBC_TRY_CC_OPTION.
30882 * configure: Regenerated.
30884 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30899 2012-05-27 David S. Miller <davem@davemloft.net>
30901 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30903 (__Q_simulate_exceptions): Return void. Change to simulate
30904 exceptions by writing into the %fsr.
30905 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30906 (__Qp_handle_exceptions): Likewise.
30908 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30909 __Qp_handle_exceptions.
30910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30911 __Qp_handle_exceptions.
30912 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30913 as unused and give dummy FP_RND_NEAREST initializer.
30914 (FP_INHIBIT_RESULTS): Define.
30915 (___Q_simulate_exceptions): Update declaration.
30916 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30919 as unused and give dummy FP_RND_NEAREST initializer.
30920 (__Qp_handle_exceptions): Update declaration.
30921 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30924 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30927 the temporary FPU control word.
30928 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30929 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30930 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30931 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30932 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30933 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30934 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30936 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30937 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30938 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30940 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30942 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30945 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30947 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30948 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30949 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30950 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30952 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30953 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30956 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30958 * po/h.po: Update from translation team.
30960 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30962 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30964 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30965 handling of denormals.
30966 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30967 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30968 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30975 2012-05-26 Marek Polacek <polacek@redhat.com>
30978 * math/libm-test.inc (fma_test): Don't always expect underflow
30981 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30984 * elf/tst-execstack.c: Include stackinfo.h.
30985 (do_test): Adjust test case to ensure that pthread_getattr_np
30986 behaviour remains the same after marking stack executable.
30988 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30990 * sysdeps/unix/sysv/linux/kernel-features.h
30991 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30992 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30994 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30995 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30996 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30998 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30999 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31001 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31003 * configure.in: Define the default includes to being none.
31004 * configure: Regenerated.
31006 2012-05-25 Roland McGrath <roland@hack.frob.com>
31008 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31009 * sysdeps/x86_64/setjmp.S: Likewise.
31010 * sysdeps/i386/bsd-setjmp.S: Likewise.
31011 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31012 * sysdeps/i386/setjmp.S: Likewise.
31013 * sysdeps/i386/__longjmp.S: Likewise.
31014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31015 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31017 * include/stap-probe.h: New file.
31018 * configure.in: Handle --enable-systemtap.
31019 * configure: Regenerated.
31020 * config.h.in (USE_STAP_PROBE): New #undef.
31021 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31022 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31023 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31025 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31028 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31029 to 2.4.0 where earlier.
31030 * sysdeps/unix/sysv/linux/configure: Regenerated.
31031 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31032 <kernel-features.h>.
31033 [__ASSUME_32BITUIDS]: Make code unconditional.
31034 [!__ASSUME_32BITUIDS]: Remove conditional code.
31035 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31036 <kernel-features.h>.
31037 [__ASSUME_32BITUIDS]: Make code unconditional.
31038 [!__ASSUME_32BITUIDS]: Remove conditional code.
31039 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31040 [__ASSUME_32BITUIDS]: Make code unconditional.
31041 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31042 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31043 <kernel-features.h>.
31044 [__ASSUME_32BITUIDS]: Make code unconditional.
31045 [!__ASSUME_32BITUIDS]: Remove conditional code.
31046 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31047 <kernel-features.h>.
31048 [__ASSUME_32BITUIDS]: Make code unconditional.
31049 [!__ASSUME_32BITUIDS]: Remove conditional code.
31050 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31051 <kernel-features.h>.
31052 [__ASSUME_32BITUIDS]: Make code unconditional.
31053 [!__ASSUME_32BITUIDS]: Remove conditional code.
31054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31055 <kernel-features.h>.
31056 [__ASSUME_32BITUIDS]: Make code unconditional.
31057 [!__ASSUME_32BITUIDS]: Remove conditional code.
31058 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31059 <kernel-features.h>.
31060 [__ASSUME_32BITUIDS]: Make code unconditional.
31061 [!__ASSUME_32BITUIDS]: Remove conditional code.
31062 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31063 <kernel-features.h>.
31064 [__ASSUME_32BITUIDS]: Make code unconditional.
31065 [!__ASSUME_32BITUIDS]: Remove conditional code.
31066 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31067 <kernel-features.h>.
31068 [__ASSUME_32BITUIDS]: Make code unconditional.
31069 [!__ASSUME_32BITUIDS]: Remove conditional code.
31070 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
31083 <kernel-features.h>.
31084 [__NR_setresgid] (__setresgid): Do not declare.
31085 [__ASSUME_32BITUIDS]: Make code unconditional.
31086 [!__ASSUME_32BITUIDS]: Remove conditional code.
31087 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31088 <kernel-features.h>.
31089 [__NR_setresuid] (__setresuid): Do not declare.
31090 [__ASSUME_32BITUIDS]: Make code unconditional.
31091 [!__ASSUME_32BITUIDS]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31093 <kernel-features.h>.
31094 [__ASSUME_32BITUIDS]: Make code unconditional.
31095 [!__ASSUME_32BITUIDS]: Remove conditional code.
31096 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31097 <kernel-features.h>.
31098 [__ASSUME_32BITUIDS]: Make code unconditional.
31099 [!__ASSUME_32BITUIDS]: Remove conditional code.
31100 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31101 <kernel-features.h>.
31102 [__ASSUME_32BITUIDS]: Make code unconditional.
31103 [!__ASSUME_32BITUIDS]: Remove conditional code.
31104 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31105 <kernel-features.h>.
31106 [__ASSUME_32BITUIDS]: Make code unconditional.
31107 [!__ASSUME_32BITUIDS]: Remove conditional code.
31108 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31109 <kernel-features.h>.
31110 [__ASSUME_32BITUIDS]: Make code unconditional.
31111 [!__ASSUME_32BITUIDS]: Remove conditional code.
31112 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31113 <kernel-features.h>.
31114 [__ASSUME_32BITUIDS]: Make code unconditional.
31115 [!__ASSUME_32BITUIDS]: Remove conditional code.
31116 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31117 <kernel-features.h>.
31118 [__ASSUME_32BITUIDS]: Make code unconditional.
31119 [!__ASSUME_32BITUIDS]: Remove conditional code.
31120 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31121 <kernel-features.h>.
31122 [__ASSUME_32BITUIDS]: Make code unconditional.
31123 [!__ASSUME_32BITUIDS]: Remove conditional code.
31124 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31125 <kernel-features.h>.
31126 [__ASSUME_32BITUIDS]: Make code unconditional.
31127 [!__ASSUME_32BITUIDS]: Remove conditional code.
31128 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31129 <kernel-features.h>.
31130 [__ASSUME_32BITUIDS]: Make code unconditional.
31131 [!__ASSUME_32BITUIDS]: Remove conditional code.
31132 * sysdeps/unix/sysv/linux/kernel-features.h
31133 (__ASSUME_SETRESUID_SYSCALL): Remove.
31134 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31135 (__ASSUME_32BITUIDS): Likewise.
31136 (__ASSUME_LDT_WORKS): Likewise.
31137 (__ASSUME_O_DIRECTORY): Likewise.
31138 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31139 architecture but not kernel version.
31140 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31141 (__ASSUME_MMAP2_SYSCALL): Likewise.
31142 (__ASSUME_STAT64_SYSCALL): Likewise.
31143 (__ASSUME_IPC64): Likewise.
31144 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31145 <kernel-features.h>.
31146 [__ASSUME_32BITUIDS]: Make code unconditional.
31147 [!__ASSUME_32BITUIDS]: Remove conditional code.
31148 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31149 <kernel-features.h>.
31150 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31151 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31152 132096]: Remove conditional code.
31153 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31154 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
31159 <kernel-features.h>.
31160 [__ASSUME_32BITUIDS]: Make code unconditional.
31161 [!__ASSUME_32BITUIDS]: Remove conditional code.
31162 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31163 <kernel-features.h>.
31164 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31166 (__setresgid): Do not declare.
31167 [__ASSUME_32BITUIDS]: Make code unconditional.
31168 [!__ASSUME_32BITUIDS]: Remove conditional code.
31169 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31170 <kernel-features.h>.
31171 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31173 (__setresuid): Do not declare.
31174 [__ASSUME_32BITUIDS]: Make code unconditional.
31175 [!__ASSUME_32BITUIDS]: Remove conditional code.
31176 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31177 <kernel-features.h>.
31178 [__ASSUME_32BITUIDS]: Make code unconditional.
31179 [!__ASSUME_32BITUIDS]: Remove conditional code.
31180 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31181 <kernel-features.h>.
31182 [__ASSUME_32BITUIDS]: Make code unconditional.
31183 [!__ASSUME_32BITUIDS]: Remove conditional code.
31185 2012-05-25 Richard Henderson <rth@twiddle.net>
31187 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31188 dl_hwcap to ifunc resolver.
31189 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31192 dl_hwcap to ifunc resolver.
31193 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31195 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31198 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31199 for |x| <= 2**-26, not 2**-57.
31200 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31203 2012-05-24 Jeff Law <law@redhat.com>
31205 * stdio-common/Makefile (tests): Add bug25.
31206 * stdio-common/bug25.c: New test.
31208 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31211 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31212 multiple of MALLOC_ALIGNMENT in size.
31213 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31215 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31217 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31219 (FILENAME_MAX): Use macro-int-constant.
31220 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31221 (_IOFBF): Use macro-int-constant.
31222 (_IOLBF): Likewise.
31223 (_IONBF): Likewise.
31224 (SEEK_CUR): Likewise.
31225 (SEEK_END): Likewise.
31226 (SEEK_SET): Likewise.
31227 (TMP_MAX): Likewise.
31228 (EOF): Use macro-int-constant. Require < 0.
31229 (NULL): Use macro-constant. Require == 0.
31230 (stdin): Require type to be FILE *.
31231 (stdout): Likewise.
31232 (stderr): Likewise.
31233 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31234 macro-int-constant.
31235 (EXIT_SUCCESS): Likewise.
31236 (NULL): Use macro-constant. Require == 0.
31237 (RAND_MAX): Use macro-int-constant.
31238 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31239 [C99-based standards] (strtof): Require function.
31240 [C99-based standards] (strtold): Likewise.
31241 [C99-based standards] (strtoll): Likewise.
31242 [C99-based standards] (strtoull): Likewise.
31243 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31244 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31245 [ISO || ISO99 || ISO11] (math.h): Likewise.
31246 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31247 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31248 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31250 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31253 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31254 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31255 * intl/dgettext.c (DCGETTEXT): Likewise.
31256 * intl/gettext.c (DCGETTEXT): Likewise.
31257 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31258 * posix/regex_internal.h (gettext): Likewise.
31259 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31260 Remove declaration.
31261 * include/argz.h (__argz_count_internal)
31262 (__argz_stringify_internal): Remove declaration.
31263 (__argz_count, __argz_stringify): Declare hidden proto.
31264 * intl/dcgettext.c: Remove use of INTDEF.
31265 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31266 * string/argz-stringify.c: Likewise.
31267 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31268 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31269 Declare hidden proto.
31270 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31271 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31272 Declare hidden proto.
31273 * include/stdio.h (__asprintf_internal): Don't declare.
31274 (__asprintf): Don't define as macro. Declare hidden proto.
31275 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31276 (__fsetlocking): Declare hidden proto.
31277 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31278 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31280 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31281 (_IO_setlinebuf): Remove use of INTUSE.
31282 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31283 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31284 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31285 Remove declaration.
31286 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31287 (_IO_do_flush): Remove use of INTUSE.
31288 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31289 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31290 (_IO_adjust_column, _IO_least_wmarker)
31291 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31292 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31293 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31294 (_IO_default_doallocate, _IO_wdefault_doallocate)
31295 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31296 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31297 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31298 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31299 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31300 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31301 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31302 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31303 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31304 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31305 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31306 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31307 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31309 (_IO_flush_all_internal, _IO_adjust_column_internal)
31310 (_IO_default_uflow_internal, _IO_default_finish_internal)
31311 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31312 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31313 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31314 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31315 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31316 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31317 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31318 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31319 (_IO_file_close_internal, _IO_file_close_it_internal)
31320 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31321 (_IO_file_init_internal, _IO_file_attach_internal)
31322 (_IO_file_fopen_internal, _IO_file_read_internal)
31323 (_IO_file_sync_internal, _IO_file_seek_internal)
31324 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31325 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31326 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31327 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31328 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31329 (_IO_list_all_internal, _IO_link_in_internal)
31330 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31331 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31332 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31333 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31334 (_IO_do_write_internal, _IO_padn_internal)
31335 (_IO_getline_info_internal, _IO_getline_internal)
31336 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31337 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31338 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31339 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31340 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31341 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31342 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31343 with libc_hidden_ver, remove use of INTUSE.
31344 * libio/genops.c: Likewise.
31345 * libio/freopen.c: Likewise.
31346 * libio/freopen64.c: Likewise.
31347 * libio/iofclose.c: Likewise.
31348 * libio/iofdopen.c: Likewise.
31349 * libio/iofflush.c: Likewise.
31350 * libio/iofflush_u.c: Likewise.
31351 * libio/iofgets.c: Likewise.
31352 * libio/iofgets_u.c: Likewise.
31353 * libio/iofopen.c: Likewise.
31354 * libio/iofopncook.c: Likewise.
31355 * libio/iofread.c: Likewise.
31356 * libio/iofread_u.c: Likewise.
31357 * libio/ioftell.c: Likewise.
31358 * libio/iofwrite.c: Likewise.
31359 * libio/iogetline.c: Likewise.
31360 * libio/iogets.c: Likewise.
31361 * libio/iogetwline.c: Likewise.
31362 * libio/iopadn.c: Likewise.
31363 * libio/iopopen.c: Likewise.
31364 * libio/ioseekoff.c: Likewise.
31365 * libio/ioseekpos.c: Likewise.
31366 * libio/iosetbuffer.c: Likewise.
31367 * libio/iosetvbuf.c: Likewise.
31368 * libio/ioungetc.c: Likewise.
31369 * libio/ioungetwc.c: Likewise.
31370 * libio/iovdprintf.c: Likewise.
31371 * libio/iovsprintf.c: Likewise.
31372 * libio/iovsscanf.c: Likewise.
31373 * libio/memstream.c: Likewise.
31374 * libio/obprintf.c: Likewise.
31375 * libio/oldfileops.c: Likewise.
31376 * libio/oldiofclose.c: Likewise.
31377 * libio/oldiofdopen.c: Likewise.
31378 * libio/oldiofopen.c: Likewise.
31379 * libio/oldiopopen.c: Likewise.
31380 * libio/oldstdfiles.c: Likewise.
31381 * libio/putc.c: Likewise.
31382 * libio/setbuf.c: Likewise.
31383 * libio/setlinebuf.c: Likewise.
31384 * libio/stdfiles.c: Likewise.
31385 * libio/strops.c: Likewise.
31386 * libio/vasprintf.c: Likewise.
31387 * libio/vscanf.c: Likewise.
31388 * libio/vsnprintf.c: Likewise.
31389 * libio/vswprintf.c: Likewise.
31390 * libio/wfiledoalloc.c: Likewise.
31391 * libio/wfileops.c: Likewise.
31392 * libio/wgenops.c: Likewise.
31393 * libio/wmemstream.c: Likewise.
31394 * libio/wstrops.c: Likewise.
31395 * libio/__fpurge.c: Likewise.
31396 * libio/__fsetlocking.c: Likewise.
31397 * assert/assert.c: Likewise.
31398 * debug/fgets_chk.c: Likewise.
31399 * debug/fgets_u_chk.c: Likewise.
31400 * debug/fread_chk.c: Likewise.
31401 * debug/fread_u_chk.c: Likewise.
31402 * debug/gets_chk.c: Likewise.
31403 * debug/obprintf_chk.c: Likewise.
31404 * debug/vasprintf_chk.c: Likewise.
31405 * debug/vdprintf_chk.c: Likewise.
31406 * debug/vsnprintf_chk.c: Likewise.
31407 * debug/vsprintf_chk.c: Likewise.
31408 * malloc/mtrace.c: Likewise.
31409 * misc/error.c: Likewise.
31410 * misc/syslog.c: Likewise.
31411 * stdio-common/asprintf.c: Likewise.
31412 * stdio-common/fxprintf.c: Likewise.
31413 * stdio-common/getw.c: Likewise.
31414 * stdio-common/isoc99_fscanf.c: Likewise.
31415 * stdio-common/isoc99_scanf.c: Likewise.
31416 * stdio-common/isoc99_vfscanf.c: Likewise.
31417 * stdio-common/isoc99_vscanf.c: Likewise.
31418 * stdio-common/isoc99_vsscanf.c: Likewise.
31419 * stdio-common/printf-prs.c: Likewise.
31420 * stdio-common/printf_fp.c: Likewise.
31421 * stdio-common/printf_fphex.c: Likewise.
31422 * stdio-common/printf_size.c: Likewise.
31423 * stdio-common/putw.c: Likewise.
31424 * stdio-common/scanf.c: Likewise.
31425 * stdio-common/sprintf.c: Likewise.
31426 * stdio-common/tmpfile.c: Likewise.
31427 * stdio-common/vfprintf.c: Likewise.
31428 * stdio-common/vfscanf.c: Likewise.
31429 * stdlib/strfmon_l.c: Likewise.
31430 * sunrpc/openchild.c: Likewise.
31431 * sunrpc/xdr_stdio.c: Likewise.
31432 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31433 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31435 2012-05-24 Roland McGrath <roland@hack.frob.com>
31437 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31439 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31440 in the third column, to generate for the shared library an IFUNC
31441 that uses _dl_vdso_vsym.
31442 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31443 * Makeconfig (object-suffixes-noshared): New variable.
31445 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31446 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31447 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31448 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31451 * include/sys/time.h (__gettimeofday): Remove macro.
31452 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31453 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31455 (__gettimeofday): Add libc_hidden_def.
31456 (gettimeofday): Add libc_hidden_weak.
31457 * sysdeps/mach/gettimeofday.c: Likewise.
31458 * sysdeps/posix/gettimeofday.c: Likewise.
31459 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31460 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31461 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31462 (__gettimeofday_internal): Remove strong_alias.
31463 (__gettimeofday): Add libc_hidden_def.
31464 (gettimeofday): Add libc_hidden_weak.
31465 * sysdeps/unix/syscalls.list (gettimeofday):
31466 Remove __gettimeofday_internal alias.
31468 2012-05-24 Daniel Jacobowitz <drow@false.org>
31469 H.J. Lu <hongjiu.lu@intel.com>
31472 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31473 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31474 (largebin_index_32_big): New.
31475 (largebin_index): Use it for 16-byte alignment.
31476 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31477 correction with front_misalign.
31479 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31507 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31508 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31510 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31514 * math/libm-test.inc (exp_test): Add test from bug 14036.
31515 (pow_test): Add test from bug 10846.
31517 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31519 (special_function): Do not include flags in test name.
31520 (parse_args): Likewise.
31521 * sysdeps/i386/fpu/libm-test-ulps: Update.
31522 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31523 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31524 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31527 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31529 * math/libm-test.inc ("Philosophy"): Update comment about
31531 (UNDERFLOW_EXCEPTION): New macro.
31532 (UNDERFLOW_EXCEPTION_OK): Likewise.
31533 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31534 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31535 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31536 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31537 (INVALID_EXCEPTION_OK): Update value.
31538 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31539 (OVERFLOW_EXCEPTION_OK): Likewise.
31540 (IGNORE_ZERO_INF_SIGN): Likewise.
31541 (test_exceptions): Handle underflow exceptions.
31542 (acos_test): Update for underflow exception expectations.
31543 (cexp_test): Likewise.
31544 (clog_test): Likewise.
31545 (clog10_test): Likewise.
31546 (csqrt_test): Likewise.
31547 (ctan_test): Likewise.
31548 (ctanh_test): Likewise.
31549 (exp_test): Likewise.
31550 (exp10_test): Likewise.
31551 (exp2_test): Likewise.
31552 (expm1_test): Likewise.
31553 (fma_test): Likewise.
31554 (j0_test): Likewise.
31555 (jn_test): Likewise.
31556 (nexttoward_test): Likewise.
31557 (pow_test): Likewise.
31558 (scalbn_test): Likewise.
31559 (scalbln_test): Likewise.
31560 (tan_test): Likewise.
31561 (y1_test): Likewise.
31562 * sysdeps/i386/fpu/libm-test-ulps: Update.
31563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31565 2012-05-23 David S. Miller <davem@davemloft.net>
31567 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31568 (__libc_sigaction): Remove unused local variables.
31570 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31572 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31574 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31576 mktime: avoid signed integer overflow
31577 * time/mktime.c (__mktime_internal): Do not mishandle the case
31578 where diff == INT_MIN.
31580 mktime: simplify computation of average
31581 * time/mktime.c (ranged_convert): Use new time_t_avg function
31582 instead of rolling our own (probably-slower) code.
31584 mktime: do not assume signed right shift propagates sign bit
31585 * time/mktime.c (isdst_differ): New static function.
31586 (__mktime_internal): No need to normalize tm_isdst now.
31587 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31590 mktime: merge another wrapv change from gnulib
31591 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31592 from some compilers.
31594 mktime: remove incorrect attempt at unusual arithmetics
31595 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31596 The code didn't really work on such machines anyway.
31597 (TYPE_MINIMUM): Assume two's complement.
31598 (twos_complement_arithmetic): Verify that long_int and time_t
31599 are two's complement (or unsigned, in the latter case).
31601 mktime: check signed shifts on long_int and time_t, too
31602 * time/mktime.c (SHR): Check that shifts work as desired
31603 on the types long_int and time_t too, as SHR is used on
31606 mktime: do not assume 'long' is wide enough
31607 * time/mktime.c (verify): Move decl up.
31608 (long_int): New type.
31609 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31610 to remove assumption in the code that 'long' is wide enough to
31611 store year values. This assumption is not true on x32 and on
31612 some non-glibc platforms.
31614 mktime: merge wrapv change from gnulib
31615 * time/mktime.c (WRAPV): New macro.
31616 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31617 (guess_time_tm, __mktime_internal): Do not assume that signed
31618 integer overflow wraps around; modern compilers generate code
31619 where this assumption is no longer valid.
31621 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31623 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31624 Replace "jmp L(pseudo_end)" with "ret".
31625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31628 2012-05-23 Andreas Jaeger <aj@suse.de>
31630 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31631 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31633 2012-05-23 Andreas Jaeger <aj@suse.de>
31634 Maximilian Attems <max@stro.at>
31636 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31639 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31642 code so that pseudo_end is just ret and the stack pointer is
31643 correct also for static library in error case.
31645 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31647 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31648 move to syscalls.list.
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31654 * manual/install.texi (Running make install): Do not mention Linux
31655 kernel version for which pt_chown is not needed.
31656 (Linux): Do not mention problems with nscd with 2.0 kernels.
31657 * INSTALL: Regenerated.
31659 2012-05-23 Andreas Jaeger <aj@suse.de>
31661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31662 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31664 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31665 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31666 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31667 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31668 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31669 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31671 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31674 * sysdeps/unix/sysv/linux/bits/in.h
31675 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31677 2012-05-22 Roland McGrath <roland@hack.frob.com>
31679 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31680 (PREPARE_VERSION): Just use assert instead, it will be elided
31681 under [NDEBUG] anyway.
31683 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31685 * sysdeps/unix/sysv/linux/Makefile: Include
31686 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31687 (sysdep_routines): Remove sysctl.
31688 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31689 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31691 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31692 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31694 2012-05-22 Andreas Jaeger <aj@suse.de>
31696 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31697 that pseudo_end is just ret and the stack pointer is correct also
31698 for static library in error case.
31700 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31703 * nss/nsswitch.c (defconfig_entries): New variable.
31704 (__nss_database_lookup): Don't leak defconfig entries.
31705 (nss_parse_service_list): Don't leak on error paths.
31706 (free_database_entries): New function.
31707 (free_defconfig): New function.
31708 (free_mem): Move common code to free_database_entries.
31710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31712 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31714 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31716 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31717 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31718 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31720 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31721 (INTERNAL_SYSCALL_TYPES): Likewise.
31722 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31723 (LOAD_REGS_TYPES_[1-6]): Likewise.
31724 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31725 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31727 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31729 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31730 copysignl for GLIBC_2_0.
31731 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31732 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31734 logbl for GLIBC_2_0.
31735 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31736 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31738 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31743 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31746 * time/mktime.c: Update copyright years.
31748 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31750 mktime: merge comment-quoting-style change from gnulib
31751 * time/mktime.c: Quote 'like this' in comments.
31752 The GNU coding standards suggest that we no longer quote `like this',
31753 as "`" and "'" are typically rendered asymmetrically nowadays.
31754 The typical gnulib style is to quote 'like this' when quoting
31755 code, and "like this" when quoting English.
31757 * time/mktime.c (compile-command): Add "-I.".
31759 mktime: merge mktime-internal.h change from gnulib
31760 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31762 mktime: merge time_r change from gnulib
31763 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31765 mktime: merge DEBUG change from gnulib
31766 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31767 case system <time.h> has a #define.
31769 mktime: merge <sys/types.h> change from gnulib
31770 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31771 since <time.t> is now guaranteed to define time_t.
31773 mktime: merge HAVE_CONFIG_H change from gnulib
31774 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31776 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31781 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31783 (struct rusage): Use anonymous union to pad each field to
31786 2012-05-21 David S. Miller <davem@davemloft.net>
31788 * Makefules (o-iterator): Remove .s cases.
31789 (compile-command.s): Delete.
31790 (COMPILE.s): Delete.
31791 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31793 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31795 * configure.in (libc_cv_predef_stack_protector): Only consider
31796 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31797 * configure: Regenerated.
31799 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31802 New macro. Use R*LP on int and pointer.
31803 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31808 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31809 [__WORDSIZE_TIME64_COMPAT32] instead of
31810 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31811 (struct utmp): Likewise.
31812 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31813 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31815 (__WORDSIZE_TIME64_COMPAT32): This.
31816 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31817 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31818 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31819 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31820 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31821 (__WORDSIZE_TIME64_COMPAT32): New macro.
31823 2012-05-21 Andreas Jaeger <aj@suse.de>
31825 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31826 only if [SHARED]. Add prototype for __wcschr_ia32.
31828 2012-05-21 Roland McGrath <roland@hack.frob.com>
31830 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31831 of %rbp unmolested in the jmp_buf while mangling the low bits.
31832 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31833 unmolested high bits of %rbp while demangling the low bits.
31834 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31836 2012-05-21 Andreas Jaeger <aj@suse.de>
31838 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31839 * sunrpc/svc_simple.c: Use it for registerrpc.
31840 * sunrpc/xcrypt.c: Use it for passwd2des.
31842 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31844 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31846 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31847 Don't define if [__SYSCALL_WORDSIZE != 32].
31848 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31851 2012-05-21 Bruno Haible <bruno@clisp.org>
31852 Andreas Jaeger <aj@suse.de>
31854 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31855 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31856 inptr and inend for must_buffer_ch.
31857 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31858 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31859 * stdio-common/Makefile (tests): Remove bug15.
31860 (bug15-ENV): Remove macro.
31861 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31864 2012-05-19 Andreas Jaeger <aj@suse.de>
31865 Roland McGrath <roland@hack.frob.com>
31867 * manual/contrib.texi: Completely rewritten. It contains now an
31868 alphabetical list of contributors and their contributions.
31870 2012-05-21 Richard Henderson <rth@twiddle.net>
31872 * misc/getauxval.c (__getauxval): Use unsigned long int.
31873 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31874 (getauxval): Use unsigned long int.
31876 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31878 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31880 2012-05-21 Roland McGrath <roland@hack.frob.com>
31882 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31883 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31884 __alignof__ (long double).
31886 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31890 2012-05-20 Richard Henderson <rth@twiddle.net>
31892 * misc/getauxval.c: New file.
31893 * misc/sys/auxv.h: New file.
31894 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31895 (routines): Add getauxval.
31896 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31897 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31898 * elf/dl-sysdep.c (_dl_auxv): Remove.
31899 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31900 * elf/dl-support.c (_dl_auxv): New variable.
31901 (_dl_aux_init): Initialize it.
31902 * manual/startup.texi (Auxiliary Vector): New node.
31903 * sysdeps/generic/bits/hwcap.h: New file.
31904 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31905 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31906 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31907 * sysdeps/sparc/sysdep.h: ... here. Include it.
31908 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31921 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31925 2012-05-19 David S. Miller <davem@davemloft.net>
31927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31929 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31932 * math/s_ccosh.c: Include <float.h>
31933 (__ccosh): Avoid internal overflow calculating sinh and cosh
31934 values before multiplying by sin and cos values.
31935 * math/s_ccoshf.c: Likewise.
31936 * math/s_ccoshl.c: Likewise.
31937 * math/s_csin.c: Likewise.
31938 * math/s_csinf.c: Likewise.
31939 * math/s_csinl.c: Likewise.
31940 * math/s_csinh.c: Likewise.
31941 * math/s_csinhf.c: Likewise.
31942 * math/s_csinhl.c: Likewise.
31943 * math/libm-test.inc (ccos_test): Add more tests.
31944 (ccosh_test): Likewise.
31945 (csin_test): Likewise.
31946 (csinh_test): Likewise.
31947 * sysdeps/i386/fpu/libm-test-ulps: Update.
31948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31950 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31952 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31953 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31955 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31957 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31959 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31960 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31961 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31962 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31963 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31964 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31965 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31966 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31967 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31968 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31969 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31970 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31971 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31972 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31973 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31974 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31975 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31976 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31977 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31978 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31979 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31984 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31991 2012-05-18 Andreas Jaeger <aj@suse.de>
31993 * csu/.gitignore: Delete.
31995 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31997 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31998 (timex): Use __syscall_slong_t.
32000 2012-05-18 Andreas Jaeger <aj@suse.de>
32001 Carlos O'Donell <carlos_odonell@mentor.com>
32003 * manual/install.texi (Configuring and compiling): Update
32004 description about files modified in the source directory.
32005 * INSTALL: Regenerated.
32007 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32009 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32010 value. Use "or" to set return value to -1.
32011 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32012 negate return value.
32014 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32016 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32017 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32018 failure if the compiler has Graphite support disabled.
32019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32021 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32022 (CFLAGS-memmove.c): Likewise.
32023 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32026 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32028 * sysdeps/x86_64/x32/_itoa.h: New file.
32030 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32031 getdents system call only if kernel and user dirents have the
32032 same d_ino and d_off.
32034 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32035 LLONG_MAX != LONG_MAX.
32036 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32037 (_fitoa_word): Likewise.
32039 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32041 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32042 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32043 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32046 include <bits/wordsize.h>. Check __x86_64__ instead of
32048 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32049 if __x86_64__ is defined. Use anonymous union on fpstate.
32051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32054 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32056 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32057 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32058 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32059 Refer to _rtld_local_ro instead of _rtld_global_ro.
32060 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32062 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32064 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32066 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32067 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32068 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32070 * sysdeps/powerpc/powerpc32/dl-machine.c
32071 (__elf_machine_runtime_setup) [PROF]: Don't reference
32074 2012-05-18 Andreas Jaeger <aj@suse.de>
32076 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32077 function only available for GCCs before 3.4 since GCC 3.4
32078 introduced a builtin.
32080 (llrintf): Likewise.
32081 (llrint): Likewise.
32088 (nearbyint): Likewise.
32089 (nearbyintf): Likewise.
32093 (floorf): Likewise.
32095 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32097 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32098 on both fields and cast pointer to __syscall_ulong_t.
32100 * bits/types.h (__fsword_t): New type.
32101 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32102 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32104 (__FSWORD_T_TYPE): Likewise.
32105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32106 (__FSWORD_T_TYPE): Likewise.
32107 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32108 (__FSWORD_T_TYPE): Likewise.
32109 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32110 (__FSWORD_T_TYPE): Likewise.
32111 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32112 __SWORD_TYPE with __fsword_t.
32113 (statfs64): Likewise.
32115 2012-05-17 David S. Miller <davem@davemloft.net>
32117 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32119 2012-05-17 Andreas Jaeger <aj@suse.de>
32121 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32124 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32126 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32128 2012-05-17 Andreas Jaeger <aj@suse.de>
32130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32133 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32135 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32137 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32139 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32140 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32142 2012-05-17 Andreas Jaeger <aj@suse.de>
32143 Carlos O'Donell <carlos_odonell@mentor.com>
32146 * sysdeps/x86_64/multiarch/init-arch.h
32147 (bit_YMM_Usable): Rename to...
32148 (bit_AVX_Usable): ... this.
32149 (bit_FMA4_Usable): New macro.
32150 (bit_XMM_state): New macro.
32151 (bit_YMM_state): New macro.
32152 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32153 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32154 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32155 (CPUID_OSXSAVE): New macro.
32156 (CPUID_AVX): New macro.
32157 (CPUID_FMA4): New macro.
32158 (index_YMM_Usable): Rename to...
32159 (index_AVX_Usable): ... this.
32160 (HAS_AVX): Use HAS_ARCH_FEATURE.
32161 (HAS_FMA4): Likewise.
32162 (HAS_YMM_USABLE): Remove.
32163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32164 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32166 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32167 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32168 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32169 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32170 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32172 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32174 * math/libm-test.c: Support platforms without multiple rounding modes.
32175 * math/bug-nextafter.c: Support platforms without FP exceptions.
32176 * math/bug-nexttoward.c: Likewise.
32177 * math/test-fenv.c: Likewise.
32178 * math/test-misc.c: Likewise.
32179 * stdlib/bug-getcontext.c: Likewise.
32181 2012-05-17 Andreas Jaeger <aj@suse.de>
32183 * manual/examples/search.c (critter_cmp): Change signature to
32185 * manual/string.texi (Collation Functions): Likewise.
32187 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32189 * bits/types.h: Fold copyright years.
32190 * bits/typesizes.h: Likewise.
32191 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32195 * time/time.h: Likewise.
32197 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32200 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32201 in instead of returning them. Return void.
32202 (__libc_mallinfo): Accumulate over all arenas.
32203 (__malloc_stats): Adjust for change in int_mallinfo interface.
32205 2012-05-16 Roland McGrath <roland@hack.frob.com>
32208 * configure.in (NM): Add AC_CHECK_TOOL for it.
32209 (libc_extra_cflags): New substituted variable.
32210 Check for -fstack-protector being used implicitly.
32211 * configure: Regenerated.
32212 * config.make.in (config-extra-cflags): New variable,
32213 gets @libc_extra_cflags@.
32214 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32217 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32218 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32219 * configure: Regenerated.
32220 * config.make.in (CPPUNDEFS): New substituted variable.
32221 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32222 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32223 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32227 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32228 (mq_attr): Use __syscall_slong_t.
32230 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32232 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32233 Check __x86_64__ instead of __WORDSIZE.
32234 (_STAT_VER_LINUX): Likewise.
32235 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32236 __syscall_ulong_t and __syscall_slong_t.
32237 (stat64): Likewise.
32239 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32241 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32243 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32245 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32247 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32249 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32252 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32253 include <bits/wordsize.h>. Check __x86_64__ instead of
32255 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32257 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32259 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32260 include <bits/wordsize.h>. Check __x86_64__ instead of
32262 (user_regs_struct): Use "__extension__ unsigned long long"
32263 instead of "unsigned long" if __x86_64__ is defined.
32264 (user): Likewise. Pad after pointer field if __ILP32__ is
32267 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32269 * configure.in (makeinfo): Require version 4.5 or later. Allow
32271 * configure: Regenerated.
32272 * manual/install.texi (texinfo): Increase version requirement to
32274 * INSTALL: Regenerated.
32276 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32278 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32280 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32282 * sysdeps/x86_64/x32/ffs.c: New file.
32284 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32286 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32287 defined. Use __syscall_ulong_t.
32288 (shminfo): Use __syscall_ulong_t.
32289 (shm_info): Likewise.
32291 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32294 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32296 (msgqnum_t): Use __syscall_ulong_t.
32297 (msglen_t): Likewise.
32298 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32301 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32302 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32304 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32306 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32307 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32309 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32312 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32313 include <bits/wordsize.h>. Check __x86_64__ instead of
32316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32317 "unsigned long long int" if __x86_64__ is defined.
32318 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32320 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32321 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32322 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32324 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32326 (GET_PC): Cast to uintptr_t first.
32327 (GET_FRAME): Likewise.
32328 (GET_STACK): Likewise.
32330 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32331 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32332 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32333 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32334 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32335 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32336 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32337 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32338 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32340 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32341 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32342 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32347 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32360 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32362 * Makerules (+depfiles): Also collect depfiles from .oS in
32364 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32365 .oS, $(libnldbl-routines)).
32367 * Makerules (native-compile-mkdep-flags): Define.
32368 * sunrpc/Makefile (extra-objs): Add $(addprefix
32369 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32370 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32371 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32372 calling $(make-target-directory).
32374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32376 * bits/types.h (__snseconds_t): Removed.
32377 * time/time.h (struct timespec): Replace __snseconds_t with
32379 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32380 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32383 (__SNSECONDS_T_TYPE): Likewise.
32384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32385 (__SNSECONDS_T_TYPE): Likewise.
32386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32387 (__SNSECONDS_T_TYPE): Likewise.
32389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32391 * sysdeps/mach/hurd/bits/typesizes.h
32392 (__SYSCALL_SLONG_TYPE): New macro.
32393 (__SYSCALL_ULONG_TYPE): Likewise.
32395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32397 * bits/types.h (__syscall_slong_t): New type.
32398 (__syscall_ulong_t): Likewise.
32400 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32401 (__SYSCALL_ULONG_TYPE): Likewise.
32402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32403 (__SYSCALL_SLONG_TYPE): Likewise.
32404 (__SYSCALL_ULONG_TYPE): Likewise.
32405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32406 (__SYSCALL_SLONG_TYPE): Likewise.
32407 (__SYSCALL_ULONG_TYPE): Likewise.
32408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32409 (__SYSCALL_SLONG_TYPE): Likewise.
32410 (__SYSCALL_ULONG_TYPE): Likewise.
32412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32414 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32415 Add sigaltstack-offsets.sym.
32416 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32417 <sigaltstack-offsets.h>.
32418 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32419 longjmp_msg pointer.
32420 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32421 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32423 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32425 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32427 * elf/stackguard-macros.h: Remove file.
32428 * sysdeps/generic/stackguard-macros.h: New file.
32429 * sysdeps/i386/stackguard-macros.h: Likewise.
32430 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32431 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32432 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32433 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32434 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32435 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32436 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32437 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32438 <elf/stackguard-macros.h>.
32441 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32442 __aligned__ in attribute.
32443 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32444 (gregset_t): Likewise.
32446 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32448 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32449 * sysdeps/x86_64/64/Implies-after: Here. New file.
32450 * sysdeps/x86_64/x32/Implies-after: New file.
32452 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32454 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32455 and access return value for _dl_profile_fixup. Use R10_LP to
32458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32460 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32464 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32465 * sysdeps/x86_64/x32/sysdep.h: New file.
32467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32469 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32470 * sysdeps/x86_64/setjmp.S: Likewise.
32472 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32474 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32475 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32476 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32478 remove unused global constant.
32480 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32482 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32483 include of <not-cancel.h>.
32485 2012-05-15 Roland McGrath <roland@hack.frob.com>
32487 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32489 2012-05-15 Jeff Law <law@redhat.com>
32490 Andreas Jaeger <aj@suse.de>
32493 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32495 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32496 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32497 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32498 code changing __hst_map_handle.map.
32500 2012-05-15 Roland McGrath <roland@hack.frob.com>
32502 * configure.in (sysnames): Look for Implies-before and Implies-after
32504 * configure: Regenerated.
32506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32508 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32509 8-byte data alignment with LP_SIZE alignment.
32511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32518 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32522 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32523 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32524 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32530 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32531 (stackinfo_sub_sp): Likewise.
32533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32535 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32550 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32552 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32554 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32555 into R11_LP and load __x86_64_shared_cache_size_half into
32558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32560 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32563 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32569 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32572 powerpc32/power7/fpu/s_logb.c via #include.
32573 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32574 powerpc32/power7/fpu/s_logbf.c via #include.
32575 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32576 powerpc32/power7/fpu/s_logbl.c via #include.
32578 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32580 * README.libm: Remove file.
32582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32584 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32585 count for x32. Use R*_LP and omit operand-size suffix.
32587 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32589 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32590 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32591 * sysdeps/x86_64/x32/shlib-versions: New file.
32593 2012-05-14 Roland McGrath <roland@hack.frob.com>
32595 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32596 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32597 Use _dl_fatal_printf instead.
32599 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32601 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32602 set if not set by the user. Do not allow for being unset.
32603 * sysdeps/unix/sysv/linux/configure: Regenerated.
32605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32607 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32608 the `q' suffix from lea and replace .quad with ASM_ADDR.
32610 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32613 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32615 (PTR_DEMANGLE): Likewise.
32617 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32619 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32621 (ASM_ADDR): Likewise.
32622 (RAX_LP): Likewise.
32623 (RBP_LP): Likewise.
32624 (RBX_LP): Likewise.
32625 (RCX_LP): Likewise.
32626 (RDI_LP): Likewise.
32627 (RSI_LP): Likewise.
32628 (RSP_LP): Likewise.
32631 (R10_LP): Likewise.
32632 (R10_LP): Likewise.
32633 (R11_LP): Likewise.
32634 (R12_LP): Likewise.
32635 (R13_LP): Likewise.
32636 (R14_LP): Likewise.
32637 (R15_LP): Likewise.
32639 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32641 * sysdeps/x86_64/x32/dl-machine.h: New file.
32643 2012-05-14 Andreas Jaeger <aj@suse.de>
32645 * manual/Makefile (subdir): Remove export of subdir.
32646 (all): Remove target.
32647 (.PHONY): Remove all from list.
32648 (mkinstalldirs): Remove.
32649 (.PHONY): Remove installdirs from list.
32650 ($(inst_infodir)/libc.info): Use make-target-directory.
32651 (installdirs): Remove.
32652 (subdir_%): Remove.
32653 (glibc-targets): Remove.
32656 ($(objpfx)stubs ../po/manual.pot): Remove.
32657 ($(objpfx)stamp%): Remove.
32658 (make-target-directory): Remove.
32659 (subdir_install): Remove.
32660 (routines): Remove.
32667 * manual/.gitignore: Remove, it's not needed anymore.
32668 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32670 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32672 (texis): Renamed to $(objpfx)texis.
32673 (texis-path): New, contains path to generated files.
32674 (chapters.%): Use texis-path for complete path, add extra argument
32676 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32677 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32678 (summary,texi, stamp-summary): Use complete path of
32679 files. Generate files in build dir.
32680 (dir-add.texi): Build in build dir.
32681 (libm-err.texi,stamp-libm-err): Likewise.
32682 (version.texi, stamp-version): Likewise.
32683 (.%c.texi): Likewise.
32684 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32685 (mostlyclean): Remove target.
32686 (realclean): Remove target.
32687 (generated): Add new variable with contents from mostlyclean and
32688 realclean, remove entries duplicated in common-mostlyclean, add
32689 stamp-libm-err and stamp-version.
32690 (generated-dirs): Add libc directory.
32691 ($(inst_infodir)/libc.info): Install files from build dir.
32693 * manual/install.texi (Configuring and compiling): Adjust since
32694 the info files are not part of the tar ball anymore.
32696 2012-05-14 Andreas Jaeger <aj@suse.de>
32698 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32701 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32704 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32705 to 2.2.0 where earlier.
32706 * sysdeps/unix/sysv/linux/configure: Regenerated.
32707 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32708 Remove conditional code.
32709 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32710 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32711 Remove conditional code.
32712 [!__NR_lchown]: Likewise.
32713 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32714 [__NR_lchown]: Likewise.
32715 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32716 comment referencing __ASSUME_LCHOWN_SYSCALL.
32717 * sysdeps/unix/sysv/linux/i386/sigaction.c
32718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32720 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32721 Remove conditional code.
32722 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32723 (__protocol_available): Remove #if 0 code.
32724 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32726 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32727 * sysdeps/unix/sysv/linux/kernel-features.h
32728 (__ASSUME_GETCWD_SYSCALL): Don't define.
32729 (__ASSUME_REALTIME_SIGNALS): Likewise.
32730 (__ASSUME_PREAD_SYSCALL): Likewise.
32731 (__ASSUME_PWRITE_SYSCALL): Likewise.
32732 (__ASSUME_POLL_SYSCALL): Likewise.
32733 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32734 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32736 (__ASSUME_SIOCGIFNAME): Don't define.
32737 (__ASSUME_MSG_NOSIGNAL): Likewise.
32738 (__ASSUME_SENDFILE): Define unconditionally.
32739 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32740 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32742 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32744 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32745 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32746 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32747 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32748 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32750 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32751 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32753 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32756 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32757 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32762 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32763 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32765 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32768 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32771 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32772 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32773 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32774 Remove conditional code.
32775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32776 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32777 Remove conditional code.
32778 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32779 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32780 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32781 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32782 Remove conditional code.
32783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32784 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32785 Remove conditional code.
32786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32787 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32788 Remove conditional code.
32789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32790 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32791 Remove conditional code.
32792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32793 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32794 Remove conditional code.
32795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32799 * sysdeps/unix/sysv/linux/sigaction.c
32800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32802 * sysdeps/unix/sysv/linux/sigpending.c
32803 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32804 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32805 * sysdeps/unix/sysv/linux/sigprocmask.c
32806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32808 * sysdeps/unix/sysv/linux/sigsuspend.c
32809 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32810 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32811 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32812 (__libc_missing_rt_sigs): Remove.
32813 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32814 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32815 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32816 Remove conditional code.
32817 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32818 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32820 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32821 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32822 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32823 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32825 2012-05-14 Andreas Jaeger <aj@suse.de>
32827 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32828 it's not used in glibc.
32829 (__coshm1): Likewise.
32830 (__acosh1p): Likewise.
32833 * manual/string.texi (Copying and Concatenation): Add missing
32834 variable in concat example.
32835 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32837 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32840 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32841 __builtin_clzl with __builtin_clzll.
32843 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32846 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32849 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32851 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32852 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32853 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32854 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32856 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32858 * NEWS: Update ia64 info.
32860 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32862 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32865 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32867 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32868 * sysdeps/unix/syscalls.list (dup3): Likewise.
32869 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32870 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32872 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32874 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32875 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32877 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32879 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32881 (TLS_IE): Use mov/add instead of movq/addq to load thread
32883 (TLS_GD_PREFIX): New.
32886 2012-05-11 David S. Miller <davem@davemloft.net>
32888 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32889 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32890 (_FPU_SETCW): Likewise.
32892 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32894 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32895 is 32-byte aligned.
32897 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32900 * iconvdata/gb18030.c: Update tables.
32901 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32902 characters specially.
32903 (BODY for TO_LOOP): Add encoding of missing ranges.
32905 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32908 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32909 * sysdeps/mach/hurd/dup3.c: Likewise.
32910 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32911 * sysdeps/powerpc/memmove.c:: Likewise.
32913 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32915 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32916 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32918 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32920 * elf/elf.h (R_X86_64_RELATIVE64): New.
32921 (R_X86_64_NUM): Updated.
32922 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32923 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32924 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32925 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32926 tst-quad1pie tst-quad2pie
32927 (modules-names): Add tst-quadmod1 tst-quadmod2.
32928 ($(objpfx)tst-quad1): New dependency.
32929 ($(objpfx)tst-quad2): Likewise.
32930 ($(objpfx)tst-quad1pie): Likewise.
32931 ($(objpfx)tst-quad2pie): Likewise.
32932 * sysdeps/x86_64/tst-quad1.c: New file.
32933 * sysdeps/x86_64/tst-quad1pie.c: New file.
32934 * sysdeps/x86_64/tst-quad2.c: Likewise.
32935 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32936 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32937 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32938 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32939 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32943 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32944 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32945 * streams/stropts.h (t_scalar_t): Define type.
32947 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32948 (_PATH_PRESERVE): Set to "/var/lib".
32949 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32951 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32954 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32955 if __dir_mkfile succeeded.
32957 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32958 checking for _hurd_dtablesize. Unlock it right after having
32959 finished _hurd_dtable allocation.
32961 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32963 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32964 * sysdeps/mach/hurd/configure: Regenerated.
32965 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32966 special-casing to...
32967 * sysdeps/gnu/configure.in: ... this new file.
32968 * sysdeps/unix/sysv/linux/configure: Regenerated.
32969 * sysdeps/gnu/configure: New generated file.
32971 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32972 for Linux: use nsec instead of usec, as well as:
32973 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32974 members of type struct timespec.
32975 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32977 (struct stat64): Likewise.
32978 (_STATBUF_ST_NSEC): New macro.
32979 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32981 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32982 __strtoul_internal rather than strtoul.
32984 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32986 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32989 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32991 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32992 which preserves existing values.
32993 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32995 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32997 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32998 TIMEOUT values. Return EINVAL for NFDS values either negative or
32999 greater than FD_SETSIZE.
33001 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33003 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33004 allocated, call __vm_protect to finish enabling the existing space, and
33005 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33006 allocate the remainder.
33008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33010 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33011 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33013 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33015 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33016 sysdeps/mach/hurd/readlink.c.
33018 * posix/tst-sysconf.c (posix_options): Only use
33019 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33020 _POSIX_SYNCHRONIZED_IO when they are defined
33021 * sysdeps/mach/hurd/bits/posix_opt.h:
33022 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33023 (_XOPEN_REALTIME): Undefine macro.
33024 (_XOPEN_REALTIME_THREADS): Undefine macro.
33025 (_XOPEN_SHM): Undefine macro.
33026 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33028 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33030 (_POSIX_ASYNC_IO): Undefine macro.
33031 (_POSIX_PRIORITIZED_IO): Undefine macro.
33032 (_POSIX_SPIN_LOCKS): Define macro to -1.
33034 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33035 SA_NODEFER, SA_RESETHAND.
33036 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33037 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33040 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33042 * elf/Makefile (pldd-modules): Define unconditionally.
33044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33046 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33048 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33050 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33051 Return ENOENT when name is empty.
33052 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33054 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33056 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33058 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33060 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33062 Fix mlock in all cases except non-readable pages.
33063 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33064 instead of VM_PROT_ALL as parameter to __vm_wire function.
33066 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33067 (__mkdir): When path is `/', just fail with EEXIST.
33068 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33070 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33072 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33073 <sys/uio.h> (for writev).
33074 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33075 and <sys/param.h> (for MIN).
33077 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33079 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33080 REQUESTED_TIME. Properly set the remaining time and return EINTR
33083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33085 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33086 Depend on against $(link-rpcuserlibs).
33088 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33090 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33091 (__libc_stack_end): Do not use attribute_relro.
33092 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33093 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33094 to libthread-provided value.
33095 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33101 * bits/libc-lock.h (__libc_once_get): New macro.
33102 * sysdeps/mach/bits/libc-lock.h: Likewise.
33103 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33105 instead of using implementation details.
33107 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33108 * libio/freopen.c: Likewise.
33109 * libio/freopen64.c: Likewise.
33110 * misc/syslog.c: Likewise.
33111 * nscd/connections.c: Likewise.
33112 * nscd/netgroupcache.c: Likewise.
33113 * sysdeps/posix/getcwd.c: Likewise.
33115 2012-05-10 Roland McGrath <roland@hack.frob.com>
33117 * math/w_ilogbf.c: Add #include <limits.h>.
33119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33121 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33122 path instead of returning without unlocking.
33124 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33125 immediate-write ioctls.
33126 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33130 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33131 __builtin_frame_address instead of making assumptions about the
33132 location of the return address relative to DATA. Force early load of
33133 the return address.
33134 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33135 __builtin_frame_address.
33138 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33139 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33140 implement dup3 and do some further code clean-ups.
33141 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33142 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33146 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33148 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33149 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33150 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33151 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33152 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33155 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33156 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33157 when handler == SIG_ERR, not when handler != SIG_ERR.
33159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33161 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33162 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33165 accept4 for GNU Hurd.
33166 * include/sys/socket.h (__libc_accept4): New prototype.
33167 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33168 to implement __libc_accept4.
33169 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33171 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33173 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33174 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33175 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33176 signal-defines.sym.
33178 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33180 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33182 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33184 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33185 assertion on O_CLOEXEC flag.
33186 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33187 * hurd/intern-fd.c: Likewise.
33188 * hurd/port2fd.c: Likewise.
33190 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33193 * bits/in.h (IPV6_PKTINFO): Define new macro.
33194 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33196 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33201 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33203 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33204 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33206 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33207 * math/libm-test.inc (logb_test) : Additional logb tests.
33209 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33210 Andreas Jaeger <aj@suse.de>
33212 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33213 * configure: Regenerated.
33214 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33215 * config.make.in (link-obsolete-rpc): New substituted variable.
33216 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33217 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33218 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33219 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33220 so that libc.a contains the symbols.
33221 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33222 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33223 * sunrpc/auth_none.c: Likewise.
33224 * sunrpc/auth_unix.c: Likewise.
33225 * sunrpc/authdes_prot.c: Likewise.
33226 * sunrpc/authuxprot.c: Likewise.
33227 * sunrpc/clnt_gen.c: Likewise.
33228 * sunrpc/clnt_perr.c: Likewise.
33229 * sunrpc/clnt_raw.c: Likewise.
33230 * sunrpc/clnt_simp.c: Likewise.
33231 * sunrpc/clnt_tcp.c: Likewise.
33232 * sunrpc/clnt_udp.c: Likewise.
33233 * sunrpc/clnt_unix.c: Likewise.
33234 * sunrpc/des_crypt.c: Likewise.
33235 * sunrpc/des_soft.c: Likewise.
33236 * sunrpc/get_myaddr.c: Likewise.
33237 * sunrpc/key_call.c: Likewise.
33238 * sunrpc/key_prot.c: Likewise.
33239 * sunrpc/netname.c: Likewise.
33240 * sunrpc/pm_getmaps.c: Likewise.
33241 * sunrpc/pm_getport.c: Likewise.
33242 * sunrpc/pmap_clnt.c: Likewise.
33243 * sunrpc/pmap_prot.c: Likewise.
33244 * sunrpc/pmap_prot2.c: Likewise.
33245 * sunrpc/pmap_rmt.c: Likewise.
33246 * sunrpc/publickey.c: Likewise.
33247 * sunrpc/rpc_cmsg.c: Likewise.
33248 * sunrpc/rpc_common.c: Likewise.
33249 * sunrpc/rpc_dtable.c: Likewise.
33250 * sunrpc/rpc_prot.c: Likewise.
33251 * sunrpc/rpc_thread.c: Likewise.
33252 * sunrpc/rtime.c: Likewise.
33253 * sunrpc/svc.c: Likewise.
33254 * sunrpc/svc_auth.c: Likewise.
33255 * sunrpc/svc_raw.c: Likewise.
33256 * sunrpc/svc_run.c: Likewise.
33257 * sunrpc/svc_tcp.c: Likewise.
33258 * sunrpc/svc_udp.c: Likewise.
33259 * sunrpc/svc_unix.c: Likewise.
33260 * sunrpc/svcauth_des.c: Likewise.
33261 * sunrpc/xcrypt.c: Likewise.
33262 * sunrpc/xdr.c: Likewise.
33263 * sunrpc/xdr_array.c: Likewise.
33264 * sunrpc/xdr_float.c: Likewise.
33265 * sunrpc/xdr_intXX_t.c: Likewise.
33266 * sunrpc/xdr_mem.c: Likewise.
33267 * sunrpc/xdr_rec.c: Likewise.
33268 * sunrpc/xdr_ref.c: Likewise.
33269 * sunrpc/xdr_sizeof.c: Likewise.
33270 * sunrpc/xdr_stdio.c: Likewise.
33272 2012-05-10 Roland McGrath <roland@hack.frob.com>
33274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33275 change. Update copyright years.
33277 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33279 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33281 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33282 Joseph Myers <joseph@codesourcery.com>
33283 Paul Pluzhnikov <ppluzhnikov@google.com>
33286 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33288 [cross-compiling] (extra-libs): Likewise.
33289 [cross-compiling] (extra-libs-others): Likewise.
33290 [cross-compiling] (librpcsvc-routines): Likewise.
33291 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33292 [cross-compiling] (omit-deps): Likewise.
33293 (sunrpc-CPPFLAGS): New variable.
33294 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33295 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33296 (cross-rpcgen-objs): New variable.
33297 (extra-objs): Append $(cross-rpcgen-objs).
33298 ($(cross-rpcgen-objs)): New rule.
33299 ($(objpfx)cross-rpcgen): Likewise.
33300 (rpcgen-cmd): Define to use $(built-program-file). Expand
33302 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33303 ($(objpfx)x%.stmp): Likewise.
33304 * sunrpc/proto.h [IS_IN_build] (_): Define.
33305 [IS_IN_build] (_libc_intl_domainname): Likewise.
33307 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33310 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33311 and R_X86_64_TPOFF64.
33313 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33315 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33316 sysdeps/unix/sysv/syscalls.list.
33319 * sysdeps/unix/sysv/syscalls.list: Remove file.
33321 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33324 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33325 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33326 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33327 (__LC_IDENTIFICATION): Make these macros useful in #if
33328 expressions, as required by C99.
33330 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33332 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33333 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33336 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33338 * stdlib/longlong.h: Updated from GCC.
33340 2012-05-09 Andreas Jaeger <aj@suse.de>
33342 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33343 default is first entry.
33344 (run_mode): Set type.
33345 (main): Remove informal message about syslog.
33346 (options): Fix typo.
33349 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33352 (llrintf): Likewise.
33353 (llrint): Likewise.
33356 (nearbyint): Likewise.
33357 (nearbyintf): Likewise.
33359 2012-05-09 Andreas Jaeger <aj@suse.de>
33360 Pedro Alves <palves@redhat.com>
33362 * nscd/nscd.c (run_mode): Use enum.
33363 (main): Cleanup coding style issue.
33365 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33366 Andreas Jaeger <aj@suse.de>
33368 * nscd/nscd.c (go_background): Replaced with...
33369 (run_mode): ... this.
33370 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33371 (options): Add -F --foreground.
33372 (main): Implement it.
33373 (parse_opt): Parse it.
33375 2012-05-09 Andreas Jaeger <aj@suse.de>
33378 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33379 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33380 -Wconversion warning.
33381 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33384 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33386 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33388 (LC_ALL): Use macro-int-constant.
33389 (LC_COLLATE): Likewise.
33390 (LC_CTYPE): Likewise.
33391 (LC_MESSAGES): Likewise.
33392 (LC_MONETARY): Likewise.
33393 (LC_NUMERIC): Likewise.
33394 (LC_TIME): Likewise.
33395 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33396 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33398 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33400 [C99-based standards] (float_t): Expect type.
33401 [C99-based standards] (double_t): Expect type.
33402 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33404 [C99-based standards] (HUGE_VALL): Likewise.
33405 [C99-based standards] (INFINITY): Likewise.
33406 [C99-based standards] (NAN): Likewise.
33407 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33408 [C99-based standards] (FP_NAN): Likewise.
33409 [C99-based standards] (FP_NORMAL): Likewise.
33410 [C99-based standards] (FP_SUBNORMAL): Likewise.
33411 [C99-based standards] (FP_ZERO): Likewise.
33412 [C99-based standards] (FP_FAST_FMA): Use
33413 optional-macro-int-constant. Specify type. Require == 1.
33414 [C99-based standards] (FP_FAST_FMAF): Likewise.
33415 [C99-based standards] (FP_FAST_FMAL): Likewise.
33416 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33417 [C99-based standards] (FP_ILOGBNAN): Likewise.
33418 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33420 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33421 [C99-based standards] (math_errhandling): Specify type.
33422 [ISO99 || ISO11] (signgam): Do not allow.
33423 [non-C99-based standards] (copysignf): Do not allow.
33424 [non-C99-based standards] (exp2f): Likewise.
33425 [non-C99-based standards] (log2f): Likewise.
33426 [non-C99-based standards] (modff): Allow.
33427 [non-C99-based standards] (erff): Do not allow.
33428 [non-C99-based standards] (erfcf): Likewise.
33429 [non-C99-based standards] (gammaf): Likewise.
33430 [non-C99-based standards] (hypotf): Likewise.
33431 [non-C99-based standards] (j0f): Likewise.
33432 [non-C99-based standards] (j1f): Likewise.
33433 [non-C99-based standards] (jnf): Likewise.
33434 [non-C99-based standards] (lgammaf): Likewise.
33435 [non-C99-based standards] (tgammaf): Likewise.
33436 [non-C99-based standards] (y0f): Likewise.
33437 [non-C99-based standards] (y1f): Likewise.
33438 [non-C99-based standards] (ynf): Likewise.
33439 [non-C99-based standards] (isnanf): Likewise.
33440 [non-C99-based standards] (acoshf): Likewise.
33441 [non-C99-based standards] (asinhf): Likewise.
33442 [non-C99-based standards] (atanhf): Likewise.
33443 [non-C99-based standards] (cbrtf): Likewise.
33444 [non-C99-based standards] (expm1f): Likewise.
33445 [non-C99-based standards] (ilogbf): Likewise.
33446 [non-C99-based standards] (log1pf): Likewise.
33447 [non-C99-based standards] (logbf): Likewise.
33448 [non-C99-based standards] (nextafterf): Likewise.
33449 [non-C99-based standards] (remainderf): Likewise.
33450 [non-C99-based standards] (rintf): Likewise.
33451 [non-C99-based standards] (scalbf): Likewise.
33452 [non-C99-based standards] (copysignl): Likewise.
33453 [non-C99-based standards] (exp2l): Likewise.
33454 [non-C99-based standards] (log2l): Likewise.
33455 [non-C99-based standards] (modfl): Allow.
33456 [non-C99-based standards] (erfl): Do not allow.
33457 [non-C99-based standards] (erfcl): Likewise.
33458 [non-C99-based standards] (gammal): Likewise.
33459 [non-C99-based standards] (hypotl): Likewise.
33460 [non-C99-based standards] (j0l): Likewise.
33461 [non-C99-based standards] (j1l): Likewise.
33462 [non-C99-based standards] (jnl): Likewise.
33463 [non-C99-based standards] (lgammal): Likewise.
33464 [non-C99-based standards] (tgammal): Likewise.
33465 [non-C99-based standards] (y0l): Likewise.
33466 [non-C99-based standards] (y1l): Likewise.
33467 [non-C99-based standards] (ynl): Likewise.
33468 [non-C99-based standards] (isnanl): Likewise.
33469 [non-C99-based standards] (acoshl): Likewise.
33470 [non-C99-based standards] (asinhl): Likewise.
33471 [non-C99-based standards] (atanhl): Likewise.
33472 [non-C99-based standards] (cbrtl): Likewise.
33473 [non-C99-based standards] (expm1l): Likewise.
33474 [non-C99-based standards] (ilogbl): Likewise.
33475 [non-C99-based standards] (log1pl): Likewise.
33476 [non-C99-based standards] (logbl): Likewise.
33477 [non-C99-based standards] (nextafterl): Likewise.
33478 [non-C99-based standards] (remainderl): Likewise.
33479 [non-C99-based standards] (rintl): Likewise.
33480 [non-C99-based standards] (scalbl): Likewise.
33481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33482 [non-C99-based standards] (FP_*): Do not allow.
33483 [C99-based standards] (FP_*): Change to
33484 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33485 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33487 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33488 (SIG_ERR): Likewise.
33489 [X/Open-based standards] (SIG_HOLD): Likewise.
33490 (SIG_IGN): Likewise.
33491 (SIGABRT): Use macro-int-constant. Specify type. Require
33493 (SIGFPE): Likewise.
33494 (SIGILL): Likewise.
33495 (SIGINT): Likewise.
33496 (SIGSEGV): Likewise.
33497 (SIGTER): Likewise.
33498 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33499 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33500 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33501 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33502 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33503 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33504 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33505 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33506 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33507 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33508 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33509 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33510 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33515 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33516 [X/Open-based standards] (SIGTRAP): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33521 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33524 2012-05-08 Ian Wienand <ianw@vmware.com>
33527 * time/tzset.c (__tzset_parse_tz): Update default rules for
33528 daylight time changes in the Energy Policy Act of 2005.
33530 2012-05-09 Andreas Jaeger <aj@suse.de>
33533 * elf/ldconfig.c (parse_conf): Change string to make clear that
33534 ldconfig only issued a warning if ld.so.conf does not exist.
33536 2012-05-08 David S. Miller <davem@davemloft.net>
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33539 movxtod instead of popping the value on the stack.
33541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33543 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33545 * config.h.in: Add HAVE_ARM_PCS_VFP.
33547 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33550 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33551 checking but the checks are disabled for any reason.
33553 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33555 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33556 and ELF64_R_TYPE with ELFW(R_TYPE).
33558 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33560 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33561 (ulimit): Likewise.
33563 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33564 (settimeofday): Likewise.
33566 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33568 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33569 a struct th_u2 inside the union, and move tu_block/tu_code into
33570 a new th_u3 union of tu_block/tu_code inside of that. Move
33571 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33572 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33573 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33574 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33575 (th_stuff): Change to th_u1.tu_stuff.
33577 (th_msg): Change to th_u1.th_u2.tu_data.
33579 2012-05-07 David S. Miller <davem@davemloft.net>
33581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33584 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33585 (SETUP_PIC_REG): Use it.
33586 (SETUP_PIC_REG_LEAF): Use it.
33588 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33594 (EXPL_FINITE): Likewise.
33595 (FLDLOG): Likewise.
33596 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33597 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33599 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33601 (EXPL_FINITE): Likewise.
33602 (FLDLOG): Likewise.
33603 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33604 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33606 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33607 test of -max_value argument for long double.
33608 * sysdeps/i386/fpu/libm-test-ulps: Update.
33609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33611 2012-05-06 David S. Miller <davem@davemloft.net>
33613 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33614 quad soft-float symbols whose references which are compiler
33616 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33618 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33622 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33624 (EXPL_FINITE): Likewise.
33625 (FLDLOG): Likewise.
33628 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33629 Adjust comments for base varying.
33630 (__expl_finite): Change alias to EXPL_FINITE.
33631 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33633 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33634 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33636 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33639 (EXPL_FINITE): Likewise.
33640 (FLDLOG): Likewise.
33643 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33644 Adjust comments for base varying.
33645 (__expl_finite): Change alias to EXPL_FINITE.
33646 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33651 * math/libm-test.inc (check_float_internal): Correct ulp
33652 calculation for subnormal expected results.
33654 2012-05-06 Andreas Jaeger <aj@suse.de>
33656 * Makeconfig (+math-flags): New, set to -frounding-math.
33657 (+cflags): Add +math-flags so that all of glibc gets compiled with
33660 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33662 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33664 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33670 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33671 (__ieee754_expl): Allow for and saturate large arguments.
33672 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33673 (u_threshold): Likewise.
33674 (__exp): Call __ieee754_exp before checking for overflow and
33676 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33677 (u_threshold): Likewise.
33678 (__expf): Call __ieee754_expf before checking for overflow and
33680 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33681 (u_threshold): Likewise.
33682 (__expl): Call __ieee754_expl before checking for overflow and
33684 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33685 (__ieee754_expl): Allow for and saturate large arguments.
33686 * math/libm-test.inc (exp_test): Add another test. Do not allow
33687 missing overflow exception on overflow.
33688 (expm1_test): Do not allow missing overflow exception on overflow.
33690 * sysdeps/i386/fpu/e_expl.c: Move to ...
33691 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33692 rather than using inline asm.
33693 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33694 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33695 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33697 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33700 (signal): Likewise.
33704 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33706 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33707 sysdeps/unix/common/syscalls.list.
33708 (fchmod): Likewise.
33709 (fchown): Likewise.
33710 (ftruncate): Likewise.
33711 (getrusage): Likewise.
33712 (gettimeofday): Likewise.
33713 (setpgid): Likewise.
33714 (setregid): Likewise.
33715 (setreuid): Likewise.
33716 (sigaction): Likewise.
33717 (truncate): Likewise.
33718 (vhangup): Likewise.
33719 * sysdeps/unix/common/syscalls.list: Remove file.
33720 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33721 * sysdeps/unix/sysv/linux/Implies: Likewise.
33723 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33725 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33727 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33731 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33734 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33737 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33740 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33743 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33746 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33749 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33753 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33757 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33760 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33764 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33768 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33770 * sysdeps/unix/common/bits/dirent.h: Remove file.
33771 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33773 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33774 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33775 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33776 * sysdeps/unix/bsd/isatty.c: Likewise.
33777 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33778 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33779 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33781 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33784 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33785 long double comparison inaccuracies.
33786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33789 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33791 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33792 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33794 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33798 nonzero digits before rounding a hex value.
33799 * stdlib/tst-strtod.c (tests): Add another test.
33801 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33803 * sysdeps/s390/fpu/libm-test-ulps: Update.
33805 2012-05-03 Andreas Jaeger <aj@suse.de>
33807 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33808 does not get optimized out.
33809 (malloc_opt_barrier): New.
33811 2012-05-03 Andreas Jaeger <aj@suse.de>
33812 Roland McGrath <roland@hack.frob.com>
33814 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33815 intermediate file deletion.
33816 (generated): Add .symlist files.
33818 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33821 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33822 Redirect under this condition.
33823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33824 [__USE_GNU] (__dprintf_chk): Not under this condition.
33825 [__USE_GNU] (__vdprintf_chk): Likewise.
33826 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33827 under this condition.
33828 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33829 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33830 [__USE_XOPEN2K8] (vdprintf): Likewise.
33831 [__USE_GNU] (__dprintf_chk): Not under this condition.
33832 [__USE_GNU] (__vdprintf_chk): Likewise.
33833 [__USE_GNU] (dprintf): Likewise.
33834 [__USE_GNU] (vdprintf): Likewise.
33836 2012-05-03 Roland McGrath <roland@hack.frob.com>
33838 * elf/Makefile (common-generated): Set this instead of generated for
33839 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33840 $(all-built-dso)-derived lists.
33842 2012-05-03 Andreas Jaeger <aj@suse.de>
33844 * sysdeps/i386/fpu/libm-test-ulps: Update.
33847 * FAQ.in: Likewise.
33848 * scripts/gen-FAQ.pl: Likewise.
33849 * manual/install.texi (Installation): Point to online location of
33851 * Makefile (files-for-dist): Remove FAQ.
33854 2012-05-02 Allan McRae <allan@archlinux.org>
33856 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33857 (LDFLAGS-reldepmod5.so): Likewise.
33858 (LDFLAGS-reldep6mod1.so): Likewise.
33859 (LDFLAGS-reldep6mod4.so): Likewise.
33860 (LDFLAGS-reldep8mod3.so): Likewise.
33861 (LDFLAGS-unload4mod1.so): Likewise.
33862 (LDFLAGS-unload4mod2.so): Likewise.
33863 (LDFLAGS-tst-initorder): Likewise.
33864 (LDFLAGS-tst-initordera2.so): Likewise.
33865 (LDFLAGS-tst-initordera3.so): Likewise.
33866 (LDFLAGS-tst-initordera4.so): Likewise.
33867 (LDFLAGS-tst-initorderb2.so): Likewise.
33868 (LDFLAGS-noload): Likewise.
33869 (LDFLAGS-next): Likewise.
33870 (LDFLAGS-order2mod1.so): Likewise.
33871 (LDFLAGS-order2mod2.so): Likewise.
33872 (LDFLAGS-tst-initorder2): Likewise.
33873 (LDFLAGS-tst-initorder2a.so): Likewise.
33874 (LDFLAGS-tst-initorder2b.so): Likewise.
33875 (LDFLAGS-tst-initorder2c.so): Likewise.
33876 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33878 2012-05-02 David S. Miller <davem@davemloft.net>
33880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33882 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33885 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33887 2012-05-02 Andreas Jaeger <aj@suse.de>
33889 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33890 since we manipulate rounding mode.
33891 (CPPFLAGS-test-idouble.c): Likewise.
33892 (CPPFLAGS-test-ifloat.c): Likewise.
33893 (CFLAGS-test-ldouble.c): Likewise.
33894 (CFLAGS-test-double.c): Likewise.
33895 (CFLAGS-test-float.c): Likewise.
33896 (CFLAGS-test-misc.c): Likewise.
33897 (CFLAGS-test-test-fenv.c): Likewise.
33899 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33903 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33904 comparisons to determine direction to adjust input.
33906 2012-05-01 Roland McGrath <roland@hack.frob.com>
33908 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33909 output to the target.
33911 * scripts/localplt.awk: New file.
33912 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33913 (check-localplt-CFLAGS): Variable removed.
33914 ($(all-built-dso:=.jmprel)): New static pattern rule.
33915 (generated): Add those targets.
33916 (localplt-built-dso): New variable.
33917 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33919 * elf/check-localplt.c: File removed.
33921 * scripts/check-execstack.awk: New file.
33922 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33923 (check-execstack-CFLAGS): Variable removed.
33924 ($(objpfx)check-execstack.h): Target removed.
33925 ($(objpfx)execstack-default): New target.
33926 (generated): Add that instead of check-execstack.h.
33927 ($(all-built-dso:=.phdr)): New static pattern rule.
33928 (generated): Add those targets.
33929 * elf/check-execstack.c: File removed.
33931 * scripts/check-textrel.awk: New file.
33932 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33933 (check-textrel-CFLAGS): Variable removed.
33934 (all-built-dso): Use := to define.o
33935 ($(all-built-dso:=.dyn)): New static pattern rule.
33936 (generated): Add those targets.
33937 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33938 * config.make.in (READELF): New substituted variable.
33939 * elf/check-textrel.c: File removed.
33941 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33943 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33945 * conform/data/ctype.h-data [C99-based standards] (isblank):
33947 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33948 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33949 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33950 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33951 Specify type. Require positive value.
33952 (EILSEQ): Likewise.
33953 (ERANGE): Likewise.
33954 [ISO || POSIX] (EILSEQ): Do not expect.
33955 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33956 Specify type. Require positive value.
33957 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33958 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33959 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34031 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34032 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34033 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34035 (FLT_ROUNDS): Expect as macro, not constant.
34036 (FLT_MANT_DIG): Use macro-int-constant.
34037 (DBL_MANT_DIG): Likewise.
34038 (LDBL_MANT_DIG): Likewise.
34039 (FLT_DIG): Likewise.
34040 (DBL_DIG): Likewise.
34041 (LDBL_DIG): Likewise.
34042 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34043 (DBL_MIN_EXP): Likewise.
34044 (LDBL_MIN_EXP): Likewise.
34045 (FLT_MAX_EXP): Use macro-int-constant.
34046 (DBL_MAX_EXP): Likewise.
34047 (LDBL_MAX_EXP): Likewise.
34048 (FLT_MAX_10_EXP): Likewise.
34049 (DBL_MAX_10_EXP): Likewise.
34050 (LDBL_MAX_10_EXP): Likewise.
34051 (FLT_MAX): Use macro-constant.
34052 (DBL_MAX): Likewise.
34053 (LDBL_MAX): Likewise.
34054 (FLT_EPSILON): Use macro-constant. Give upper bound.
34055 (DBL_EPSILON): Likewise.
34056 (LDBL_EPSILON): Likewise.
34057 (FLT_MIN): Likewise.
34058 (DBL_MIN): Likewise.
34059 (LDBL_MIN): Likewise.
34060 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34061 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34062 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34063 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34064 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34065 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34066 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34067 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34068 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34069 [ISO11] (FLT_TRUE_MIN): Likewise.
34070 [ISO11] (LDBL_TRUE_MIN): Likewise.
34071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34072 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34073 (SCHAR_MIN): Use macro-int-constant. Specify type.
34074 (SCHAR_MAX): Likewise.
34075 (UCHAR_MAX): Likewise.
34076 (CHAR_MIN): Likewise.
34077 (CHAR_MAX): Likewise.
34078 (MB_LEN_MAX): Use macro-int-constant.
34079 (SHRT_MIN): Use macro-int-constant. Specify type.
34080 (SHRT_MAX): Likewise.
34081 (USHRT_MAX): Likewise.
34082 (INT_MAX): Likewise.
34083 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34085 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34087 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34089 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34090 bound negative. Suffix upper bound with "L".
34091 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34093 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34095 [C99-based standards] (LLONG_MAX): Likewise.
34096 [C99-based standards] (ULLONG_MAX): Likewise.
34097 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34099 [ISO11] (max_align_t): Require type.
34100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34102 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34103 from $CFLAGS, without defining away __attribute__ calls.
34104 (checknamespace): Use $CFLAGS_namespace.
34106 * conform/conformtest.pl (@keywords): Only include C99 keywords
34107 for standards based on C99 or C11.
34109 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34111 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34114 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34115 usability of symbols in #if.
34117 * conform/conformtest.pl: If macro or constant types start
34118 "promoted:", expect the symbol to be of the following type
34119 promoted by the integer promotions.
34121 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34122 in one place. Also handle "macro-constant".
34124 * conform/conformtest.pl: Only accept expected macro values with
34125 "==". Parse all "macro" lines in one place.
34126 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34128 * conform/conformtest.pl: Handle braced types on "constant" lines
34129 instead of handling "typed-constant".
34130 * conform/data/signal.h-data: Use "constant" instead of
34133 * conform/conformtest.pl: Handle "optional-" at start of lines in
34134 one place rather than duplicating several cases. Handle each
34135 format of "macro" line with initial "optional-".
34137 * conform/conformtest.pl: Only accept expected constant or
34138 optional-constant values with "==". Parse all "constant" lines in
34139 one place. Parse all "optional-constant" lines in one place.
34140 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34141 * conform/data/fmtmsg.h-data: Likewise.
34142 * conform/data/netinet/in.h-data: Likewise.
34143 * conform/data/tar.h-data: Likewise.
34144 * conform/data/limits.h-data: Use "==" form on "constant" and
34145 "optional-constant" lines.
34147 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34148 Use -std=c99 for XOPEN2K.
34149 (@knownproblems): Remove.
34150 (newtoken): Don't check %isknown.
34152 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34153 Do not expect macro.
34154 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34160 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34164 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34166 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34167 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34184 [XPG3] (acosh): Likewise.
34185 [XPG3] (asinh): Likewise.
34186 [XPG3] (atanh): Likewise.
34187 [XPG3] (cbrt): Likewise.
34188 [XPG3] (expm1): Likewise.
34189 [XPG3] (ilogb): Likewise.
34190 [XPG3] (log1p): Likewise.
34191 [XPG3] (logb): Likewise.
34192 [XPG3] (nextafter): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34194 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34195 [XPG3] (remainder): Likewise.
34196 [XPG3] (rint): Likewise.
34197 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34198 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34199 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34200 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34201 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34202 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34204 [UNIX98 || XOPEN2K] (scalb): Expect.
34205 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34206 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34214 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34215 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34216 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34343 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34344 _XOPEN_SOURCE_EXTENDED for XPG4.
34346 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34348 * Makeconfig (localtime): Remove variable.
34349 (inst_localtime-file): Likewise.
34351 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34372 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34376 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34377 comparisons to determine direction to adjust input.
34378 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34379 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34386 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34387 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34389 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34391 * math/libm-test.inc (nexttoward_test): Add more tests.
34393 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34396 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34397 in version GLIBC_2.1, not GLIBC_2.0.
34398 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34401 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34404 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34406 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34407 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34408 * math/libm-test.inc (acos_test): Add more tests.
34409 (asin_test): Likewise.
34410 * sysdeps/i386/fpu/libm-test-ulps: Update.
34411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34414 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34416 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34417 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34418 * math/libm-test.inc (acos_test_tonearest): New function.
34419 (acos_test_towardzero): Likewise.
34420 (acos_test_downward): Likewise.
34421 (acos_test_upward): Likewise.
34422 (asin_test_tonearest): Likewise.
34423 (asin_test_towardzero): Likewise.
34424 (asin_test_downward): Likewise.
34425 (asin_test_upward): Likewise.
34426 (main): Call the new functions.
34427 * sysdeps/i386/fpu/libm-test-ulps: Update.
34428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34432 * math/e_exp10.c: Include <float.h>.
34433 (__ieee754_exp10): Handle underflow here rather than multiplying
34434 large negative argument by M_LN10.
34435 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34437 * math/e_exp10l.c: Include <float.h>.
34438 (__ieee754_exp10l): Handle underflow here rather than multiplying
34439 large negative argument by M_LN10l.
34440 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34441 spurious overflow exception on underflow.
34443 2012-04-29 Marek Polacek <polacek@redhat.com>
34445 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34446 (__fortify_function): New macro.
34447 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34448 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34449 __extern_always_inline.
34450 * libio/bits/stdio2.h: Likewise.
34451 * libio/bits/stdio.h: Likewise.
34452 * string/string.h: Likewise.
34453 * string/bits/string3.h: Likewise.
34454 * include/stdio.h: Likewise.
34455 * stdlib/bits/stdlib.h: Likewise.
34456 * stdlib/stdlib.h: Likewise.
34457 * rt/bits/mqueue2.h: Likewise.
34458 * rt/mqueue.h: Likewise.
34459 * posix/bits/unistd.h: Likewise.
34460 * posix/unistd.h: Likewise.
34461 * io/bits/poll2.h: Likewise.
34462 * io/bits/fcntl2.h: Likewise.
34463 * io/fcntl.h: Likewise.
34464 * io/sys/poll.h: Likewise.
34465 * misc/bits/syslog.h: Likewise.
34466 * misc/bits/syslog-ldbl.h: Likewise.
34467 * misc/sys/syslog.h: Likewise.
34468 * socket/bits/socket2.h: Likewise.
34469 * socket/sys/socket.h: Likewise.
34470 * debug/tst-chk1.c: Likewise.
34471 * wcsmbs/bits/wchar2.h: Likewise.
34472 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34473 * wcsmbs/wchar.h: Likewise.
34475 2012-04-29 Andreas Jaeger <aj@suse.de>
34477 * Makerules (tests): Remove enable-check-abi protection.
34478 (check-abi-warn): Remove.
34479 (check-abi-%): Remove check-abi-warn usage.
34481 * configure.in: Remove check-abi configure option.
34482 * configure: Regenerated.
34483 * config.make.in (enable-check-abi): Remove.
34485 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34488 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34489 double functions to double *_finite functions.
34492 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34493 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34495 * stdio-common/Makefile (tests): Add tst-sprintf3.
34496 * stdio-common/tst-sprintf3.c: New file.
34498 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34499 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34501 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34503 * conform/conformtest.pl: Remove duplicate typed-constant
34506 2012-04-28 David S. Miller <davem@davemloft.net>
34508 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34509 (check-abi-%): Remove AWK script prerequisite and explicit
34511 (check-abi): Rewrite to just diff the symlist with the abilist.
34512 (config-tls, config-abi-config): Delete, no longer used.
34513 (update-abi-%): Remove AWK script and explicit abilist directory.
34514 (update-abi): Rewrite to simply compare and conditionally copy the
34515 symlist and the sysdep abilist file. Remove update-abi-config
34517 * abilist/ld.abilist: Remove.
34518 * abilist/libBrokenLocale.abilist: Remove.
34519 * abilist/libanl.abilist: Remove.
34520 * abilist/libcrypt.abilist: Remove.
34521 * abilist/libdl.abilist: Remove.
34522 * abilist/librt.abilist: Remove.
34523 * abilist/libthread_db.abilist: Remove.
34524 * abilist/libutil.abilist: Remove.
34525 * scripts/extract-abilist.awk: Remove.
34526 * scripts/merge-abilist.awk: Remove.
34527 * sysdeps/generic/libcidn.abilist: New file.
34528 * sysdeps/generic/libnss_compat.abilist: New file.
34529 * sysdeps/generic/libnss_db.abilist: New file.
34530 * sysdeps/generic/libnss_dns.abilist: New file.
34531 * sysdeps/generic/libnss_files.abilist: New file.
34532 * sysdeps/generic/libnss_hesiod.abilist: New file.
34533 * sysdeps/generic/libnss_nis.abilist: New file.
34534 * sysdeps/generic/libnss_nisplus.abilist: New file.
34535 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34536 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34537 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34540 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34541 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34542 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34543 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34544 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34545 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34546 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34547 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34549 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34550 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34551 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34552 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34554 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34555 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34556 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34557 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34558 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34559 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34561 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34562 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34563 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34565 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34572 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34669 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34670 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34673 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34674 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34675 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34676 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34677 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34678 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34679 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34680 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34681 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34733 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34735 * conform/conformtest.pl: Fix typo in handling typed-constant from
34738 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34740 * README: Cut down references to pre-2.6 Linux kernels and
34741 Linuxthreads. Update lists of configurations in libc and ports
34742 and sort alphabetically. Say "or newer" with Linux kernel version
34745 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34747 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34750 * math/libm-test.inc (logb_test_downward): New test to expose
34751 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34754 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34757 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34759 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34760 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34762 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34764 * sysdeps/unix/i386/brk.S: Remove file.
34765 * sysdeps/unix/i386/dl-brk.S: Likewise.
34766 * sysdeps/unix/i386/pipe.S: Likewise.
34767 * sysdeps/unix/i386/sigreturn.S: Likewise.
34768 * sysdeps/unix/i386/syscall.S: Likewise.
34769 * sysdeps/unix/i386/vfork.S: Likewise.
34770 * sysdeps/unix/i386/wait.S: Likewise.
34772 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34773 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34775 * configure.in (arm*-none*): Do not allow without
34776 --enable-hacker-mode.
34777 (netbsd*): Remove case setting base_os.
34778 (386bsd*): Likewise.
34779 (freebsd*): Likewise.
34782 (sunos*): Likewise.
34783 (ultrix*): Likewise.
34784 (newsos*): Likewise.
34785 (dynix*): Likewise.
34791 (minix*): Likewise.
34792 (irix4*): Likewise.
34793 (irix6*): Likewise.
34794 (solaris[2-9]*): Likewise.
34796 * configure: Regenerated.
34798 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34802 overflow or cancellation in calculating denominator.
34803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34804 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34805 down expression to avoid unexpected rounding in newer GCCs.
34806 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34808 2012-04-26 David S. Miller <davem@davemloft.net>
34810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34811 long-double compat symbols.
34812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34826 2012-04-25 David S. Miller <davem@davemloft.net>
34828 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34829 HWCAP_* values only after the memory barriers have been defined.
34830 (atomic_full_barrier): Define.
34831 (atomic_read_barrier): Define.
34832 (atomic_write_barrier): Define.
34834 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34836 * shlib-versions: Add libgcc_s version information.
34837 * sysdeps/generic/libgcc_s.h: Remove.
34838 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34840 * sysdeps/gnu/unwind-resume.c: Likewise.
34841 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34843 2012-04-25 David S. Miller <davem@davemloft.net>
34845 * sysdeps/unix/sparc/brk.S: Delete.
34846 * sysdeps/unix/sparc/dl-brk.S: Delete.
34847 * sysdeps/unix/sparc/pipe.S: Delete.
34848 * sysdeps/unix/sparc/sysdep.S: Delete.
34849 * sysdeps/unix/sparc/sysdep.h: Delete.
34850 * sysdeps/unix/sparc/vfork.S: Delete.
34851 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34852 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34853 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34854 (ret_ERRVAL, r0, r1, MOVE): Define.
34855 (JUMPTARGET): Remove.
34856 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34857 sysdeps/unix/sparc/sysdep.h
34858 (ENTRY, END): Remove.
34859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34861 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34863 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34864 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34867 * timezone/README: Update upstream location and email address for
34869 * timezone/zdump.c: Update from tzcode 2012b.
34870 * timezone/zic.c: Likewise.
34872 * configure.in (libc_cv_as_needed): Remove test.
34873 * configure: Regenerated.
34874 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34875 conditional definition.
34876 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34877 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34878 * config.make.in (have-as-needed): Remove variable.
34880 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34881 Paul Pluzhnikov <ppluzhnikov@google.com>
34883 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34886 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34888 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34889 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34890 * sysdeps/sh/strlen.S: Likewise.
34892 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34894 * sysdeps/unix/fork.S: Remove file.
34895 * sysdeps/unix/i386/fork.S: Likewise.
34896 * sysdeps/unix/sparc/fork.S: Likewise.
34898 * sysdeps/unix/system.c: Remove file.
34899 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34901 * sysdeps/unix/getegid.S: Remove file.
34902 * sysdeps/unix/geteuid.S: Likewise.
34904 2012-04-24 Roland McGrath <roland@hack.frob.com>
34906 * scripts/check-localplt.awk: New file.
34907 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34909 * scripts/data/localplt-generic.data: Add a comment.
34911 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34912 NODE when __dir_mkfile failed.
34913 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34914 Reported by Ludovic Courtès <ludo@gnu.org>.
34916 2012-04-24 Andreas Jaeger <aj@suse.de>
34918 * Makerules (common-clean): Also remove gen-as-const-headers
34921 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34923 * Makerules (native-compile): Do not change working directory for
34924 build. Use $(OUTPUT_OPTION) in command.
34925 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34927 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34930 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34931 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34932 * math/libm-test.inc (floor_test): Add more tests.
34933 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34935 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34937 * sysdeps/unix/getdents.c: Remove file.
34938 * sysdeps/unix/sysv/getdents.c: Likewise.
34939 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34941 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34942 sysdeps/unix/mman/syscalls.list.
34944 (mprotect): Likewise.
34946 (munmap): Likewise.
34947 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34948 * sysdeps/unix/mman/syscalls.list: Remove.
34949 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34951 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34952 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34953 * configure: Regenerated.
34954 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34955 $(libgcc_s_suffix).
34956 * config.make.in (libgcc_s_suffix): Remove variable.
34958 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34960 * sysdeps/unix/sysv/gethostname.c: Move to ...
34961 * sysdeps/posix/gethostname.c: ... here.
34963 * sysdeps/unix/execve.S: Remove file.
34965 * sysdeps/unix/_exit.S: Remove file.
34967 2012-04-23 Andreas Jaeger <aj@suse.de>
34970 * manual/Makefile: Remove make dist support, there's no
34971 need for a stand-alone documentation tar ball.
34972 (TEXI2DVI): Define always, it's not in Makeconfig.
34975 (edition): Removed.
34976 (glibc-doc-$(edition).tar): Removed
34980 (ETAGS): Remove, it's in Makeconfig.
34981 (move-if-change): Remove, it's in Makeconfig.
34983 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34986 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34987 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34988 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34989 (strtod_l, strtof_l, strtold_l): Remove __wur.
34990 It is not necessarily an error to ignore strtol's return value.
34991 One can reliably look at the stored endptr to decide whether
34992 the number had valid syntax.
34994 2012-04-21 Andreas Jaeger <aj@suse.de>
34997 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34999 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35001 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35002 * sysdeps/unix/sysv/Versions: Remove file.
35004 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35009 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35013 version from __vm86.
35015 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35017 * sysdeps/unix/common/lxstat.c: Remove file.
35018 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35020 * sysdeps/unix/sysv/Makefile: Remove file.
35022 * sysdeps/unix/sysv/direct.h: Remove file.
35024 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35025 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35026 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35027 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35028 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35029 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35030 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35032 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35034 * sysdeps/unix/xmknod.c: Remove file.
35035 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35037 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35039 * sysdeps/unix/sysv/i386/time.S: Remove file.
35041 * sysdeps/unix/fxstat.c: Remove file.
35042 * sysdeps/unix/xstat.c: Likewise.
35043 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35045 * sysdeps/unix/sysv/sigaction.c: Remove file.
35047 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35048 (sysdep_headers): Remove variable.
35049 [termio.h not in sysdep_headers] (generated): Likewise.
35050 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35051 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35052 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35053 * sysdeps/unix/sysv/tcflow.c: Likewise.
35054 * sysdeps/unix/sysv/tcflush.c: Likewise.
35055 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35056 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35057 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35058 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35059 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35061 * sysdeps/unix/siglist.c: Remove file.
35063 * sysdeps/unix/getppid.S: Remove file.
35065 * sysdeps/unix/mkdir.c: Remove file.
35066 * sysdeps/unix/rmdir.c: Likewise.
35068 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35070 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35072 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35073 errlist-compat value.
35075 2012-04-18 David S. Miller <davem@davemloft.net>
35077 * sysdeps/generic/memcopy.h (reg_char): Delete.
35078 * debug/strcat_chk.c: Use char, not reg_char.
35079 * debug/strcpy_chk.c: Likewise.
35080 * debug/strncat_chk.c: Likewise.
35081 * debug/strncpy_chk.c: Likewise.
35082 * string/memchr.c: Likewise.
35083 * string/memrchr.c: Likewise.
35084 * string/rawmemchr.c: Likewise.
35085 * string/strcat.c: Likewise.
35086 * string/strchr.c: Likewise.
35087 * string/strchrnul.c: Likewise.
35088 * string/strcmp.c: Likewise.
35089 * string/strcpy.c: Likewise.
35090 * string/strncat.c: Likewise.
35091 * string/strncmp.c: Likewise.
35092 * string/strncpy.c: Likewise.
35094 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35096 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35097 __builtin_memcopy is called when src and dest ranges are known to not
35100 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35102 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35103 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35104 fwd_align_merge macro call.
35105 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35106 bwd_align_merge macro call.
35107 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35109 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35111 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35112 bwd_align_merge macros.
35113 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35114 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35117 2012-04-18 David S. Miller <davem@davemloft.net>
35119 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35121 2012-04-18 Andreas Jaeger <aj@suse.de>
35124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35125 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35126 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35128 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35129 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35130 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35132 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35133 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35134 Adjust for changed ldbl-128 files.
35136 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35137 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35138 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35140 2012-04-17 David S. Miller <davem@davemloft.net>
35142 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35144 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35146 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35147 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35148 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35149 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35150 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35151 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35153 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35156 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35157 * math/libm-test.inc: Add ilogb errno and exception tests.
35158 * math/w_ilogb.c: New file: ilogb wrapper.
35159 * math/w_ilogbf.c: New file: ilogbf wrapper.
35160 * math/w_ilogbl.c: New file: ilogbl wrapper.
35161 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35162 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35163 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35164 exception being thrown with 0.0 as argument.
35165 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35166 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35167 exception being thrown with 0.0 as argument.
35168 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35169 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35170 exception being thrown with 0.0 as argument.
35171 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35172 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35173 exception being thrown with 0.0 as argument.
35174 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35175 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35176 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35177 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35179 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35180 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35181 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35182 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35184 2012-04-17 Petr Baudis <pasky@ucw.cz>
35186 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35189 2012-04-16 Marek Polacek <polacek@redhat.com>
35191 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35193 2012-04-16 Marek Polacek <polacek@redhat.com>
35195 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35196 operands of fdivp instruction.
35198 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35200 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35201 * elf/tst-auditmod3b.c: Likewise.
35202 * elf/tst-auditmod4b.c: Likewise.
35203 * elf/tst-auditmod5b.c: Likewise.
35204 * elf/tst-auditmod6b.c: Likewise.
35205 * elf/tst-auditmod6c.c: Likewise.
35206 * elf/tst-auditmod7b.c: Likewise.
35207 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35208 * sysdeps/x86_64/preconfigure.in: Likewise.
35209 * sysdeps/x86_64/preconfigure: Regenerated.
35211 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35213 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35216 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35219 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35221 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35224 * locale/iso-639.def: Fix gl language name. Spotted by
35227 2012-04-12 Roland McGrath <roland@hack.frob.com>
35230 * libio/libio.h (__io_write_fn): Update comment.
35232 2012-04-12 Petr Baudis <pasky@ucw.cz>
35235 * stdio.texi (Hook Functions): The user provided writer function
35236 is not allowed to return -1.
35238 2012-04-11 David S. Miller <davem@davemloft.net>
35240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35242 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35244 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35245 Add a leading slash to rtkaio.
35247 2012-04-11 Jim Meyering <meyering@redhat.com>
35250 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35251 It is not necessarily an error to ignore fwrite's return
35252 value. One can reliably use ferror to test for errors after
35255 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35257 * bits/types.h (__snseconds_t): New type.
35258 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35260 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35262 (__SNSECONDS_T_TYPE): Likewise.
35263 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35264 (__SNSECONDS_T_TYPE): Likewise.
35265 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35266 (__SNSECONDS_T_TYPE): Likewise.
35268 2012-04-10 Andreas Jaeger <aj@suse.de>
35271 * manual/time.texi (Processor Time): Return type of times is
35272 elapsed real time since an arbitrary point in the past.
35273 (CPU Time): Move CLK_TCK from here...
35274 (Processor Time): ...to here. Correct description.
35275 * manual/conf.texi (Constants for Sysconf): Correct description of
35278 2012-04-10 David S. Miller <davem@davemloft.net>
35281 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35282 where the is a gap between DT_REL(A) and DT_JMPREL.
35284 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35286 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35287 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35288 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35290 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35292 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35293 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35294 (dl_main): Handle --inhibit-cache.
35295 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35297 * elf/dl-load.c (_dl_map_object): Use it.
35298 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35300 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35303 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35304 (__ieee754_powl): Saturate large exponents rather than testing for
35305 overflow of y*log2(x).
35306 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35307 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35311 * math/s_ctan.c: Include <float.h>.
35312 (__ctan): Avoid internal overflow or cancellation in calculating
35314 * math/s_ctanf.c: Likewise.
35315 * math/s_ctanl.c: Likewise.
35316 * math/s_ctanh.c: Likewise.
35317 * math/s_ctanhf.c: Likewise.
35318 * math/s_ctanhl.c: Likewise.
35319 * math/libm-test.inc (ctan_test): Add more tests.
35320 (ctanh_test): Likewise.
35321 * sysdeps/i386/fpu/libm-test-ulps: Update.
35322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35324 2012-04-09 Andreas Jaeger <aj@suse.de>
35327 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35328 is an optional BSD extension.
35331 * manual/stdio.texi (Opening Streams): Document additional fopen
35334 2012-04-09 Roland McGrath <roland@hack.frob.com>
35336 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35337 %eax without telling the compiler.
35339 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35342 * manual/install.texi: Use sourceware.org.
35344 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35347 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35348 (__ieee754_pow): Generate overflow and underflow using huge*huge
35349 and tiny*tiny rather than just returning constant infinity or zero
35350 for large exponents.
35351 * math/libm-test.inc (pow_test): Require overflow exceptions for
35352 applicable cases of large exponents.
35355 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35356 (__ieee754_pow): Use iterative multiplication algorithm only for
35357 integer exponents with absolute value below 1024. Check for odd
35358 integer exponents when using algorithm for real exponents.
35359 * math/libm-test.inc (pow_test): Add more tests.
35360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35362 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35365 * math/libm-test.inc (exp_test): Do not allow overflow exception
35368 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35371 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35372 instead of __kernel_standard_f.
35374 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35376 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35377 * sysdeps/x86_64/memset_chk.S: Likewise.
35379 2012-04-08 Andreas Jaeger <aj@suse.de>
35382 * manual/startup.texi (Environment Access): Describe return value
35383 for putenv and setenv.
35386 * manual/filesys.texi (Directory Entries): Add description for
35390 * manual/filesys.texi (Directory Entries): Clarify that it's file
35391 system not operating system in the description of DT_UNKNOWN.
35394 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35396 2012-04-08 Stephen Compall <s11@member.fsf.org>
35399 * manual/llio.texi (Opening and Closing Files): Add cross
35400 reference to explain mode argument.
35402 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35404 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35405 * sysdeps/x86_64/memset_chk.S: Likewise.
35407 2012-04-07 David S. Miller <davem@davemloft.net>
35409 * elf/elf.h (R_SPARC_WDISP10): Define.
35410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35412 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35413 R_SPARC_SIZE64 and R_SPARC_H34.
35415 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35417 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35418 conditions and remove no longer applicable assertion.
35420 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35422 * bits/byteswap.h: Include <features.h>.
35423 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35424 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35426 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35428 * bits/byteswap.h (__bswap_16): Removed.
35429 Include <bits/byteswap-16.h> to get __bswap_16.
35430 * sysdeps/i386/bits/byteswap.h: Likewise.
35431 * sysdeps/s390/bits/byteswap.h: Likewise.
35432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35433 * bits/byteswap-16.h: New file.
35434 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35435 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35436 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35437 * string/Makefile (headers): Add bits/byteswap-16.h.
35439 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35442 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35444 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35445 * nss/tst-nss-static.c: New.
35447 2012-04-06 Robert Millan <rmh@gnu.org>
35450 * manual/llio.texi (File Position Primitive): lseek
35451 refers to WHENCE when it really means OFFSET.
35453 2012-04-06 Andreas Jaeger <aj@suse.de>
35455 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35456 strncmp declarations.
35458 * abilist/libc.abilist: Add __poll and __ppoll.
35460 2012-04-05 David S. Miller <davem@davemloft.net>
35462 * scripts/check-local-headers.sh: Accept a host triplet in the
35463 path matched by the exclude regexp.
35465 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35467 * sysdeps/powerpc/powerpc32/dl-machine.h
35468 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35469 * sysdeps/s390/s390-32/dl-machine.h
35470 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35471 * sysdeps/sparc/sparc32/dl-machine.h
35472 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35473 * sysdeps/sparc/sparc64/dl-machine.h
35474 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35476 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35478 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35479 undefined symbol errors.
35481 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35484 2012-04-05 Michael Matz <matz@suse.de>
35487 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35489 2012-04-05 Andreas Jaeger <aj@suse.de>
35492 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35495 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35498 which ROUND is no valid rounding mode.
35500 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35502 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35504 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35508 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35509 an exception using FPU order intentionally.
35511 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35513 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35514 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35515 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35516 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35518 2012-04-05 Simon Josefsson <simon@josefsson.org>
35521 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35522 EINVAL when BUFLEN is too smal.
35524 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35527 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35528 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35530 2012-04-03 Andreas Jaeger <aj@suse.de>
35533 * manual/setjmp.texi (System V contexts): Fix sentence.
35536 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35537 New macro for this case.
35538 [!__GNUC__] (__bswap_64): New inline function for this case.
35539 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35540 * bits/byteswap.h: Likewise.
35541 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35542 ull, guard with __GLIBC_HAVE_LONG_LONG.
35544 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35545 __GLIBC_HAVE_LONG_LONG.
35547 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35548 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35550 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35553 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35554 inptr and inend, rather than using last_ch.
35556 2012-04-02 David S. Miller <davem@davemloft.net>
35558 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35559 * stdio-common/printf-parse.h (read_int): Change return type to
35560 'int', return -1 on INT_MAX overflow.
35561 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35562 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35563 overflows INT_MAX. Check for overflow of in-format-string precision
35564 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35565 SIZE_MAX not INT_MAX for integer overflow test.
35566 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35567 skip the construct in the format string but do not record anything.
35568 * stdio-common/bug22.c: Adjust to test both width/prevision
35569 INT_MAX overflow as well as total length INT_MAX overflow. Check
35570 explicitly for proper errno values.
35572 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35574 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35576 * string/test-strcmp.c [! WIDE]: Likewise.
35577 * time/tst-mktime2.c: Likewise for INT_MAX.
35578 * string/test-string.h: #include <sys/param.h> for MIN.
35580 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35581 * sysdeps/i386/init-first.c (init): Likewise.
35582 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35583 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35584 * sysdeps/sh/init-first.c (init): Likewise.
35586 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35588 * po/ru.po: Update from translation team.
35589 * po/vi.po: Likewise.
35591 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35593 * resolv/nss_dns/dns-host.c: Merge copyright years.
35595 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35597 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35598 Optimize memcpy with prefetch if
35599 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35600 src, dst pointers have unequal 16 byte alignments.
35602 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35605 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35606 from a CNAME entry and return the minimum ttl for the query.
35607 (gaih_getanswer_slice): Likewise.
35609 2012-03-30 Jeff Law <law@redhat.com>
35611 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35613 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35614 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35616 * resolv/nss_dns/dns-host.c: Update copyright year.
35618 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35620 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35621 requests to save a system call. Fix check that all bytes are sent.
35623 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35624 comments for sendmmsg.
35626 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35630 with only 1 character between 0x0041 and 0x01b0.
35631 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35632 * wcsmbs/tst-mbsnrtowcs.c: New file.
35634 2012-03-29 David S. Miller <davem@davemloft.net>
35636 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35637 small copies by hand.
35639 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35642 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35643 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35646 2012-03-28 David S. Miller <davem@davemloft.net>
35648 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35649 that branches into memcpy.
35650 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35651 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35652 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35653 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35654 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35656 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35657 implementation too.
35658 * sysdeps/sparc/mempcpy.S: New file.
35660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35661 the IFUNC routine in the libc case.
35662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35664 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35665 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35666 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35667 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35668 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35669 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35670 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35671 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35673 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35674 loop to 256 bytes instead of 64 bytes and fix test signedness.
35676 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35677 * sysdeps/sparc/sparc32/Makefile: rather than here...
35678 * sysdeps/sparc/sparc64/Makefile: and here.
35680 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35682 * malloc/mallocbug.c: Avoid warnings about unused variables.
35684 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35687 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35688 in the right place. Discard and retry query if response is
35689 larger than input buffer size.
35691 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35696 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35697 x for large integer exponent.
35698 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35699 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35700 sign of result as needed afterwards.
35701 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35702 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35703 result for underflowing pow the same as for overflow.
35704 (__kernel_standard_l): Handle powl overflow and underflow here
35705 rather than calling __kernel_standard.
35706 * math/libm-test.inc (pow_test): Add more tests.
35721 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35722 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35723 (__kernel_standard_l): New function.
35724 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35726 * math/w_acosl.c (__acosl): Likewise.
35727 * math/w_asinl.c (__asinl): Likewise.
35728 * math/w_atan2l.c (__atan2l): Likewise.
35729 * math/w_atanhl.c (__atanhl): Likewise.
35730 * math/w_coshl.c (__coshl): Likewise.
35731 * math/w_exp10l.c (__exp10l): Likewise.
35732 * math/w_exp2l.c (__exp2l): Likewise.
35733 * math/w_fmodl.c (__fmodl): Likewise.
35734 * math/w_hypotl.c (__hypotl): Likewise.
35735 * math/w_j0l.c (__j0l, __y0l): Likewise.
35736 * math/w_j1l.c (__j1l, __y1l): Likewise.
35737 * math/w_jnl.c (__jnl, __ynl): Likewise.
35738 * math/w_lgammal.c (__lgammal): Likewise.
35739 * math/w_log10l.c (__log10l): Likewise.
35740 * math/w_log2l.c (__log2l): Likewise.
35741 * math/w_logl.c (__logl): Likewise.
35742 * math/w_powl.c (__powl): Likewise.
35743 * math/w_remainderl.c (__remainderl): Likewise.
35744 * math/w_scalbl.c (sysv_scalbl): Likewise.
35745 * math/w_sinhl.c (__sinhl): Likewise.
35746 * math/w_sqrtl.c (__sqrtl): Likewise.
35747 * math/w_tgammal.c (__tgammal): Likewise.
35748 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35749 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35750 * math/libm-test.inc (acos_test): Add more tests.
35751 (acosh_test): Likewise.
35752 (asin_test): Likewise.
35753 (atanh_test): Likewise.
35754 (exp_test): Likewise.
35755 (exp10_test): Likewise.
35756 (exp2_test): Likewise.
35757 (expm1_test): Likewise.
35758 (lgamma_test): Likewise.
35759 (log_test): Likewise.
35760 (log10_test): Likewise.
35761 (log1p_test): Likewise.
35762 (log2_test): Likewise.
35763 (pow_test): Do not allow some spurious overflow exceptions.
35764 (sqrt_test): Add more tests.
35765 (tgamma_test): Likewise.
35766 (y0_test): Likewise.
35767 (y1_test): Likewise.
35768 (yn_test): Likewise.
35770 2012-03-27 Anton Blanchard <anton@samba.org>
35772 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35774 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35775 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35776 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35778 2012-03-27 David S. Miller <davem@davemloft.net>
35780 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35782 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35783 have-as-vis3 check.
35785 2012-03-27 Andreas Jaeger <aj@suse.de>
35787 * sysdeps/x86_64/elf/configure.in: Moved to ...
35788 * sysdeps/x86_64/configure.in: ... here.
35789 * sysdeps/x86_64/elf/start.S: Moved to ...
35790 * sysdeps/x86_64/start.S: ... here.
35791 * sysdeps/x86_64/elf/configure: Delete.
35793 * sysdeps/x86_64/configure.in: Merge contents from
35794 sysdeps/i386/configure.in (without i686 check).
35796 * sysdeps/i386/elf/Versions: Merge into ...
35797 * sysdeps/i386/Versions: ... this.
35798 * sysdeps/i386/elf/Versions: Delete file.
35799 * sysdeps/i386/elf/start.S: Moved to ...
35800 * sysdeps/i386/start.S: ...here.
35801 * sysdeps/i386/elf/configure.in: Merge into...
35802 * sysdeps/i386/configure.in: ...here.
35803 * sysdeps/i386/elf/configure.in: Delete file.
35804 * sysdeps/i386/elf/configure: Delete file.
35806 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35807 * debug/backtracesyms.c: ... here.
35808 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35809 * debug/backtracesymsfd.c: ... here.
35810 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35811 * sysdeps/generic/ifunc-sel.h: ... here.
35813 * sysdeps/unix/i386/start.c: Delete file.
35814 * sysdeps/unix/sparc/start.c: Delete file.
35815 * sysdeps/unix/start.c: Delete file.
35817 * sysdeps/sh/elf/configure.in: Moved to ...
35818 * sysdeps/sh/configure.in: ... here.
35819 * sysdeps/sh/elf/start.S: Moved to ...
35820 * sysdeps/sh/start.S: ... here.
35821 * sysdeps/sh/elf/configure: Delete file.
35823 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35824 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35825 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35826 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35827 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35828 * sysdeps/powerpc/powerpc64/start.S: here.
35829 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35830 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35831 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35832 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35833 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35835 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35836 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35837 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35838 * sysdeps/powerpc/powerpc32/start.S: ... here.
35839 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35840 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35841 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35843 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35844 * sysdeps/powerpc/ifunc-sel.h: ... here.
35845 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35846 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35848 * sysdeps/sparc/elf/configure.in: Moved to ...
35849 * sysdeps/sparc/configure.in: ... here.
35850 * sysdeps/sparc/elf/configure: Delete file.
35851 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35852 * sysdeps/sparc/sparc32/start.S: ... here.
35853 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35854 * sysdeps/sparc/sparc64/start.S: ... here.
35855 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35856 * sysdeps/sparc/sparc32/Makefile: ... this.
35857 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35858 * sysdeps/sparc/sparc64/Makefile: ... this.
35860 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35861 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35862 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35863 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35864 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35865 * sysdeps/s390/s390-32/setjmp.S: ... here.
35866 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35867 * sysdeps/s390/s390-32/configure.in: ... here.
35868 * sysdeps/s390/s390-32/elf/configure: Delete file.
35869 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35870 * sysdeps/s390/s390-32/start.S: ... here.
35872 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35873 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35874 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35875 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35876 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35877 * sysdeps/s390/s390-64/setjmp.S: ... here.
35878 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35879 * sysdeps/s390/s390-64/configure.in: ... here
35880 * sysdeps/s390/s390-64/elf/configure: Delete file.
35881 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35882 * sysdeps/s390/s390-64/start.S: ... here.
35883 * sysdeps/s390/s390-64/elf/configure: Delete.
35885 * configure.in: Remove support for elf directories in sysdeps.
35887 * configure: Regenerated.
35888 * sysdeps/i386/configure: Regenerated.
35889 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35890 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35891 * sysdeps/s390/s390-32/configure: Regenerated.
35892 * sysdeps/s390/s390-64/configure: Regenerated.
35893 * sysdeps/sh/configure: Regenerated.
35894 * sysdeps/sparc/configure: Regenerated.
35895 * sysdeps/x86_64/configure: Regenerated.
35897 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35901 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35902 denormal result into account.
35904 2012-03-25 Roland McGrath <roland@hack.frob.com>
35906 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35907 Reported by Allan McRae <allan@archlinux.org>.
35909 2012-03-23 Jeff Law <law@redhat.com>
35911 * nss/getnssent.c (__nss_getent): Fix typo.
35913 2012-03-23 David S. Miller <davem@davemloft.net>
35915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35917 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35919 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35920 to pad to uint64_t for each field.
35921 (dl_tls_index): Replace unsigned long with uint64_t.
35923 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35924 Paul Pluzhnikov <ppluzhnikov@google.com>
35927 * grp/Makefile (otherlibs): Don't set it.
35928 * inet/Makefile (otherlibs): Likewise.
35929 * login/Makefile (otherlibs): Likewise.
35930 * nscd/Makefile (otherlibs): Likewise.
35931 * posix/Makefile (otherlibs): Likewise.
35932 * pwd/Makefile (otherlibs): Likewise.
35933 * rt/Makefile (otherlibs): Likewise.
35934 * sunrpc/Makefile (otherlibs): Likewise.
35935 * nss/Makefile (otherlibs): Likewise.
35936 Add libnss_files to routines and static-only-routines.
35937 ($(objpfx)getent): Remove rule.
35938 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35939 static-only-routines.
35941 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35944 * math/s_cexp.c: Include <float.h>.
35945 (__cexp): Handle exp result overflowing not necessarily
35946 overflowing both real and imaginary parts of result.
35947 * math/s_cexpf.c: Likewise.
35948 * math/s_cexpl.c: Likewise.
35949 * math/libm-test.inc (cexp_test): Add more tests.
35950 * sysdeps/i386/fpu/libm-test-ulps: Update.
35951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35953 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35955 * include/link.h (ELFW): New macro.
35956 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35957 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35959 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35961 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35964 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35966 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35968 (struct La_x32_retval): Likewise.
35970 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35972 * sysdeps/x86_64/preconfigure.in: New file.
35973 * sysdeps/x86_64/preconfigure: New generated file.
35975 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35978 * math/e_exp2l.c: Include <float.h>.
35979 (__ieee754_exp2l): Handle overflow and underflow cases
35980 separately. Only pass fractional part of argument to
35982 * math/libm-test.inc (exp2_test): Add more tests.
35984 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35985 negating x to take absolute value.
35986 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35988 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35989 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35991 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35992 computing low part if x was negated.
35993 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35995 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35997 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35998 la_x32_gnu_pltexit.
35999 (pltexit): Cast int_retval to ptrdiff_t.
36000 * elf/tst-auditmod3b.c: Likewise.
36001 * elf/tst-auditmod4b.c: Likewise.
36002 * elf/tst-auditmod5b.c: Likewise.
36003 * elf/tst-auditmod6b.c: Likewise.
36004 * elf/tst-auditmod6c.c: Likewise.
36005 * elf/tst-auditmod7b.c: Likewise.
36007 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36008 and x32_gnu_pltexit.
36010 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36011 __ELF_NATIVE_CLASS.
36012 (La_x32_regs): New macro.
36013 (La_x32_retval): Likewise.
36014 (la_x32_gnu_pltenter): New function prototype.
36015 (la_x32_gnu_pltexit): Likewise.
36017 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36024 * configure.in (libc_cv_cc_nofma): Check for option to disable
36025 generation of FMA instructions.
36026 * configure: Regenerate.
36027 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36028 * sysdeps/ieee754/dbl-64/Makefile: New file.
36029 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36030 Remove brandred-fma4.
36031 (CFLAGS-brandred-fma4.c): Remove.
36032 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36033 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36038 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36040 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36041 LLONG_MAX != LONG_MAX.
36042 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36043 (_fitoa_word): Likewise.
36044 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36045 LLONG_MAX != LONG_MAX.
36046 * stdio-common/_itowa.h: Include <_itoa.h>.
36047 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36048 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36049 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36050 only if not defined.
36051 (_ITOA_WORD_TYPE): Likewise.
36052 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36053 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36055 2012-03-21 David S. Miller <davem@davemloft.net>
36057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36059 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36061 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36062 of x86_64 when setting libc_cv_slibdir, libdir and
36064 * sysdeps/unix/sysv/linux/configure: Regenerated.
36066 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36068 * manual/lang.texi (Old Varargs): Remove section.
36069 (How Variadic): Update menu.
36070 (va_start): Do not mention varargs.h.
36072 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36073 Joseph Myers <joseph@codesourcery.com>
36075 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36077 * configure: Regenerated.
36079 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36081 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36082 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36085 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36088 * Makefile (files-for-dist): Remove NOTES.
36089 (NOTES): Remove rule.
36090 * README: Don't refer to NOTES.
36091 * manual/creature.texi: Don't include macros.texi.
36092 * manual/intro.texi (creature.texi): Remove comment referring to
36095 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36096 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36097 * configure: Regenerated.
36098 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36099 LIBC_TRY_CC_OPTION.
36100 (libc_cv_as_i686): Likewise.
36101 (libc_cv_cc_avx): Likewise.
36102 (libc_cv_cc_sse2avx): Likewise.
36103 (libc_cv_cc_fma4): Likewise.
36104 (libc_cv_cc_novzeroupper): Likewise.
36105 * sysdeps/i386/configure: Regenerated.
36108 * sysdeps/i386/fpu/s_cexp.S: Remove.
36109 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36110 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36111 * math/libm-test.inc (cexp_test): Add more tests.
36112 * sysdeps/i386/fpu/libm-test-ulps: Update.
36113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36115 2012-03-21 Allan McRae <allan@archlinux.org>
36117 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36119 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36122 * math/w_exp2.c: Do not include <float.h>.
36123 (o_threshold, u_threshold): Remove.
36124 (__exp2): Calculate result before checking finiteness and calling
36126 * math/w_exp2f.c: Likewise.
36127 * math/w_exp2l.c: Likewise.
36128 * math/libm-test.inc (exp2_test): Require overflow exception for
36132 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36133 range of signed 64-bit integers before using fistpll. Remove
36134 checks for whether integers fit in mantissa bits.
36135 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36136 the range of signed 32-bit integers before using fistpl. Remove
36137 checks for whether integers fit in mantissa bits.
36138 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36139 (__ieee754_powl): Test for y outside the range of signed 64-bit
36140 integers before using fistpll. Reduce 64-bit values to 63-bit
36142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36143 divide-by-zero is raised for zero to large negative powers.
36144 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36145 (__ieee754_powl): Test for y outside the range of signed 64-bit
36146 integers before using fistpll. Reduce 64-bit values to 63-bit
36148 * math/libm-test.inc (pow_test): Add more tests.
36150 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36152 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36153 <stdio-common/_itoa.h>.
36154 * debug/segfault.c: Likewise.
36155 * elf/dl-cache.c: Likewise.
36156 * elf/dl-minimal.c: Likewise.
36157 * elf/dl-misc.c: Likewise.
36158 * elf/dl-sysdep.c: Likewise.
36159 * elf/dl-version.c: Likewise.
36160 * elf/rtld.c: Likewise.
36161 * hurd/hurdsock.c: Likewise.
36162 * hurd/lookup-retry.c: Likewise.
36163 * malloc/malloc.c: Likewise.
36164 * malloc/mtrace.c: Likewise.
36165 * nscd/nscd_getgr_r.c: Likewise.
36166 * nscd/nscd_getpw_r.c: Likewise.
36167 * nscd/nscd_getserv_r.c: Likewise.
36168 * posix/getopt_init.c: Likewise.
36169 * posix/wordexp.c: Likewise.
36170 * stdio-common/_itoa.c: Likewise.
36171 * stdio-common/printf_fphex.c: Likewise.
36172 * stdio-common/vfprintf.c: Likewise.
36173 * string/_strerror.c: Likewise.
36174 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36175 * sysdeps/i386/i686/hp-timing.h: Likewise.
36176 * sysdeps/mach/_strerror.c: Likewise.
36177 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36178 * sysdeps/mach/hurd/sethostid.c: Likewise.
36179 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36180 * sysdeps/mach/xpg-strerror.c: Likewise.
36181 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36182 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36183 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36184 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36185 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36186 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36187 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36188 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36189 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36190 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36191 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36192 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36193 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36194 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36195 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36196 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36197 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36198 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36199 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36200 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36201 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36203 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36205 * stdio-common/_itoa.h: Moved to ...
36206 * sysdeps/generic/_itoa.h: Here.
36208 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36210 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36211 instead of "_itoa.h" and "_itowa.h".
36212 * stdio-common/vfprintf.: Likewise.
36214 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36216 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36218 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36219 (__signbit): Likwise.
36220 (llrintf): Likwise.
36223 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36225 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36228 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36230 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36231 OVERFLOW_EXCEPTION_OK.
36232 * math/libm-test.inc ("Philosophy"): Update comment about
36234 (OVERFLOW_EXCEPTION): Define.
36235 (OVERFLOW_EXCEPTION_OK): Likewise.
36236 (INVALID_EXCEPTION_OK): Renumber.
36237 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36238 (IGNORE_ZERO_INF_SIGN): Likewise.
36239 (test_exceptions): Handle FE_OVERFLOW.
36240 (exp10_test): Expect overflow exceptions.
36241 (exp2_test): Likewise.
36242 (expm1_test): Likewise.
36243 (nextafter_test): Likewise.
36244 (pow_test): Likewise.
36245 (scalbn_test): Likewise.
36246 (scalbln_test): Likewise.
36248 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36250 * sysdeps/x86_64/bits/atomic.h
36251 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36253 (atomic_exchange_acq): Likewise.
36254 (__arch_exchange_and_add_body): Likewise.
36255 (__arch_add_body): Likewise.
36256 (atomic_add_negative): Likewise.
36257 (atomic_add_zero): Likewise.
36259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36261 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36262 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36264 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36266 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36267 Check __x86_64__ instead of __WORDSIZE.
36269 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36273 2012-03-19 David S. Miller <davem@davemloft.net>
36275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36277 * sysdeps/sparc/fpu/fenv_private.h: New file.
36278 * sysdeps/sparc/fpu/math_private.h: Use it.
36279 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36281 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36282 (libc_feholdexcept_setroundl): Remove.
36283 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36285 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36286 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36288 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36290 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36291 int64_t instead of long int.
36292 (INSERT_WORDS64): Likwise.
36294 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36296 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36297 _Unwind_GetCFA return to _Unwind_Ptr first.
36299 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36302 * math/s_clog.c: Include <float.h>.
36303 (__clog): Scale large or subnormal inputs.
36304 * math/s_clogf.c: Likewise.
36305 * math/s_clogl.c: Likewise.
36306 * math/s_clog10.c: Include <float.h>.
36307 (M_LOG10_2): Define.
36308 (__clog10): Scale large or subnormal inputs.
36309 * math/s_clog10f.c: Likewise.
36310 * math/s_clog10l.c: Likewise.
36311 * math/libm-test.inc (clog_test): Add more tests.
36312 (clog10_test): Likewise.
36313 * sysdeps/i386/fpu/libm-test-ulps: Update.
36314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36317 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36319 * math/libm-test.inc (atan2_test): Add another test.
36321 * Makerules (common-objdir-compile): Remove.
36322 * sysdeps/unix/Makefile (config-generated): Do not add
36323 $(unix-generated) to variable.
36324 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36325 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36327 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36329 [generic bits/local_lim.h] (before-compile): Do not append to
36331 [generic bits/local_lim.h] (common-generated): Likewise.
36332 [generic sys/param.h] (before-compile): Do not append to variable.
36333 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36334 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36335 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36336 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36338 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36339 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36340 [generic sys/param.h] ($(addprefix
36341 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36342 [generic sys/param.h] (common-generated): Do not append to
36344 [generic sys/param.h] (sysdep_headers): Likewise.
36345 [generic bits/errno.h] (before-compile): Do not append to
36347 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36349 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36350 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36351 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36352 [generic bits/errno.h] (common-generated): Do not append to
36354 [generic bits/ioctls.h] (before-compile): Do not append to
36356 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36358 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36359 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36360 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36362 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36363 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36364 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36365 [generic bits/ioctls.h] (common-generated): Do not append to
36367 [generic sys/syscall.h] (syscall.h): Remove variable.
36368 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36370 [generic sys/syscall.h] (before-compile): Do not append to
36372 [generic sys/syscall.h] (common-generated): Likewise.
36373 * sysdeps/unix/errnos-tmpl.c: Remove file.
36374 * sysdeps/unix/errnos.awk: Likewise.
36375 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36376 * sysdeps/unix/ioctls.awk: Likewise.
36377 * sysdeps/unix/mk-local_lim.c: Likewise.
36378 * sysdeps/unix/snarf-ioctls: Likewise.
36380 2012-03-19 Richard Henderson <rth@twiddle.net>
36382 * sysdeps/i386/fpu/fenv_private.h: New file.
36383 * sysdeps/i386/fpu/math_private.h: Use it.
36384 (math_opt_barrier, math_force_eval): Remove.
36385 (libc_feholdexcept_setround_53bit): Remove.
36386 (libc_feupdateenv_53bit): Remove.
36387 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36388 (math_opt_barrier, math_force_eval): Remove.
36389 (libc_feholdexcept): Remove.
36390 (libc_feholdexcept_setround): Remove.
36391 (libc_fetestexcept, libc_fesetenv): Remove.
36392 (libc_feupdateenv_test): Remove.
36393 (libc_feupdateenv, libc_feholdsetround): Remove.
36394 (libc_feresetround): Remove.
36396 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36397 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36399 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36400 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36401 (libc_feupdateenv_testl): New.
36402 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36403 (libc_feupdateenv_testf): New.
36404 (libc_feupdateenv): Use libc_feupdateenv_test.
36405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36408 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36409 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36410 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36411 (libc_feresetround_noex): New.
36412 (libc_feresetround_noexf): New.
36413 (libc_feresetround_noexl): New.
36414 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36415 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36416 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36417 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36422 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36423 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36424 SET_RESTORE_ROUND_NOEX.
36425 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36426 SET_RESTORE_ROUND_NOEXF.
36427 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36428 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36429 (libc_feholdsetroundf): New.
36430 (libc_feresetround, libc_feresetroundf): New.
36432 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36433 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36434 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36436 * sysdeps/generic/math_private.h: Include <fenv.h>.
36437 (default_libc_feholdexcept): New.
36438 (default_libc_feholdexcept_setround): New.
36439 (default_libc_fesetenv, default_libc_feupdateenv): New.
36440 (libc_feholdexcept): Only define if undefined.
36441 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36442 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36443 (libc_feholdexcept_setroundl): Likewise.
36444 (libc_feholdexcept_setround_53bit): Likewise.
36445 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36446 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36447 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36448 (libc_feupdateenv_53bit): Likewise.
36449 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36450 (libc_feholdexcept): Convert from macro to inline function.
36451 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36452 (libc_fesetenv, libc_feupdateenv): Likewise.
36454 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36455 not previously defined.
36456 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36457 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36458 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36459 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36460 * sysdeps/ieee754/flt-32/math_private.h: New file.
36461 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36462 math_private.h below SET_FLOAT_WORD.
36463 (__isnan, __isinf_ns, __finite): Remove.
36464 (__isnanf, __isinf_nsf, __finitef): Remove.
36466 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36470 2012-03-17 David S. Miller <davem@davemloft.net>
36473 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36476 2012-03-16 David S. Miller <davem@davemloft.net>
36478 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36482 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36484 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36485 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36486 sysdep_routines when subdir is sysvipc.
36487 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36488 __getshmlba helper.
36490 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36492 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36494 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36497 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36500 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36501 (__lround): Renamed to ...
36502 (__llround): This. Replace long int with long long int.
36503 Define lround functions as aliases of llround functions.
36504 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36506 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36508 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36509 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36510 adresses to uintptr_t. Replace "long int" and "unsigned long
36511 int" with "greg_t" on va_arg.
36513 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36515 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36516 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36518 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36519 Move e_machine check before EI_CLASS check. Handle x32
36520 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36521 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36522 SKIP_EM_IA_64 and include
36523 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36525 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36526 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36527 (add_system_dir): New macro.
36529 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36530 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36532 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36543 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36545 * math/w_j0f.c (j0f): Likewise.
36547 * math/w_j0l.c (__j0l): Likewise.
36549 * math/w_j1.c (j1): Likewise.
36551 * math/w_j1f.c (j1f): Likewise.
36553 * math/w_j1l.c (__j1l): Likewise.
36555 * math/w_jn.c (jn): Likewise.
36557 * math/w_jnf.c (jnf): Likewise.
36559 * math/w_jnl.c (__jnl): Likewise.
36561 * math/libm-test.inc (j0_test): Add more tests.
36562 (j1_test): Likewise.
36563 (jn_test): Likewise. Add trailing semicolon to existing test.
36564 (y0_test): Likewise.
36565 (y1_test): Likewise.
36566 * sysdeps/i386/fpu/libm-test-ulps: Update.
36567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36571 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36572 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36573 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36574 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36575 (__tanl): Set errno for infinite argument.
36576 * sysdeps/i386/fpu/mptan.c: Remove.
36577 * sysdeps/i386/fpu/s_tan.S: Likewise.
36578 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36579 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36580 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36581 * math/libm-test.inc (tan_test): Add more tests and enable more
36582 tests for double and long double.
36583 * sysdeps/i386/fpu/libm-test-ulps: Update.
36584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36586 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36588 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36589 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36591 2012-03-16 Roland McGrath <roland@hack.frob.com>
36593 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36594 * configure.in: Use it for both main tree and add-ons.
36595 * configure: Regenerated.
36597 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36599 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36601 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36603 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36607 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36608 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36609 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36610 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36611 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36613 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36615 != 0 for prec == 2.
36616 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36617 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36618 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36619 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36620 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36621 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36622 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36623 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36624 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36625 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36626 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36627 * math/libm-test.inc (cos_test): Add more tests and enable more
36628 tests for long double.
36629 (sin_test): Likewise.
36630 (sincos_test): Likewise.
36631 * sysdeps/i386/fpu/libm-test-ulps: Update.
36632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36634 2012-03-16 David S. Miller <davem@davemloft.net>
36636 * sysdeps/sparc/fpu/math_private.h: New file.
36638 2012-03-15 David S. Miller <davem@davemloft.net>
36640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36654 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36655 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36657 * sysdeps/sparc/sparc-ifunc.h: New file.
36658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36683 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36686 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36696 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36697 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36703 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36705 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36709 2012-03-15 Andreas Jaeger <aj@suse.de>
36712 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36713 ieee754/flt-32 implementation for sin, cos and sincos.
36714 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36715 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36716 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36717 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36718 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36719 ieee754/flt-32 implementation for tan.
36721 * math/libm-test.inc (cos_test): Enable some large input tests for
36723 (sin_test): Likewise.
36724 (sincos_test): Likewise.
36725 (tan_test): Add tests for large input.
36727 * sysdeps/i386/fpu/libm-test-ulps: Update.
36729 2012-03-15 Andreas Jaeger <aj@suse.de>
36732 * math/libm-test.inc (cos_test): Add more test cases.
36733 (sin_test): Likewise.
36734 (sincos_test): Likewise.
36736 2012-03-15 Andreas Jaeger <aj@suse.de>
36739 * math/libm-test.inc (cos_test): Add a test case for large input
36741 (sin_test): Likewise.
36742 (sincos_test): Likewise.
36744 2012-03-15 Andreas Jaeger <aj@suse.de>
36745 Joseph Myers <joseph@codesourcery.com>
36748 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36749 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36750 * sysdeps/i386/fpu/branred.c: Likewise.
36751 * sysdeps/i386/fpu/dosincos.c: Likewise.
36752 * sysdeps/i386/fpu/mpa.c: Likewise.
36753 * sysdeps/i386/fpu/s_cos.S: Likewise.
36754 * sysdeps/i386/fpu/s_sin.S: Likewise.
36755 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36756 * sysdeps/i386/fpu/sincos32.c: Likewise.
36758 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36760 (libc_feupdateenv_53bit): Define.
36761 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36763 (libc_feupdateenv_53bit): Define.
36765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36766 53 bit (without extend i386 double precision).
36768 * math/libm-test.inc (sincos_test): Add tests for large input.
36772 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36774 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36778 2012-03-15 David S. Miller <davem@davemloft.net>
36780 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36781 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36782 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36783 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36807 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36808 fmin/fmax sysdep routines.
36809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36811 2012-03-14 David S. Miller <davem@davemloft.net>
36813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36816 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36818 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36819 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36890 * sysdeps/sparc/configure.in: New file.
36891 * sysdeps/sparc/configure: Generate.
36892 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36893 * configure: Regenerate.
36894 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36895 * config.make.in (have-as-vis3): New.
36896 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36897 available use -Av9d instead of -Av9a.
36898 * sysdeps/sparc/sparc64/Makefile: Likewise.
36899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36910 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36911 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36912 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36914 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36915 fzeros/fnegs to load 0x80000000 into a float register instead of
36917 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36919 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36923 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36924 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36925 ($(inst_includedir)/bits/syscall.h): Remove rule.
36926 ($(objpfx)bits/syscall.d): Include instead of
36927 $(objpfx)syscall-list.d.
36928 (generated): Change syscall-list.h and syscall-list.d to
36929 bits/syscall.h and bits/syscall.d.
36931 2012-03-14 Roland McGrath <roland@hack.frob.com>
36934 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36936 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36939 * math/s_csqrt.c: Include <float.h>.
36940 (__csqrt): Scale large or subnormal inputs.
36941 * math/s_csqrtf.c: Likewise.
36942 * math/s_csqrtl.c: Likewise.
36943 * math/libm-test.inc (csqrt_test): Add more tests.
36944 * sysdeps/i386/fpu/libm-test-ulps: Update.
36945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36948 * math/libm-test.inc (hypot_test): Add more tests.
36950 2012-03-13 David S. Miller <davem@davemloft.net>
36953 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36954 double-precision for the calculation instead of scaling.
36956 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36958 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36959 manipulate bits before adding and subtracting TWO52[sx].
36960 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36961 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36963 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36965 2012-03-13 David S. Miller <davem@davemloft.net>
36967 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36968 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36970 rtld-global-offsets.h
36971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36973 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36976 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36978 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36979 'err' in the ifdef scope in which it is actually used.
36981 * nss/nss_db/db-init.c: Include string.h
36983 2012-03-12 David S. Miller <davem@davemloft.net>
36985 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36986 masking out of the most significant byte of random value used.
36987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36988 Fix coding style in previous change.
36990 * sysdeps/unix/sysv/linux/kernel-features.h
36991 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36992 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36994 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36997 2012-03-11 David S. Miller <davem@davemloft.net>
36999 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37000 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37001 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37002 for 'resultvar' otherwise things get truncated on 64-bit.
37004 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37005 Fix masking out of the most significant byte of random value used.
37007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37009 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37013 2012-03-09 David S. Miller <davem@davemloft.net>
37015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37016 variables with appropriate CPP guards.
37017 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37018 from the frame pointer, not the stack pointer. Correct layout
37019 comments. Fix test on resulting framesize and the management of
37020 the outregs buffer for pltexit. Preserve floating point return
37021 values across _dl_call_pltexit call.
37022 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37023 framesize and the management of the outregs buffer for pltexit.
37024 Preserve floating point return values across _dl_call_pltexit
37026 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37027 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37028 (la_sparc64_gnu_pltexit): New functions.
37029 (print_exit): Fix format string for return register value.
37031 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37033 * sunrpc/Makefile (others): Add rpcgen.
37034 ($(objpfx)rpcgen): Remove special build rule and dependency on
37036 * sunrpc/rpcgen.c: New file.
37038 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37041 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37042 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37043 * sysdeps/i386/crti.S: Likewise.
37044 * sysdeps/i386/crtn.S: Likewise.
37045 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37046 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37047 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37048 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37049 * sysdeps/sh/crti.S: Likewise.
37050 * sysdeps/sh/crtn.S: Likewise.
37051 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37054 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37056 * locale/programs/locfile-kw.gperf: Likewise.
37057 * locale/programs/charmap-kw.h: Regenerated.
37058 * locale/programs/locfile-kw.h: Likewise.
37061 * intl/plural.y: Replace FSF snail mail address with URL.
37062 * intl/plural.c: Regenerated.
37064 2012-03-09 Richard Henderson <rth@twiddle.net>
37066 * include/math_private.h: Remove file.
37067 * math/math_private.h: Move file ...
37068 * sysdeps/generic/math_private.h: ... here.
37070 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37071 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37072 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37074 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37075 and <math_private.h>.
37076 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37077 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37078 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37079 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37080 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37081 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37164 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37165 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37167 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37169 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37170 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37171 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37172 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37173 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37175 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37176 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37177 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37178 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37180 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37181 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37182 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37184 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37186 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37187 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37188 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37195 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37196 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37225 * sysdeps/ieee754/k_standard.c: Likewise.
37226 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37227 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37229 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37230 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37231 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37232 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37233 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37340 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37341 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37346 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37348 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37386 * sysdeps/ieee754/s_lib_version.c: Likewise.
37387 * sysdeps/ieee754/s_matherr.c: Likewise.
37388 * sysdeps/ieee754/s_signgam.c: Likewise.
37389 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37391 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37392 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37393 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37394 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37395 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37396 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37397 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37398 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37399 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37400 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37401 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37402 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37403 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37404 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37405 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37406 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37407 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37408 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37411 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37413 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37414 * sunrpc/rpc_main.c: Likewise.
37415 * sunrpc/rpc_svcout.c: Likewise.
37417 2012-03-09 David S. Miller <davem@davemloft.net>
37419 * include/math_private.h: New file.
37421 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37423 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37424 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37425 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37426 from <bits/socket_type.h>.
37427 (enum __socket_type): Don't define here.
37428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37430 bits/socket_type.h.
37433 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37434 checking __USE_GNU.
37436 * Makerules ($(inst_includedir)/%.h): New rule.
37437 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37438 (install-others): Remove variable setting.
37439 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37441 2012-03-08 Richard Henderson <rth@twiddle.net>
37443 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37444 from macro to inline function; merge with the
37445 !__LIBC_INTERNAL_MATH_INLINES version.
37446 (__ieee754_sqrtf): Likewise.
37448 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37449 to inline function.
37450 (__rintf, __floor, __floorf): Likewise.
37452 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37453 macro to inline function.
37454 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37456 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37457 not <math/math_private.h>.
37459 2012-03-08 David S. Miller <davem@davemloft.net>
37461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37463 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37465 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37467 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37469 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37470 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37472 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37474 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37475 be defined individually, they must be defined as a block. Define
37476 S for printing a string instead of hidint the different by using a
37477 macro for adding the 'l'.
37478 * stdio-common/tst-fphex-wide.c: Adjust.
37480 2012-03-07 Marek Polacek <polacek@redhat.com>
37482 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37484 2012-03-08 Marek Polacek <polacek@redhat.com>
37487 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37488 * stdio-common/tst-fphex.c: Define a few macros to make the
37489 test reusable. Use them.
37490 * stdio-common/tst-fphex-wide.c: New file.
37492 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37495 * manual/macros.texi (gnusystems): New macro.
37496 (nongnusystems): Likewise.
37497 (gnulinuxhurdsystems): Likewise.
37498 (gnuhurdsystems): Likewise..
37499 (gnulinuxsystems): Likewise.
37500 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37501 variants of the GNU system, not "GNU system".
37502 * manual/conf.texi: Likewise.
37503 * manual/errno.texi: Likewise. Update example of errno macro
37505 * manual/filesys.texi: Likewise.
37506 (getumask): Document as specific to GNU/Hurd.
37507 * manual/install.texi: Likewise. Reword some references to
37509 * manual/intro.texi: Likewise.
37510 * manual/io.texi: Likewise.
37511 (File Name Portability): Detail which constraints are inapplicable
37512 to all GNU systems and which are only inapplicable to GNU/Hurd.
37513 * manual/job.texi: Likewise.
37514 * manual/llio.texi: Likewise.
37515 (O_NOCTTY): Document as present on GNU/Linux.
37516 * manual/maint.texi: Likewise.
37517 * manual/memory.texi: Likewise.
37518 * manual/pattern.texi: Likewise.
37519 * manual/pipe.texi: Likewise.
37520 * manual/process.texi: Likewise.
37521 * manual/resource.texi: Likewise.
37522 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37524 * manual/setjmp.texi: Likewise.
37525 * manual/signal.texi: Likewise.
37526 * manual/startup.texi: Likewise.
37527 * manual/stdio.texi: Likewise.
37528 * manual/terminal.texi: Likewise.
37529 (ONLCR): Document as POSIX.
37530 (OXTABS): Document availability on GNU/Linux as XTABS.
37531 (ONOEOT): Document availability separately from other bits.
37532 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37533 * manual/time.texi: Likewise.
37534 * manual/users.texi: Likewise.
37535 * INSTALL: Regenerated.
37536 * sysdeps/gnu/errlist.c: Regenerated.
37538 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37539 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37540 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37542 * configure: Regenerated.
37544 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37546 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37547 default includes instead of AC_HEADER_CHECK.
37548 * sysdeps/i386/configure: Regenerated.
37551 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37552 * math/s_cacoshf.c (__cacoshf): Likewise.
37553 * math/s_cacoshl.c (__cacoshl): Likewise.
37554 * math/s_casinh.c (__casinh): Set signs of result from argument.
37555 * math/s_casinhf.c (__casinhf): Likewise.
37556 * math/s_casinhl.c (__casinhl): Likewise.
37557 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37558 (casinh_test): Add more tests.
37559 * sysdeps/i386/fpu/libm-test-ulps: Update.
37560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37562 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37564 * po/zh_TW.po: Update from translation team.
37566 * login/Makefile (distribute): Remove variable.
37567 * catgets/Makefile: Likewise.
37568 * mach/Makefile: Likewise.
37569 * malloc/Makefile: Likewise.
37570 * misc/Makefile: Likewise.
37571 * iconv/Makefile: Likewise.
37572 * nscd/Makefile: Likewise.
37573 * hurd/Makefile: Likewise.
37574 * manual/Makefile: Likewise.
37575 * locale/Makefile: Likewise.
37576 * intl/Makefile: Likewise.
37577 * conform/Makefile: Likewise.
37578 * nss/Makefile: Likewise.
37579 * time/Makefile: Likewise.
37580 * soft-fp/Makefile: Likewise.
37581 * dirent/Makefile: Likewise.
37582 * gmon/Makefile: Likewise.
37583 * po/Makefile: Likewise.
37584 * rt/Makefile: Likewise.
37585 * socket/Makefile: Likewise.
37586 * math/Makefile: Likewise.
37587 * signal/Makefile: Likewise.
37588 * debug/Makefile: Likewise.
37589 * elf/Makefile: Likewise.
37590 * timezone/Makefile: Likewise.
37591 * stdlib/Makefile: Likewise.
37592 * iconvdata/Makefile: Likewise.
37593 * sunrpc/Makefile: Likewise.
37594 * io/Makefile: Likewise.
37595 * argp/Makefile: Likewise.
37596 * inet/Makefile: Likewise.
37597 * hesiod/Makefile: Likewise.
37598 * grp/Makefile: Likewise.
37599 * csu/Makefile: Likewise.
37600 * wctype/Makefile: Likewise.
37601 * crypt/Makefile: Likewise.
37602 * libio/Makefile: Likewise.
37603 * string/Makefile: Likewise.
37604 * nis/Makefile: Likewise.
37605 * resolv/Makefile: Likewise.
37606 * stdio-common/Makefile: Likewise.
37607 * wcsmbs/Makefile: Likewise.
37608 * dlfcn/Makefile: Likewise.
37609 * posix/Makefile: Likewise.
37612 * timezone/Makefile: Don't install timezone files, just the programs
37615 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37617 * nss/databases.def: Add missing gshadow entry.
37619 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37621 2012-03-06 Marek Polacek <polacek@redhat.com>
37624 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37625 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37626 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37627 * stdio-common/tst-long-dbl-fphex.c: New file.
37629 2012-03-06 David S. Miller <davem@davemloft.net>
37631 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37632 (set_obp_int): New function.
37633 (get_obp_int): New function.
37634 (__get_clockfreq_via_dev_openprom): Likewise.
37635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37636 Avoid unused variable warnings on 'val' and use builtin_expect.
37637 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37639 (INLINE_CLONE_SYSCALL): Likewise.
37641 2012-03-05 David S. Miller <davem@davemloft.net>
37643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37645 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37650 only for |x| >= 40.
37651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37653 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37655 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37656 Replace gettimeofday with __vdso_gettimeofday.
37658 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37659 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37660 __vdso_clock_gettime and __vdso_getcpu.
37662 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37663 time with __vdso_time.
37665 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37667 * manual/lang.texi (size_t): Note types to which size_t may be
37668 equivalent with the GNU C Library, but do not describe when
37669 differences between them are significant.
37671 2012-03-05 Andreas Jaeger <aj@suse.de>
37673 * sysdeps/i386/fpu/libm-test-ulps: Update.
37675 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37678 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37679 (__ieee754_pow): Save and restore rounding mode and use
37680 round-to-nearest for main computations.
37681 * math/libm-test.inc (pow_test_tonearest): New function.
37682 (pow_test_towardzero): Likewise.
37683 (pow_test_downward): Likewise.
37684 (pow_test_upward): Likewise.
37685 (main): Call the new functions.
37686 * sysdeps/i386/fpu/libm-test-ulps: Update.
37687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37690 * math/libm-test.inc (cosh_test_tonearest): New function.
37691 (cosh_test_towardzero): Likewise.
37692 (cosh_test_downward): Likewise.
37693 (cosh_test_upward): Likewise.
37694 (sinh_test_tonearest): Likewise.
37695 (sinh_test_towardzero): Likewise.
37696 (sinh_test_downward): Likewise.
37697 (sinh_test_upward): Likewise.
37698 (main): Call the new functions.
37699 * sysdeps/i386/fpu/libm-test-ulps: Update.
37700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37702 2012-03-05 Tom de Vries <tom@codesourcery.com>
37704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37705 default stack guard is set in last bytes.
37706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37708 2012-03-05 Kees Cook <keescook@chromium.org>
37710 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37713 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37714 possibly allocate from heap instead of stack.
37715 * stdio-common/bug-vfprintf-nargs.c: New file.
37716 * stdio-common/Makefile (tests): Add nargs overflow test.
37718 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37722 2012-03-03 Marek Polacek <polacek@redhat.com>
37724 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37725 * math/math_private.h: Likewise.
37726 * stdlib/tst-strtod.c: Likewise.
37727 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37728 * sysdeps/x86_64/bits/atomic.h: Likewise.
37730 2012-03-02 David S. Miller <davem@davemloft.net>
37732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37736 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37737 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37738 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37739 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37741 2012-03-02 Roland McGrath <roland@hack.frob.com>
37744 * manual/examples/README: New file, says the example source files
37745 can be used under GPL>=2.
37746 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37747 line containing just "*/".
37748 * manual/examples/add.c: Add copyright header (GPL>=2).
37749 * manual/examples/argp-ex1.c: Likewise.
37750 * manual/examples/argp-ex2.c: Likewise.
37751 * manual/examples/argp-ex3.c: Likewise.
37752 * manual/examples/argp-ex4.c: Likewise.
37753 * manual/examples/atexit.c: Likewise.
37754 * manual/examples/db.c: Likewise.
37755 * manual/examples/dir.c: Likewise.
37756 * manual/examples/dir2.c: Likewise.
37757 * manual/examples/execinfo.c: Likewise.
37758 * manual/examples/filecli.c: Likewise.
37759 * manual/examples/filesrv.c: Likewise.
37760 * manual/examples/fmtmsgexpl.c: Likewise.
37761 * manual/examples/genpass.c: Likewise.
37762 * manual/examples/inetcli.c: Likewise.
37763 * manual/examples/inetsrv.c: Likewise.
37764 * manual/examples/isockad.c: Likewise.
37765 * manual/examples/longopt.c: Likewise.
37766 * manual/examples/memopen.c: Likewise.
37767 * manual/examples/memstrm.c: Likewise.
37768 * manual/examples/mkfsock.c: Likewise.
37769 * manual/examples/mkisock.c: Likewise.
37770 * manual/examples/mygetpass.c: Likewise.
37771 * manual/examples/pipe.c: Likewise.
37772 * manual/examples/popen.c: Likewise.
37773 * manual/examples/rprintf.c: Likewise.
37774 * manual/examples/search.c: Likewise.
37775 * manual/examples/select.c: Likewise.
37776 * manual/examples/setjmp.c: Likewise.
37777 * manual/examples/sigh1.c: Likewise.
37778 * manual/examples/sigusr.c: Likewise.
37779 * manual/examples/stpcpy.c: Likewise.
37780 * manual/examples/strdupa.c: Likewise.
37781 * manual/examples/strftim.c: Likewise.
37782 * manual/examples/strncat.c: Likewise.
37783 * manual/examples/subopt.c: Likewise.
37784 * manual/examples/swapcontext.c: Likewise.
37785 * manual/examples/termios.c: Likewise.
37786 * manual/examples/testopt.c: Likewise.
37787 * manual/examples/testpass.c: Likewise.
37788 * manual/examples/timeval_subtract.c: Likewise.
37791 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37793 * manual/timeval_subtract.c.texi: ... here, new file.
37795 2012-03-02 David S. Miller <davem@davemloft.net>
37797 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37799 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37802 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37803 (__sin): Save and restore rounding mode and use round-to-nearest
37804 for all computations.
37805 (__cos): Save and restore rounding mode and use round-to-nearest
37806 for all computations.
37807 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37809 (tan): Save and restore rounding mode and use round-to-nearest for
37811 * math/libm-test.inc (cos_test_tonearest): New function.
37812 (cos_test_towardzero): Likewise.
37813 (cos_test_downward): Likewise.
37814 (cos_test_upward): Likewise.
37815 (sin_test_tonearest): Likewise.
37816 (sin_test_towardzero): Likewise.
37817 (sin_test_downward): Likewise.
37818 (sin_test_upward): Likewise.
37819 (tan_test_tonearest): Likewise.
37820 (tan_test_towardzero): Likewise.
37821 (tan_test_downward): Likewise.
37822 (tan_test_upward): Likewise.
37823 (main): Call the new functions.
37824 * sysdeps/i386/fpu/libm-test-ulps: Update.
37825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37828 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37829 small n, then large n, before computing and testing k+n.
37830 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37833 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37835 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37836 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37837 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37838 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37843 * math/libm-test.inc (scalbn_test): Add more tests.
37844 (scalbln_test): Likewise.
37846 * manual/filesys.texi (mode_t): Describe constraints on size and
37847 signedness, not exact equivalence to a particular type.
37849 (ino64_t): Likewise.
37851 (nlink_t): Likewise.
37852 (blkcnt_t): Likewise.
37853 (blkcnt64_t): Likewise.
37854 * manual/llio.texi (off_t): Likewise.
37857 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37858 (__ieee754_exp): Save and restore rounding mode and use
37859 round-to-nearest for all computations.
37860 * math/libm-test.inc (exp_test_tonearest): New function.
37861 (exp_test_towardzero): Likewise.
37862 (exp_test_downward): Likewise.
37863 (exp_test_upward): Likewise.
37864 (main): Call the new functions.
37865 * sysdeps/i386/fpu/libm-test-ulps: Update.
37866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37868 2012-03-01 Chris Demetriou <cgd@google.com>
37870 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37871 have predictable order.
37873 2012-03-01 David S. Miller <davem@davemloft.net>
37875 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37877 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37878 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37879 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37880 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37882 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37883 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37884 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37886 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37887 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37888 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37889 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37890 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37895 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37896 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37898 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37899 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37901 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37902 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37904 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37905 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37906 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37909 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37911 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37912 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37914 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37915 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37916 * sysdeps/sparc/elf/configure: Regenerated.
37918 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37920 * configure.in (AS, LD): Require binutils 2.20 or later.
37921 * configure: Regenerated.
37922 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37923 as required minimum version.
37924 * INSTALL: Regenerated.
37928 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37929 before squaring exponent.
37930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37931 bottom long double and 27 bits of top long double before squaring
37933 * math/libm-test.inc (erfc_test): Add more tests.
37934 * sysdeps/i386/fpu/libm-test-ulps: Update.
37935 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37938 2012-03-01 Kai Tietz <ktietz@redhat.com>
37940 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37941 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37942 containing bit-fields.
37943 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37944 * soft-fp/single.h (_FP_UNION_S): Likewise.
37945 * soft-fp/double.h (_FP_UNION_D): Likewise.
37947 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37950 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37951 not include ../strcmp.S.
37952 [USE_AS_STRNCASECMP_L]: Likewise.
37953 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37954 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37955 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37956 (__strncasecmp_l_ia32): Define as alias to
37957 __strncasecmp_l_nonascii.
37960 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37961 * sysdeps/i386/fpu/libm-test-ulps: Update.
37962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37964 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37967 2012-02-29 Jeff Law <law@redhat.com>
37969 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37970 out of bounds read.
37972 2012-02-29 Marek Polacek <polacek@redhat.com>
37975 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37976 * elf/Makefile: Add rules to run tst-unused-dep.out.
37978 2012-02-28 David S. Miller <davem@davemloft.net>
37980 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37981 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37984 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37985 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37987 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37989 * math/libm-test.inc (llround_test): Move one test from
37990 lround_test. Use TEST_f_L in moved test.
37991 (lround_test): Move misplaced test to llround_test. Add testcase
37994 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37996 * sysdeps/x86_64/fpu/e_expf.S: New file.
37997 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37999 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38002 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38003 of remain_len that may cause incomplete multi-byte character and
38005 * posix/bug-regex33.c: New file.
38006 * posix/Makefile (tests): Add bug-regex33.
38008 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38010 * manual/macros.texi: New file.
38011 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38012 * manual/libc.texinfo: Include macros.texi.
38013 * manual/creatute.texi: Likewise.
38014 * manual/install.texi: Likewise.
38015 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38016 @glibcadj{} in references to the GNU C Library.
38017 * manual/charset.texi: Likewise.
38018 * manual/conf.texi: Likewise.
38019 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38020 when not using those macros.
38021 * manual/creature.texi: Likewise.
38022 * manual/crypt.texi: Likewise.
38023 * manual/errno.texi: Likewise.
38024 * manual/filesys.texi: Likewise.
38025 * manual/header.texi: Likewise.
38026 * manual/install.texi: Likewise.
38027 * manual/intro.texi: Likewise.
38028 * manual/io.texi: Likewise.
38029 * manual/job.texi: Likewise.
38030 * manual/lang.texi: Likewise.
38031 * manual/libc.texiinfo: Likewise.
38032 * manual/llio.texi: Likewise.
38033 * manual/locale.texi: Likewise.
38034 * manual/maint.texi: Likewise.
38035 * manual/math.texi: Likewise.
38036 * manual/memory.texi: Likewise.
38037 * manual/message.texi: Likewise.
38038 * manual/nss.texi: Likewise.
38039 * manual/pattern.texi: Likewise.
38040 * manual/process.texi: Likewise.
38041 * manual/resource.texi: Likewise.
38042 * manual/search.texi: Likewise.
38043 * manual/setjmp.texi: Likewise.
38044 * manual/signal.texi: Likewise.
38045 * manual/socket.texi: Likewise.
38046 * manual/startup.texi: Likewise.
38047 * manual/stdio.texi: Likewise.
38048 * manual/string.texi: Likewise.
38049 * manual/sysinfo.texi: Likewise.
38050 * manual/syslog.texi: Likewise.
38051 * manual/terminal.texi: Likewise.
38052 * manual/time.texi: Likewise.
38053 * manual/users.texi: Likewise.
38054 * INSTALL: Regenerated.
38055 * NOTES: Regenerated.
38056 * sysdeps/gnu/errlist.c: Regenerated.
38058 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38060 * include/dirent.h: Include <dirstream.h> before
38063 2012-02-28 David S. Miller <davem@davemloft.net>
38065 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38066 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38067 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38068 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38070 2012-02-27 David S. Miller <davem@davemloft.net>
38072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38074 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38075 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38078 frame pointer instead of stack pointer relative arg slot.
38079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38080 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38081 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38083 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38086 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38088 2012-02-27 David S. Miller <davem@davemloft.net>
38090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38094 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38095 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38096 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38097 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38099 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38101 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38102 later. Allow versions 5-9.
38103 * configure: Regenerated.
38104 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38105 required minimum version and 4.6 as recommended version. Do not
38106 mention bugs in GCC 2.7 and 2.8.
38107 * INSTALL: Regenerated.
38109 2012-02-27 David S. Miller <davem@davemloft.net>
38111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38117 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38118 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38121 manipulate bits before adding and subtracting TWO112[sx].
38122 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38124 2012-02-27 Roland McGrath <roland@hack.frob.com>
38127 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38128 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38129 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38130 being in POSIX, because they are in 1003.1-2008.
38132 * rt/tst-aio.c: Include <fcntl.h>.
38133 * rt/tst-aio7.c: Likewise.
38134 * rt/tst-aio64.c: Likewise.
38136 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38138 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38140 * manual/install.texi (--with-headers): Describe headers as
38141 interface headers, not private headers.
38142 (Specific advice for GNU/Linux systems): Describe use of headers
38143 from "make headers_install", not private headers from older
38145 * INSTALL: Regenerated.
38146 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38148 * sysdeps/unix/sysv/linux/configure: Regenerated.
38150 * manual/llio.texi (fclean): Remove documentation.
38152 * manual/Makefile (libc-texi-generated): New variable. Include
38154 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38155 $(libc-texi-generated), not duplicated list of files.
38156 (version.texi, stamp-version): New rules.
38157 (realclean): Remove $(libc-texi-generated), not individual files
38158 from that list. Do not remove dir-add.texinfo.
38159 * manual/libc.texinfo: Comment out uses of edition numbers and
38160 references to printed manual. Remove last-updated dates.
38161 (EDITION): Comment out.
38163 (VERSION, UPDATED): Remove.
38164 (version.texi): Include.
38166 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38168 * sysdeps/posix/spawni.c: Include <signal.h>.
38169 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38170 * sysdeps/pthread/aio_fsync.c: Likewise.
38172 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38174 * conform/Makefile (tests): Run only when not cross-compiling and
38175 when fast-check is not defined.
38177 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38178 * conform/data/limits.h-data: Fixes for POSIX2008.
38179 * conform/run-conformtest.sh: Run all tests.
38180 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38182 * include/bits/dlfcn.h: Likewise.
38183 * include/langinfo.h: Likewise.
38184 * include/monetary.h: Likewise.
38185 * include/sys/poll.h: Likewise.
38187 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38189 * posix/spawn.h: Define __need_sigset_t.
38190 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38191 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38192 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38193 to get sigevent_t only.
38194 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38195 only for __USE_GNU.
38196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38197 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38198 process_vm_writev only for __USE_GNU.
38199 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38201 * conform/Makefile: For now ignore errors from run-conformtest.
38202 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38203 POSIX to avoid namespace pollution. Don't prepend headers.
38204 * conform/data/aio.h-data: Fixes for POSIX testing.
38205 * conform/data/fcntl.h-data: Likewise.
38206 * conform/data/glob.h-data: Likewise.
38207 * conform/data/grp.h-data: Likewise.
38208 * conform/data/pthread.h-data: Likewise.
38209 * conform/data/pwd.h-data: Likewise.
38210 * conform/data/signal.h-data: Likewise.
38211 * conform/data/spawn.h-data: Likewise.
38212 * conform/data/stdio.h-data: Likewise.
38213 * conform/data/stdlib.h-data: Likewise.
38214 * conform/data/stropts.h-data: Likewise.
38215 * conform/data/sys/mman.h-data: Likewise.
38216 * conform/data/sys/stat.h-data: Likewise.
38217 * conform/data/sys/types.h-data: Likewise.
38218 * conform/data/sys/wait.h-data: Likewise.
38219 * conform/data/time.h-data: Likewise.
38220 * conform/data/unistd.h-data: Likewise.
38221 * conform/data/utime.h-data: Likewise.
38223 * io/sys/stat.h: fchmod was always in POSIX.
38224 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38225 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38226 * rt/aio.h: Define __need_timespec before including <time.h>.
38227 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38228 struct. Add forward declaration of pthread_attr_t and use it in
38230 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38231 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38232 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38233 always remove CLK_TCK definition.
38235 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38237 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38239 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38241 * conform/run-conformtest.sh: New file.
38242 * conform/Makefile: Run run-conformtest for tests.
38243 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38246 * conform/data/uchar.h-data: New file.
38247 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38248 * conform/data/arpa/inet.h-data: Likewise.
38249 * conform/data/assert.h-data: Likewise.
38250 * conform/data/complex.h-data: Likewise.
38251 * conform/data/cpio.h-data: Likewise.
38252 * conform/data/ctype.h-data: Likewise.
38253 * conform/data/dirent.h-data: Likewise.
38254 * conform/data/dlfcn.h-data: Likewise.
38255 * conform/data/errno.h-data: Likewise.
38256 * conform/data/fcntl.h-data: Likewise.
38257 * conform/data/float.h-data: Likewise.
38258 * conform/data/fmtmsg.h-data: Likewise.
38259 * conform/data/fnmatch.h-data: Likewise.
38260 * conform/data/ftw.h-data: Likewise.
38261 * conform/data/glob.h-data: Likewise.
38262 * conform/data/grp.h-data: Likewise.
38263 * conform/data/iconv.h-data: Likewise.
38264 * conform/data/inttypes.h-data: Likewise.
38265 * conform/data/langinfo.h-data: Likewise.
38266 * conform/data/libgen.h-data: Likewise.
38267 * conform/data/limits.h-data: Likewise.
38268 * conform/data/locale.h-data: Likewise.
38269 * conform/data/math.h-data: Likewise.
38270 * conform/data/monetary.h-data: Likewise.
38271 * conform/data/mqueue.h-data: Likewise.
38272 * conform/data/ndbm.h-data: Likewise.
38273 * conform/data/net/if.h-data: Likewise.
38274 * conform/data/netdb.h-data: Likewise.
38275 * conform/data/netinet/in.h-data: Likewise.
38276 * conform/data/nl_types.h-data: Likewise.
38277 * conform/data/poll.h-data: Likewise.
38278 * conform/data/pthread.h-data: Likewise.
38279 * conform/data/pwd.h-data: Likewise.
38280 * conform/data/regex.h-data: Likewise.
38281 * conform/data/sched.h-data: Likewise.
38282 * conform/data/search.h-data: Likewise.
38283 * conform/data/semaphore.h-data: Likewise.
38284 * conform/data/setjmp.h-data: Likewise.
38285 * conform/data/signal.h-data: Likewise.
38286 * conform/data/spawn.h-data: Likewise.
38287 * conform/data/stdarg.h-data: Likewise.
38288 * conform/data/stdio.h-data: Likewise.
38289 * conform/data/stdlib.h-data: Likewise.
38290 * conform/data/string.h-data: Likewise.
38291 * conform/data/strings.h-data: Likewise.
38292 * conform/data/stropts.h-data: Likewise.
38293 * conform/data/sys/ipc.h-data: Likewise.
38294 * conform/data/sys/mman.h-data: Likewise.
38295 * conform/data/sys/msg.h-data: Likewise.
38296 * conform/data/sys/resource.h-data: Likewise.
38297 * conform/data/sys/select.h-data: Likewise.
38298 * conform/data/sys/sem.h-data: Likewise.
38299 * conform/data/sys/shm.h-data: Likewise.
38300 * conform/data/sys/socket.h-data: Likewise.
38301 * conform/data/sys/stat.h-data: Likewise.
38302 * conform/data/sys/statvfs.h-data: Likewise.
38303 * conform/data/sys/time.h-data: Likewise.
38304 * conform/data/sys/timeb.h-data: Likewise.
38305 * conform/data/sys/times.h-data: Likewise.
38306 * conform/data/sys/types.h-data: Likewise.
38307 * conform/data/sys/uio.h-data: Likewise.
38308 * conform/data/sys/un.h-data: Likewise.
38309 * conform/data/sys/utsname.h-data: Likewise.
38310 * conform/data/sys/wait.h-data: Likewise.
38311 * conform/data/syslog.h-data: Likewise.
38312 * conform/data/tar.h-data: Likewise.
38313 * conform/data/termios.h-data: Likewise.
38314 * conform/data/utime.h-data: Likewise.
38315 * conform/data/utmpx.h-data: Likewise.
38316 * conform/data/varargs.h-data: Likewise.
38317 * conform/data/wchar.h-data: Likewise.
38318 * conform/data/wctype.h-data: Likewise.
38319 * conform/data/wordexp.h-data: Likewise.
38321 * include/stropts.h: New file.
38322 * include/uchar.h: New file.
38323 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38324 * include/assert.h: Likewise.
38325 * include/ctype.h: Likewise.
38326 * include/dirent.h: Likewise.
38327 * include/dlfcn.h: Likewise.
38328 * include/fcntl.h: Likewise.
38329 * include/fnmatch.h: Likewise.
38330 * include/glob.h: Likewise.
38331 * include/grp.h: Likewise.
38332 * include/libio.h: Likewise.
38333 * include/locale.h: Likewise.
38334 * include/math.h: Likewise.
38335 * include/net/if.h: Likewise.
38336 * include/netdb.h: Likewise.
38337 * include/netinet/in.h: Likewise.
38338 * include/pthread.h: Likewise.
38339 * include/pwd.h: Likewise.
38340 * include/regex.h: Likewise.
38341 * include/sched.h: Likewise.
38342 * include/search.h: Likewise.
38343 * include/setjmp.h: Likewise.
38344 * include/signal.h: Likewise.
38345 * include/stdio.h: Likewise.
38346 * include/stdlib.h: Likewise.
38347 * include/string.h: Likewise.
38348 * include/sys/cdefs.h: Likewise.
38349 * include/sys/mman.h: Likewise.
38350 * include/sys/msg.h: Likewise.
38351 * include/sys/resource.h: Likewise.
38352 * include/sys/select.h: Likewise.
38353 * include/sys/socket.h: Likewise.
38354 * include/sys/stat.h: Likewise.
38355 * include/sys/statvfs.h: Likewise.
38356 * include/sys/time.h: Likewise.
38357 * include/sys/times.h: Likewise.
38358 * include/sys/uio.h: Likewise.
38359 * include/sys/utsname.h: Likewise.
38360 * include/sys/wait.h: Likewise.
38361 * include/termios.h: Likewise.
38362 * include/time.h: Likewise.
38363 * include/ulimit.h: Likewise.
38364 * include/unistd.h: Likewise.
38365 * include/utime.h: Likewise.
38366 * include/wchar.h: Likewise.
38367 * include/wctype.h: Likewise.
38368 * include/wordexp.h: Likewise.
38370 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38372 * time/time.h: TIME_UTC must be a macro.
38373 Make timespec_get available for ISO C11 only as well.
38375 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38377 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38378 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38380 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38382 * configure.in: Use -o not -a in test for unsupported multi-arch.
38384 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38386 * manual/texinfo.tex: Update to version 2012-01-19.16.
38388 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38390 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38392 2012-02-24 Roland McGrath <roland@hack.frob.com>
38395 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38396 * manual/fdl-1.3.texi: New file.
38397 * manual/fdl-1.1.texi: File removed.
38400 * manual/libc.texinfo (FDL_VERSION): New @set.
38401 Use it for mention of FDL in cover text.
38402 (Documentation License): Use it in @include file name.
38404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38405 Roland McGrath <roland@hack.frob.com>
38408 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38409 (not LONG_LONG_MAX and LONG_LONG_MIN.
38410 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38411 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38413 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38415 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38419 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38420 manipulate bits before adding and subtracting TWO23[sx].
38421 * math/libm-test.inc (nearbyint_test): Add more tests.
38423 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38426 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38427 bits before adding and subtracting TWO23[sx].
38428 * math/libm-test.inc (rint_test): Add more tests.
38429 (rint_test_tonearest): Likewise.
38430 (rint_test_towardzero): Likewise.
38431 (rint_test_downward): Likewise.
38432 (rint_test_upward: Likewise.
38434 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38437 * include/stdc-predef.h: New file. Extracted from features.h.
38438 * include/features.h: Include stdc-predef.h.
38439 * Makefile (headers): Add stdc-predef.h.
38440 * CONFORMANCE (Compiler limitations): Update.
38442 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38444 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38446 2012-02-21 David S. Miller <davem@davemloft.net>
38448 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38449 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38451 2012-02-20 David S. Miller <davem@davemloft.net>
38453 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38454 using a normal save/restore sequence, rather than allocating a
38455 dummy stack frame just to store a frame pointer and restore.
38456 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38458 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38460 * manual/install.texi: Fix stray word in line-wrapped comment.
38462 2012-02-20 David S. Miller <davem@davemloft.net>
38464 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38465 both binutils and gcc support GOTDATA.
38467 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38468 "rd %pc" in the PIC register setup sequences.
38470 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38471 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38472 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38473 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38479 (SYSCALL_ERROR_HANDLER): Likewise.
38480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38483 (SYSCALL_ERROR_HANDLER): Likewise.
38485 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38486 (HAVE_GCC_GOTDATA): New.
38487 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38488 relocation support in both binutils and gcc.
38489 * sysdeps/sparc/elf/configure: Regenerate.
38491 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38492 * sysdeps/sparc/sparc32/elf/configure: Delete.
38493 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38494 * sysdeps/sparc/sparc64/elf/configure: Delete.
38495 * sysdeps/sparc/elf/configure.in: New file.
38496 * sysdeps/sparc/elf/configure: Generate.
38498 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38499 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38500 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38501 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38502 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38504 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38506 * manual/install.texi: Do not mention specific glibc version
38508 * manual/libc.texinfo (VERSION, UPDATED): Update.
38509 (@copying): Use @copyright{} and range of years.
38511 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38514 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38515 [crti.S not in sysdirs] (generated): Do not append.
38516 [crti.S not in sysdirs] (omit-deps): Likewise.
38517 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38518 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38519 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38520 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38521 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38523 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38524 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38525 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38526 * csu/defs.awk: Remove file.
38527 * sysdeps/generic/initfini.c: Likewise.
38528 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38530 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38533 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38535 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38536 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38537 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38538 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38540 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38542 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38543 (__EPOLL_PACKED): Define to empty if not defined by
38545 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38549 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38551 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38552 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38553 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38554 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38556 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38560 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38562 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38564 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38565 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38569 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38571 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38572 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38574 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38576 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38577 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38579 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38581 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38584 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38586 * math/w_acos.c: Use non-signaling floating-point comparisons.
38587 * math/w_acosf.c: Likewise.
38588 * math/w_acosh.c: Likewise.
38589 * math/w_acoshf.c: Likewise.
38590 * math/w_acoshl.c: Likewise.
38591 * math/w_acosl.c: Likewise.
38592 * math/w_asin.c: Likewise.
38593 * math/w_asinf.c: Likewise.
38594 * math/w_asinl.c: Likewise.
38595 * math/w_atanh.c: Likewise.
38596 * math/w_atanhf.c: Likewise.
38597 * math/w_atanhl.c: Likewise.
38598 * math/w_exp2.c: Likewise.
38599 * math/w_exp2f.c: Likewise.
38600 * math/w_exp2l.c: Likewise.
38601 * math/w_j0.c: Likewise.
38602 * math/w_j0f.c: Likewise.
38603 * math/w_j0l.c: Likewise.
38604 * math/w_j1.c: Likewise.
38605 * math/w_j1f.c: Likewise.
38606 * math/w_j1l.c: Likewise.
38607 * math/w_jn.c: Likewise.
38608 * math/w_jnf.c: Likewise.
38609 * math/w_log.c: Likewise.
38610 * math/w_log10.c: Likewise.
38611 * math/w_log10f.c: Likewise.
38612 * math/w_log10l.c: Likewise.
38613 * math/w_log2.c: Likewise.
38614 * math/w_log2f.c: Likewise.
38615 * math/w_log2l.c: Likewise.
38616 * math/w_logf.c: Likewise.
38617 * math/w_logl.c: Likewise.
38618 * math/w_sqrt.c: Likewise.
38619 * math/w_sqrtf.c: Likewise.
38620 * math/w_sqrtl.c: Likewise.
38621 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38622 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38623 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38624 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38625 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38627 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38630 * manual/string.texi (strnlen): Use correct parameter name in
38631 equivalent expression.
38633 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38636 * manual/users.texi (seteuid): Consistently use neweuid for
38639 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38642 * manual/nss.texi (Services in the NSS configuration): Correct
38643 list of services in example configuration file.
38645 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38648 * manual/arith.texi: Remove statements about negative zero
38649 behaving identically to zero.
38651 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38654 * manual/install.texi: Do not document upgrading from libc5.
38656 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38659 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38661 2012-02-18 David S. Miller <davem@davemloft.net>
38663 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38664 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38665 %o7 across the call.
38666 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38668 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38669 SETUP_PIC_REG_LEAF.
38670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38671 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38672 * sysdeps/sparc/crtn.S: Likewise.
38674 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38676 * aout/Makefile: Remove.
38678 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38681 * manual/examples/argp-ex1.c (main): Format definition in GNU
38683 * manual/examples/argp-ex2.c (main): Likewise.
38684 * manual/examples/argp-ex3.c (main): Likewise.
38685 * manual/examples/argp-ex4.c (main): Likewise.
38686 * manual/examples/longopt.c (main): Use new-style prototype
38688 * manual/examples/strncat.c (main): Specify return type and use
38689 (void) for arguments.
38690 * manual/examples/subopt.c (main): Use char **argv argument.
38692 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38695 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38698 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38701 * manual/string.texi (strchr): Change when strchrnul is
38704 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38707 * manual/locale.texi (setlocale): Document LOCPATH.
38709 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38712 * manual/process.texi (execle): Move @dots{} before last argument.
38714 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38717 * manual/charset.texi (Generic Charset Conversion): Fix typo
38718 (LC_TYPE -> LC_CTYPE).
38720 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38723 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38724 (scalbnf): Likewise.
38725 (scalbnl): Likewise.
38726 (scalbln): Likewise.
38727 (scalblnf): Likewise.
38728 (scalblnl): Likewise.
38729 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38730 (vwarnx): Likewise.
38733 * manual/filesys.texi (telldir): Use braces around return type.
38734 * manual/llio.texi (mmap): Add space after comma.
38735 (mmap64): Likewise.
38736 * manual/math.texi (jn): Use @var{} on parameter names.
38742 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38744 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38746 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38747 (sched_get_priority_max): Likewise.
38748 * manual/signal.texi (sigvec): Add space after comma.
38749 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38751 (if_indextoname): Likewise.
38752 (if_freenameindex): Likewise.
38753 (sendto): Use ',' instead of '.' in prototype.
38754 * manual/startup.texi (syscall): Use @dots{} instead of literal
38756 * manual/stdio.texi (__fpending): Separate initial words of
38757 paragraph from @deftypefun line.
38758 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38760 (vsyslog): Use @var{} on parameter names.
38761 * manual/terminal.texi (stty): Use @var{} on parameter names.
38762 * manual/users.texi (getutmp): Use @var{} on parameter names.
38763 (getutmpx): Likewise.
38765 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38768 * manual/stdio.texi (fopen): Fix typos in description of
38771 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38774 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38775 get clock_id definition.
38777 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38780 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38781 (madvise): Cast every argument to void on its own.
38783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38786 * manual/startup.texi (Exit Status): Fix typo.
38788 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38791 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38792 * manual/examples/argp-ex2.c: Likewise.
38793 * manual/examples/argp-ex3.c: Likewise.
38795 2012-02-16 Richard Henderson <rth@redhat.com>
38797 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38798 * sysdeps/s390/s390-32/initfini.c: Remove.
38799 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38800 * sysdeps/s390/s390-64/initfini.c: Remove.
38802 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38804 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38805 compiler output for sysdeps/generic/initfini.c.
38806 * sysdeps/sh/elf/initfini.c: Remove file.
38808 2012-02-16 David S. Miller <davem@davemloft.net>
38811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38813 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38814 * sysdeps/sparc/crti.S: New file.
38815 * sysdeps/sparc/crtn.S: New file.
38816 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38817 * sysdeps/sparc/sparc64/Makefile: Likewise.
38819 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38822 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38824 2012-02-15 Roland McGrath <roland@hack.frob.com>
38827 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38829 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38830 (write, read, close): Likewise.
38831 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38833 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38835 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38836 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38837 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38838 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38840 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38844 2012-02-14 Marek Polacek <polacek@redhat.com>
38846 * sysdeps/x86_64/crti.S: New file.
38847 * sysdeps/x86_64/crtn.S: New file.
38848 * sysdeps/x86_64/elf/initfini.c: Remove file.
38850 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38852 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38853 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38854 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38855 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38857 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38861 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38863 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38864 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38865 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38866 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38868 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38869 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38872 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38874 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38875 __feraiseexcept instead of feraiseexcept.
38877 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38878 nanosleep invocations.
38879 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38880 strings, and add error checking for a nanosleep invocations.
38882 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38884 Replace FSF snail mail address with URLs, as per GNU coding standards.
38885 Most of the snail mail addresses were wrong anyway, and omitting
38886 them makes the source code easier to maintain. Almost all of the
38887 changes are to license notices and to locale LC_IDENTIFICATION
38888 addresses, except for this one:
38889 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38890 not its snail mail address.
38892 2012-02-09 Richard Henderson <rth@twiddle.net>
38894 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38895 of kernel-features.h.
38897 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38899 2012-02-08 Marek Polacek <polacek@redhat.com>
38901 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38902 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38903 * sysdeps/gnu/_G_config.h: Likewise.
38904 * sysdeps/generic/_G_config.h: Likewise.
38906 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38908 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38912 * sysdeps/powerpc/powerpc32/crti.S: New file.
38913 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38914 * sysdeps/powerpc/powerpc64/crti.S: New file.
38915 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38917 * Makeconfig (have-initfini): Don't set.
38918 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38919 * configure.in (nopic_initfini): Don't substitute.
38920 * config.h.in (HAVE_INITFINI): Don't #undef.
38921 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38922 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38924 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38926 Support crti.S and crtn.S provided directly by architectures.
38927 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38928 [crti.S in sysdirs] (omit-deps): Likewise.
38929 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38930 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38931 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38932 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38933 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38934 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38935 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38936 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38937 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38938 compiler output for sysdeps/generic/initfini.c.
38939 * sysdeps/i386/elf/Makefile: Remove file.
38940 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38942 2012-02-07 Marek Polacek <polacek@redhat.com>
38944 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38945 * sysdeps/gnu/_G_config.h: Likewise.
38946 * sysdeps/mach/hurd/_G_config.h: Likewise.
38948 2012-02-07 Marek Polacek <polacek@redhat.com>
38950 * math/Makefile (tests): Add tst-CMPLX2.
38951 * math/tst-CMPLX2.c: New file.
38953 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38955 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38957 * math/libm-test.inc (jn_test): Add missing L suffix.
38959 2012-02-06 Marek Polacek <polacek@redhat.com>
38961 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38962 * sysdeps/i386/fpu/e_powf.S: Likewise.
38963 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38964 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38965 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38966 * sysdeps/i386/fpu/e_pow.S: Likewise.
38967 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38968 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38969 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38970 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38971 * sysdeps/i386/fpu/e_log2.S: Likewise.
38972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38973 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38974 * sysdeps/i386/fpu/e_powl.S: Likewise.
38975 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38976 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38977 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38978 * sysdeps/i386/fpu/e_logl.S: Likewise.
38979 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38980 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38981 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38982 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38984 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38985 * sysdeps/i386/fpu/e_log.S: Likewise.
38986 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38987 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38988 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38989 * sysdeps/i386/fpu/e_logf.S: Likewise.
38990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38992 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38993 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38994 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38995 * sysdeps/i386/fpu/e_log10.S: Likewise.
38996 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38998 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38999 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39001 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39002 * sysdeps/i386/asm-syntax.h: Likewise.
39003 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39004 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39005 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39006 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39007 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39008 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39009 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39010 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39012 * sysdeps/powerpc/sysdep.h: Likewise.
39013 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39014 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39016 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39019 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39021 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39023 * sysdeps/i386/sysdep.h: Include <features.h>.
39024 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39027 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39029 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39031 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39034 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39036 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39037 (SETUP_PIC_REG): Use GET_PC_THUNK.
39038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39041 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39043 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39044 for non-PIC compilation.
39045 (SETUP_PIC_REG): Add .p2align directive.
39046 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39047 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39048 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39049 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39050 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39051 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39052 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39053 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39054 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39055 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39056 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39057 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39058 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39059 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39060 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39062 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39063 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39065 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39088 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39090 * math/tst-CMPLX.c: Include <stdio.h>.
39092 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39094 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39096 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39097 * sysdeps/sparc/bits/mathdef.h: Likewise.
39099 2012-01-31 Marek Polacek <polacek@redhat.com>
39101 * libio/libio.h: Don't define _PARAMS.
39102 * locale/programs/config.h: Don't define PARAMS.
39103 * stdlib/strtol_l.c: Likewise.
39104 (__strtol_l): Remove PARAMS from the prototype.
39106 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39108 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39109 names. Just use the correct names. Remove unnecessary wrapper
39111 * malloc/arena.c: Likewise.
39112 * malloc/hooks.c: Likewise.
39114 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39115 ARENA_TEST says not to. Simplify test for creation of a new arena.
39116 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39118 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39120 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39122 (update_get_addr): New function.
39123 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39124 GET_ADDR_MODULE parameter.
39126 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39128 * crypt/cert.c: Remove __STDC__ conditionals.
39129 * crypt/crypt-entry.c: Likewise.
39130 * crypt/crypt_util.c: Likewise.
39131 * libio/filedoalloc.c: Likewise.
39132 * libio/fileops.c: Likewise.
39133 * libio/genops.c: Likewise.
39134 * libio/iofclose.c: Likewise.
39135 * libio/iofdopen.c: Likewise.
39136 * libio/iofopen.c: Likewise.
39137 * libio/iofopen64.c: Likewise.
39138 * libio/iogetdelim.c: Likewise.
39139 * libio/iopopen.c: Likewise.
39140 * libio/obprintf.c: Likewise.
39141 * libio/oldfileops.c: Likewise.
39142 * libio/oldiofclose.c: Likewise.
39143 * libio/oldiofdopen.c: Likewise.
39144 * libio/oldiofopen.c: Likewise.
39145 * libio/oldiopopen.c: Likewise.
39146 * libio/wfiledoalloc.c: Likewise.
39147 * libio/wgenops.c: Likewise.
39148 * locale/programs/xmalloc.c: Likewise.
39149 * misc/syslog.c: Likewise.
39150 * stdio-common/xbug.c: Likewise.
39151 * string/memchr.c: Likewise.
39152 * string/memcmp.c: Likewise.
39153 * string/memrchr.c: Likewise.
39154 * string/rawmemchr.c: Likewise.
39155 * sysdeps/posix/getcwd.c: Likewise.
39156 * time/strftime_l.c: Likewise.
39158 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39160 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39161 * config.make.in (config-cflags-sse2avx): Define.
39162 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39165 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39167 * scripts/config.guess: Update from upstream config git repository.
39168 * scripts/config.sub: Likewise.
39170 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39172 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39174 (R_TILEPRO_*, R_TILEGX_*): New macros.
39176 * scripts/firstversions.awk: Fix bug in version range handling.
39178 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39180 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39182 * include/sys/epoll.h: New file.
39183 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39186 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39188 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39189 Avoid unnecessary __WORDSIZE == 64 test.
39190 (fmaxf): Use VEX format if possible.
39195 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39196 * math/math_private.h: Remove libc_fegetround* and
39198 * sysdeps/i386/configure.in: Check for -msse2avx.
39199 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39200 also if SSE2AVX is defined.
39201 Remove libc_fegetround* and libc_fesetround*.
39202 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39203 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39204 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39212 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39214 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39216 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39218 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39220 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39223 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39225 * Makeconfig (libm): Define.
39226 * elf/Makefile: Add rules to build and run tst-relsort1.
39227 * elf/tst-relsort1.c: New file.
39228 * elf/tst-relsort1mod1.c: New file.
39229 * elf/tst-relsort1mod2.c: New file.
39231 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39233 * math/s_ldexp.c: Remove __STDC__ conditionals.
39234 * math/s_ldexpf.c: Likewise.
39235 * math/s_ldexpl.c: Likewise.
39236 * math/s_nextafter.c: Likewise.
39237 * math/s_nexttowardf.c: Likewise.
39238 * math/s_significand.c: Likewise.
39239 * math/s_significandf.c: Likewise.
39240 * math/s_significandl.c: Likewise.
39241 * math/w_jnl.c: Likewise.
39242 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39243 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39244 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39245 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39246 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39248 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39251 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39252 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39254 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39255 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39256 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39261 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39262 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39263 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39268 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39269 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39270 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39271 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39272 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39273 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39274 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39276 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39277 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39278 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39279 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39282 * sysdeps/ieee754/k_standard.c: Likewise.
39283 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39284 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39285 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39286 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39287 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39288 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39289 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39290 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39291 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39292 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39341 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39342 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39344 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39349 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39354 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39355 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39357 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39362 * sysdeps/ieee754/s_matherr.c: Likewise.
39363 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39364 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39365 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39366 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39368 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39370 * crypt/md5.h: Remove __STDC__ conditionals.
39371 * libio/libioP.h: Likewise.
39372 * locale/programs/config.h: Likewise.
39373 * sysdeps/generic/sysdep.h: Likewise.
39374 * sysdeps/i386/asm-syntax.h: Likewise.
39375 * sysdeps/s390/asm-syntax.h: Likewise.
39376 * sysdeps/unix/sysdep.h: Likewise.
39377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39380 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39382 * libio/libio.h: Remove __STDC__ conditionals.
39383 * malloc/obstack.h: Likewise.
39384 * math/complex.h: Likewise.
39385 * math/math.h: Likewise.
39386 * sysdeps/generic/_G_config.h: Likewise.
39387 * sysdeps/gnu/_G_config.h: Likewise.
39388 * sysdeps/mach/hurd/_G_config.h: Likewise.
39389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39390 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39391 * sysdeps/sparc/bits/mathdef.h: Likewise.
39393 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39396 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39397 Clean up HAS_* macros.
39398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39399 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39404 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39409 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39411 * elf/tst-unique3.cc (gets): Remove declaration.
39412 * elf/tst-unique3lib.cc (gets): Likewise.
39413 * elf/tst-unique3lib2.cc (gets): Likewise.
39414 * elf/tst-unique4.cc (gets): Likewise.
39416 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39418 * include/stdio.h: Add C++ protection. Add gets declarations and
39420 * debug/tst-chk1.c: Don't declare gets here.
39421 * stdio-common/tst-gets.c: Likewise.
39423 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39425 * posix/glob: Remove directory.
39427 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39429 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39431 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39433 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39434 of the non-standard EPFNOSUPPORT.
39436 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39438 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39439 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39440 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39442 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39444 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39446 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39448 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39450 * nscd/grpcache.c (cache_addgr): Likewise.
39451 * nscd/hstcache.c (cache_addhst): Likewise.
39452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39453 * nscd/pwdcache.c (cache_addpw): Likewise.
39454 * nscd/servicescache.c (cache_addserv): Likewise.
39456 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39458 * malloc/malloc.c: Various cleanups.
39459 * malloc/hooks.c: Likewise.
39461 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39462 * stdlib/bug-fmtmsg1.c: New file.
39464 * stdlib/fmtmsg.c (init): Add missing unlock.
39465 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39467 2012-01-12 Marek Polacek <polacek@redhat.com>
39469 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39472 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39474 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39475 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39476 macro to ensure uniqueness of label name.
39477 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39478 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39480 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39482 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39484 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39485 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39487 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39489 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39493 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39494 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39495 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39497 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39499 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39500 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39501 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39504 * math/bits/math-finite.h: Add ldexp support.
39506 2012-01-10 Marek Polacek <polacek@redhat.com>
39508 * locale/programs/localedef.h (show_archive_content): Add noreturn
39511 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39513 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39515 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39517 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39519 * io/Makefile (headers): Add bits/poll2.h.
39521 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39524 typo #include statement.
39526 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39528 * include/sys/cdefs.h: Define __attribute_alloc_size.
39529 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39530 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39531 * elf/pldd.c: Likewise.
39532 * iconv/iconv_charmap.c: Likewise.
39533 * iconv/iconvconfig.c: Likewise.
39534 * iconv/strtab.c: Likewise.
39535 * locale/programs/locale.c: Likewise.
39536 * locale/programs/localedef.h: Likewise.
39537 * locale/programs/simple-hash.c: Likewise.
39538 * nscd/nscd.h: Likewise.
39539 * nss/makedb.c: Likewise.
39540 * sysdeps/generic/ldconfig.h: Likewise.
39541 * locale/programs/localedef.c: Remove xmalloc prototype.
39542 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39544 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39546 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39549 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39551 * math/Makefile (tests): Add tst-CMPLX.
39552 * math/tst-CMPLX.c: New file.
39554 * math/complex.h (CMPLXL): Fix typo.
39556 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39557 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39559 * debug/tst-chk1.c: Add poll and ppoll tests.
39560 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39561 * include/sys/poll.h: Add hidden proto for ppoll.
39562 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39563 * sysdeps/mach/hurd/ppoll.c: Likewise.
39564 * io/ppoll.c: Likewise.
39565 * debug/poll_chk.c: New file.
39566 * debug/ppoll_chk.c: New file.
39567 * include/bits/poll2.h: New file.
39568 * io/bits/poll2.h: New file.
39571 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39573 * configure.in: static is always set to yes. Remove.
39574 * config.make.in: Don't set build-static.
39575 * Makeconfig: Remove use of build-static.
39576 * dlfcn/Makefile: Likewise.
39577 * elf/Makefile: Likewise.
39578 * math/Makefile: Likewise.
39579 * misc/Makefile: Likewise.
39580 * nptl/Makefile: Likewise.
39581 * sysdeps/mach/hurd/Makefile: Likewise.
39583 * configure.in: PWD_P is not used anymore.
39584 * config.make.in: Remove PWD_P entry.
39586 * configure.in: Remove last remnants of RANLIB.
39587 No need to check for signed size_t anymore.
39588 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39590 Remove __builtin_expect test because we require at least gcc 3.4.
39591 * aclocal.m4: Likewise.
39593 * wcsmbs/mbrtoc16.c: Implement using towc function.
39594 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39595 * wcsmbs/wcsmbsload.c: Likewise.
39596 * iconv/gconv_simple.c: Likewise.
39597 * iconv/gconv_int.h: Likewise.
39598 * iconv/gconv_builtin.h: Likewise.
39599 * iconv/iconv_prog.c: Remove CHAR16 handling.
39601 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39603 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39605 * configure.in: Remove --with-elf and --enable-bounded options.
39606 Dont set base_machine for ia64. More non-ELF conditions removed.
39607 Remove testing and setting of leading underscore information.
39608 * config.make.in (build-bounded): Set to no.
39609 * config.h.in: Remove NO_UNDERSCORES entry.
39610 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39612 * csu/start.c: Remove !NO_UNDERSCORE code.
39613 * locale/localeinfo.h: Likewise.
39614 * sysdeps/generic/machine-gmon.h: Likewise.
39615 * sysdeps/generic/sysdep.h: Likewise.
39616 * sysdeps/i386/sysdep.h: Likewise.
39617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39618 * sysdeps/mach/sysdep.h: Likewise.
39619 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39620 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39621 * sysdeps/sh/sysdep.h: Likewise.
39622 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39623 * sysdeps/unix/i386/sysdep.S: Likewise.
39624 * sysdeps/unix/sparc/start.c: Likewise.
39625 * sysdeps/unix/sparc/sysdep.S: Likewise.
39626 * sysdeps/unix/sparc/sysdep.h: Likewise.
39627 * sysdeps/unix/start.c: Likewise.
39628 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39629 * sysdeps/x86_64/sysdep.h: Likewise.
39631 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39634 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39636 * argp/argp-fmtstream.h: Use const instead __const.
39637 * argp/argp.h: Likewise.
39638 * assert/assert.h: Likewise.
39639 * bits/fenv.h: Likewise.
39640 * bits/sched.h: Likewise.
39641 * bits/sigset.h: Likewise.
39642 * bits/sigthread.h: Likewise.
39643 * catgets/nl_types.h: Likewise.
39644 * conform/data/pthread.h-data: Likewise.
39645 * crypt/crypt-private.h: Likewise.
39646 * crypt/crypt.h: Likewise.
39647 * crypt/crypt_util.c: Likewise.
39648 * ctype/ctype.h: Likewise.
39649 * debug/execinfo.h: Likewise.
39650 * debug/mbsnrtowcs_chk.c: Likewise.
39651 * debug/mbsrtowcs_chk.c: Likewise.
39652 * debug/wcsnrtombs_chk.c: Likewise.
39653 * debug/wcsrtombs_chk.c: Likewise.
39654 * debug/wcstombs_chk.c: Likewise.
39655 * dirent/dirent.h: Likewise.
39656 * dlfcn/dlfcn.h: Likewise.
39657 * elf/neededtest4.c: Likewise.
39658 * grp/grp.h: Likewise.
39659 * gshadow/gshadow.h: Likewise.
39660 * iconv/gconv.h: Likewise.
39661 * iconv/gconv_int.h: Likewise.
39662 * iconv/gconv_simple.c: Likewise.
39663 * iconv/iconv.h: Likewise.
39664 * iconv/loop.c: Likewise.
39665 * iconv/skeleton.c: Likewise.
39666 * include/aio.h: Likewise.
39667 * include/aliases.h: Likewise.
39668 * include/argz.h: Likewise.
39669 * include/arpa/inet.h: Likewise.
39670 * include/assert.h: Likewise.
39671 * include/dirent.h: Likewise.
39672 * include/dlfcn.h: Likewise.
39673 * include/execinfo.h: Likewise.
39674 * include/fcntl.h: Likewise.
39675 * include/fenv.h: Likewise.
39676 * include/glob.h: Likewise.
39677 * include/grp.h: Likewise.
39678 * include/libintl.h: Likewise.
39679 * include/mntent.h: Likewise.
39680 * include/netdb.h: Likewise.
39681 * include/pwd.h: Likewise.
39682 * include/rpc/netdb.h: Likewise.
39683 * include/sched.h: Likewise.
39684 * include/search.h: Likewise.
39685 * include/shadow.h: Likewise.
39686 * include/signal.h: Likewise.
39687 * include/stdio.h: Likewise.
39688 * include/stdlib.h: Likewise.
39689 * include/string.h: Likewise.
39690 * include/sys/socket.h: Likewise.
39691 * include/sys/stat.h: Likewise.
39692 * include/sys/statfs.h: Likewise.
39693 * include/sys/statvfs.h: Likewise.
39694 * include/sys/syslog.h: Likewise.
39695 * include/sys/time.h: Likewise.
39696 * include/sys/uio.h: Likewise.
39697 * include/time.h: Likewise.
39698 * include/unistd.h: Likewise.
39699 * include/utmp.h: Likewise.
39700 * include/wchar.h: Likewise.
39701 * include/wctype.h: Likewise.
39702 * inet/aliases.h: Likewise.
39703 * inet/arpa/inet.h: Likewise.
39704 * inet/netinet/ether.h: Likewise.
39705 * inet/netinet/in.h: Likewise.
39706 * intl/libintl.h: Likewise.
39707 * io/bits/fcntl2.h: Likewise.
39708 * io/fcntl.h: Likewise.
39709 * io/ftw.h: Likewise.
39710 * io/sys/poll.h: Likewise.
39711 * io/sys/stat.h: Likewise.
39712 * io/sys/statfs.h: Likewise.
39713 * io/sys/statvfs.h: Likewise.
39714 * io/utime.h: Likewise.
39715 * libio/bits/stdio.h: Likewise.
39716 * libio/bits/stdio2.h: Likewise.
39717 * libio/libio.h: Likewise.
39718 * libio/libioP.h: Likewise.
39719 * libio/stdio.h: Likewise.
39720 * locale/lc-ctype.c: Likewise.
39721 * locale/locale.h: Likewise.
39722 * login/utmp.h: Likewise.
39723 * malloc/arena.c: Likewise.
39724 * malloc/malloc.c: Likewise.
39725 * malloc/malloc.h: Likewise.
39726 * malloc/mcheck.c: Likewise.
39727 * malloc/mtrace.c: Likewise.
39728 * math/bits/mathcalls.h: Likewise.
39729 * math/fenv.h: Likewise.
39730 * math/math_private.h: Likewise.
39731 * misc/bits/error.h: Likewise.
39732 * misc/bits/syslog.h: Likewise.
39733 * misc/err.h: Likewise.
39734 * misc/error.h: Likewise.
39735 * misc/fstab.h: Likewise.
39736 * misc/mntent.h: Likewise.
39737 * misc/regexp.h: Likewise.
39738 * misc/search.h: Likewise.
39739 * misc/sgtty.h: Likewise.
39740 * misc/sys/mman.h: Likewise.
39741 * misc/sys/syslog.h: Likewise.
39742 * misc/sys/uio.h: Likewise.
39743 * misc/sys/xattr.h: Likewise.
39744 * misc/ttyent.h: Likewise.
39745 * nis/rpcsvc/ypclnt.h: Likewise.
39746 * nss/nss.h: Likewise.
39747 * posix/bits/unistd.h: Likewise.
39748 * posix/fnmatch.h: Likewise.
39749 * posix/glob.h: Likewise.
39750 * posix/sched.h: Likewise.
39751 * posix/spawn.h: Likewise.
39752 * posix/sys/wait.h: Likewise.
39753 * posix/unistd.h: Likewise.
39754 * posix/wordexp.h: Likewise.
39755 * pwd/pwd.h: Likewise.
39756 * resolv/netdb.h: Likewise.
39757 * resource/sys/resource.h: Likewise.
39758 * rt/aio.h: Likewise.
39759 * rt/bits/mqueue2.h: Likewise.
39760 * rt/mqueue.h: Likewise.
39761 * shadow/shadow.h: Likewise.
39762 * signal/signal.h: Likewise.
39763 * socket/send.c: Likewise.
39764 * socket/sendto.c: Likewise.
39765 * socket/sys/socket.h: Likewise.
39766 * stdio-common/printf.h: Likewise.
39767 * stdlib/bits/stdlib.h: Likewise.
39768 * stdlib/fmtmsg.h: Likewise.
39769 * stdlib/monetary.h: Likewise.
39770 * stdlib/stdlib.h: Likewise.
39771 * stdlib/ucontext.h: Likewise.
39772 * streams/stropts.h: Likewise.
39773 * string/argz.h: Likewise.
39774 * string/bits/string2.h: Likewise.
39775 * string/string.h: Likewise.
39776 * string/strings.h: Likewise.
39777 * sunrpc/rpc/auth.h: Likewise.
39778 * sunrpc/rpc/auth_des.h: Likewise.
39779 * sunrpc/rpc/clnt.h: Likewise.
39780 * sunrpc/rpc/netdb.h: Likewise.
39781 * sunrpc/rpc/pmap_clnt.h: Likewise.
39782 * sunrpc/rpc/xdr.h: Likewise.
39783 * sysdeps/generic/inttypes.h: Likewise.
39784 * sysdeps/generic/net/if.h: Likewise.
39785 * sysdeps/generic/sys/swap.h: Likewise.
39786 * sysdeps/gnu/net/if.h: Likewise.
39787 * sysdeps/gnu/utmpx.h: Likewise.
39788 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39789 * sysdeps/i386/i486/bits/string.h: Likewise.
39790 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39791 * sysdeps/s390/bits/string.h: Likewise.
39792 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39793 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39794 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39795 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39796 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39797 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39798 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39799 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39800 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39801 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39802 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39803 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39804 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39805 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39806 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39807 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39808 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39813 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39814 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39815 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39816 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39817 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39818 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39820 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39821 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39822 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39823 * sysvipc/sys/ipc.h: Likewise.
39824 * sysvipc/sys/msg.h: Likewise.
39825 * sysvipc/sys/sem.h: Likewise.
39826 * sysvipc/sys/shm.h: Likewise.
39827 * termios/termios.h: Likewise.
39828 * time/sys/time.h: Likewise.
39829 * time/time.h: Likewise.
39830 * wcsmbs/bits/wchar2.h: Likewise.
39831 * wcsmbs/uchar.h: Likewise.
39832 * wcsmbs/wchar.h: Likewise.
39833 * wctype/wctype.h: Likewise.
39836 * Makeconfig: Remove all but ELF support including AIX support.
39837 * Makerules: Likewise.
39838 * config.h.in: Likewise.
39839 * config.make.in: Likewise.
39840 * configure: Likewise.
39841 * configure.in: Likewise.
39842 * csu/Makefile: Likewise.
39843 * csu/version.c: Likewise.
39844 * debug/Makefile: Likewise.
39845 * dlfcn/Makefile: Likewise.
39846 * elf/Makefile: Likewise.
39847 * extra-lib.mk: Likewise.
39848 * iconv/Makefile: Likewise.
39849 * include/libc-symbols.h: Likewise.
39850 * include/shlib-compat.h: Likewise.
39851 * resolv/Makefile: Likewise.
39852 * resolv/res_libc.c: Likewise.
39853 * rt/Makefile: Likewise.
39854 * sysdeps/i386/asm-syntax.h: Likewise.
39855 * sysdeps/i386/sysdep.h: Likewise.
39856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39857 * sysdeps/mach/sysdep.h: Likewise.
39858 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39859 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39860 * sysdeps/s390/asm-syntax.h: Likewise.
39861 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39862 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39863 * sysdeps/sh/sysdep.h: Likewise.
39864 * sysdeps/unix/sparc/sysdep.h: Likewise.
39865 * sysdeps/wordsize-32/divdi3.c: Likewise.
39866 * sysdeps/x86_64/sysdep.h: Likewise.
39868 * argp/Versions: Remove _argp_unlock_xxx.
39871 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39872 * abilist/libBrokenLocale.abilist: Likewise.
39873 * abilist/libanl.abilist: Likewise.
39874 * abilist/libc.abilist: Likewise.
39875 * abilist/libcrypt.abilist: Likewise.
39876 * abilist/libdl.abilist: Likewise.
39877 * abilist/libm.abilist: Likewise.
39878 * abilist/libnsl.abilist: Likewise.
39879 * abilist/libpthread.abilist: Likewise.
39880 * abilist/libresolv.abilist: Likewise.
39881 * abilist/librt.abilist: Likewise.
39882 * abilist/libthread_db.abilist: Likewise.
39883 * abilist/libutil.abilist: Likewise.
39884 * abilist/libnss_db.abilist: New file.
39886 * scripts/abilist.awk: Add support for indirect functions.
39888 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39890 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39892 * shlib-versions: Remove entries for ports architectures.
39894 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39896 * elf/stackguard-macros.h: Remove support for IA-64.
39897 * elf/tst-auditmod1.c: Likewise.
39898 * sysdeps/generic/ldsodefs.h: Likewise.
39900 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39901 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39905 * configure.in: Remove --enable-omitfp support.
39907 * config.make.in: Likewise.
39908 * Makeconfig: Likewise.
39909 * manual/install.texi: Likewise.
39911 In case anyone cares, the IA-64 architecture could move to ports.
39912 * sysdeps/ia64/*: Removed.
39913 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39914 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39917 * configure.in: Remove entries for unsupported architectures.
39920 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39921 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39923 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39924 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39925 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39926 fall back to using wcrtomb.
39927 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39928 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39930 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39931 * wcsmbs/tst-c16c32-1.c: New file.
39933 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39936 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39938 * elf/tst-unique3.cc: Add explicit declaration of gets.
39939 * elf/tst-unique3lib.cc: Likewise.
39940 * elf/tst-unique3lib2.cc: Likewise.
39941 * elf/tst-unique4.cc: Likewise.
39943 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39945 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39948 * assert/assert.h (static_assert): Don't define for C++.
39949 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39950 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39952 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39954 * iconv/loop.c (single loop): Fix assertion in storing of
39957 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39959 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39961 * posix/getconf.c: Update copyright year.
39962 * nss/getent.c: Likewise.
39963 * nss/makedb.c: Likewise.
39964 * iconv/iconvconfig.c: Likewise.
39965 * iconv/iconv_prog.c: Likewise.
39966 * elf/ldconfig.c: Likewise.
39967 * elf/pldd.c: Likewise.
39968 * elf/sotruss.ksh: Likewise.
39969 * catgets/gencat.c: Likewise.
39970 * csu/version.c: Likewise.
39971 * elf/ldd.bash.in: Likewise.
39972 * elf/sprof.c (print_version): Likewise.
39973 * locale/programs/locale.c: Likewise.
39974 * locale/programs/localedef.c: Likewise.
39975 * login/programs/pt_chown.c: Likewise.
39976 * nscd/nscd.c (print_version): Likewise.
39977 * debug/xtrace.sh: Likewise.
39978 * malloc/memusage.sh: Likewise.
39979 * malloc/mtrace.pl: Likewise.
39980 * debug/catchsegv.sh: Likewise.
39982 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39984 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39987 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39990 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39991 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39993 * iconv/gconv_int.h: Likewise.
39994 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39995 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39996 from libc for GLIBC_2.16.
39997 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39998 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39999 * wcsmbs/uchar.h: Really define mbstate_t.
40000 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40001 * wcsmbs/c16rtomb.c: New file.
40002 * wcsmbs/mbrtoc16.c: New file.
40003 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40004 for C/POSIX locale.
40005 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40006 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40008 * wcsmbs/wchar.h: Add missing __restrict.
40010 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40013 * time/Makefile (routines): Add timespec_get.
40014 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40015 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40016 timespec for ISO C11.
40017 * time/timespec_get.c: New file.
40018 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40019 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40022 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40023 * stdlib/stdlib.h: Declare aligned_alloc.
40024 * Versions.def: Add GLIBC_2.16 for libc.
40025 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40028 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40031 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40035 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40038 * assert/assert.h (static_assert): Define.
40040 * version.h: Update for 2.16 development version.
40043 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40046 * version.h (RELEASE): Bump for 2.15 release.
40047 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40049 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40050 Patch by Marek Polacek <mpolacek@redhat.com>.
40052 * bits/byteswap.h: Protect long long constants with __extension__.
40053 * sysdeps/i386/bits/byteswap.h: Likewise.
40054 * sysdeps/ia64/bits/byteswap.h: Likewise.
40055 * sysdeps/s390/bits/byteswap.h: Likewise.
40056 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40058 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40062 destination buffer.
40063 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40065 2011-12-23 Marek Polacek <polacek@redhat.com>
40067 * elf/dl-addr.c (determine_info): Add inline keyword.
40068 * elf/tst-auditmod4b.c (check_avx): Likewise.
40069 * elf/tst-auditmod6b.c (check_avx): Likewise.
40070 * elf/tst-auditmod6c.c (check_avx): Likewise.
40071 * elf/tst-auditmod7b.c (check_avx): Likewise.
40073 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40075 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40078 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40081 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40082 processing for last bytes.
40084 2011-08-06 Bruno Haible <bruno@clisp.org>
40087 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40088 U+0385, not to U+1FEE.
40091 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40092 entry for U+00A5 U+0301.
40094 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40097 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40098 buffer for the output is too small.
40100 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40104 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40105 SSE flags if possible.
40107 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40111 processing for last bytes.
40113 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40115 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40116 (syscall-list-default-options, syscall-list-default-condition)
40117 (syscall-list-includes): Define.
40118 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40119 list of ABIs and options and #if conditions for each ABI. Do not
40120 handle common syscalls between ABIs specially.
40121 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40123 (syscall-list-variants, syscall-list-32bit-options)
40124 (syscall-list-32bit-condition, syscall-list-64bit-options)
40125 (syscall-list-64bit-condition): Define.
40126 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40127 (syscall-list-variants, syscall-list-32bit-options)
40128 (syscall-list-32bit-condition, syscall-list-64bit-options)
40129 (syscall-list-64bit-condition): Define.
40130 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40132 (syscall-list-variants, syscall-list-32bit-options)
40133 (syscall-list-32bit-condition, syscall-list-64bit-options)
40134 (syscall-list-64bit-condition): Define.
40135 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40137 (syscall-list-variants, syscall-list-32bit-options)
40138 (syscall-list-32bit-condition, syscall-list-64bit-options)
40139 (syscall-list-64bit-condition): Define.
40141 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40143 * locale/iso-639.def: Add brx entry.
40146 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40147 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40149 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40150 __feraiseexcept_renamed.
40152 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40155 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40156 EPOLLET with unsigned values.
40157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40158 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40160 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40161 to large cancellation.
40162 * math/s_cacoshf.c: Likewise.
40163 * math/s_cacoshl.c: Likewise.
40165 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40169 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40170 * math/s_cacoshf.c: Likewise.
40171 * math/s_cacoshl.c: Likewise.
40173 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40176 * iconv/gconv.h: Define __GCONV_SWAP.
40177 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40178 * iconvdata/utf-16.c: Likewise.
40179 * iconvdata/utf-32.c: Likewise.
40181 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40184 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40185 numerator after shifting it by one limb.
40187 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40190 under [__USE_EXTERN_INLINES].
40192 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40195 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40197 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40199 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40200 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40202 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40203 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40204 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40205 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40206 for strncasecmp/strncasecmp_l compilation.
40207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40208 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40210 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40213 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40216 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40219 * time/tzfile.c (__tzfile_read): Check values from file header.
40221 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40223 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40224 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40225 * powerpc/powerpc32/dl-start.S: Likewise.
40226 * powerpc/powerpc32/elf/start.S: Likewise.
40227 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40228 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40229 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40230 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40231 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40232 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40233 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40234 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40235 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40236 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40237 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40238 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40239 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40240 * powerpc/powerpc32/memset.S: Likewise.
40241 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40242 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40243 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40244 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40245 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40246 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40247 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40248 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40249 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40250 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40251 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40252 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40253 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40255 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40257 * math/libm-test.inc: Added more nearbyint tests.
40258 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40259 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40260 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40263 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40265 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40268 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40270 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40271 Add wcscpy-ssse3 wcscpy-c.
40272 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40273 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40274 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40275 * sysdeps/x86_64/wcschr.S: New file.
40276 * sysdeps/x86_64/wcsrchr.S: New file.
40277 * string/test-strcmp.c: Remove checking of wcscmp function for
40279 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40280 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40281 wcsrchr-sse2 wcsrchr-c.
40282 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40283 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40284 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40285 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40286 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40287 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40288 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40289 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40290 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40291 * wcsmbc/wcschr.c (WCSCHR): New macro.
40293 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40295 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40296 * wcsmbs/test-wcsrchr.c: New file.
40297 * string/test-strrchr.c: Add wcsrchr support.
40299 * wcsmbs/test-wcscpy.c: New file.
40300 * string/test-strcpy.c: Add wcscpy support.
40303 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40308 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40311 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40313 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40315 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40316 Minor optimizations.
40318 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40319 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40320 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40322 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40324 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40325 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40326 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40327 for gcc to avoid warnings.
40328 * inet/Makefile (tests): Add tst-checks.
40329 * inet/tst-checks.c: New file.
40331 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40334 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40337 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40338 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40340 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40342 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40344 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40347 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40349 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40351 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40352 conditional on GCC version.
40353 (__arch_compare_and_exchange_val_8_acq)
40354 (__arch_compare_and_exchange_val_16_acq)
40355 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40356 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40357 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40359 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40361 * sysdeps/sh/backtrace.c: New file.
40363 2011-12-02 Andreas Schwab <schwab@redhat.com>
40365 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40368 2011-12-01 Andreas Schwab <schwab@redhat.com>
40370 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40371 falling back to utime.
40373 2011-11-30 Andreas Schwab <schwab@redhat.com>
40375 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40376 expectations for float.
40378 2011-11-29 Andreas Schwab <schwab@redhat.com>
40380 * locale/weight.h (findidx): Add parameter len.
40381 * locale/weightwc.h (findidx): Likewise.
40382 * posix/fnmatch_loop.c (FCT): Adjust caller.
40383 * posix/regcomp.c (build_equiv_class): Likewise.
40384 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40385 * posix/regexec.c (check_node_accept_bytes): Likewise.
40386 * string/strcoll_l.c (STRCOLL): Likewise.
40387 * string/strxfrm_l.c (STRXFRM): Likewise.
40389 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40391 * Makefile.in: Remove CVSOPT handling.
40392 * configure.in: Remove use of AC_REVISION.
40393 * iconvdata/Makefile (distribute): No need to filter out CVS.
40394 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40397 2011-11-16 Andreas Schwab <schwab@redhat.com>
40399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40400 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40401 [USE_AS_STRNCASECMP_L]: Likewise.
40402 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40403 NO_TLS_DIRECT_SEG_REFS.
40404 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40405 Fix argument offsets for non-PIC.
40406 [USE_AS_STRNCASECMP_L]: Likewise.
40407 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40408 NO_TLS_DIRECT_SEG_REFS.
40410 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40412 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40414 * locale/loadlocale.c (_nl_load_locale): Likewise.
40416 2011-11-15 Andreas Schwab <schwab@redhat.com>
40418 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40419 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40420 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40421 (SYSCALL_GETTIME): Set errno on error.
40423 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40424 count references to noai6ai_cached.
40426 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40428 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40430 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40431 FD_CLOEXEC for /proc/self/maps.
40433 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40434 FD_CLOEXEC for /proc/meminfo.
40436 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40439 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40440 FD_CLOEXEC for given file.
40442 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40444 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40445 FD_CLOEXEC for /etc/hosts.
40446 (_gethtent): Likewise.
40448 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40450 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40451 cancellation and set FD_CLOEXEC for /etc/netgroup.
40453 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40454 reading /etc/publickey.
40456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40457 allow cancellation when reading /etc/group.
40459 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40461 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40463 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40464 when using data file.
40466 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40468 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40469 (write_nis_obj): Use "c" and "e" in fopen.
40471 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40473 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40475 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40477 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40479 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40482 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40484 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40486 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40488 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40489 file parsing and set FD_CLOEXEC.
40491 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40493 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40495 2011-11-14 Andreas Schwab <schwab@redhat.com>
40497 * malloc/arena.c (arena_get2): Don't call reused_arena when
40498 _int_new_arena failed.
40500 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40502 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40503 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40505 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40506 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40508 to compile strcasecmp and strncasecmp.
40509 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40510 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40514 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40516 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40517 locale-defines.sym to gen-as-const-headers.
40518 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40519 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40520 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40521 to compile strcasecmp and strncasecmp.
40522 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40523 strcasecmp_l and strncasecmp_l.
40524 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40525 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40526 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40527 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40528 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40529 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40530 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40531 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40532 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40533 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40534 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40536 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40538 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40539 result of SYSDEP_GETTIME_CPU to retval.
40540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40541 parameter list to macro. Remove trailing semicolon. Adjust users.
40543 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40546 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40550 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40551 from unused variable.
40553 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40555 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40558 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40561 * sunrpc/rpc_prot.c (rejected): Fix case value.
40563 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40564 unsigned long long int to avoid warnings in shift.
40566 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40568 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40571 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40572 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40573 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40575 * nis/nis_table.c (nis_list): Use variable of correct type for
40576 result of __follow_path call.
40578 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40580 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40581 of math functions ceil, trunc, floor, round, and sqrt, when
40582 avaliable on the platform.
40583 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40585 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40586 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40587 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40589 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40591 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40592 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40594 2011-11-11 Roland McGrath <roland@hack.frob.com>
40596 * include/unistd.h: Fix __readlink return type.
40597 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40599 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40601 * stdlib/ucontext.h: Undo last change for makecontext.
40603 2011-11-11 Andreas Schwab <schwab@redhat.com>
40605 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40607 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40608 * setjmp/setjmp.h: Mark functions as non-leaf.
40609 * setjmp/bits/setjmp2.h: Likewise.
40610 * stdlib/ucontext.h: Likewise.
40612 2011-11-10 Andreas Schwab <schwab@redhat.com>
40614 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40615 (reused_arena): Don't check arena limit.
40616 (arena_get2): Atomically check arena limit.
40618 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40620 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40621 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40626 2011-11-07 Andreas Schwab <schwab@redhat.com>
40628 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40629 handler when locking.
40631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40632 Fix size of allocated buffer.
40634 2011-11-04 Andreas Schwab <schwab@redhat.com>
40637 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40638 declarations for long double functions.
40639 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40641 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40643 2011-11-03 Andreas Schwab <schwab@redhat.com>
40645 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40648 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40651 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40653 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40655 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40657 * include/alloca.h (stackinfo_alloca_round): Define.
40658 (extend_alloca): Use it.
40659 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40660 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40663 * scripts/check-local-headers.sh: Ignore libaudit.h.
40665 * nscd/Makefile (extra-objs): Make recursively expanded.
40667 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40669 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40670 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40672 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40673 * posix/tst-rfc3484-2.c: Likewise.
40674 * posix/tst-rfc3484-3.c: Likewise.
40676 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40678 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40680 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40681 process_vm_writev from libc using GLIBC_2.15 version.
40683 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40685 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40687 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40690 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40693 * nss/getent.c (initgroups_keys): Show error message in case no group
40696 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40697 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40698 __bump_nl_timestamp.
40699 * nscd/connections (nscd_init): When host database is served open
40700 netlink socket and request notification about configuration changes.
40701 (main_loop_poll): Track netlink file descriptor and bump timestamp
40702 in case data becomes available.
40703 (main_loop_epoll): Likewise.
40704 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40705 (database_pers_head): Add extra_data fileds.
40706 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40707 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40708 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40710 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40711 in6ai data, call __free_in6ai.
40712 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40713 Add -DHAVE_NETLINK.
40714 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40715 interface information. Reuse previous data if netlink timestamp
40717 (__bump_nl_timestamp): New function.
40718 (__free_in6ai): New function.
40720 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40722 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40723 close_not_cancel_no_status here.
40724 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40726 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40729 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40732 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40733 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40734 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40736 2011-07-03 Andreas Jaeger <aj@suse.de>
40739 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40740 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40741 * math/libm-test.inc (sin_test): Add test case.
40743 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40746 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40747 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40749 * elf/chroot_canon.c (chroot_canon): Cleanups.
40751 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40754 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40755 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40757 * string/test-strchr.c: Make usable for strchrnul testing.
40758 * string/test-strchrnul.c: New file.
40759 * string/Makefile (strop-tests): Add strchrnul.
40761 * po/it.po: Update from translation team.
40762 * po/es.po: Likewise.
40764 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40766 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40767 the three constants needed as parameters. Drop the others.
40768 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40769 __m128i_strloadu_tolower.
40770 Create and initialize variable zero and use it in all the places
40771 where _mm_setzero_si128 was used.
40773 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40774 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40775 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40776 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40778 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40779 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40780 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40781 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40782 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40783 __mpranred, __mptan.
40784 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40785 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40786 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40787 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40790 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40791 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40792 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40794 2011-10-28 Andreas Schwab <schwab@redhat.com>
40796 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40797 redefine if SHARED.
40798 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40801 wide char related routines to wcsmbs subdir.
40803 2011-10-27 Andreas Schwab <schwab@redhat.com>
40806 * misc/sys/cdefs.h (__THROWNL): Define.
40807 * posix/unistd.h: Use __THREADNL instead of __THREAD
40808 for memory synchronization functions.
40810 2011-10-26 Roland McGrath <roland@hack.frob.com>
40813 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40815 * manual/stdio.texi (Obstack Streams): Node removed.
40817 2011-10-26 Andreas Schwab <schwab@redhat.com>
40819 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40820 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40823 * math/math_private.h (math_force_eval): Allow non-addressable
40825 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40827 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40829 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40830 file is not needed.
40832 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40833 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40834 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40835 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40837 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40838 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40839 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40841 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40842 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40843 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40844 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40845 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40846 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40847 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40848 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40849 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40850 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40851 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40852 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40854 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40855 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40856 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40858 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40859 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40861 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40862 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40864 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40865 place. Use VEX encoding when compiling for AVX.
40867 2011-10-25 Andreas Schwab <schwab@redhat.com>
40869 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40870 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40872 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40874 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40876 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40877 useless if() expression.
40878 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40879 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40880 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40882 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40884 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40886 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40887 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40888 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40890 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40891 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40892 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40893 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40894 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40896 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40898 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40900 2011-10-25 Andreas Schwab <schwab@redhat.com>
40902 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40904 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40906 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40908 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40909 .text section. Avoid duplicate constants.
40910 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40919 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40920 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40921 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40922 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40927 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40930 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40932 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40933 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40934 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40935 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40936 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40937 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40938 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40939 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40940 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40950 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40956 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40958 * sysdeps/x86_64/dla.h: Move to ...
40959 * sysdeps/x86_64/fpu/dla.h: ...here.
40960 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40961 situations. Use __builtin_fma only for gcc 4.6 and up.
40963 * config.make.in: Add have-mfma4 entry.
40964 * configure.in: Substitute libc_cv_cc_fma4.
40965 * math/Makefile (dbl-only-routines): Add sincostab.
40966 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40967 Use __sincostab not sincos.
40968 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40970 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40972 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40975 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40976 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40977 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40978 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40980 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40981 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40983 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40984 define aliases when function name is a macro.
40985 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40986 sysdeps/ieee754/dbl-64/sincos.tbl.
40987 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40988 fma4-enabled routines.
40989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40990 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40991 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40992 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40993 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40994 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40995 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40998 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40999 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41000 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41001 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41002 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41003 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41004 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41005 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41006 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41007 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41020 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41031 2011-10-24 Andreas Schwab <schwab@redhat.com>
41033 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41035 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41037 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41039 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41041 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41043 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41044 Remove unused variable magic_bits.
41045 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41047 * string/strnlen.c: Define and use STRNLEN macro.
41048 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41049 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41051 * wcsmbs/wcslen.c: Define and use WCSLEN.
41052 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41053 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41054 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41055 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41056 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41057 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41058 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41060 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41063 strnlen-sse2-no-bsf.
41064 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41066 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41067 Add strnlen support.
41068 (USE_AS_STRNLEN): New macro.
41069 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41070 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41071 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41072 * sysdeps/x86_64/wcslen.S: New file.
41074 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41077 XMM-moves are used for copying on small sizes.
41079 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41081 * wcsmbs/Makefile (strop-tests): Add wcschr.
41082 * wcsmbs/test-wcschr.c: New file.
41083 * string/test-strchr.c: Update.
41084 Add wcschr support.
41087 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41089 * wcsmbs/Makefile (strop-tests): Add wcslen.
41090 * wcsmbs/test-wcslen.c: New file.
41091 * string/test-strlen.c: Update.
41092 Add wcslen support.
41095 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41097 * po/it.po: Update from translation team.
41099 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41101 * sysdeps/x86_64/wcscmp.S: Update.
41102 Fix wrong comparison semantics.
41103 wcscmp shall use signed comparison not unsigned.
41104 Don't use substraction to avoid overflow bug.
41105 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41106 * wcsmbc/wcscmp.c: Likewise.
41107 * string/test-strcmp.c: Likewise.
41108 Add new tests to check cases with negative values.
41110 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41112 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41113 * sysdeps/x86_64/dla.h: ...here. New file.
41114 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41118 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41124 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41127 __ynl_finite aliases.
41129 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41133 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41135 [DLA_FMA] (EMULV): Use DLA_FMA.
41136 [DLA_FMA] (MUL12): Use EMULV.
41137 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41138 that are not needed.
41139 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41147 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41149 * math/s_nan.c: Undef __nan.
41150 * math/s_nanf.c: Undef __nanf.
41151 * math/s_nanl.c: Undef __nanl.
41152 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41155 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41157 * math/s_catan.c: Add branch predictions.
41158 * math/s_catanf.c: Likewise.
41159 * math/s_catanh.c: Likewise.
41160 * math/s_catanhf.c: Likewise.
41161 * math/s_catanhl.c: Likewise.
41162 * math/s_catanl.c: Likewise.
41163 * math/s_cexp.c: Likewise.
41164 * math/s_cexpf.c: Likewise.
41165 * math/s_cexpl.c: Likewise.
41166 * math/s_clog.c: Likewise.
41167 * math/s_clog10.c: Likewise.
41168 * math/s_clog10f.c: Likewise.
41169 * math/s_clog10l.c: Likewise.
41170 * math/s_clogf.c: Likewise.
41171 * math/s_clogl.c: Likewise.
41172 * math/s_csqrt.c: Likewise.
41173 * math/s_csqrtf.c: Likewise.
41174 * math/s_csqrtl.c: Likewise.
41175 * math/s_ctanf.c: Likewise.
41176 * math/s_ctanh.c: Likewise.
41177 * math/s_ctanhf.c: Likewise.
41178 * math/s_ctanhl.c: Likewise.
41179 * math/s_ctanl.c: Likewise.
41181 * math/math_private.h: Define __nan, __nanf, __nanl.
41182 * math/s_cacosh.c: Include <math_private.h>.
41183 * math/s_cacoshl.c: Likewise.
41184 * math/s_casinh.c: Likewise.
41185 * math/s_casinhf.c: Likewise.
41186 * math/s_casinhl.c: Likewise.
41187 * math/s_ccos.c: Rely entire on ccosh.
41188 * math/s_ccosf.c: Rely entire on ccoshf.
41189 * math/s_ccosl.c: Rely entirely on ccoshl.
41190 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41191 Remove tests for FE_INVALID.
41192 * math/s_ccoshf.c: Likewise.
41193 * math/s_ccoshl.c: Likewise.
41194 * math/s_csin.c: Likewise.
41195 * math/s_csinf.c: Likewise.
41196 * math/s_csinh.c Likewise.
41197 * math/s_csinhf.c: Likewise.
41198 * math/s_csinhl.c: Likewise.
41199 * math/s_csinl.c: Likewise.
41200 * math/s_ctan.c: Likewise.
41201 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41202 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41203 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41205 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41208 compilation problems.
41210 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41213 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41215 * sysdeps/i386/configure.in: Test for -mfma4 option.
41216 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41217 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41218 COMMON_CPUID_INDEX_80000001.
41219 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41220 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41221 use it if FMA3 is not supported.
41222 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41224 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41225 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41227 2011-10-20 Andreas Schwab <schwab@redhat.com>
41230 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41231 it would create a cycle with a link time dependency.
41233 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41235 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41237 * string/Makefile (strop-tests): Add rawmemchr.
41238 * string/test-rawmemchr.c: New file.
41240 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41242 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41243 when compiling str{,n}casecmp and when AVX is available. Hook up
41244 new optimized code in initializers.
41246 2011-10-19 Andreas Schwab <schwab@redhat.com>
41248 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41249 __feraiseexcept instead of feraiseexcept.
41251 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41253 * math/math_private.h: Define defaults for libc_fetestexcept and
41255 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41256 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41257 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41258 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41259 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41260 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41261 libc_fetestexcept and libc_feupdateenv.
41263 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41264 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41265 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41266 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41267 libc_feholdexcept_setround.
41269 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41270 Add s_nearbyint-c and s_nearbyintf-c.
41271 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41272 nearbyintf inlines.
41273 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41274 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41275 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41276 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41278 * math/math_private.h: Define defaults for libc_fegetround,
41279 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41280 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41281 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41283 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41284 standard functions.
41285 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41286 Remove comments and hacks for old compiler versions.
41287 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41288 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41289 libc_feholdexceptl.
41291 2011-10-18 Andreas Schwab <schwab@redhat.com>
41293 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41294 (__feraiseexcept_renamed): Add __NTH.
41295 (feraiseexcept): Add __NTH. Rename local variables to fix
41296 namespace violations.
41298 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41300 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41302 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41304 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41305 recently added interfaces.
41306 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41308 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41309 about macro parameter expansion.
41311 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41312 __NO_MATH_INLINES is defined. Cleanups.
41314 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41315 and __floorf is target has SSE4.1.
41316 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41317 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41318 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41319 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41321 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41323 (floorf): Likewise.
41325 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41327 2011-10-17 Andreas Schwab <schwab@redhat.com>
41329 * misc/sys/cdefs.h: Fix last change.
41331 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41334 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41336 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41338 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41340 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41341 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41344 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41345 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41346 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41347 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41348 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41349 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41350 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41351 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41352 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41353 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41354 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41355 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41356 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41357 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41359 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41361 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41362 ceil, ceilf, floor, floorf.
41364 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41365 Perform IRELATIVE relocations last.
41367 * elf/do-rel.h: Add another parameter nrelative, replacing the
41368 local variable with the same name. Change name of the function
41369 to end in Rel or Rela (uppercase).
41370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41371 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41372 elf_dynamic_do_##reloc function.
41374 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41376 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41377 is sufficient, at least on modern CPUs.
41379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41381 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41382 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41384 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41386 * math/bits/math-finite.h: Add entries for exp.
41387 * math/e_expl.c: Add __*_finite alias.
41388 * sysdeps/i386/fpu/e_exp.S: Likewise.
41389 * sysdeps/i386/fpu/e_expf.S: Likewise.
41390 * sysdeps/i386/fpu/e_expl.c: Likewise.
41391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41392 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41393 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41394 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41395 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41396 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41397 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41399 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41400 is sufficient, at least on modern CPUs.
41402 * ctype/ctype-info.c (__ctype_init): Define.
41403 * include/ctype.h (__ctype_init): Declare.
41404 (__ctype_b_loc): The variable is always initialized.
41405 (__ctype_toupper_loc): Likewise.
41406 (__ctype_tolower_loc): Likewise.
41407 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41408 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41410 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41412 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41414 * configure.in: Also look in $cxxmachine/include for C++ system
41417 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41419 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41420 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41421 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41422 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41423 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41424 (USE_AS_WMEMCMP): New macro.
41426 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41427 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41428 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41429 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41431 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41432 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41433 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41434 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41435 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41436 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41437 (USE_AS_WMEMCMP): New macro.
41438 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41439 * sysdeps/string/test-memcmp.c: Update.
41440 Fix simple_wmemcmp.
41442 * wcsmbs/wmemcmp.c: Update.
41443 (WMEMCMP): New macro.
41446 2011-10-12 Andreas Jaeger <aj@suse.de>
41449 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41451 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41453 * libio/iofwide.c (do_length): Avoid warning.
41455 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41457 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41459 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41461 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41462 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41463 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41464 * sysdeps/i386/i686/fpu/e_log.S: New file.
41465 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41466 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41468 * ctype/ctype.h: Add support for inlined isXXX functions when
41469 compiling C++ code.
41471 2011-10-14 Andreas Schwab <schwab@redhat.com>
41473 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41475 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41477 2011-10-13 Roland McGrath <roland@hack.frob.com>
41480 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41482 2011-10-13 Andreas Schwab <schwab@redhat.com>
41484 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41485 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41488 * sysdeps/x86_64/memrchr.S: Check for zero size.
41490 * string/stratcliff.c: Add memrchr tests.
41492 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41495 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41496 rawmemchr-sse2 rawmemchr-sse2-bsf.
41497 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41498 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41499 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41500 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41501 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41502 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41503 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41504 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41505 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41506 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41507 * string/memrchr.c (MEMRCHR): New macro.
41509 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41511 Add integration with gcc's -ffinite-math-only and optimize wrapper
41513 * Versions.def: Define GLIBC_2.15 version for libm.
41514 * math/Makefile (headers): Add bits/math-finite.h.
41515 * math/bits/math-finite.h: New file.
41516 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41517 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41518 * math/e_acoshl.c: Add __*_finite alias.
41519 * math/e_acosl.c: Likewise.
41520 * math/e_asinl.c: Likewise.
41521 * math/e_atan2l.c: Likewise.
41522 * math/e_atanhl.c: Likewise.
41523 * math/e_coshl.c: Likewise.
41524 * math/e_exp10.c: Likewise.
41525 * math/e_exp10f.c: Likewise.
41526 * math/e_exp10l.c: Likewise.
41527 * math/e_exp2l.c: Likewise.
41528 * math/e_fmodl.c: Likewise.
41529 * math/e_gammal_r.c: Likewise.
41530 * math/e_hypotl.c: Likewise.
41531 * math/e_j0l.c: Likewise.
41532 * math/e_j1l.c: Likewise.
41533 * math/e_jnl.c: Likewise.
41534 * math/e_lgammal_r.c: Likewise.
41535 * math/e_log10l.c: Likewise.
41536 * math/e_log2l.c: Likewise.
41537 * math/e_logl.c: Likewise.
41538 * math/e_powl.c: Likewise.
41539 * math/e_sinhl.c: Likewise.
41540 * math/e_sqrtl.c: Likewise.
41541 * math/e_scalb.c: Completely rewritten and optimized.
41542 * math/e_scalbf.c: Likewise.
41543 * math/e_scalbl.c: Likewise.
41544 * math/w_acos.c: Likewise.
41545 * math/w_acosf.c: Likewise.
41546 * math/w_acosl.c: Likewise.
41547 * math/w_acosh.c: Likewise.
41548 * math/w_acoshf.c: Likewise.
41549 * math/w_acoshl.c: Likewise.
41550 * math/w_asin.c: Likewise.
41551 * math/w_asinf.c: Likewise.
41552 * math/w_asinl.c: Likewise.
41553 * math/w_atan2.c: Likewise.
41554 * math/w_atan2f.c: Likewise.
41555 * math/w_atan2l.c: Likewise.
41556 * math/w_atanh.c: Likewise.
41557 * math/w_atanhf.c: Likewise.
41558 * math/w_atanhl.c: Likewise.
41559 * math/w_exp10.c: Likewise.
41560 * math/w_exp10f.c: Likewise.
41561 * math/w_exp10l.c: Likewise.
41562 * math/w_fmod.c: Likewise.
41563 * math/w_fmodf.c: Likewise.
41564 * math/w_fmodl.c: Likewise.
41565 * math/w_j0.c: Likewise.
41566 * math/w_j0f.c: Likewise.
41567 * math/w_j0l.c: Likewise.
41568 * math/w_j1.c: Likewise.
41569 * math/w_j1f.c: Likewise.
41570 * math/w_j1l.c: Likewise.
41571 * math/w_jn.c: Likewise.
41572 * math/w_jnf.c: Likewise.
41573 * math/w_log.c: Likewise.
41574 * math/w_logf.c: Likewise.
41575 * math/w_logl.c: Likewise.
41576 * math/w_log10.c: Likewise.
41577 * math/w_log10f.c: Likewise.
41578 * math/w_log10l.c: Likewise.
41579 * math/w_log2.c: Likewise.
41580 * math/w_log2f.c: Likewise.
41581 * math/w_log2l.c: Likewise.
41582 * math/w_pow.c: Likewise.
41583 * math/w_powf.c: Likewise.
41584 * math/w_powl.c: Likewise.
41585 * math/w_remainder.c: Likewise.
41586 * math/w_remainderf.c: Likewise.
41587 * math/w_remainderl.c: Likewise.
41588 * math/w_scalb.c: Likewise.
41589 * math/w_scalbf.c: Likewise.
41590 * math/w_scalbl.c: Likewise.
41591 * math/w_sqrt.c: Likewise.
41592 * math/w_sqrtf.c: Likewise.
41593 * math/w_sqrtl.c: Likewise.
41594 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41595 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41597 * math/math_private.h: Declare __kernel_standard_f.
41598 * math/w_cosh.c: Remove cruft and optimize a bit.
41599 * math/w_coshf.c: Likewise.
41600 * math/w_coshl.c: Likewise.
41601 * math/w_exp2.c: Likewise.
41602 * math/w_exp2f.c: Likewise.
41603 * math/w_exp2l.c: Likewise.
41604 * math/w_hypot.c: Likewise.
41605 * math/w_hypotf.c: Likewise.
41606 * math/w_hypotl.c: Likewise.
41607 * math/w_lgamma.c: Likewise.
41608 * math/w_lgamma_r.c: Likewise.
41609 * math/w_lgammaf.c: Likewise.
41610 * math/w_lgammaf_r.c: Likewise.
41611 * math/w_lgammal.c: Likewise.
41612 * math/w_lgammal_r.c: Likewise.
41613 * math/w_sinh.c: Likewise.
41614 * math/w_sinhf.c: Likewise.
41615 * math/w_sinhl.c: Likewise.
41616 * math/w_tgamma.c: Likewise.
41617 * math/w_tgammaf.c: Likewise.
41618 * math/w_tgammal.c: Likewise.
41619 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41621 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41622 Minor optimizations. Pretty printing. Remove cruft.
41623 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41625 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41627 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41628 * sysdeps/i386/fpu/e_asin.S: Likewise.
41629 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41630 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41631 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41632 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41633 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41634 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41635 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41636 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41637 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41638 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41639 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41640 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41641 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41642 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41643 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41644 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41645 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41646 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41647 * sysdeps/i386/fpu/e_log.S: Likewise.
41648 * sysdeps/i386/fpu/e_log10.S: Likewise.
41649 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41651 * sysdeps/i386/fpu/e_log2.S: Likewise.
41652 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41653 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41654 * sysdeps/i386/fpu/e_logf.S: Likewise.
41655 * sysdeps/i386/fpu/e_logl.S: Likewise.
41656 * sysdeps/i386/fpu/e_pow.S: Likewise.
41657 * sysdeps/i386/fpu/e_powf.S: Likewise.
41658 * sysdeps/i386/fpu/e_powl.S: Likewise.
41659 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41660 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41661 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41662 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41663 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41664 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41665 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41666 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41667 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41668 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41669 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41671 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41672 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41673 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41675 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41677 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41689 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41692 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41693 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41694 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41695 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41696 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41697 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41698 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41699 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41700 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41701 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41702 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41703 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41704 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41705 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41706 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41709 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41710 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41711 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41712 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41713 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41714 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41715 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41716 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41717 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41718 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41719 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41748 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41749 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41750 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41753 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41756 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41758 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41759 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41761 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41762 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41763 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41764 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41765 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41766 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41767 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41768 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41769 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41770 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41771 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41772 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41773 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41774 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41776 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41777 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41778 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41779 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41780 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41781 (__isnanf): Likewise.
41782 (__isinf_ns): Likewise.
41783 (__isinf_nsf): Likewise.
41784 (__finite): Likewise.
41785 (__finitef): Likewise.
41786 (__ieee754_sqrt): Define as macro.
41787 (__ieee754_sqrtf): Define as macro.
41788 (__ieee754_sqrtl): Define as macro.
41789 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41791 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41792 __FINITE_MATH_ONLY__ consistent.
41793 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41795 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41797 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41802 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41804 * po/ja.po: Update from translation team.
41806 2011-10-08 Roland McGrath <roland@hack.frob.com>
41808 * locale/programs/locarchive.c (prepare_address_space): New function.
41809 (create_archive, enlarge_archive, open_archive): Use it.
41811 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41812 inside [SHARED], where it is used.
41814 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41816 * nss/getent.c (netgroup_keys): Remove unused variable.
41817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41819 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41821 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41822 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41823 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41824 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41825 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41826 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41827 * math/Makefile (libm-calls): Add s_isinf_ns.
41828 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41829 * math/multc3.c: Likewise.
41830 * math/s_casin.c: Likewise.
41831 * math/s_casinf.c: Likewise.
41832 * math/s_casinl.c: Likewise.
41833 * math/s_ccos.c: Likewise.
41834 * math/s_ccosf.c: Likewise.
41835 * math/s_ccosl.c: Likewise.
41836 * math/s_ctan.c: Likewise.
41837 * math/s_ctanf.c: Likewise.
41838 * math/s_ctanh.c: Likewise.
41839 * math/s_ctanhf.c: Likewise.
41840 * math/s_ctanhl.c: Likewise.
41841 * math/s_ctanl.c: Likewise.
41842 * math/w_fmod.c: Likewise.
41843 * math/w_fmodf.c: Likewise.
41844 * math/w_fmodl.c: Likewise.
41845 * math/w_remainder.c: Likewise.
41846 * math/w_remainderf.c: Likewise.
41847 * math/w_remainderl.c: Likewise.
41848 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41849 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41850 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41851 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41852 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41853 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41854 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41855 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41857 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41859 * stdio-common/printf_fphex.c: Likewise.
41860 * stdio-common/printf_size.c: Likewise.
41862 * math/e_exp10.c: Include math_private.h using <...> not "...".
41863 * math/e_exp10f.c: Likewise.
41864 * math/e_exp10l.c: Likewise.
41865 * math/e_exp2l.c: Likewise.
41866 * math/e_j0l.c: Likewise.
41867 * math/e_j1l.c: Likewise.
41868 * math/e_jnl.c: Likewise.
41869 * math/e_lgammal_r.c: Likewise.
41870 * math/e_rem_pio2l.c: Likewise.
41871 * math/e_scalb.c: Likewise.
41872 * math/e_scalbf.c: Likewise.
41873 * math/e_scalbl.c: Likewise.
41874 * math/k_cosl.c: Likewise.
41875 * math/k_sinl.c: Likewise.
41876 * math/k_tanl.c: Likewise.
41877 * math/s_cacoshf.c: Likewise.
41878 * math/s_catan.c: Likewise.
41879 * math/s_catanf.c: Likewise.
41880 * math/s_catanh.c: Likewise.
41881 * math/s_catanhf.c: Likewise.
41882 * math/s_catanhl.c: Likewise.
41883 * math/s_catanl.c: Likewise.
41884 * math/s_ccosh.c: Likewise.
41885 * math/s_ccoshf.c: Likewise.
41886 * math/s_ccoshl.c: Likewise.
41887 * math/s_cexp.c: Likewise.
41888 * math/s_cexpf.c: Likewise.
41889 * math/s_cexpl.c: Likewise.
41890 * math/s_clog.c: Likewise.
41891 * math/s_clog10.c: Likewise.
41892 * math/s_clog10f.c: Likewise.
41893 * math/s_clog10l.c: Likewise.
41894 * math/s_clogf.c: Likewise.
41895 * math/s_clogl.c: Likewise.
41896 * math/s_csin.c: Likewise.
41897 * math/s_csinf.c: Likewise.
41898 * math/s_csinh.c: Likewise.
41899 * math/s_csinhf.c: Likewise.
41900 * math/s_csinhl.c: Likewise.
41901 * math/s_csinl.c: Likewise.
41902 * math/s_csqrt.c: Likewise.
41903 * math/s_csqrtf.c: Likewise.
41904 * math/s_csqrtl.c: Likewise.
41905 * math/s_ctan.c: Likewise.
41906 * math/s_ctanf.c: Likewise.
41907 * math/s_ctanh.c: Likewise.
41908 * math/s_ctanhf.c: Likewise.
41909 * math/s_ctanhl.c: Likewise.
41910 * math/s_ctanl.c: Likewise.
41911 * math/s_ldexp.c: Likewise.
41912 * math/s_ldexpf.c: Likewise.
41913 * math/s_ldexpl.c: Likewise.
41914 * math/s_significand.c: Likewise.
41915 * math/s_significandf.c: Likewise.
41916 * math/s_significandl.c: Likewise.
41917 * math/w_acos.c: Likewise.
41918 * math/w_acosf.c: Likewise.
41919 * math/w_acosh.c: Likewise.
41920 * math/w_acoshf.c: Likewise.
41921 * math/w_acoshl.c: Likewise.
41922 * math/w_acosl.c: Likewise.
41923 * math/w_asin.c: Likewise.
41924 * math/w_asinf.c: Likewise.
41925 * math/w_asinl.c: Likewise.
41926 * math/w_atan2.c: Likewise.
41927 * math/w_atan2f.c: Likewise.
41928 * math/w_atan2l.c: Likewise.
41929 * math/w_atanh.c: Likewise.
41930 * math/w_atanhf.c: Likewise.
41931 * math/w_atanhl.c: Likewise.
41932 * math/w_cosh.c: Likewise.
41933 * math/w_coshf.c: Likewise.
41934 * math/w_coshl.c: Likewise.
41935 * math/w_dremf.c: Likewise.
41936 * math/w_exp10.c: Likewise.
41937 * math/w_exp10f.c: Likewise.
41938 * math/w_exp10l.c: Likewise.
41939 * math/w_exp2.c: Likewise.
41940 * math/w_exp2f.c: Likewise.
41941 * math/w_fmod.c: Likewise.
41942 * math/w_fmodf.c: Likewise.
41943 * math/w_fmodl.c: Likewise.
41944 * math/w_hypot.c: Likewise.
41945 * math/w_hypotf.c: Likewise.
41946 * math/w_hypotl.c: Likewise.
41947 * math/w_j0.c: Likewise.
41948 * math/w_j0f.c: Likewise.
41949 * math/w_j0l.c: Likewise.
41950 * math/w_j1.c: Likewise.
41951 * math/w_j1f.c: Likewise.
41952 * math/w_j1l.c: Likewise.
41953 * math/w_jn.c: Likewise.
41954 * math/w_jnf.c: Likewise.
41955 * math/w_jnl.c: Likewise.
41956 * math/w_lgamma.c: Likewise.
41957 * math/w_lgamma_r.c: Likewise.
41958 * math/w_lgammaf.c: Likewise.
41959 * math/w_lgammaf_r.c: Likewise.
41960 * math/w_lgammal.c: Likewise.
41961 * math/w_lgammal_r.c: Likewise.
41962 * math/w_log.c: Likewise.
41963 * math/w_log10.c: Likewise.
41964 * math/w_log10f.c: Likewise.
41965 * math/w_log10l.c: Likewise.
41966 * math/w_log2.c: Likewise.
41967 * math/w_log2f.c: Likewise.
41968 * math/w_log2l.c: Likewise.
41969 * math/w_logf.c: Likewise.
41970 * math/w_logl.c: Likewise.
41971 * math/w_pow.c: Likewise.
41972 * math/w_powf.c: Likewise.
41973 * math/w_powl.c: Likewise.
41974 * math/w_remainder.c: Likewise.
41975 * math/w_remainderf.c: Likewise.
41976 * math/w_remainderl.c: Likewise.
41977 * math/w_scalb.c: Likewise.
41978 * math/w_scalbf.c: Likewise.
41979 * math/w_scalbl.c: Likewise.
41980 * math/w_sinh.c: Likewise.
41981 * math/w_sinhf.c: Likewise.
41982 * math/w_sinhl.c: Likewise.
41983 * math/w_sqrt.c: Likewise.
41984 * math/w_sqrtf.c: Likewise.
41985 * math/w_sqrtl.c: Likewise.
41986 * math/w_tgamma.c: Likewise.
41987 * math/w_tgammaf.c: Likewise.
41988 * math/w_tgammal.c: Likewise.
41990 * po/ja.po: Update from translation team.
41992 2011-09-29 Andreas Jaeger <aj@suse.de>
41995 * sunrpc/netname.c (netname2host): Fix logic.
41999 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42001 * math/w_remainder.c (__remainder): Likewise.
42002 * math/w_remainderf.c (__remainderf): Likewise.
42003 * math/libm-test.inc (remainder_test): Add test cases.
42005 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42007 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42010 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42012 * string/test-memcmp.c: Avoid unncessary #defines.
42013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42015 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42017 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42018 Use new sse2 version for core i3 - i7 as it's faster
42019 than sse42 version.
42020 (bit_Prefer_PMINUB_for_stringop): New.
42021 * sysdeps/x86_64/rawmemchr.S: Update.
42022 Replace with faster SSE2 version.
42023 * sysdeps/x86_64/memrchr.S: New file.
42024 * sysdeps/x86_64/memchr.S: Update.
42025 Replace with faster SSE2 version.
42027 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42029 * elf/dl-load.c (lose): Add cast to avoid warning.
42031 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42033 * po/ca.po: Update from translation team.
42035 * inet/getnetgrent_r.c: Hook up nscd.
42036 * nscd/Makefile (routines): Add nscd_netgroup.
42037 (nscd-modules): Add netgroupcache.
42038 (CFLAGS-netgroupcache.c): Define.
42039 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42040 (cache_search): Add const to second parameter.
42041 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42043 (dbs): Add netgrdb entry.
42044 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42045 (verify_persistent_db): Handle netgrdb.
42046 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42047 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42049 (netgroup_response_header): Define.
42050 (innetgroup_response_header): Define.
42051 (datahead): Add netgroup_response_header and innetgroup_response_header
42053 * nscd/nscd.conf: Add entries for netgroup cache.
42054 * nscd/nscd.h (dbtype): Add netgrdb.
42055 (_PATH_NSCD_NETGROUP_DB): Define.
42056 (netgroup_iov_disabled): Declare.
42057 (xmalloc, xcalloc, xrealloc): Move declarations here.
42058 (cache_search): Adjust prototype.
42059 Add netgroup-related prototypes.
42060 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42061 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42062 (__nscd_innetgr): Declare.
42063 * nscd/selinux.c (perms): Use access_vector_t as element type and
42064 add netgroup-related initializers.
42065 * nscd/netgroupcache.c: New file.
42066 * nscd/nscd_netgroup.c: New file.
42067 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42068 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42069 For four parameters use innetgr.
42070 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42071 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42072 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42073 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42075 * nscd/connections.c (register_traced_file): Don't register file
42076 for disabled databases.
42078 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42080 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42082 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42083 from tree and freeing node.
42085 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42087 * nss/nsswitch.c (__nss_database_lookup): Handle
42088 nss_parse_service_list out of memory case.
42090 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42092 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42093 out of memory case.
42095 2011-10-04 Andreas Schwab <schwab@redhat.com>
42097 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42098 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42100 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42101 elf_machine_rela, elf_machine_lazy_rel.
42102 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42103 (ELF_DYNAMIC_DO_REL): Likewise.
42104 (ELF_DYNAMIC_DO_RELA): Likewise.
42105 (ELF_DYNAMIC_RELOCATE): Likewise.
42106 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42107 to ELF_DYNAMIC_DO_REL.
42108 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42109 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42110 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42113 skip_ifunc, don't call ifunc function if non-zero.
42114 (elf_machine_rela): Likewise.
42115 (elf_machine_lazy_rel): Likewise.
42116 (elf_machine_lazy_rela): Likewise.
42117 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42118 (elf_machine_lazy_rel): Likewise.
42119 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42121 (elf_machine_lazy_rel): Likewise.
42122 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42124 (elf_machine_lazy_rel): Likewise.
42125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42126 (elf_machine_lazy_rel): Likewise.
42127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42128 (elf_machine_lazy_rel): Likewise.
42129 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42130 (elf_machine_lazy_rel): Likewise.
42131 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42132 (elf_machine_lazy_rel): Likewise.
42133 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42134 (elf_machine_lazy_rel): Likewise.
42135 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42136 (elf_machine_lazy_rel): Likewise.
42138 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42140 * nss/nss_files/files-init.c (_nss_files_init): Use static
42141 initialization for all the *_traced_file variables.
42143 2011-09-28 Andreas Schwab <schwab@redhat.com>
42145 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42147 2011-09-27 Roland McGrath <roland@hack.frob.com>
42150 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42152 2011-09-27 Andreas Schwab <schwab@redhat.com>
42154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42155 Reread the line before reparsing it.
42157 2011-09-26 Andreas Schwab <schwab@redhat.com>
42159 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42161 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42162 Maxim Kuvyrkov <maxim@codesourcery.com>
42163 Joseph Myers <joseph@codesourcery.com>
42165 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42166 if needed for __stack_chk_guard.
42168 2011-09-19 Roland McGrath <roland@hack.frob.com>
42170 * sysdeps/posix/spawni.c (script_execute): Always define it.
42171 It will be optimized away if unused.
42172 (maybe_script_execute): New function.
42173 (__spawni): Call it.
42175 * Makerules: Don't include tls.make.
42176 (config-tls): Always set to thread.
42177 * tls.make.c: File removed.
42179 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42181 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42182 * config.make.in (CPPFLAGS-config): New substituted variable.
42184 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42186 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42189 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42190 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42192 2011-09-15 Roland McGrath <roland@hack.frob.com>
42194 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42195 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42197 (CALL_FAIL): Likewise.
42198 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42199 (CALL_FAIL): Macro removed.
42200 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42202 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42204 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42205 for __FINITE_MATH_ONLY__ == 1.
42207 2011-09-15 Andreas Schwab <schwab@redhat.com>
42209 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42210 __ieee754_sqrt instead of sqrt.
42211 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42212 __ieee754_sqrtf instead of sqrtf.
42213 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42214 __floorf instead of floorf.
42215 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42216 __floorf, __truncf instead of floorf, truncf.
42218 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42220 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42222 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42223 __extern_always_inline.
42224 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42227 2011-09-14 Andreas Schwab <schwab@redhat.com>
42229 * elf/rtld.c (dl_main): Also relocate in dependency order when
42230 doing symbol dependency testing.
42232 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42235 Always define `refsym'.
42237 2011-09-13 Andreas Schwab <schwab@redhat.com>
42239 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42240 (__FD_ELT): Renamed from __FDELT.
42241 * misc/bits/select2.h (__FD_ELT): Likewise.
42242 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42243 __FD_MASK instead of __FDELT, __FDMASK.
42244 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42246 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42249 * elf/Makefile (gen-ldd): Fix pattern.
42251 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42252 (init_tls): Likewise.
42254 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42258 2011-09-12 Andreas Schwab <schwab@redhat.com>
42260 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42261 `struct cmsghdr *' instead of `void *'.
42262 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42265 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42267 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42269 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42270 ldd_rewrite_script.
42272 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42274 * configure.in: Remove --with-tls option.
42275 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42276 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42277 out in case it is missing.
42278 * sysdeps/ia64/elf/configure.in: Likewise.
42279 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42280 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42281 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42282 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42283 * sysdeps/sh/elf/configure.in: Likewise.
42284 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42285 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42286 * sysdeps/x86_64/elf/configure.in: Likewise.
42287 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42288 * sysdeps/mach/hurd/tls.h: Likewise.
42291 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42294 * configure.in: Fix use of AC_INIT.
42296 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42298 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42300 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42302 * malloc/hooks.c: Likewise.
42305 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42306 variables statically.
42307 (narenas): Initialize.
42308 (list_lock): Initialize.
42309 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42310 initializtion of main_arena and list_lock. Small cleanups.
42311 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42312 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42313 Add initializers to main_arena and mp_.
42314 (malloc_state): Remove pagesize member. Change all users to use
42317 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42318 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42319 is always initialized.
42321 * malloc/malloc.c: Removed unused configurations and dead code.
42322 * malloc/arena.c: Likewise.
42323 * malloc/hooks.c: Likewise.
42324 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42326 * include/tls.h: Removed. USE___THREAD must always be defined.
42327 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42328 * elf/dl-libc.c: Likewise.
42329 * elf/dl-tsd.c: Likewise.
42330 * include/errno.h: Likewise.
42331 * include/netdb.h: Likewise.
42332 * include/resolv.h: Likewise.
42333 * inet/herrno-loc.c: Likewise.
42334 * inet/herrno.c: Likewise.
42335 * malloc/arena.c: Likewise.
42336 * malloc/hooks.c: Likewise.
42337 * malloc/malloc.c: Likewise.
42338 * resolv/res-state.c: Likewise.
42339 * resolv/res_libc.c: Likewise.
42340 * sysdeps/i386/dl-machine.h: Likewise.
42341 * sysdeps/ia64/dl-machine.h: Likewise.
42342 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42343 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42344 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42345 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42346 * sysdeps/sh/dl-machine.h: Likewise.
42347 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42348 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42349 * sysdeps/unix/i386/sysdep.S: Likewise.
42350 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42351 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42354 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42356 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42358 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42360 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42361 * sysdeps/x86_64/dl-machine.h: Likewise.
42362 * tls.make.c: Likewise.
42364 * configure.in: Remove --with-__thread option. Make tests for
42365 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42366 tls_model attribute fail if no support is available. Remove
42368 * Makeconfig: Adjust for dropped configure option. All features are
42370 * Makerules: Likewise.
42371 * Versions.def: Likewise.
42372 * argp/argp-fmtstream.c: Likewise.
42373 * argp/argp-fmtstream.h: Likewise.
42374 * argp/argp-help.c: Likewise.
42375 * assert/assert.c: Likewise.
42376 * config.h.in: Likewise.
42377 * config.make.in: Likewise.
42378 * configure: Likewise.
42379 * configure.in: Likewise.
42380 * csu/Versions: Likewise.
42381 * csu/init.c: Likewise.
42382 * elf/tst-audit2.c: Likewise.
42383 * elf/tst-tls10.c: Likewise.
42384 * elf/tst-tls10.h: Likewise.
42385 * elf/tst-tls11.c: Likewise.
42386 * elf/tst-tls12.c: Likewise.
42387 * elf/tst-tls14.c: Likewise.
42388 * elf/tst-tlsmod11.c: Likewise.
42389 * elf/tst-tlsmod12.c: Likewise.
42390 * elf/tst-tlsmod13.c: Likewise.
42391 * elf/tst-tlsmod13a.c: Likewise.
42392 * elf/tst-tlsmod14a.c: Likewise.
42393 * elf/tst-tlsmod15b.c: Likewise.
42394 * elf/tst-tlsmod16a.c: Likewise.
42395 * elf/tst-tlsmod16b.c: Likewise.
42396 * elf/tst-tlsmod7.c: Likewise.
42397 * elf/tst-tlsmod8.c: Likewise.
42398 * elf/tst-tlsmod9.c: Likewise.
42399 * gmon/gmon.c: Likewise.
42400 * grp/fgetgrent_r.c: Likewise.
42401 * grp/putgrent.c: Likewise.
42402 * hurd/fopenport.c: Likewise.
42403 * include/libc-symbols.h: Likewise.
42404 * include/tls.h: Likewise.
42405 * intl/gettextP.h: Likewise.
42406 * intl/loadinfo.h: Likewise.
42407 * locale/global-locale.c: Likewise.
42408 * locale/localeinfo.h: Likewise.
42409 * mach/devstream.c: Likewise.
42410 * malloc/arena.c: Likewise.
42411 * malloc/set-freeres.c: Likewise.
42412 * misc/err.c: Likewise.
42413 * misc/getttyent.c: Likewise.
42414 * misc/mntent_r.c: Likewise.
42415 * posix/getopt.c: Likewise.
42416 * posix/wordexp.c: Likewise.
42417 * pwd/fgetpwent_r.c: Likewise.
42418 * resolv/Versions: Likewise.
42419 * resolv/res_hconf.c: Likewise.
42420 * shadow/fgetspent_r.c: Likewise.
42421 * shadow/putspent.c: Likewise.
42422 * stdio-common/printf_fphex.c: Likewise.
42423 * stdio-common/tmpfile.c: Likewise.
42424 * stdlib/abort.c: Likewise.
42425 * stdlib/fmtmsg.c: Likewise.
42426 * sunrpc/auth_unix.c: Likewise.
42427 * sunrpc/clnt_perr.c: Likewise.
42428 * sunrpc/clnt_tcp.c: Likewise.
42429 * sunrpc/clnt_udp.c: Likewise.
42430 * sunrpc/clnt_unix.c: Likewise.
42431 * sunrpc/openchild.c: Likewise.
42432 * sunrpc/svc_simple.c: Likewise.
42433 * sunrpc/svc_tcp.c: Likewise.
42434 * sunrpc/svc_udp.c: Likewise.
42435 * sunrpc/svc_unix.c: Likewise.
42436 * sunrpc/xdr.c: Likewise.
42437 * sunrpc/xdr_array.c: Likewise.
42438 * sunrpc/xdr_rec.c: Likewise.
42439 * sunrpc/xdr_ref.c: Likewise.
42440 * sunrpc/xdr_stdio.c: Likewise.
42442 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42444 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42446 2011-07-03 Andreas Jaeger <aj@suse.de>
42448 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42449 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42450 regenerate with gen-libm-tests.pl.
42452 2010-05-12 Petr Baudis <pasky@suse.cz>
42455 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42456 around j0() zero points by switching to j1().
42457 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42462 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42464 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42466 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42469 Patch in part by Pavel Roskin <proski@gnu.org>.
42472 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42474 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42475 Free memory block if necessary.
42478 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42479 be NULL. Don't lock in this case.
42481 2011-09-09 Roland McGrath <roland@hack.frob.com>
42483 * elf/elf.h (ELFOSABI_GNU): New macro.
42484 (ELFOSABI_LINUX): Define to that.
42486 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42488 * string/strncat.c (strncat): Undef the symbol in case it has been
42489 defined in bits/string.h.
42491 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42493 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42495 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42498 2011-08-17 Andreas Jaeger <aj@suse.de>
42500 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42502 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42503 Ian Lance Taylor <iant@google.com>
42505 * math/libm-test.inc (lround_test): New testcase.
42506 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42508 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42510 * Makefile: Remove support for automatic cvs check-ins.
42511 * Makerules: Likewise.
42512 * config.make.in: Likewise.
42513 * configure.in: Likewise.
42514 * intl/Makefile: Likewise.
42515 * locale/Makefile: Likewise.
42516 * po/Makefile: Likewise.
42517 * posix/Makefile: Likewise.
42518 * sysdeps/gnu/Makefile: Likewise.
42519 * sysdeps/mach/hurd/Makefile: Likewise.
42520 * sysdeps/sparc/sparc32/Makefile: Likewise.
42523 * posix/Makefile (bug-regex32-ENV): Define.
42524 Patch by John Stanley <jpsinthemix@verizon.net>.
42526 * misc/Makefile (headers): Add bits/select2.h.
42527 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42528 * misc/bits/select2.h: New file.
42529 * include/bits/select2.h: New file.
42530 * debug/Makefile (routines): Add fdelt_chk.
42531 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42532 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42534 * debug/fdelt_chk.c: New file.
42536 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42537 * wcsmbs/test-wmemcmp.c: Likewise.
42538 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42539 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42541 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42543 * string/Makefile (strop-tests): Add memcmp.
42544 * string/test-wmemcmp.c: New file.
42545 * string/test-memcmp.c: Add wmemcmp support.
42547 2011-09-08 Roland McGrath <roland@hack.frob.com>
42550 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42553 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42554 garbage value in a __mach_port_mod_refs call in the cases of the
42555 task-self and thread-self ports.
42557 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42559 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42561 2011-09-08 Andreas Schwab <schwab@redhat.com>
42563 * elf/dl-load.c (lose): Check for non-null L.
42565 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42567 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42569 * elf/dl-libc.c (dlerror_run): Pass back error code from
42573 * elf/dl-load.c (lose): Free l_origin if it is valid.
42575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42577 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42580 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42581 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42582 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42584 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42586 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42587 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42588 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42589 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42590 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42591 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42592 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42593 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42594 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42595 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42597 2011-08-15 Alan Modra <amodra@gmail.com>
42600 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42601 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42602 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42603 ppc_mcount to static-only-routines.
42604 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42606 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42607 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42609 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42612 for finite and infinity parameters.
42614 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42617 and add nop instructions for throughput optimization.
42618 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42620 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42622 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42623 aligned copy for power7 with vector-scalar instructions.
42624 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42626 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42631 2011-09-07 Andreas Schwab <schwab@redhat.com>
42634 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42637 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42639 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42640 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42641 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42642 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42645 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42647 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42648 Forgot to demangle the pointer.
42650 * sysdeps/i386/sysdep.h: Define atom_text_section.
42651 * sysdeps/x86_64/sysdep.h: Likewise.
42652 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42653 section with atom_text_section.
42654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42656 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42661 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42662 already be defined. Change to take two parameters and don't assign
42663 result to variable. Adjust all users.
42664 Define INTERNAL_GETTIME if not already defined.
42665 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42668 HAVE_CLOCK_GETTIME_VSYSCALL.
42669 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42672 gettimeofday vsyscall, just use time.
42674 2011-09-06 Andreas Schwab <schwab@redhat.com>
42676 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42679 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42681 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42683 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42685 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42686 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42687 syscall if possible.
42689 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42691 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42692 e_ident. Don't pass to find_mapsXX.
42693 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42695 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42698 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42699 * sysdeps/x86_64/multiarch/strchr.S: Update.
42700 Check bit_slow_BSF bit.
42701 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42702 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42703 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42705 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42708 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42710 (tryshell): Define.
42711 (__spawni): Change last parameter to be flag. Test
42712 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42713 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42714 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42715 * posix/spawni.c: Likewise.
42716 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42717 * posix/spawnp.c: Likewise. Change normal version to use
42718 SPAWN_XFLAGS_USE_PATH.
42719 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42720 SPAWN_XFLAGS_TRY_SHELL.
42723 * posix/glob.h: Remove gcc 1.x support.
42726 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42728 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42731 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42733 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42734 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42735 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42737 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42738 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42740 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42742 * sysdeps/x86_64/wcscmp.S: New file.
42744 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42745 wcscmp-c wcscmp-sse2
42746 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42747 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42748 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42749 * wcsmbs/wcscmp.c: Allow renaming.
42751 2011-09-05 David S. Miller <davem@davemloft.net>
42753 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42754 stack slot, rather than the struct return pointer slot.
42755 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42756 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42758 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42760 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42762 * po/ja.po: Update from translation team.
42765 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42766 kernel in 64-bit binaries.
42768 2011-09-01 David S. Miller <davem@davemloft.net>
42770 * elf/elf.h (HWCAP_SPARC_*): Move to..
42771 * sysdeps/sparc/sysdep.h: this new file and add new values.
42772 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42773 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42774 _DL_HWCAP_COUNT to 24.
42775 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42777 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42778 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42779 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42781 instead of magic constants.
42782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42784 2011-08-31 David S. Miller <davem@davemloft.net>
42786 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42788 Reimplement to do errno handling inline.
42789 (SYSCALL_ERROR_HANDLER): New macro.
42790 (__SYSCALL_STRING): Do not do errno handling in asm.
42791 (__CLONE_SYSCALL_STRING): Delete.
42792 (__INTERNAL_SYSCALL_STRING): Delete.
42793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42794 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42795 (PSEUDO): Reimplement to do errno handling inline.
42796 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42797 (SYSCALL_ERROR_HANDLER): New macro.
42798 (__SYSCALL_STRING): Do not do errno handling in asm.
42799 (__CLONE_SYSCALL_STRING): Delete.
42800 (__INTERNAL_SYSCALL_STRING): Delete.
42801 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42802 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42804 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42805 (inline_syscall*): Add 'err' argument.
42806 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42807 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42808 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42809 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42811 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42812 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42814 2011-08-30 Andreas Schwab <schwab@redhat.com>
42816 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42818 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42820 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42823 2011-08-24 David S. Miller <davem@davemloft.net>
42825 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42827 2011-08-24 Andreas Schwab <schwab@redhat.com>
42829 * elf/Makefile: Add rules to build and run unload8 test.
42830 * elf/unload8.c: New file.
42831 * elf/unload8mod1.c: New file.
42832 * elf/unload8mod1x.c: New file.
42833 * elf/unload8mod2.c: New file.
42834 * elf/unload8mod3.c: New file.
42836 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42839 2011-08-23 David S. Miller <davem@davemloft.net>
42841 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42842 subtract stack bias.
42843 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42844 %sp not %fp in calculations.
42845 (_JMPBUF_UNWINDS_ADJ): Likewise.
42847 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42848 (aio_suspend): Call it to force an exception region around the
42849 AIO_MISC_WAIT() invocation.
42851 2011-08-23 Andreas Schwab <schwab@redhat.com>
42853 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42856 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42858 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42860 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42861 and <dl-machine.h>.
42862 (Elf64_FuncDesc): Remove.
42864 2011-08-22 David S. Miller <davem@davemloft.net>
42866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42867 sigaltstack check, add missing cfi directives.
42868 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42869 missing cfi directives, and sigaltstack handling.
42871 2011-08-16 Andreas Schwab <schwab@redhat.com>
42874 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42875 object is seen twice.
42876 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42878 * elf/Makefile (distribute): Add tst-initorder2.c.
42879 (tests): Add tst-initorder2.
42880 (modules-names): Add tst-initorder2a tst-initorder2b
42881 tst-initorder2c tst-initorder2d. Add rules to build them.
42882 ($(objpfx)tst-initorder2.out): New rule.
42883 * elf/tst-initorder2.c: New file.
42884 * elf/tst-initorder2.exp: New file.
42886 2011-08-22 Andreas Schwab <schwab@redhat.com>
42888 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42890 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42891 dependencies back to end of function.
42893 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42894 $(elfobjdir)/ld.so.
42896 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42899 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42901 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42902 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42903 of __vdso_gettimeofday.
42904 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42905 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42907 (_libc_vdso_platform_setup): Remove initialization of
42908 __vdso_gettimeofday and __vdso_time.
42910 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42912 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42913 and fgetc_unlocked.
42914 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42917 * elf/dl-open.c (add_to_global): Report additions to the global scope
42918 for LD_DEBUG=scopes.
42919 (dl_open_worker): Also print scope of newly loaded dependencies.
42920 (_dl_show_scope): Indicate if there is no scope.
42923 * stdio-common/Makefile (tests): Add bug24.
42924 * stdio-common/bug24.c: New file.
42926 2011-08-19 Andreas Jaeger <aj@suse.de>
42929 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42930 non-existant file when using close-on-exec mode.
42932 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42934 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42935 the very first instruction.
42937 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42938 the CFI state in the end.
42939 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42940 inclusion of dl-trampoline.h.
42941 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42943 2011-08-19 Andreas Schwab <schwab@redhat.com>
42945 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42946 expectations for long double.
42948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42949 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42951 2011-08-14 David S. Miller <davem@davemloft.net>
42953 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42954 artificual limit depends upon the system page size.
42956 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42958 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42959 * resolv/Makefile: Define CFLAGS-libresolv.
42961 2011-08-17 Andreas Schwab <schwab@redhat.com>
42963 * nss/makedb.c (compute_tables): Make variables used in nested
42966 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42968 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42969 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42970 if buffer was too small.
42972 * elf/pldd.c (main): Attach to all threads in the process.
42973 Rewrite /proc handling to use *at functions.
42975 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42977 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42978 specifies first scope to show.
42979 (dl_open_worker): Update callers. Move printing scope of new
42980 object to before the relocation.
42981 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42982 * sysdeps/generic/ldsodefs.h: Update declaration.
42984 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42985 string for the scope number.
42987 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42989 * nscd/servicescache.c (cache_addserv): Make sure written is always
42992 2011-08-14 Roland McGrath <roland@hack.frob.com>
42994 * sysdeps/i386/i486/bits/atomic.h
42995 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42996 statement expression, so as to suppress "set but not used" warning.
42997 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42999 * string/strncat.c (STRNCAT): Use prototype definition.
43001 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43002 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43004 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43005 (localedef-modules): Add localedef.
43006 (locale-modules): Add locale.
43008 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43009 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43010 to avoid a warning.
43012 2011-08-14 David S. Miller <davem@davemloft.net>
43014 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43015 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43017 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43019 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43020 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43021 * elf/rtld.c (dl_main): Set l_name of vDSO.
43022 Call _dl_show_scope when DL_DEBUG_SCOPES.
43023 (process_dl_debug): Recognize scopes flag and also set it for all.
43024 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43025 Declare _dl_show_scope.
43027 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43028 (do_dlopen): Pass caller_dlopen to dl_open.
43029 (__libc_dlopen_mode): Initialize caller_dlopen.
43031 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43032 of libc. Make tolower call locale-independent. Optimize a bit by
43033 using isdigit instead of isalnum.
43034 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43036 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43038 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43039 was a dependency or dynamically loaded.
43041 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43043 * intl/l10nflist.c: Allow architecture-specific pop function.
43044 * sysdeps/x86_64/l10nflist.c: New file.
43046 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43049 2011-08-10 Andreas Schwab <schwab@redhat.com>
43051 * include/dirent.h: Add libc_hidden_proto for scandirat and
43052 scandirat64. Don't declare __scandirat64.
43053 * dirent/scandirat.c: Add libc_hidden_def.
43054 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43055 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43057 2011-08-10 David S. Miller <davem@davemloft.net>
43059 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43062 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43063 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43065 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43067 * Versions.def [libc]: Add GLIBC_2.15.
43068 * dirent/Makefile (routines): Add scandirat and scandirat64.
43069 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43071 * dirent/dirent.h: Declare scandirat and scandirat64.
43072 * dirent/scandirat.c: New file.
43073 * dirent/scandirat64.c: New file.
43074 * sysdeps/wordsize-64/scandirat.c: New file.
43075 * sysdeps/wordsize-64/scandirat64.c: New file.
43076 * dirent/opendir.c: Define opendirat.
43077 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43079 * dirent/scandir64.c: Adjust for scandir.c change.
43080 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43081 __scandirat64, and __scandir_cancel_handler.
43082 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43083 additional parameter and use openat instead of open (outside of ld.so).
43084 Add new __opendir as wrapper around __opendirat.
43085 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43086 here without requiring old scandirat implementation.
43088 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43090 * dirent/scandir.c (cancel_handler): Renamed to
43091 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43092 defined. Adjust users.
43093 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43096 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43098 * string/test-string.h (IMPL): Use __STRING to expand name and then
43101 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43104 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43106 * string/Makefile: Update.
43107 (strop-tests): Append strncat.
43108 * string/test-wcscmp.c: New file.
43109 New comprehensive test for wcscmp.
43110 * string/test-strcmp.c: Update.
43111 (WIDE): New define.
43113 2011-07-22 Andreas Schwab <schwab@redhat.com>
43115 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43118 2011-07-26 Andreas Schwab <schwab@redhat.com>
43120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43121 encoding to ACE if AI_IDN.
43123 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43125 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43126 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43128 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43131 Fix overflow bug in strncat.
43132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43134 * string/test-strncat.c: Update.
43135 Add new tests for checking overflow bugs.
43137 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43140 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43141 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43142 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43143 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43144 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43145 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43146 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43147 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43150 (USE_AS_STRCAT): Define.
43151 Add strcat and strncat support.
43152 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43154 2011-07-25 Andreas Schwab <schwab@redhat.com>
43156 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43157 __n bigger than INT_MAX+1.
43158 (__strncmp_g): Likewise.
43160 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43162 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43163 * libio/stido.h: Likewise.
43165 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43170 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43171 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43173 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43174 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43177 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43182 (_dl_x86_64_save_sse): Likewise.
43184 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43188 (_dl_x86_64_save_sse): Likewise.
43190 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43192 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43194 2011-07-21 Andreas Schwab <schwab@redhat.com>
43196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43198 (_dl_x86_64_save_sse): Use correct AVX check.
43200 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43203 bug in strncpy/strncat.
43204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43206 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43208 * string/tester.c (test_strcat): Add tests for different alignments
43209 of source and destination.
43210 (test_strncat): Likewise.
43212 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43215 * posix/glob.c (glob): Check passed in values before using them in
43216 expressions to avoid some overflows.
43217 (glob_in_dir): Likewise.
43220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43221 check for AVX enablement so that we don't crash with old kernels and
43223 * elf/tst-audit4.c: Add same checks here.
43224 * elf/tst-audit6.c: Likewise.
43226 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43228 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43230 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43232 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43234 * po/cs.po: Update from translation team.
43235 * po/bg.po: Likewise.
43237 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43239 * misc/sys/cdefs.h: Add support for const attribute.
43240 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43241 to gnu_dev_{major,minor,makedev} functions.
43243 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43245 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43247 2011-07-20 Andreas Schwab <schwab@redhat.com>
43249 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43252 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43255 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43256 register in order to avoid conflicts with the soft frame pointer
43257 being held in r11 when necessary.
43258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43259 (INTERNAL_VSYSCALL_NCS): Likewise.
43261 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43263 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43264 * elf/dl-fini.c (_dl_fini): Adjust caller.
43265 * elf/dl-close.c (_dl_close_worker): Likewise.
43266 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43268 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43270 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43271 "aux_cache->nlibs < 0".
43273 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43274 in the reload-count case.
43276 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43279 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43280 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43281 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43282 * sysdeps/x86_64/multiarch/strcat.S: New file.
43283 * sysdeps/x86_64/multiarch/strncat.S: New file.
43284 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43286 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43287 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43289 (USE_AS_STRCAT): Define.
43290 Add strcat and strncat support.
43291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43292 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43293 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43294 * string/strncat.c: Update.
43295 (USE_AS_STRNCAT): Define.
43296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43297 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43299 * sysdeps/x86_64/multiarch/init-arch.h
43300 (bit_Prefer_PMINUB_for_stringop): New.
43301 (index_Prefer_PMINUB_for_stringop): Likewise.
43302 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43303 bit_Prefer_PMINUB_for_stringop.
43305 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43307 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43309 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43310 of casting of buffer.
43311 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43312 buffer32 and buffer64.
43313 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43314 writes instead of casting of buffer.
43315 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43317 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43320 2011-07-19 Andreas Schwab <schwab@redhat.com>
43322 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43324 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43326 * nscd/nscd.c (termination_handler): Don't do anything for a database
43327 if it has not yet been initialized.
43329 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43331 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43333 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43335 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43337 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43339 * po/nl.po: Update from translation team.
43340 * po/sv.po: Likewise.
43342 2011-07-16 Roland McGrath <roland@hack.frob.com>
43344 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43345 now disallowed by GCC.
43347 * configure.in (use-default-link): Default to yes if a test -shared
43348 link meets our qualifications.
43349 * configure: Regenerated.
43351 * config.make.in (output-format): New variable.
43352 * configure.in: Check for ld --print-output-format support.
43353 * configure: Regenerated.
43354 * Makerules ($(common-objpfx)format.lds)
43355 [$(output-format) != unknown]: Just use $(output-format),
43356 instead of the linker-script munging.
43358 2011-07-14 Roland McGrath <roland@hack.frob.com>
43360 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43361 of $(common-objpfx)shlib.lds.
43362 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43364 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43365 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43367 * configure.in (-z relro check): Adjust test code to add a large
43368 writable data section after it.
43369 * configure: Regenerated.
43371 2011-07-11 Roland McGrath <roland@hack.frob.com>
43373 * configure.in (-z relro check): Fix test code to make the variable
43375 * configure: Regenerated.
43377 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43379 * nscd/nscd.h (struct traced_file): Define.
43380 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43381 elements. Add traced_files.
43382 (inotify_fd): Declare.
43383 (register_traced_file): Declare.
43384 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43385 (inotify_fd): Export.
43386 (resolv_conf_descr): Remove.
43387 (nscd_init): Move inotify descriptor creation to main.
43388 Don't register files for notification here.
43389 (register_traced_file): New function.
43390 (invalidate_cache): Don't use reset_res to determine whether to call
43391 res_init, go through the list of registered files.
43392 (main_loop_poll): The inotify descriptors are now stored in the
43393 structures for the traced files.
43394 (main_loop_epoll): Likewise
43395 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43396 to __nss_disable_nscd.
43397 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43398 for a database anymore. Check the records for all the registered
43400 * nss/Makefile (libnss_files-routines): Add files-init.
43401 (libnss_db-routines): Add db-init.
43402 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43403 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43404 * nss/nss_db/db-init.c: New file.
43405 * nss/nss_files/files-init.c: New file.
43406 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43407 __nss_lookup_function.
43408 (__nss_lookup_function): Call nss_load_library.
43409 (nss_load_all_libraries): New function.
43410 (__nss_disable_nscd): Take parameter with callback function for files
43411 to register. Set is_nscd. Load all the DSOs for the NSS modules
43412 used for the cached services.
43413 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43414 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43415 options for features to all the files in nscd.
43417 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43419 2011-07-10 Roland McGrath <roland@hack.frob.com>
43421 * csu/elf-init.c (__libc_csu_init): Comment typo.
43423 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43425 * po/pl.po: Update from translation team.
43426 * po/ja.po: Likewise.
43427 * po/ru.po: Likewise.
43428 * po/ko.po: Likewise.
43429 * po/fr.po: Likewise.
43431 2011-07-09 Roland McGrath <roland@hack.frob.com>
43433 * configure.in (.ctors/.dtors header and trailer check):
43434 Use an empirical test on a built program.
43435 * configure: Regenerated.
43437 * configure.in (-z relro check): Use an empirical test on a built DSO.
43438 Detect, but do not require, on ia64.
43439 * configure: Regenerated.
43441 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43442 Update tests that use readelf to use $READELF instead.
43443 * configure: Regenerated.
43445 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43447 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43448 if the result is not used.
43450 2011-07-05 Andreas Jaeger <aj@suse.de>
43453 * stdlib/tst-strtod.c: Add testcase.
43455 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43457 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43458 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43459 The latter has a higher limit. Take additional parameter to pass to
43461 (__pathconf): Pass file to __statfs_link_max.
43462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43464 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43468 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43472 (__statfs_filesize_max): Likewise.
43473 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43475 2011-07-05 Andreas Jaeger <aj@suse.de>
43477 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43479 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43481 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43483 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43486 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43488 * Makefile (strop-tests): Add strncat.
43489 * string/test-strncat.c: New file.
43491 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43493 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43495 2011-06-21 Andreas Jaeger <aj@suse.de>
43497 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43498 Copy rule from iconvdata/Makefile.
43500 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43503 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43504 but no long options are defined, just return 'W'.
43506 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43509 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43511 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43513 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43515 (innetgr): Likewise.
43517 2011-07-05 Roland McGrath <roland@hack.frob.com>
43519 * config.make.in (install_root): Default to $(DESTDIR).
43521 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43525 2011-07-02 Roland McGrath <roland@hack.frob.com>
43527 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43529 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43530 containing directory rather than embedding absolute directory names.
43532 * scripts/check-local-headers.sh: Rewritten using awk.
43533 Match by word, not by line. Print error messages for matches.
43534 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43536 * Makerules [shlib-lds-flags empty]:
43537 ($(common-objpfx)libc_pic.opts): New target.
43538 ($(common-objpfx)libc_pic.os.clean): New target.
43539 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43541 * config.make.in (OBJCOPY): New variable.
43542 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43543 * configure: Regenerated.
43545 * config.make.in (use-default-link): New variable.
43546 * configure.in (use_default_link): Grok --with-default-link to set it.
43547 * configure: Regenerated.
43548 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43549 (shlib-lds, shlib-lds-flags): Define to empty.
43551 * Makerules (shlib-lds): New variable.
43552 (shlib-lds-flags): New variable.
43553 (build-shlib, build-moduile, build-module-asneeded): Use it.
43554 ($(common-objpfx)libc.so): Use $(shlib-lds).
43555 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43556 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43558 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43559 DT_FLAGS/DT_FLAGS_1 with zero flags.
43561 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43562 linker script munging.
43564 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43566 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43568 * crypt/sha512.c (sha512_process_block): Perform total addition using
43569 128-bit if possible.
43570 (__sha512_finish_ctx): Likewise.
43571 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43573 * crypt/sha256.c (SWAP64): Define.
43574 (sha256_process_block): Perform total addition using 64-bit if
43576 (__sha256_finish_ctx): Likewise.
43578 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43580 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43581 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43582 * nscd/hstcache.c (cache_addhst): Likewise.
43583 * nscd/grpcache.c (cache_addgr): Likewise.
43584 * nscd/aicache.c (addhstaiX): Likewise
43585 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43587 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43589 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43590 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43591 * nscd/hstcache.c (cache_addhst): Likewise.
43592 * nscd/grpcache.c (cache_addgr): Likewise.
43593 * nscd/aicache.c (addhstaiX): Likewise
43595 2011-07-01 Andreas Schwab <schwab@redhat.com>
43597 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43598 domain only when needed.
43600 2011-06-30 Andreas Schwab <schwab@redhat.com>
43602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43603 is always restored.
43605 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43607 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43608 are re-adding the entry.
43609 * nscd/servicescache.c (cache_addserv): Likewise.
43611 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43613 * sysdeps/generic/dl-irel.h: fix protection against multiple
43615 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43617 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43620 * malloc/memusage.sh: Fix quoting in message.
43621 * debug/xtrace.sh: Likewise.
43623 * configure.in: Remove support for --experimental-malloc option, make
43625 * config.make.in: Likewise.
43626 * malloc/Makefile: Likewise.
43628 2011-06-27 Andreas Schwab <schwab@redhat.com>
43630 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43631 two-byte characters.
43633 2011-06-27 Roland McGrath <roland@hack.frob.com>
43635 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43636 AC_CACHE_CHECK invocation.
43637 * configure: Regenerated.
43639 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43641 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43644 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43645 bit from old_res_options.
43647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43649 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43650 value type for setfct.
43652 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43654 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43655 __gettimeofday instead of gettimeofday.
43657 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43659 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43661 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43668 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43671 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43672 strcpy-sse2-unaligned strncpy-sse2-unaligned
43673 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43674 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43675 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43676 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43677 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43678 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43679 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43680 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43681 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43682 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43683 (STRCPY): Support SSE2 and SSSE3 versions.
43685 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43688 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43689 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43690 kernels which artificially limit size of requests.
43692 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43695 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43696 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43697 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43698 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43699 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43700 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43701 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43703 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43704 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43705 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43706 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43707 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43708 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43710 Enable unaligned load optimization for Intel Core i3, i5 and i7
43712 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43714 (index_Fast_Unaligned_Load): Define.
43715 (HAS_FAST_UNALIGNED_LOAD): Define.
43717 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43719 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43721 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43724 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43725 until it is clear that the information is realy needed.
43726 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43728 2011-06-22 Andreas Schwab <schwab@redhat.com>
43730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43732 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43735 /sys/devices/system/cpu/online if it is usable.
43737 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43738 reading the information from the /proc filesystem to once a second.
43740 2011-06-21 Andreas Jaeger <aj@suse.de>
43742 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43743 NULL after inclusion of kernel headers.
43745 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43747 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43748 calls to internal_setent.
43751 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43752 addresses using gethostbyname4_r ignore IPv4 addresses.
43754 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43755 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43757 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43759 2011-06-20 David S. Miller <davem@davemloft.net>
43761 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43763 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43765 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43766 (elf_irel): Use it.
43767 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43768 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43769 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43770 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43771 * sysdeps/x86_64/dl-irel.h: Likewise.
43773 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43774 * elf/dl-sym.c: Likewise.
43776 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43778 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43779 need to dereference resplen2.
43781 2011-06-14 Andreas Schwab <schwab@redhat.com>
43783 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43785 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43787 * Makeconfig: Define vardbdir and inst_vardbdir.
43788 * nss/Makefile: Add rules to install db-Makefile.
43790 * nss/nss_db/db-XXX.c: Cleanup.
43792 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43793 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43795 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43796 * nss/makedb.c: Implement -g option to specify that value strings
43797 are generated and should not be added to table iterated over for
43799 * nss/nss_db/db-initgroups.c: New file.
43801 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43804 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43805 (internal_getgrouplist): Adjust to name change.
43806 Update use_initgroups_entry if this is not the first call.
43807 * nss/databases.def: Add initgroups entry.
43809 * nss/makedb.c (compute_tables): Check result of multiple hash table
43810 sizes to minimize maximum chain length.
43812 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43814 * Versions.def: Add entry for libnss_db.
43815 * shlib-versions: Likewise.
43816 * nss/Makefile: Add rules to build libnss_db.
43817 * nss/Versions: Add libnss_db information. Organize libnss_files
43819 * nss/db-Makefile: Add gshadow support. Change rules for the new
43820 makedb progra. Some minor improvements to generate smaller files.
43821 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43823 * nss/makedb.c: ...here.
43824 Improve database format to be smaller and require less memory at
43826 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43828 * nss/nss_db/db-netgrp.c: Likewise.
43829 * nss/nss_db/db-open.c: Likewise.
43830 * nss/nss_files/flies-XXX.x: Adjust comments.
43831 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43832 * nss/nss_files/files-grp.c: Likewise.
43833 * nss/nss_files/files-hosts.c: Likewise.
43834 * nss/nss_files/files-network.c: Likewise.
43835 * nss/nss_files/files-proto.c: Likewise.
43836 * nss/nss_files/files-pwd.c: Likewise.
43837 * nss/nss_files/files-rpc.c: Likewise.
43838 * nss/nss_files/files-service.c: Likewise.
43839 * nss/nss_files/files-sgrp.c: Likewise.
43840 * nss/nss_files/files-spwd.c: Likewise.
43841 * nss/nss_db/db-alias.c: Removed.
43842 * nss/nss_db/dummy-db.h: Removed.
43844 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43846 * nss/makedb.c: Rewritten to not use database library.
43847 * nss/Makefile: Update to build new makedb program.
43849 2011-06-14 Andreas Jaeger <aj@suse.de>
43851 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43852 memset declaration.
43854 2011-06-10 Andreas Schwab <schwab@redhat.com>
43856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43859 2011-06-10 Roland McGrath <roland@hack.frob.com>
43861 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43862 * elf/Makefile ($(objpfx)ld.so): Likewise.
43864 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43865 Don't list ld.so twice in dependencies.
43867 * posix/bug-regex31.c: Include <stdlib.h>.
43869 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43871 * nis/nss_compat/compat-spwd.c
43872 (getspent_next_nss_netgr): Remove unused variable.
43873 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43875 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43876 nonmembers" output to use the right array.
43878 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43880 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43882 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43883 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43884 * catgets/gencat.c (read_input_file): Likewise.
43885 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43887 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43888 variable definition inside #if's controlling its use.
43890 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43892 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43894 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43896 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43899 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43901 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43902 * configure: Regenerated.
43904 * Makerules: Revert last change.
43905 * elf/Makefile: Likewise.
43907 2011-06-09 Roland McGrath <roland@hack.frob.com>
43909 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43910 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43911 (reloc-link): Likewise.
43913 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43915 * elf/Makefile: Add rules to build pldd.
43916 * elf/pldd.c: New file.
43917 * elf/pldd-xx.c: New file.
43919 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43921 * version.h: Update for 2.15 development version.
43923 2011-06-07 David S. Miller <davem@davemloft.net>
43925 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43928 elf_machine_lazy_rel): Likewise.
43929 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43930 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43931 elf_machine_lazy_rel): Likewise.
43932 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43933 dl_hwcap via passed in argument.
43934 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43937 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43939 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43941 2011-06-06 Roland McGrath <roland@hack.frob.com>
43944 * manual/fdl-1.1.texi: New file, verbatim from:
43945 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43946 * manual/lgpl-2.1.texi: New file, verbatim from:
43947 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43948 * manual/Makefile (licenses): New variable, list those new file names.
43950 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43952 * manual/fdl.texi: File removed.
43953 * manual/lesser.texi: File removed.
43954 * manual/libc.texinfo (Copying, Documentation License):
43955 Use new @include file names, put @appendix directive before @include.
43957 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43960 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43961 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43962 (mq_open): Add __NTH.
43964 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43967 Assume Intel Core i3/i5/i7 processor if AVX is available.
43969 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43974 2011-05-31 Andreas Schwab <schwab@redhat.com>
43976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43977 memory. Use alloca_account. Fix memory leak when retrying.
43979 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43981 * version.h (RELEASE): Bump for 2.14 release.
43982 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43984 * config.make.in (RANLIB): Remove entry.
43986 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43988 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43989 (libc.pot): Work around missing support for .ksh extension in xgettext.
43992 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43993 if both request failed.
43994 (send_dg): In case of server errors clear resplen or *resplen2.
43997 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43998 when there are multiple maps.
43999 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44000 (_dl_fini): Remove test here.
44002 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44004 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44007 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44008 bit from old_res_options.
44009 (gaih_inet): Likewise.
44012 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44015 * resolv/res_init.c (res_setoptions): Make the code more compact.
44018 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44022 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44024 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44027 * malloc/malloc.h: Declare malloc hook variables as volatile.
44029 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44033 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44034 raise in the comment.
44035 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44036 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44037 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44039 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44042 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44043 grow the buffers more if it already has to be sufficient.
44044 (build_wcs_upper_buffer): Likewise.
44045 * posix/regexec.c (check_matching): Likewise.
44046 (clean_state_log_if_needed): Likewise.
44047 (extend_buffers): Don't enlarge buffers beyond size of the input
44049 Patches mostly by Emil Wojak <emil@wojak.eu>.
44050 * posix/bug-regex32.c: New file.
44051 * posix/Makefile (tests): Add bug-regex32.
44053 * locale/findlocale.c (_nl_find_locale): Return right away if
44054 _nl_explode_name failed.
44055 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44057 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44059 * debug/xtrace.sh: Unify messages.
44060 * malloc/memusage.sh: Likewise.
44063 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44064 time symbol from vDSO. Substitute with vsyscall if not available.
44065 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44068 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44069 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44070 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44071 Add sendmmsg and internal_sendmmsg.
44072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44073 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44074 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44076 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44077 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44080 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44083 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44084 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44090 * iconvdata/Makefile (tests): Add bug-iconv9.
44091 * iconvdata/bug-iconv9.c: New file.
44093 2011-05-27 Andreas Schwab <schwab@redhat.com>
44096 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44098 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44100 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44101 (struct user_regs_struct): Change intcs field back to cs.
44103 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44105 * po/ja.po: Update from translation team.
44107 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44110 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44111 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44113 2011-05-20 Andreas Schwab <schwab@redhat.com>
44115 * stdlib/longlong.h: Update from GCC.
44117 2011-05-23 Andreas Schwab <schwab@redhat.com>
44119 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44121 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44122 Add parameter name.
44123 (__sysconf): Pass it down.
44125 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44128 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44130 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44131 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44132 add in in __libc_use_alloca calls. Adjust callers.
44133 (glob): Use malloc in some situations.
44135 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44136 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44139 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44141 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44142 and CLOCK_BOOTTIME_ALARM.
44145 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44148 * string/_strerror.c (__strerror_r): Print negative errors as signed
44152 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44153 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44154 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44156 * configure.in: Fix typo in redirection and correct removal of test
44157 files in two cases.
44160 * locale/setlocale.c (new_composite_name): Fix test to check for
44161 identical name of all categories.
44164 * libio/filedoalloc.c (local_isatty): New function.
44165 (_IO_file_doallocate): Use local_isatty.
44166 * stdio-common/perror.c (perror): In case a new stream is used
44167 forward the stream error.
44168 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44171 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44176 * include/alloca.h (extend_alloca_account): Define.
44179 * posix/regex.h: Fix comments with documentation of user-accessible
44180 fields after compilation and describe correct free'ing of pattern
44181 after re_compile_pattern.
44182 Patch by Reuben Thomas <rrt@sc3d.org>.
44184 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44186 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44187 and -mno-altivec to prevent the compiler from using Altivec and/or
44188 VSX instructions when the corresponding registers are not available.
44190 2011-05-19 Andreas Schwab <schwab@redhat.com>
44192 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44194 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44196 * libio/freopen.c (freopen): Use __dup2, not dup2.
44197 * libio/freopen64.c (freopen64): Likewise.
44199 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44202 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44203 * math/Makefile (tests): Add test-powl.
44204 (CFLAGS-test-powl.c): Define.
44205 * math/test-powl.c: New file.
44207 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44209 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44211 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44214 * iconvdata/gb18030.c: Update to GB18020-2005.
44216 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44218 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44219 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44220 Patch by Aharon Robbins <arnold@skeeve.com>.
44223 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44227 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44228 through underflows.
44231 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44232 point to strings before performing equality test for error_one_per_line
44236 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44240 (struct user_fpregs_struct): Avoid __uint*_t types.
44243 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44244 symbol info. Use it instead of calling _dl_addr locally.
44245 (lock_and_info): New function.
44246 (tr_freehook): Call lock_and_info and pass symbol info as additional
44247 parameter to tr_where.
44248 (tr_mallochook): Likewise.
44249 (tr_reallochook): Likewise.
44250 (tr_memalignhook): Likewise.
44252 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44253 used and couldn't be at all thread-safe.
44255 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44257 * libio/freopen.c (freopen): Don't close old file descriptor
44258 before the new one is opened. Instead dup the new file descriptor
44259 to the old one after the new stream is created.
44260 * libio/freopen64.c (freopen64): Likewise.
44261 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44262 * libio/fileops.c (_IO_new_file_close_it): Handle new
44263 _IO_FLAGS2_NOCLOSE flag.
44264 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44265 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44266 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44267 _IO_FLAGS2_NOCLOSE flag.
44268 * include/unistd.h: Add hidden_proto for dup3.
44269 Define __have_dup3.
44270 * io/dup3.c: Define hidden symbol.
44271 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44274 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44275 when an incomplete long option is used.
44276 * posix/tst-getopt_long1.c: New file.
44277 * posix/Makefile (tests): Add tst-getopt_long1.
44280 * scripts/config.guess: Update from autoconf-2.68.
44281 * scripts/config.sub: Likewise.
44284 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44286 (has_cpuclock): ...this. New function.
44287 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44288 macro here based on has_cpuclock code.
44291 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44292 First byte (not low byte) is now always NUL.
44293 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44295 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44296 Use non-cancelable interfaces.
44299 * locale/iso-639.def: Add entry for Sorani.
44302 * include/stdlib.h: Move include protection to the right place.
44303 Define abort_msg_s. Declare __abort_msg with it.
44304 * stdlib/abort.c (__abort_msg): Adjust type.
44305 * assert/assert.c (__assert_fail_base): New function. Majority
44306 of code from __assert_fail. Allocate memory for __abort_msg with
44308 (__assert_fail): Now call __assert_fail_base.
44309 * assert/assert-perr.c: Remove bulk of implementation. Use
44310 __assert_fail_base.
44311 * include/assert.hL Declare __assert_fail_base.
44312 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44314 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44316 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44320 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44321 until all modules are registered in the DTV.
44322 * elf/Makefile: Add rules to build and run tst-tls19.
44323 * elf/tst-tls19.c: New file.
44324 * elf/tst-tls19mod1.c: New file.
44325 * elf/tst-tls19mod2.c: New file.
44326 * elf/tst-tls19mod3.c: New file.
44327 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44330 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44334 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44335 two-byte sequence errors.
44336 * iconvdata/Makefile (tests): Add bug-iconv8.
44337 * iconvdata/bug-iconv8.c: New file.
44340 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44343 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44346 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44347 (dummy_getcfa): New function.
44348 (init): Get _Unwind_GetCFA address, use dummy if not found.
44349 (backtrace_helper): In recursion check, also check whether CFA changes.
44350 (__backtrace): Completely initialize arg.
44352 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44353 storing incomplete byte sequence in state object. Avoid testing for
44354 guaranteed too small input if we know there is enough data available.
44356 2011-05-11 Andreas Schwab <schwab@redhat.com>
44358 * Makeconfig (+link-pie): Indent.
44359 * Rules (binaries-pie): Define if $(have-fpie) and
44361 (binaries-shared): Also filter out $(binaries-pie).
44362 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44363 * nscd/Makefile (others-pie): Add nscd.
44364 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44365 ($(objpfx)nscd): Remove command override.
44366 * login/Makefile (others-pie): Add pt_chown.
44367 ($(objpfx)pt_chown): Remove command override.
44368 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44369 remove command overrides.
44371 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44373 * libio/tst_putwc.c: Fix error messages.
44376 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44377 currently writing and seek to current position when not.
44378 * libio/Makefile (tests): Add bug-fclose1.
44379 * libio/bug-fclose1.c: New file.
44381 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44384 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44385 don't set DF_1_NODELETE here.
44386 (do_lookup_x): When entering new entry test for copy relocation
44387 and if necessary set DF_1_NODELETE flag.
44388 * elf/tst-unique4.cc: New file.
44389 * elf/tst-unique4.h: New file.
44390 * elf/tst-unique4lib.cc: New file.
44391 * elf/Makefile: Add rules to build and run tst-unique4.
44392 Patch by Piotr Bury <pbury@goahead.com>.
44394 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44397 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44400 * misc/mntent_r.c (addmntent): Flush the stream after the output
44403 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44404 (is_trusted_path_normalize): Skip initial colon. Append slash
44405 to empty buffer. Duplicate is_trusted_path code but allow
44406 constructed patch to be prefix.
44407 (is_dst): Allow $ORIGIN followed by /.
44408 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44409 Correct testing of result of is_trusted_path_normalize
44410 (decompose_rpath): Fix warning.
44412 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44415 * grp/initgroups.c (internal_getgrouplist): When we found the service
44416 list through the initgroups entry in nsswitch.conf do not always
44417 continue on a successful lookup. Don't always use the
44418 __nss_group_database value if it is set.
44419 * nss/nsswitch.conf (initgroups): Change action for successful db
44420 lookup to continue for compatibility.
44422 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44425 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44427 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44429 * iconvdata/tst-tables.sh: Likewise.
44430 * iconvdata/cp770.c: New file.
44431 * iconvdata/cp771.c: New file.
44432 * iconvdata/cp772.c: New file.
44433 * iconvdata/cp773.c: New file.
44434 * iconvdata/cp774.c: New file.
44435 * iconvdata/testdata/CP770: New file.
44436 * iconvdata/testdata/CP770..UTF8: New file.
44437 * iconvdata/testdata/CP771: New file.
44438 * iconvdata/testdata/CP771..UTF8: New file.
44439 * iconvdata/testdata/CP772: New file.
44440 * iconvdata/testdata/CP772..UTF8: New file.
44441 * iconvdata/testdata/CP773: New file.
44442 * iconvdata/testdata/CP773..UTF8: New file.
44443 * iconvdata/testdata/CP774: New file.
44444 * iconvdata/testdata/CP774..UTF8: New file.
44446 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44448 * iconvdata/gen-8bit-gap.sh: Likewise.
44449 * iconvdata/gen-8bit.sh: Likewise.
44451 * locale/iso-639.def: Add ary entry.
44454 * locale/C-translit.h.in: Add U20A1 transliteration.
44457 * locale/iso-639.def: Add wae entry.
44458 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44461 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44465 * locale/C-translit.h.in: Add entry for U20B9.
44466 Patch by pravin.d.s@gmail.com.
44468 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44471 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44472 ENAMETOOLONG use generic getcwd.
44473 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44474 in rtld. Use *stat64.
44475 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44476 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44477 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44478 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44479 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44480 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44481 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44482 __fstatat64 macros.
44483 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44484 * dirent/rewinddir.c: Add libc_hidden_def.
44485 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44486 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44488 * include/dirent.h (__alloc_dir): Add flags parameter.
44489 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44490 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44492 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44493 from fdopendir if O_CLOEXEC is already set.
44495 2011-03-15 Alan Modra <amodra@gmail.com>
44497 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44498 l_tls_firstbyte_offset non-zero. Save padding offset in
44499 l_tls_firstbyte_offset for later use.
44500 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44501 freeing static tls block.
44503 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44505 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44506 where #ifdef was intended. The intent is to prevent ARG_MAX from
44507 being defined by the kernel headers.
44509 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44512 * resolv/resolv.h: Define RES_NOTLDQUERY.
44513 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44514 no-tld-query and set RES_NOTLDQUERY.
44515 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44516 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44517 modern BIND to search name as TLD unless forbidden.
44519 2011-05-07 Petr Baudis <pasky@suse.cz>
44520 Ulrich Drepper <drepper@gmail.com>
44523 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44524 (is_trusted_path): ...to here.
44525 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44526 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44527 using is_trusted_path_normalize() in setuid scripts.
44529 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44531 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44532 __BEGIN/__END_DECLS.
44534 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44537 NSS_STATUS_NOTFOUND if no record was found.
44539 2011-05-05 Andreas Schwab <schwab@redhat.com>
44541 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44542 (headers-not-in-tirpc): Remove rpc/netdb.h
44543 * resolv/netdb.h: Revert last change.
44545 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44547 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44548 circular dependency between libgcc.a and libc.a.
44550 2011-05-05 Andreas Schwab <schwab@redhat.com>
44552 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44553 * nis/Makefile: Don't install rpcsvc/*.
44554 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44555 instead of <rpc/types.h>.
44556 (MAXHOSTNAMELEN): Define.
44558 2011-05-03 Andreas Schwab <schwab@redhat.com>
44560 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44562 2011-04-28 Maciej Babinski <mbabinski@google.com>
44565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44566 gethostbyname4_r when IPv6 results are possible.
44568 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44571 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44572 _PC_PIPE_BUF handling.
44574 2011-04-30 Bruno Haible <bruno@clisp.org>
44577 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44578 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44580 * inet/getnameinfo.c (getnameinfo): Likewise.
44582 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44584 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44585 to groups setting in database lookup.
44586 * nss/nsswitch.conf: Add initgroups entry.
44588 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44591 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44593 Patch by Eric Blake <eblake@redhat.com>.
44595 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44597 * sunrpc/Makefile (need-export-routines): Add svc_run.
44598 (routines): Remove svc_run.
44599 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44600 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44601 * sunrpc/svc_run.c (svc_run): Likewise.
44602 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44604 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44606 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44607 problem in reallocation in last patch.
44609 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44611 * sunrpc/Makefile: Move inclusion of Rules.
44613 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44615 * nss/nss_files/files-initgroups.c: New file.
44616 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44617 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44618 _nss_files_initgroups_dyn.
44620 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44622 * elf/elf.h (R_ARM_IRELATIVE): Define.
44624 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44626 * po/ru.po: Update from translation team.
44628 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44630 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44633 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44636 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44637 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44640 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44642 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44644 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44646 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44648 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44650 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44653 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44655 * stdlib/bug-getcontext.c: New file.
44656 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44658 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44660 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44661 instructions into .machine "z9-109".
44662 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44663 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44665 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44667 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44668 between environment variables and auxiliary vector.
44670 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44672 * Makefile: Add rules to build linkobj/libc.so.
44673 * include/libc-symbols.h: Define libc_hidden_nolink.
44674 * include/rpc/auth.h: Mark functions which are to be hidden.
44675 * include/rpc/auth_des.h: Likewise.
44676 * include/rpc/auth_unix.h: Likewise.
44677 * include/rpc/clnt.h: Likewise.
44678 * include/rpc/des_crypt.h: Likewise.
44679 * include/rpc/key_prot.h: Likewise.
44680 * include/rpc/pmap_clnt.h: Likewise.
44681 * include/rpc/pmap_prot.h: Likewise.
44682 * include/rpc/pmap_rmt.h: Likewise.
44683 * include/rpc/rpc_msg.h: Likewise.
44684 * include/rpc/svc.h: Likewise.
44685 * include/rpc/svc_auth.h: Likewise.
44686 * include/rpc/xdr.h: Likewise.
44687 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44688 * nss/Makefile: Likewise.
44689 * sunrpc/Makefile: Don't install headers. Build library with normal
44690 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44691 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44692 for the compat linking library. Remove use of INTDEF/INTUSE.
44693 * sunrpc/auth_none.c: Likewise.
44694 * sunrpc/auth_unix.c: Likewise.
44695 * sunrpc/authdes_prot.c: Likewise.
44696 * sunrpc/authuxprot.c: Likewise.
44697 * sunrpc/clnt_gen.c: Likewise.
44698 * sunrpc/clnt_perr.c: Likewise.
44699 * sunrpc/clnt_raw.c: Likewise.
44700 * sunrpc/clnt_simp.c: Likewise.
44701 * sunrpc/clnt_tcp.c: Likewise.
44702 * sunrpc/clnt_udp.c: Likewise.
44703 * sunrpc/clnt_unix.c: Likewise.
44704 * sunrpc/des_crypt.c: Likewise.
44705 * sunrpc/des_soft.c: Likewise.
44706 * sunrpc/get_myaddr.c: Likewise.
44707 * sunrpc/key_call.c: Likewise.
44708 * sunrpc/key_prot.c: Likewise.
44709 * sunrpc/netname.c: Likewise.
44710 * sunrpc/pm_getmaps.c: Likewise.
44711 * sunrpc/pm_getport.c: Likewise.
44712 * sunrpc/pmap_clnt.c: Likewise.
44713 * sunrpc/pmap_prot.c: Likewise.
44714 * sunrpc/pmap_prot2.c: Likewise.
44715 * sunrpc/pmap_rmt.c: Likewise.
44716 * sunrpc/publickey.c: Likewise.
44717 * sunrpc/rpc_cmsg.c: Likewise.
44718 * sunrpc/rpc_common.c: Likewise.
44719 * sunrpc/rpc_dtable.c: Likewise.
44720 * sunrpc/rpc_prot.c: Likewise.
44721 * sunrpc/rpc_thread.c: Likewise.
44722 * sunrpc/rtime.c: Likewise.
44723 * sunrpc/svc.c: Likewise.
44724 * sunrpc/svc_auth.c: Likewise.
44725 * sunrpc/svc_authux.c: Likewise.
44726 * sunrpc/svc_raw.c: Likewise.
44727 * sunrpc/svc_run.c: Likewise.
44728 * sunrpc/svc_simple.c: Likewise.
44729 * sunrpc/svc_tcp.c: Likewise.
44730 * sunrpc/svc_udp.c: Likewise.
44731 * sunrpc/svc_unix.c: Likewise.
44732 * sunrpc/svcauth_des.c: Likewise.
44733 * sunrpc/xcrypt.c: Likewise.
44734 * sunrpc/xdr.c: Likewise.
44735 * sunrpc/xdr_array.c: Likewise.
44736 * sunrpc/xdr_float.c: Likewise.
44737 * sunrpc/xdr_intXX_t.c: Likewise.
44738 * sunrpc/xdr_mem.c: Likewise.
44739 * sunrpc/xdr_rec.c: Likewise.
44740 * sunrpc/xdr_ref.c: Likewise.
44741 * sunrpc/xdr_sizeof.c: Likewise.
44742 * sunrpc/xdr_stdio.c: Likewise.
44744 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44747 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44748 * sysdeps/ia64/dl-tls.h: Likewise.
44749 * sysdeps/powerpc/dl-tls.h: Likewise.
44750 * sysdeps/s390/dl-tls.h: Likewise.
44751 * sysdeps/sh/dl-tls.h: Likewise.
44752 * sysdeps/sparc/dl-tls.h: Likewise.
44753 * sysdeps/x86_64/dl-tls.h: Likewise.
44754 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44756 2011-03-14 Andreas Schwab <schwab@redhat.com>
44758 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44759 rpath element also skip the following colon.
44760 (expand_dynamic_string_token): Add is_path parameter and pass
44761 down to DL_DST_REQUIRED and _dl_dst_substitute.
44762 (decompose_rpath): Call expand_dynamic_string_token with
44763 non-zero is_path. Ignore empty rpaths.
44764 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44767 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44772 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44775 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44776 Patch by Filipe David Manana <fdmanana@apache.org>.
44778 2011-04-07 Andreas Schwab <schwab@redhat.com>
44780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44781 Maintain aligned stack.
44782 (CHECK_RSP): Remove unused macro.
44784 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44786 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44787 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44789 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44791 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44793 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44795 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44798 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44799 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44800 * sysdeps/x86_64/memmove.c: New file.
44801 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44802 (memcpy): Renamed to ...
44803 (__new_memcpy): This.
44804 (memcpy): Provide GLIBC_2_14 memcpy.
44805 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44806 (memcpy): Provide GLIBC_2_2_5 memcpy.
44808 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44811 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44813 2011-03-30 Andreas Schwab <schwab@redhat.com>
44815 * misc/syncfs.c: New file.
44816 * misc/Makefile (routines): Add syncfs.
44817 * posix/unistd.h: Declare syncfs.
44818 * sysdeps/unix/syscalls.list: Add syncfs.
44820 2011-04-01 Andreas Schwab <schwab@redhat.com>
44822 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44824 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44825 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44829 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44832 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44836 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44842 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44843 sync_file_range.c with -fexceptions.
44844 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44845 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44846 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44847 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44848 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44850 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44851 sync_file_range as cancellation point
44852 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44853 now a wrapper around __call_sync_file_range with cancellation handling.
44854 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44856 function name to __call_sync_file_range.
44857 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44858 Add call_sync_file_range.
44860 2011-04-01 Andreas Schwab <schwab@redhat.com>
44862 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44865 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44867 * iconv/iconv.h: Fix typo in comment.
44868 * io/fcntl.h: Likewise.
44869 * libio/stdio.h: Likewise.
44870 * posix/spawn.h: Likewise.
44871 * posix/unistd.h: Likewise.
44872 * stdlib/stdlib.h: Likewise.
44873 * time/time.h: Likewise.
44874 * wcsmbs/wchar.h: Likewise.
44876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44877 open_by_handle): Add.
44878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44879 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44880 Augment a few comments.
44881 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44882 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44886 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44889 * io/fcntl.h (AT_EMPTY_PATH): Define.
44891 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44893 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44894 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44895 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44897 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44898 * Versions.def: Add GLIBC_2.14.
44899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44902 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44904 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44906 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44908 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44911 * string/test-strncmp.c (do_page_test): New function.
44912 (check2): Likewise.
44913 (test_main): Call check2.
44914 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44916 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44919 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44920 Handle cache information in CPU leaf 4.
44921 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44923 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44926 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44927 character representation.
44928 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44930 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44932 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44933 END(__isnan) to END(__isnanf) to match function entry point/label
44934 EALIGN(__isnanf,...).
44936 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44938 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44940 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44943 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44944 copy from the symbol referenced in the relocation to initialize the
44946 Patch by Piotr Bury <pbury@goahead.com>.
44947 * elf/Makefile: Add rules to build and tst-unique3.
44948 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44949 * elf/tst-unique3.cc: New file.
44950 * elf/tst-unique3.h: New file.
44951 * elf/tst-unique3lib.cc: New file.
44952 * elf/tst-unique3lib2.cc: New file.
44954 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44956 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44958 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44959 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44962 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44964 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44965 to-be-loaded object along a path to loader is ld.so.
44967 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44968 Ulrich Drepper <drepper@gmail.com>
44970 * sysdeps/x86_64/memset.S: After aligning destination, code
44971 branches to different locations depending on the value of
44972 misalignment, when multiarch is enabled. Fix this.
44974 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44976 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44977 Set _x86_64_preferred_memory_instruction for AMD processsors.
44978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44979 Set bit_Prefer_SSE_for_memop for AMD processors.
44981 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44983 * libio/fmemopen.c (fmemopen): Optimize a bit.
44985 2011-03-03 Andreas Schwab <schwab@redhat.com>
44987 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44989 2011-03-03 Roland McGrath <roland@redhat.com>
44991 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44993 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44995 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44996 __bzero_ultra1 instead of __memset_ultra1.
44998 2011-02-23 Andreas Schwab <schwab@redhat.com>
44999 Ulrich Drepper <drepper@gmail.com>
45002 * include/link.h (struct link_map): Add l_orig_initfini.
45003 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45004 returning unsuccessfully.
45005 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45006 close of a file loaded at startup, restore the original l_initfini
45008 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45009 list, store the pointer.
45010 * elf/Makefile ($(objpfx)noload-mem): New rule.
45011 (noload-ENV): Define.
45012 (tests): Add $(objpfx)noload-mem.
45013 * elf/noload.c: Include <memcheck.h>.
45014 (main): Call mtrace. Close all opened handles.
45016 2011-02-17 Andreas Schwab <schwab@redhat.com>
45019 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45020 dependencies are missing.
45022 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45024 Fix __if_freereq crash: Unlike the generic version which uses free,
45026 * sysdeps/mach/hurd/ifreq.h: New file.
45028 2011-01-27 Petr Baudis <pasky@suse.cz>
45029 Ulrich Drepper <drepper@gmail.com>
45032 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45033 to extend_alloca().
45034 * stdio-common/bug23.c: New file.
45035 * stdio-common/Makefile (tests): Add bug23.
45037 2010-09-28 Andreas Schwab <schwab@redhat.com>
45038 Ulrich Drepper <drepper@gmail.com>
45041 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45042 before performing relro protection. At old place add assertion
45043 to make sure nothing changed.
45045 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45046 Glauber de Oliveira Costa <glommer@gmail.com>
45048 * elf/elf.h: Add new ARM TLS relocs.
45050 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45053 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45055 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45057 * sysdeps/wordsize-64/tst-writev.c: New file.
45059 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45061 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45062 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45063 insns in _dl_start to prevent a TOC reference before relocs are
45066 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45069 * Makeconfig: Remove RANLIB definition.
45070 * Makerules: Don't use RANLIB.
45071 * aclocal.m4: Remove ranlib test.
45072 * configure.in: No need to check for ranlib.
45073 * elf/rtld-Rules: Don't use RANLIB.
45075 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45077 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45079 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45080 inclusion protection macro.
45082 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45083 SIGRTMIN and SIGRTMAX and print information in that case only when
45084 SIGRTMIN is defined.
45086 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45088 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45089 arginfo fn returning -1.
45091 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45092 and thousands string is zero terminated.
45094 2011-02-03 Andreas Schwab <schwab@redhat.com>
45096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45097 sysdeps/unix/sysv/linux/bits/socket.h.
45099 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45101 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45102 (__CPU_COUNT): Remove old macros.
45103 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45104 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45105 (__CPU_ALLOC, __CPU_FREE): Add macros.
45106 (__sched_cpualloc, __sched_cpufree): Add declarations.
45108 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45110 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45111 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45112 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45113 (readdhstai): Return value of addhstaiX call.
45114 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45115 (addgrbyX): Return value returned by cache_addgr.
45116 (readdgrbyname): Return value returned by addgrbyX.
45117 (readdgrbygid): Likewise.
45118 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45119 (addpwbyX): Return value returned by cache_addpw.
45120 (readdpwbyname): Return value returned by addhstbyX.
45121 (readdpwbyuid): Likewise.
45122 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45123 (addservbyX): Return value returned by cache_addserv.
45124 (readdservbyname): Return value returned by addservbyX:
45125 (readdservbyport): Likewise.
45126 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45127 (addhstbyX): Return value returned by cache_addhst.
45128 (readdhstbyname): Return value returned by addhstbyX.
45129 (readdhstbyaddr): Likewise.
45130 (readdhstbynamev6): Likewise.
45131 (readdhstbyaddrv6): Likewise.
45132 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45133 (readdinitgroups): Return value returned by addinitgroupsX.
45134 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45135 (prune_cache): Keep track of timeout value of re-added entries.
45136 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45137 * nscd/nscd.h: Adjust prototypes of readd* functions.
45139 2011-02-04 Roland McGrath <roland@redhat.com>
45141 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45142 (nis_stats): Likewise.
45143 * nis/nis_modify.c (nis_modify): Likewise.
45144 * nis/nis_remove.c (nis_remove): Likewise.
45145 * nis/nis_add.c (nis_add): Likewise.
45147 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45149 * posix/fnmatch_loop.c: Add some consts.
45151 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45153 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45156 * config.make.in (config-cflags-novzeroupper): Define.
45157 * configure.in: Substitute libc_cv_cc_novzeroupper.
45158 * elf/Makefile (AVX-CFLAGS): Define.
45159 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45160 (CFLAGS-tst-auditmod4a.c): Likewise.
45161 (CFLAGS-tst-auditmod4b.c): Likewise.
45162 (CFLAGS-tst-auditmod6b.c): Likewise.
45163 (CFLAGS-tst-auditmod6c.c): Likewise.
45164 (CFLAGS-tst-auditmod7b.c): Likewise.
45165 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45167 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45169 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45170 function to the callback.
45171 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45173 2011-02-02 Andreas Schwab <schwab@redhat.com>
45175 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45178 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45181 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45183 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45185 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45188 * elf/Makefile: Add rules to build and run new test.
45189 * elf/tst-initorder.c: New file.
45190 * elf/tst-initorder.exp: New file.
45191 * elf/tst-initordera1.c: New file.
45192 * elf/tst-initordera2.c: New file.
45193 * elf/tst-initordera3.c: New file.
45194 * elf/tst-initordera4.c: New file.
45195 * elf/tst-initorderb1.c: New file.
45196 * elf/tst-initorderb2.c: New file.
45197 * elf/tst-order-a1.c: New file.
45198 * elf/tst-order-a2.c: New file.
45199 * elf/tst-order-a3.c: New file.
45200 * elf/tst-order-a4.c: New file.
45201 * elf/tst-order-b1.c: New file.
45202 * elf/tst-order-b2.c: New file.
45203 * elf/tst-order-main.c: New file.
45204 New test case by George Gensure <werkt0@gmail.com>.
45206 2010-10-01 Andreas Schwab <schwab@redhat.com>
45208 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45209 decoding ACE if AI_CANONIDN.
45211 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45213 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45215 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45217 * version.h (RELEASE): Bump for 2.13 release.
45218 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45220 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45222 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45224 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45226 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45228 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45231 * posix/getconf.c: Update copyright year.
45232 * catgets/gencat.c: Likewise.
45233 * csu/version.c: Likewise.
45234 * debug/catchsegv.sh: Likewise.
45235 * debug/xtrace.sh: Likewise.
45236 * elf/ldconfig.c: Likewise.
45237 * elf/ldd.bash.in: Likewise.
45238 * elf/sprof.c (print_version): Likewise.
45239 * iconv/iconv_prog.c: Likewise.
45240 * iconv/iconvconfig.c: Likewise.
45241 * locale/programs/locale.c: Likewise.
45242 * locale/programs/localedef.c: Likewise.
45243 * malloc/memusage.sh: Likewise.
45244 * malloc/mtrace.pl: Likewise.
45245 * nscd/nscd.c (print_version): Likewise.
45246 * nss/getent.c: Likewise.
45248 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45249 PF_CAIF, and PF_ALG.
45250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45252 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45254 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45255 (modules-names): Use them.
45256 (ifunc-test-modules, ifunc-pie-tests): Define.
45257 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45258 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45259 (test-extras): Likewise.
45260 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45261 $(compile-command.c).
45262 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45263 (all-built-dso): Define.
45264 (check-textrel.out, check-execstack.out): Depend on it.
45266 * configure.in: Don't override --enable-multi-arch.
45268 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45271 * nscd/hstcache.c (tryagain): Define.
45272 (cache_addhst): Return tryagain not notfound for temporary errors.
45273 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45276 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45280 to make the syscall.
45281 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45284 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45285 and fall back to matching as normal character if the string ends before
45286 the matching ']' is found. This is what POSIX requires.
45287 * posix/testfnm.c: Adjust test result.
45288 * posix/globtest.sh: Adjust test result. Add new test.
45289 * posix/tst-fnmatch.input: Likewise.
45290 * posix/tst-fnmatch2.c: Add new test.
45292 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45294 * elf/Makefile (check-execstack): Revert last change. Depend on
45296 (check-execstack.h): New target.
45297 (generated): Add check-execstack.h.
45298 * elf/check-execstack.c: Include "check-execstack.h".
45299 (main): Revert last change.
45300 (handle_file): Return zero if GNU_STACK is absent and
45301 DEFAULT_STACK_PERMS doesn't include PF_X.
45303 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45305 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45306 in child fails because the descriptor is already closed.
45307 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45308 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45309 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45312 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45316 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45317 temporary buffer used to handle multi lookups locally.
45318 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45320 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45322 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45325 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45327 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45328 alignment for SSE2.
45330 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45333 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45334 characters. When rounding increased number of integer digits recompute
45336 * stdio-common/tst-grouping.c: New file.
45337 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45339 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45341 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45342 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45344 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45346 * bits/select.h: Likewise.
45348 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45350 * po/ja.po: Update from translation team.
45352 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45355 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45356 implementation just like for lxstat, fxstatat, et al.
45358 2010-12-27 Jim Meyering <meyering@redhat.com>
45361 * posix/regexec.c (build_trtable): Return failure indication upon
45362 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45364 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45367 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45368 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45369 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45373 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45376 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45377 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45379 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45381 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45382 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45383 script has SORT_BY_INIT_PRIORITY.
45384 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45385 NO_CTORS_DTORS_SECTIONS is defined.
45386 * elf/soinit.c: Likewise.
45387 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45388 NO_CTORS_DTORS_SECTIONS is defined.
45389 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45390 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45391 * sysdeps/sh/init-first.c: Likewise.
45392 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45394 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45396 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45397 always use the slow path.
45399 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45401 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45402 similar rule which adds the sysdep directories to the header search in
45403 order to pick up the correct platform stackinfo.h.
45404 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45405 perform test if it is, otherwise return successfully without testing.
45406 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45407 DEFAULT_STACK_PERMS define in stackinfo.h.
45408 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45409 defined in stackinfo.h.
45410 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45411 DEFAULT_STACK_PERMS defined in stackinfo.h.
45412 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45413 * sysdeps/ia64/stackinfo.h: Likewise.
45414 * sysdeps/s390/stackinfo.h: Likewise.
45415 * sysdeps/sh/stackinfo.h: Likewise.
45416 * sysdeps/sparc/stackinfo.h: Likewise.
45417 * sysdeps/x86_64/stackinfo.h: Likewise.
45418 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45419 PF_X for powerpc64. Retain PF_X for powerpc32.
45421 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45423 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45425 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45426 GETDENTS_64BIT_ALIGNED.
45428 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45430 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45432 2010-12-10 Andreas Schwab <schwab@redhat.com>
45434 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45437 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45438 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45440 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45441 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45443 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45446 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45449 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45451 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45453 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45455 * po/it.po: Update from translation team.
45457 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45462 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45464 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45466 2010-11-24 Andreas Schwab <schwab@redhat.com>
45468 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45470 (gaih_getanswer_slice): Likewise.
45472 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45476 2010-05-31 Petr Baudis <pasky@suse.cz>
45479 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45480 silently even in the chroot mode.
45482 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45484 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45485 last patch a bit. Pretty printing
45487 2010-05-31 Petr Baudis <pasky@suse.cz>
45490 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45491 initialization of skip_initgroups_dyn.
45493 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45495 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45496 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45498 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45500 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45502 2010-11-11 Andreas Schwab <schwab@redhat.com>
45504 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45505 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45506 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45507 ($(objpfx)tst-fnmatch-mem): New rule.
45508 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45509 * posix/tst-fnmatch.c (main): Call mtrace.
45511 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45514 Support Intel processor model 6 and model 0x2c.
45516 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45518 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45521 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45524 * string/test-strncasecmp.c (check_result): New function.
45525 (do_one_test): Use it.
45526 (check1): New function.
45527 (test_main): Use it.
45528 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45529 Support strcasecmp and strncasecmp.
45531 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45534 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45537 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45539 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45543 * sysdeps/x86_64/multiarch/bzero.S: New file.
45544 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45545 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45546 * sysdeps/x86_64/multiarch/memset.S: New file.
45547 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45549 Set bit_Prefer_SSE_for_memop for Intel processors.
45550 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45552 (index_Prefer_SSE_for_memop): Define.
45553 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45555 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45557 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45558 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45560 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45563 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45564 (__x86_64_raw_data_cache_size_half): Likewise.
45565 (__x86_64_raw_shared_cache_size): Likewise.
45566 (__x86_64_raw_shared_cache_size_half): Likewise.
45568 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45569 (__x86_64_raw_data_cache_size_half): Likewise.
45570 (__x86_64_raw_shared_cache_size): Likewise.
45571 (__x86_64_raw_shared_cache_size_half): Likewise.
45572 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45573 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45574 and __x86_64_raw_shared_cache_size_half. Round
45575 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45576 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45577 to multiple of 256 bytes.
45579 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45583 of inacessible symlinks. Verify result of symlink before returning it.
45584 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45585 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45587 2010-10-28 Erich Ritz <erichritz@gmail.com>
45589 * math/math.h (isinf): Fix typo in comment.
45591 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45593 * po/da.po: Update from translation team.
45595 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45597 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45598 is added to the list.
45600 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45601 Ulrich Drepper <drepper@gmail.com>
45603 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45604 the global list here. Move code to...
45605 (_dl_add_to_namespace_list): ...here. New function.
45606 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45607 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45608 * elf/dl-load.c (lose): Don't remove the element from the list.
45609 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45610 (_dl_map_object): Likewise.
45612 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45615 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45616 into all bytes of SSE register.
45617 Patch by Richard Li <richardpku@gmail.com>.
45619 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45622 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45625 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45627 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45628 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45635 2010-10-22 Andreas Schwab <schwab@redhat.com>
45637 * include/dlfcn.h (__RTLD_SECURE): Define.
45638 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45639 mode & __RTLD_SECURE instead.
45640 (open_path): Rename preloaded parameter to secure.
45641 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45642 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45643 * elf/dl-deps.c (openaux): Likewise.
45644 * elf/rtld.c (struct map_args): Remove is_preloaded.
45645 (map_doit): Don't use it.
45646 (dl_main): Likewise.
45647 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45648 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45650 2010-09-09 Andreas Schwab <schwab@redhat.com>
45652 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45653 (sysd-rules-targets): Remove duplicates.
45654 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45655 rtld-%.$o dependency.
45657 2010-10-18 Andreas Schwab <schwab@redhat.com>
45659 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45660 _dl_map_object do it.
45662 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45664 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45665 fast fma builtins, define the macros in the C99 standard.
45666 (FP_FAST_FMAF): Likewise.
45667 (FP_FAST_FMAL): Likewise.
45668 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45670 * bits/mathdef.h: Update copyright year.
45671 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45673 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45675 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45676 builtins, define the macros in the C99 standard.
45677 (FP_FAST_FMAF): Likewise.
45678 (FP_FAST_FMAL): Likewise.
45679 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45681 (FP_FAST_FMAF): Likewise.
45683 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45686 * math/libm-test.inc (fma_test): Some new testcases.
45687 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45688 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45689 y and infinite z. Do multiplication by C already in long double.
45690 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45692 y and infinite z. Do bitwise or of inexact bit into u.d.
45693 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45694 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45695 * sysdeps/i386/fpu/s_fma.S: Removed.
45696 * sysdeps/i386/fpu/s_fmal.S: Removed.
45698 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45701 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45702 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45703 computation is not scheduled after fetestexcept. Fix value
45704 of minimum denormal long double.
45706 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45709 * math/libm-test.inc (fma_test): Add some more tests.
45710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45713 2010-10-15 Andreas Schwab <schwab@redhat.com>
45715 * scripts/data/localplt-s390-linux-gnu.data: New file.
45716 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45718 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45721 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45722 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45724 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45726 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45728 if one of x and y is very large and the other is subnormal.
45729 * sysdeps/s390/fpu/s_fmaf.c: New file.
45730 * sysdeps/s390/fpu/s_fma.c: New file.
45731 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45732 * sysdeps/powerpc/fpu/s_fma.S: New file.
45733 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45734 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45735 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45737 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45740 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45742 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45743 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45744 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45745 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45746 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45747 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45748 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45750 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45753 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45754 * posix/bug-regex31.input: Add test case.
45756 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45758 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45759 * posix/bug-regex31.input: New file.
45762 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45763 (parse_sub_exp): Fix last change, use postorder.
45765 * posix/bug-regex31.c: New file.
45766 * posix/Makefile: Add rules to build and run bug-regex31.
45768 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45771 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45774 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45775 to have entries in sys_siglist.
45778 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45781 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45784 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45785 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45786 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45787 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45788 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45789 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45790 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45791 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45792 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45793 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45794 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45795 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45796 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45797 * math/ftestexcept.c (fetestexcept): Likewise.
45798 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45799 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45800 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45801 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45802 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45803 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45806 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45809 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45812 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45814 * string/bug-strstr1.c: New file.
45815 * string/Makefile: Add rules to build and run bug-strstr1.
45817 2010-10-05 Eric Blake <eblake@redhat.com>
45820 * string/str-two-way.h (two_way_long_needle): Always clear memory
45821 when skipping input due to the shift table.
45823 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45826 * malloc/mcheck.c: Handle large requests.
45829 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45830 for strncmp and strncasecmp.
45831 * string/stratcliff.c: Add tests for strcmp and strncmp.
45832 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45834 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45836 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45839 2010-09-30 Andreas Jaeger <aj@suse.de>
45841 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45842 (CGROUP_SUPER_MAGIC): Define.
45843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45844 Handle btrfs and cgroup file systems.
45845 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45848 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45850 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45851 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45853 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45856 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45857 trying to locate the ELF header.
45859 2010-09-27 Andreas Schwab <schwab@redhat.com>
45862 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45863 Mask out sign-bit copies when constructing f_fsid.
45865 2010-09-24 Petr Baudis <pasky@suse.cz>
45867 * debug/stack_chk_fail_local.c: Add missing licence exception.
45868 * debug/warning-nop.c: Likewise.
45870 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45872 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45873 implementing getdents64 using getdents syscall, set d_type if
45874 __ASSUME_GETDENTS32_D_TYPE.
45876 2010-09-16 Andreas Schwab <schwab@redhat.com>
45878 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45879 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45881 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45884 * posix/unistd.h: Undo change of feature selection for ftruncate from
45887 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45889 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45892 2010-09-20 Andreas Schwab <schwab@redhat.com>
45894 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45898 2010-09-14 Andreas Schwab <schwab@redhat.com>
45900 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45901 variables after CHECK_SP call.
45902 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45904 2010-09-13 Andreas Schwab <schwab@redhat.com>
45905 Ulrich Drepper <drepper@redhat.com>
45907 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45908 re-relocationg ld.so.
45909 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45910 _dl_init_paths call.
45911 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45914 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45916 * resolv/res_init.c (__res_vinit): Count the default server we added.
45918 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45919 Ulrich Drepper <drepper@redhat.com>
45922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45923 (____longjmp_chk): Use %ebx for saving value across system call.
45926 2010-09-06 Andreas Schwab <schwab@redhat.com>
45928 * manual/Makefile: Don't mix pattern rules with normal rules.
45930 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45932 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45934 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45935 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45936 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45937 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45941 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45944 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45945 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45947 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45949 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45950 * sysdeps/x86_64/addmul_1.S: Likewise.
45951 * sysdeps/x86_64/lshift.S: Likewise.
45952 * sysdeps/x86_64/mul_1.S: Likewise.
45953 * sysdeps/x86_64/rshift.S: Likewise.
45954 * sysdeps/x86_64/sub_n.S: Likewise.
45955 * sysdeps/x86_64/submul_1.S: Likewise.
45957 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45959 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45960 Define __sched_param instead of SCHED_* and sched_param when
45961 <bits/sched.h> is included with __need_schedparam defined.
45962 * bits/sched.h [__need_schedparam]
45963 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45964 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45965 (__defined_schedparam): Define to 1.
45966 (__sched_param): New structure, identical to sched_param.
45967 (__need_schedparam): Undefine.
45969 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45971 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45972 (epoll_create1): Declare.
45974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45976 2010-08-31 Andreas Schwab <schwab@redhat.com>
45979 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45980 shifting retval into place.
45982 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45984 * nis/rpcsvc/nis.h: Update copyright notice.
45985 * nis/rpcsvc/nis.x: Likewise.
45986 * nis/rpcsvc/nis_callback.h: Likewise.
45987 * nis/rpcsvc/nis_callback.x: Likewise.
45988 * nis/rpcsvc/nis_object.x: Likewise.
45989 * nis/rpcsvc/nis_tags.h: Likewise.
45990 * nis/rpcsvc/yp.h: Likewise.
45991 * nis/rpcsvc/yp.x: Likewise.
45992 * nis/rpcsvc/ypupd.h: Likewise.
45993 * nis/yp_xdr.c: Likewise.
45994 * nis/ypupdate_xdr.c: Likewise.
45996 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45997 mainly the body of pmap_getport. Add parameters to specify timeouts.
45998 (pmap_getport): Use __libc_rpc_getport.
45999 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46000 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46001 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46003 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46008 2010-08-27 Roland McGrath <roland@redhat.com>
46010 * sysdeps/i386/i686/multiarch/Makefile
46011 (CFLAGS-varshift.c): New variable.
46013 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46015 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46016 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46018 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46020 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46022 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46024 * sysdeps/x86_64/strlen.S: Unroll the loop.
46025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46026 strlen-sse2 strlen-sse2-bsf.
46027 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46028 __strlen_no_bsf if bit_Slow_BSF is set.
46029 (__strlen_sse42): Removed.
46030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46031 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46033 2010-08-25 Roland McGrath <roland@redhat.com>
46035 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46036 * sysdeps/x86_64/multiarch/varshift.c: New file.
46037 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46038 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46039 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46040 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46042 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46045 strlen-sse2 strlen-sse2-bsf.
46046 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46047 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46048 (__strlen_sse2): Removed.
46049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46052 bit_Slow_BSF for Atom.
46053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46054 (index_Slow_BSF): Define.
46055 (HAS_SLOW_BSF): Define.
46057 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46060 * resolv/res_init.c (__res_vinit): When no server address at all
46061 is given default to loopback.
46063 2010-08-24 Roland McGrath <roland@redhat.com>
46065 * configure.in: Remove config-name.h generation.
46066 * configure: Regenerated.
46067 * config-name.in: File removed.
46068 * scripts/config-uname.sh: New file.
46069 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46070 ($(objdir)config-name.h): New target.
46072 * sunrpc/rpc_parse.h: Avoid nested comment.
46074 2010-08-24 Richard Henderson <rth@redhat.com>
46075 Ulrich Drepper <drepper@redhat.com>
46076 H.J. Lu <hongjiu.lu@intel.com>
46078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46080 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46081 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46082 _mm_alignr_epi8 with _mm_loadu_si128.
46083 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46084 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46085 (__m128i_shift_right): Removed.
46086 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46087 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46088 * sysdeps/x86_64/multiarch/varshift.h: New file.
46089 * sysdeps/x86_64/multiarch/varshift.S: New file.
46091 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46093 * configure.in: Move assembler checks to before sysdep dir checking.
46095 2010-08-20 Petr Baudis <pasky@suse.cz>
46097 * LICENSES: Sync the sunrpc license.
46099 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46101 * sunrpc/auth_des.c: Update copyright notice once again.
46102 * sunrpc/auth_none.c: Likewise.
46103 * sunrpc/auth_unix.c: Likewise.
46104 * sunrpc/authdes_prot.c: Likewise.
46105 * sunrpc/authuxprot.c: Likewise.
46106 * sunrpc/bindrsvprt.c: Likewise.
46107 * sunrpc/clnt_gen.c: Likewise.
46108 * sunrpc/clnt_perr.c: Likewise.
46109 * sunrpc/clnt_raw.c: Likewise.
46110 * sunrpc/clnt_simp.c: Likewise.
46111 * sunrpc/clnt_tcp.c: Likewise.
46112 * sunrpc/clnt_udp.c: Likewise.
46113 * sunrpc/clnt_unix.c: Likewise.
46114 * sunrpc/des_crypt.c: Likewise.
46115 * sunrpc/des_soft.c: Likewise.
46116 * sunrpc/get_myaddr.c: Likewise.
46117 * sunrpc/getrpcport.c: Likewise.
46118 * sunrpc/key_call.c: Likewise.
46119 * sunrpc/key_prot.c: Likewise.
46120 * sunrpc/openchild.c: Likewise.
46121 * sunrpc/pm_getmaps.c: Likewise.
46122 * sunrpc/pm_getport.c: Likewise.
46123 * sunrpc/pmap_clnt.c: Likewise.
46124 * sunrpc/pmap_prot.c: Likewise.
46125 * sunrpc/pmap_prot2.c: Likewise.
46126 * sunrpc/pmap_rmt.c: Likewise.
46127 * sunrpc/rpc/auth.h: Likewise.
46128 * sunrpc/rpc/auth_unix.h: Likewise.
46129 * sunrpc/rpc/clnt.h: Likewise.
46130 * sunrpc/rpc/des_crypt.h: Likewise.
46131 * sunrpc/rpc/key_prot.h: Likewise.
46132 * sunrpc/rpc/netdb.h: Likewise.
46133 * sunrpc/rpc/pmap_clnt.h: Likewise.
46134 * sunrpc/rpc/pmap_prot.h: Likewise.
46135 * sunrpc/rpc/pmap_rmt.h: Likewise.
46136 * sunrpc/rpc/rpc.h: Likewise.
46137 * sunrpc/rpc/rpc_des.h: Likewise.
46138 * sunrpc/rpc/rpc_msg.h: Likewise.
46139 * sunrpc/rpc/svc.h: Likewise.
46140 * sunrpc/rpc/svc_auth.h: Likewise.
46141 * sunrpc/rpc/types.h: Likewise.
46142 * sunrpc/rpc/xdr.h: Likewise.
46143 * sunrpc/rpc_clntout.c: Likewise.
46144 * sunrpc/rpc_cmsg.c: Likewise.
46145 * sunrpc/rpc_common.c: Likewise.
46146 * sunrpc/rpc_cout.c: Likewise.
46147 * sunrpc/rpc_dtable.c: Likewise.
46148 * sunrpc/rpc_hout.c: Likewise.
46149 * sunrpc/rpc_main.c: Likewise.
46150 * sunrpc/rpc_parse.c: Likewise.
46151 * sunrpc/rpc_parse.h: Likewise.
46152 * sunrpc/rpc_prot.c: Likewise.
46153 * sunrpc/rpc_sample.c: Likewise.
46154 * sunrpc/rpc_scan.c: Likewise.
46155 * sunrpc/rpc_scan.h: Likewise.
46156 * sunrpc/rpc_svcout.c: Likewise.
46157 * sunrpc/rpc_tblout.c: Likewise.
46158 * sunrpc/rpc_util.c: Likewise.
46159 * sunrpc/rpc_util.h: Likewise.
46160 * sunrpc/rpcinfo.c: Likewise.
46161 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46162 * sunrpc/rpcsvc/key_prot.x: Likewise.
46163 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46164 * sunrpc/rpcsvc/mount.x: Likewise.
46165 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46166 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46167 * sunrpc/rpcsvc/rex.x: Likewise.
46168 * sunrpc/rpcsvc/rstat.x: Likewise.
46169 * sunrpc/rpcsvc/rusers.x: Likewise.
46170 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46171 * sunrpc/rpcsvc/spray.x: Likewise.
46172 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46173 * sunrpc/rtime.c: Likewise.
46174 * sunrpc/svc.c: Likewise.
46175 * sunrpc/svc_auth.c: Likewise.
46176 * sunrpc/svc_authux.c: Likewise.
46177 * sunrpc/svc_raw.c: Likewise.
46178 * sunrpc/svc_run.c: Likewise.
46179 * sunrpc/svc_simple.c: Likewise.
46180 * sunrpc/svc_tcp.c: Likewise.
46181 * sunrpc/svc_udp.c: Likewise.
46182 * sunrpc/svc_unix.c: Likewise.
46183 * sunrpc/svcauth_des.c: Likewise.
46184 * sunrpc/xcrypt.c: Likewise.
46185 * sunrpc/xdr.c: Likewise.
46186 * sunrpc/xdr_array.c: Likewise.
46187 * sunrpc/xdr_float.c: Likewise.
46188 * sunrpc/xdr_mem.c: Likewise.
46189 * sunrpc/xdr_rec.c: Likewise.
46190 * sunrpc/xdr_ref.c: Likewise.
46191 * sunrpc/xdr_sizeof.c: Likewise.
46192 * sunrpc/xdr_stdio.c: Likewise.
46194 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46197 2010-08-19 Andreas Schwab <schwab@redhat.com>
46199 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46201 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46203 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46204 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46205 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46206 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46207 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46208 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46209 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46210 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46211 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46212 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46213 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46214 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46215 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46216 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46218 2010-07-26 Anton Blanchard <anton@samba.org>
46220 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46221 * malloc/arena.c (heap_trim): Likewise.
46223 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46225 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46228 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46230 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46232 * sysdeps/i386/elf/Makefile: New file.
46234 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46236 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46237 from fanotify_init.
46238 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46241 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46243 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46245 * sysdeps/multiarch/strcmp.S: Likewise.
46247 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46249 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46250 strncase_l-nonascii.
46251 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46252 Add strncase_l-ssse3.
46253 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46254 * sysdeps/x86_64/strcmp.S: Likewise.
46255 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46256 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46257 * sysdeps/x86_64/strncase.S: New file.
46258 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46259 * sysdeps/x86_64/strncase_l.S: New file.
46260 * string/Makefile (strop-tests): Add strncasecmp.
46261 * string/test-strncasecmp.c: New file.
46263 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46266 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46267 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46269 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46271 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46273 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46275 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46276 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46277 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46279 2010-05-01 Alan Modra <amodra@gmail.com>
46281 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46282 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46283 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46284 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46285 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46286 tidying. Don't tail-call __sigjmp_save for static lib.
46287 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46289 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46290 (CALL_MCOUNT): Add eh info, and nop after bl.
46291 (TAIL_CALL_SYSCALL_ERROR): New macro.
46292 (PSEUDO_RET): Use it.
46293 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46294 Correct save location of integer regs and cr.
46295 (_dl_profile_resolve): Correct cr save location. Delete nops
46296 after bl when SHARED. Reduce cfi size a little by better
46297 placement of cfi directives.
46298 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46299 make a stack frame. Instead use parm save area as a temp.
46300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46301 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46303 Don't make a stack frame for parent, use parm save area.
46304 Increase child stack frame to 112 bytes. Don't save unused reg,
46305 and adjust reg usage. Set up cfi on error recovery and
46306 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46308 (__makecontext): Add dummy nop after jump to exit.
46309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46310 Use correct parm save area and cr save, reduce stack frame.
46311 Correct cfi for possible PSEUDO_RET frame setup.
46312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46313 Branch to local label emitted by PSEUDO_RET rather than
46316 2010-08-12 Andreas Schwab <schwab@redhat.com>
46319 * locale/programs/locale.c (print_assignment): New function.
46320 (show_locale_vars): Use it.
46322 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46324 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46326 (struct statfs64): Likewise.
46327 (_STATFS_F_FLAGS): Define.
46328 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46329 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46330 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46331 (ST_VALID): Define locally.
46332 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46333 __statvfs_getflags, use the provided value.
46334 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46335 __ASSUME_STATFS_F_FLAGS.
46337 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46339 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46340 Add sys/fanotify.h.
46341 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46342 fanotify_mask for GLIBC_2.13.
46343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46344 fanotify_init and fanotify_mark.
46345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46346 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46348 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46350 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46351 prlimit64 for GLIBC_2.13.
46352 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46357 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46358 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46360 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46362 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46365 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46366 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46368 * nss/Makefile: Add rules to build and run tst-nss-test1.
46369 * shlib-versions: Add entry for libnss_test1.
46370 * nss/nss_test1.c: New file.
46371 * nss/tst-nss-test1.c: New file.
46373 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46374 (__nss_configure_lookup): Set appropriate entry in
46375 __nss_configure_lookup to true.
46376 * nss/nsswitch.h: Define enum with indeces of databases in
46377 databases and __nss_database_custom arrays. Declare
46378 __nss_database_custom.
46379 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46380 to avoid using nscd when custom rules are installed.
46381 * nss/getXXbyYY_r.c: Likewise.
46382 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46384 * nss/nss_files/files-parse.c: Whitespace fixes.
46386 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46389 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46390 * posix/fnmatch_loop.c: Likewise.
46392 2010-07-17 Andi Kleen <ak@linux.intel.com>
46394 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46395 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46396 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46397 * Versions.def [GLIBC_2.13]: Add.
46399 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46402 Also fail if tpwd after pwuid call is NULL.
46404 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46406 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46407 when converting to ms.
46409 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46411 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46412 EOPNOTSUPP errors with ENOTTY.
46413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46414 EOPNOTSUPP errors with ENOTTY.
46416 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46418 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46419 Add strcasecmp_l-ssse3.
46420 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46422 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46423 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46424 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46426 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46428 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46430 * string/Makefile (strop-tests): Add strcasecmp.
46431 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46432 strcasecmp_l-nonascii.
46433 (gen-as-const-headers): Add locale-defines.sym.
46434 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46435 * sysdeps/x86_64/strcasecmp.S: New file.
46436 * sysdeps/x86_64/strcasecmp_l.S: New file.
46437 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46438 * sysdeps/x86_64/locale-defines.sym: New file.
46439 * string/test-strcasecmp.c: New file.
46441 * string/test-strcasestr.c: Test both ends of the range of characters.
46442 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46444 2010-07-29 Roland McGrath <roland@redhat.com>
46447 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46449 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46451 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46454 2010-07-27 Andreas Schwab <schwab@redhat.com>
46456 * manual/memory.texi (Malloc Tunable Parameters): Document
46459 2010-07-26 Roland McGrath <roland@redhat.com>
46462 * configure.in (-fgnu89-inline check): Set and substitute
46463 gnu89_inline, not libc_cv_gnu89_inline.
46464 * configure: Regenerated.
46465 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46467 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46469 * string/test-strnlen.c: New file.
46470 * string/Makefile (strop-tests): Add strnlen.
46471 * string/tester.c (test_strnlen): Add a few more test cases.
46472 * string/tst-strlen.c: Better error reporting.
46474 * sysdeps/x86_64/strnlen.S: New file.
46476 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46478 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46479 lower-latency instructions.
46481 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46483 * string/test-strcasestr.c: New file.
46484 * string/test-strstr.c: New file.
46485 * string/Makefile (strop-tests): Add strstr and strcasestr.
46486 * string/str-two-way.h: Don't undefine MAX.
46487 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46489 2010-07-21 Andreas Schwab <schwab@redhat.com>
46491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46492 strcasestr-nonascii.
46493 (CFLAGS-strcasestr-nonascii.c): Define.
46494 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46496 Remove unused attribute.
46498 2010-07-20 Roland McGrath <roland@redhat.com>
46500 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46501 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46502 ld.so.cache was broken. With it, there is no way to disable dsocaps
46503 like LD_HWCAP_MASK can disable hwcaps.
46505 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46507 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46509 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46511 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46512 call in strcasestr.
46513 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46514 __strcasestr_sse42_nonascii.
46515 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46516 strcasestr-nonascii.c.
46517 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46519 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46522 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46523 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46524 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46526 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46528 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46531 2010-07-06 Andreas Schwab <schwab@redhat.com>
46534 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46537 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46539 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46540 _PC_PIPE_BUF using F_GETPIPE_SZ.
46542 2010-07-05 Roland McGrath <roland@redhat.com>
46544 * manual/arith.texi (Rounding Functions): Fix rint description
46545 implicit in round description.
46547 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46549 * elf/Makefile: Fix linking for a few tests to make recent linker
46552 2010-06-30 Andreas Schwab <schwab@redhat.com>
46554 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46555 $(common-objpfx)libc_nonshared.a.
46557 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46559 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46560 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46561 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46562 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46563 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46565 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46566 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46581 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46582 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46583 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46584 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46585 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46586 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46587 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46588 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46589 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46590 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46591 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46592 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46608 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46610 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46611 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46612 * string/memmove.c (memmove): Renamed to ...
46613 (MEMMOVE): ...this. Default to memmove.
46614 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46615 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46618 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46619 mempcpy-ssse3-back memmove-ssse3-back.
46620 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46623 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46624 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46625 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46626 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46627 * sysdeps/x86_64/multiarch/memmove.c: New file.
46628 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46629 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46630 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46631 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46632 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46635 (index_Fast_Copy_Backward): Define.
46636 (HAS_ARCH_FEATURE): Define.
46637 (HAS_FAST_REP_STRING): Define.
46638 (HAS_FAST_COPY_BACKWARD): Define.
46640 2010-06-21 Andreas Schwab <schwab@redhat.com>
46642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46643 Restore proper fallback handling.
46645 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46648 * posix/group_member.c (__group_member): Correct checking loop.
46650 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46651 OOM in getpwuid_r correctly. Return error number when the caller
46652 should return, otherwise -1.
46653 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46654 call returning > 0 value.
46655 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46657 2010-06-07 Andreas Schwab <schwab@redhat.com>
46659 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46660 libc_nonshared.a from targets in modules-names.
46662 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46664 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46667 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46669 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46670 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46672 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46674 2010-06-02 Andreas Schwab <schwab@redhat.com>
46676 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46678 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46687 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46689 2010-06-14 Roland McGrath <roland@redhat.com>
46691 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46693 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46695 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46696 __REDIRECT followed by __THROW.
46697 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46698 * posix/getopt.h (getopt): Likewise.
46700 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46702 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46703 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46704 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46706 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46707 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46709 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46713 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46717 Properly check family and model.
46719 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46723 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46725 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46727 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46729 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46732 2010-05-19 Andreas Schwab <schwab@redhat.com>
46734 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46737 2010-05-21 Andreas Schwab <schwab@redhat.com>
46739 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46740 and internal_recvmmsg.
46741 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46742 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46743 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46744 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46746 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46747 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46748 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46750 2010-05-20 Andreas Schwab <schwab@redhat.com>
46752 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46754 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46756 POWER7 optimizations.
46757 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46758 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46760 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46762 * version.h: Update for 2.13 development version.
46764 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46766 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46767 exceptions. Return 0.
46769 2010-05-07 Roland McGrath <roland@redhat.com>
46771 * elf/ldconfig.c (main): Add a const.
46773 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46775 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46776 (args_options): Add no-idn option.
46777 (ahosts_keys_int): Add idn_flags to ai_flags.
46778 (parse_option): Handle 'i' option to clear idn_flags.
46780 * malloc/malloc.c (_int_free): Possible race in the most recently
46781 added check. Only act on the data if no current modification
46784 See ChangeLog.17 for earlier changes.