1 2014-06-23 Will Newton <will.newton@linaro.org>
3 * elf/dl-lookup.c (undefined_msg): Remove variable.
4 (_dl_lookup_symbol_x): Replace undefined_msg with string
7 * elf/dl-lookup.c (do_lookup_unique): New function.
8 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9 to a separate function.
11 2014-06-23 Andreas Schwab <schwab@suse.de>
14 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15 before reading the next line.
17 2014-06-23 Will Newton <will.newton@linaro.org>
19 * test-skeleton.c (signal_handler): Use printf and %m
20 rather than perror. Use printf rather than fprintf to
21 stderr. Use puts rather than fputs to stderr.
24 2014-06-22 Ludovic Courtès <ludo@gnu.org>
26 * nscd/nscd.c (thread_info_t): Remove typedef.
27 (thread_info): Remove variable.
29 2014-06-21 Allan McRae <allan@archlinux.org>
31 * NEWS: Mention CVE-2014-4043.
33 2014-06-20 Roland McGrath <roland@hack.frob.com>
35 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36 * nptl/smp.h: ... here.
38 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
40 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
45 * nptl/allocatestack.c: Include <stack-aliasing.h>.
46 * nptl/stack-aliasing.h: New file.
47 * sysdeps/i386/i686/stack-aliasing.h: New file.
48 * sysdeps/i386/i686/nptl/Makefile: File removed.
49 * sysdeps/x86_64/stack-aliasing.h: New file.
50 * sysdeps/x86_64/nptl/Makefile
51 (CFLAGS-pthread_create.c): Variable removed.
53 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
54 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
56 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
57 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
60 2014-06-21 Joseph Myers <joseph@codesourcery.com>
62 * sysdeps/unix/sysv/linux/arm/kernel-features.h
63 (__ASSUME_SIGFRAME_V2): Remove macro.
64 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
65 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
66 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
67 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
68 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
69 Declare as function. Remove conditional macro definitions.
70 (__default_rt_sa_restorer): Likewise.
71 (__default_sa_restorer_v1): Remove declaration.
72 (__default_sa_restorer_v2): Likewise.
73 (__default_rt_sa_restorer_v1): Likewise.
74 (__default_rt_sa_restorer_v2): Likewise.
75 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
76 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
77 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
79 2014-06-20 Roland McGrath <roland@hack.frob.com>
81 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
82 (libpthread-routines): Add sysdep.
83 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
84 * sysdeps/unix/sysv/linux/sparc/Versions
85 (libpthread: GLIBC_2.3.3): New version set.
86 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
87 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
88 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
89 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
90 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
91 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
93 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
94 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
95 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
96 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
97 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
98 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
99 * sysdeps/sparc/nptl/sem_init.c: ... here.
100 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
101 * sysdeps/sparc/nptl/sem_post.c: ... here.
102 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
103 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
104 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
105 * sysdeps/sparc/nptl/sem_wait.c: ... here.
106 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
107 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
108 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
109 (libpthread-routines): Add cpu_relax.
110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
112 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
113 (librt: GLIBC_2.3.3): New version set.
114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
115 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
116 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
117 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
120 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
123 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
124 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
125 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
126 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
127 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
128 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
129 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
130 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
131 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
134 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
142 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
154 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
157 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
163 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
165 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
168 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
170 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
172 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
174 2014-06-20 Joseph Myers <joseph@codesourcery.com>
176 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
177 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
178 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
179 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
180 * nscd/nscd.c: Likewise.
181 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
182 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
183 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
184 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
186 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
188 (init_mq_netlink): Remove conditional have_sock_cloexec
189 definitions. Remove code conditional on have_sock_cloexec < 0.
190 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
191 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
192 * sysdeps/unix/sysv/linux/opensock.c: Do not include
194 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
195 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
197 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
200 Add tests for memset_chk and memset.
202 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
205 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
208 * elf/tst-dl-iter-static.c: New file.
209 * elf/Makefile (tests-static): Add tst-dl-iter-static.
211 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
214 2014-06-20 Joseph Myers <joseph@codesourcery.com>
216 * sysdeps/unix/sysv/linux/kernel-features.h
217 (__ASSUME_F_GETOWN_EX): Remove macro.
218 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
220 (miss_F_GETOWN_EX): Remove variable or macro.
221 (do_fcntl): Do not check miss_F_GETOWN_EX.
222 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
227 [!__ASSUME_AT_RANDOM]: Remove conditional code.
228 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
230 * sysdeps/unix/sysv/linux/kernel-features.h
231 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
232 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
233 [ADJ_OFFSET_SS_READ]: Make code unconditional.
234 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
236 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
239 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
240 Fix calculation of the symbol's value.
241 * sysdeps/arm/tst-armtlsdescloc.c: New file.
242 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
243 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
244 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
245 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
246 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
247 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
248 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
249 (modules-names): Add `tst-armtlsdescmod',
250 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
251 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
252 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
253 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
254 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
255 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
256 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
257 ($(objpfx)tst-armtlsdescloc): New dependency.
258 ($(objpfx)tst-armtlsdescextnow): Likewise.
259 ($(objpfx)tst-armtlsdescextlazy): Likewise.
260 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
262 * sysdeps/arm/configure: Regenerate.
264 2014-06-20 Joseph Myers <joseph@codesourcery.com>
266 * include/fcntl.h (__atfct_seterrno): Remove prototype.
267 (__atfct_seterrno_2): Likewise.
268 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
270 (__ASSUME_ATFCTS): Do not undefine and redefine.
271 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
272 (__have_atfcts): Remove conditional definition.
273 (__fxstatat([__NR_fstatat64]: Make code unconditional.
274 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
275 unreachable if [__ASSUME_ATFCTS].
276 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
277 not undefine and redefine.
278 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
280 (faccessat) [__NR_faccessat]: Make code unconditional.
281 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
282 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
284 (fchmodat) [__NR_fchmodat]: Make code unconditional.
285 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
288 (fchownat) [__NR_fchownat]: Make code unconditional.
289 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
290 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
292 (futimesat) [__NR_futimesat]: Make code unconditional.
293 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
294 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
296 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
297 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
298 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
300 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
301 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
302 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
303 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
305 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
306 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
307 * sysdeps/unix/sysv/linux/linkat.c: Do not include
309 (linkat) [__NR_linkat]: Make code unconditional.
310 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
311 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
312 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
314 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
315 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
318 (mkdirat) [__NR_mkdirat]: Make code unconditional.
319 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/openat.c: Do not include
322 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
323 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
324 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
325 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
326 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
327 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
329 (readlinkat) [__NR_readlinkat]: Make code unconditional.
330 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
331 result of INLINE_SYSCALL directly, not via int variable.
332 * sysdeps/unix/sysv/linux/renameat.c: Do not include
334 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
335 (renameat) [__NR_renameat]: Make code unconditional.
336 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
337 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
338 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
339 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
341 (__ASSUME_ATFCTS): Do not undefine and redefine.
342 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
344 (symlinkat) [__NR_symlinkat]: Make code unconditional.
345 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
346 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
348 (unlinkat) [__NR_unlinkat]: Make code unconditional.
349 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
350 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
351 (__ASSUME_ATFCTS): Do not undefine and redefine.
352 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
354 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
355 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
356 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
358 (__xmknodat) [__NR_mknodat]: Make code unconditional.
359 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
361 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
363 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
365 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
368 * posix/regcomp.c (parse_reg_exp): Deallocate partially
369 constructed tree before returning error.
370 * posix/bug-regexp36.c: Expand test case.
372 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
375 * math/libm-test.inc (scalbln_test_date):
376 Add errno expectations.
377 * math/w_scalblnf.c: New File.
378 Add wrapper which checks for setting errno to ERANGE.
379 Add weak_alias for corresponding scalbln function.
380 * math/w_scalbln.c: Likewise.
381 * math/w_scalblnl.c: Likewise.
382 * math/Makefile (libm-calls): Add w_scalbln.
383 * sysdeps/ieee754/flt-32/s_scalblnf.c:
384 Remove weak_alias for corresponding scalbln function.
385 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
387 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
389 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
390 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
391 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
392 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
393 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
394 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
395 Remove long_double_symbol for scalblnl function in libm, libc.
396 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
397 Add wrapper which checks for setting errno to ERANGE.
398 Add long_double_symbol for scalblnl function in libm, libc.
399 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
400 Remove long_double_symbol for scalblnl in libm.
401 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
402 Add wrapper which checks for setting errno to ERANGE.
403 Add long_double_symbol for scalblnl function in libm.
404 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
405 Do not use wrapper because of own implementation.
407 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
409 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
410 3 bytes for __pad1 for x32.
411 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
413 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
414 H.J. Lu <hongjiu.lu@intel.com>
416 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
417 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
418 * sysdeps/x86_64/multiarch/memset.S: Likewise.
419 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
420 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
422 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
425 * posix/regcomp.c (parse_expression): Deallocate partially
426 constructed tree before returning error.
427 * posix/Makefile.c (tests): Add bug-regex36.
428 (generated): Add bug-regex36.mtrace.
429 (tests-special): Add $(objpfx)bug-regex36-mem.out
430 (bug-regex36-ENV): New variable.
431 ($(objpfx)bug-regex36-mem.out): New rule.
432 * posix/bug-regex36.c: New file.
434 2014-06-19 Will Newton <will.newton@linaro.org>
436 * malloc/malloc.c (systrim): If extra is zero then return
439 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
441 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
443 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
445 * sysdeps/aarch64/strchr.S: New file.
447 2014-06-18 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
451 from arguments -2 or below.
452 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
453 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
455 2014-06-18 Andreas Schwab <schwab@suse.de>
458 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
459 of a bracket expr not to run off the end of the string.
460 * posix/Makefile (tests): Add tst-fnmatch3.
461 * posix/tst-fnmatch3.c: New file.
463 2014-06-18 Joseph Myers <joseph@codesourcery.com>
465 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
466 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
467 [$(cross-compiling) = no]: Likewise.
468 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
469 [$(cross-compiling) = no]: Likewise.
471 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
474 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
475 double, adjusted for any remainder from the high double.
476 * math/libm-test.inc (nearbyint): Add tests.
479 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
481 * nptl/sysdeps/powerpc/Makefile: Moved ...
482 * sysdeps/powerpc/nptl/Makefile: ... here.
483 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
484 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
485 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
486 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
487 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
488 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
489 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
490 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
491 * nptl/sysdeps/powerpc/tls.h: Moved ...
492 * sysdeps/powerpc/nptl/tls.h: ... here.
494 2014-06-16 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
498 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
499 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
500 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
501 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
502 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
503 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
504 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
505 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
507 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
509 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
511 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
513 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
516 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
519 2014-06-16 Florian Weimer <fweimer@redhat.com>
522 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
523 non-executed part of the test.
525 2014-06-16 Andreas Schwab <schwab@suse.de>
527 * string/bits/string2.h (strdup, strndup): Update feature guard.
529 2014-06-14 David S. Miller <davem@davemloft.net>
531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
533 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
535 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
536 that was previously under [RESET_PID].
537 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
539 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
540 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
541 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
542 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
543 (__libc_vfork): New strong alias.
544 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
546 2014-06-14 Andi Kleen <ak@linux.intel.com>
548 * sysdeps/generic/elide.h: New file.
550 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
552 * Makefile (installed-headers): Adjust path of pthread.h header.
554 2014-06-13 Roland McGrath <roland@hack.frob.com>
556 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
557 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
558 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
559 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
561 * nptl/sysdeps/s390/Makefile: Moved ...
562 * sysdeps/s390/nptl/Makefile: ... here.
563 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
564 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
565 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
566 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
567 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
568 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
569 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
570 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
571 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
572 * sysdeps/s390/nptl/pthreaddef.h: ... here.
573 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
574 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
575 * nptl/sysdeps/s390/tls.h: Moved ...
576 * sysdeps/s390/nptl/tls.h: ... here.
578 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
579 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
581 2014-06-13 David S. Miller <davem@davemloft.net>
583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
586 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
590 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
591 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
592 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
593 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
594 Remove RESET_PID cpp guards.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
596 Remove RESET_PID cpp guards.
597 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
599 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
601 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
604 2014-06-13 Andi Kleen <ak@linux.intel.com>
606 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
607 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
608 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
609 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
610 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
611 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
612 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
613 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
614 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
615 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
617 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
618 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
619 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
620 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
621 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
622 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
623 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
624 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
625 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
627 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
628 (pthread_rwlock_rdlock): Add elision.
629 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
630 (pthread_rwlock_wrlock): Add elision.
631 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
632 (pthread_rwlock_trywrlock): Add elision.
633 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
634 (pthread_rwlock_tryrdlock): Add elision.
635 * nptl/pthread_rwlock_unlock.c: Include elide.h.
636 (pthread_rwlock_tryrdlock): Add elision unlock.
637 * nptl/sysdeps/pthread/pthread.h:
638 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
639 (PTHREAD_RWLOCK_INITIALIZER,
640 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
641 Handle new elision field.
642 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
643 * sysdeps/arm/nptl/bits/pthreadtypes.h
644 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
645 * sysdeps/sh/nptl/bits/pthreadtypes.h
646 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
647 * sysdeps/tile/nptl/bits/pthreadtypes.h
648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
649 * sysdeps/a/nptl/bits/pthreadtypes.h
650 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
651 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
652 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
653 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
654 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
655 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
656 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
657 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
658 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
659 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
660 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
661 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
662 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
663 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
664 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
665 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
666 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
667 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
668 (elision_init): Set try_xbegin to zero when no RTM.
669 * sysdeps/x86/nptl/bits/pthreadtypes.h
670 (pthread_rwlock_t): Change __pad1 to __rwelision.
671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
673 2014-06-13 Andi Kleen <ak@linux.intel.com>
675 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
676 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
677 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
678 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
680 2014-06-13 Meador Inge <meadori@codesourcery.com>
683 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
684 that the cached result has been set before returning it.
686 2014-06-12 Roland McGrath <roland@hack.frob.com>
688 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
689 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
690 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
691 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
692 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
693 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
695 * nptl/sysdeps/sparc/Makefile: Moved ...
696 * sysdeps/sparc/nptl/Makefile: ... here.
697 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
698 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
699 * nptl/sysdeps/sparc/tls.h: Moved ...
700 * sysdeps/sparc/nptl/tls.h: ... here.
701 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
702 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
703 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
704 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
705 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
706 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
707 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
708 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
709 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
710 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
711 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
712 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
713 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
714 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
715 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
716 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
717 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
720 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
721 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
723 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
724 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
726 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
727 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
730 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
732 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
733 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
735 * sysdeps/pthread/posix-timer.h: Include <list.h>.
736 (struct list_links): Type removed.
737 (struct thread_node, struct timer_node): Replace struct list_links
738 with struct list_head.
739 (list_unlink_ip): Likewise.
740 * sysdeps/pthread/timer_routines.c
741 (timer_free_list, thread_free_list, thread_active_list): Likewise.
742 (list_append, list_insbefore): Likewise.
743 (list_init): Function removed.
744 (thread_init, init_module): Use INIT_LIST_HEAD instead.
745 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
746 * sysdeps/pthread/Makefile: ... here, new file.
748 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
749 * sysdeps/nptl/Implies: ... here.
750 * sysdeps/unix/sysv/linux/Implies: Add nptl.
751 * nptl/sysdeps/pthread/list.h: Moved ...
752 * include/list.h: ... here.
753 * nptl/sysdeps/pthread/createthread.c: Moved ...
754 * nptl/createthread.c: ... here.
755 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
756 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
757 * nptl/pt-longjmp.c: ... here.
758 * nptl/sysdeps/pthread/Makefile: Moved ...
759 * sysdeps/nptl/Makefile: ... here.
760 * nptl/sysdeps/pthread/Subdirs: Moved ...
761 * sysdeps/nptl/Subdirs: ... here.
762 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
763 * sysdeps/nptl/aio_misc.h: ... here.
764 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
765 * sysdeps/nptl/bits/libc-lock.h: ... here.
766 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
767 * sysdeps/nptl/bits/libc-lockP.h: ... here.
768 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
769 * sysdeps/nptl/bits/stdio-lock.h: ... here.
770 * nptl/sysdeps/pthread/configure: Moved ...
771 * sysdeps/nptl/configure: ... here.
772 * nptl/sysdeps/pthread/configure.ac: Moved ...
773 * sysdeps/nptl/configure.ac: ... here.
774 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
775 * sysdeps/nptl/gai_misc.h: ... here.
776 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
777 * sysdeps/nptl/librt-cancellation.c: ... here.
778 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
779 * sysdeps/nptl/malloc-machine.h: ... here.
780 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
781 * sysdeps/nptl/pthread-functions.h: ... here.
782 * nptl/sysdeps/pthread/pthread.h: Moved ...
783 * sysdeps/nptl/pthread.h: ... here.
784 * nptl/sysdeps/pthread/setxid.h: Moved ...
785 * sysdeps/nptl/setxid.h: ... here.
786 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
787 * sysdeps/nptl/sigfillset.c: ... here.
788 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
789 * sysdeps/nptl/tcb-offsets.h: ... here.
790 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
791 * sysdeps/nptl/tst-mqueue8x.c: ... here.
792 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
793 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
794 * nptl/sysdeps/pthread/allocalim.h: Moved ...
795 * sysdeps/pthread/allocalim.h: ... here.
796 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
797 * sysdeps/pthread/bits/sigthread.h: ... here.
798 * nptl/sysdeps/pthread/flockfile.c: Moved ...
799 * sysdeps/pthread/flockfile.c: ... here.
800 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
801 * sysdeps/pthread/ftrylockfile.c: ... here.
802 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
803 * sysdeps/pthread/funlockfile.c: ... here.
804 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
805 * sysdeps/pthread/posix-timer.h: ... here.
806 * nptl/sysdeps/pthread/timer_create.c: Moved ...
807 * sysdeps/pthread/timer_create.c: ... here.
808 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
809 * sysdeps/pthread/timer_delete.c: ... here.
810 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
811 * sysdeps/pthread/timer_getoverr.c: ... here.
812 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
813 * sysdeps/pthread/timer_gettime.c: ... here.
814 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
815 * sysdeps/pthread/timer_routines.c: ... here.
816 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
817 * sysdeps/pthread/timer_settime.c: ... here.
818 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
819 * sysdeps/pthread/tst-timer.c: ... here.
820 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
821 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
823 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
824 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
826 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
827 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
828 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
829 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
830 Update #include target.
831 * nptl/sysdeps/i386/i686/Makefile: Moved ...
832 * sysdeps/i386/i686/nptl/Makefile: ... here.
833 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
834 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
835 Update #include target.
836 * nptl/sysdeps/i386/i686/tls.h: Moved ...
837 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
838 * nptl/sysdeps/i386/Makefile: Moved ...
839 * sysdeps/i386/nptl/Makefile: ... here.
840 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
841 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
842 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
843 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
844 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
845 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
846 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
847 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
848 * sysdeps/i386/nptl/pthreaddef.h: ... here.
849 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
850 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
851 * nptl/sysdeps/i386/tls.h: Moved ...
852 * sysdeps/i386/nptl/tls.h: ... here.
854 * sysdeps/sh/Makefile [$(subdir) = csu]
855 (gen-as-const-headers): Add tcb-offsets.sym.
856 * nptl/sysdeps/sh/Makefile: File removed.
857 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
858 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
859 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
860 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
861 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
862 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
863 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
864 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
865 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
866 * sysdeps/sh/nptl/pthreaddef.h: ... here.
867 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
868 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
869 * nptl/sysdeps/sh/tls.h: Moved ...
870 * sysdeps/sh/nptl/tls.h: ... here.
871 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
872 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
873 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
874 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
875 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
876 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
877 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
878 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
879 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
880 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
881 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
882 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
883 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
884 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
885 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
886 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
887 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
888 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
889 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
890 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
891 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
892 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
893 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
894 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
895 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
897 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
900 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
901 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
902 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
903 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
904 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
905 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
906 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
907 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
908 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
909 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
910 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
911 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
912 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
913 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
914 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
915 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
916 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
917 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
918 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
920 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
922 * posix/spawn_faction_addopen.c: Include string.h.
924 2014-06-11 Roland McGrath <roland@hack.frob.com>
926 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
927 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
928 * nptl/sysdeps/x86_64/Makefile: Moved ...
929 * sysdeps/x86_64/nptl/Makefile: ... here.
930 * nptl/sysdeps/x86_64/configure: Moved ...
931 * sysdeps/x86_64/nptl/configure: ... here.
932 * nptl/sysdeps/x86_64/configure.ac: Moved ...
933 * sysdeps/x86_64/nptl/configure.ac: ... here.
934 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
935 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
936 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
937 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
938 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
939 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
940 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
941 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
942 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
943 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
944 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
945 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
946 * nptl/sysdeps/x86_64/tls.h: Moved ...
947 * sysdeps/x86_64/nptl/tls.h: ... here.
948 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
949 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
950 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
951 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
953 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
955 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
959 2014-06-11 Joseph Myers <joseph@codesourcery.com>
961 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
963 [POSIX] (off_t): Likewise.
964 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
965 [POSIX] (S_ISBLK): Require macro.
966 [POSIX] (S_ISCHR): Likewise.
967 [POSIX] (S_ISDIR): Likewise.
968 [POSIX] (S_ISFIFO): Likewise.
969 [POSIX] (S_ISREG): Likewise.
970 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
972 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
974 [POSIX] (time_t): Likewise.
975 [POSIX] (timer_t): Likewise.
977 2014-06-11 Florian Weimer <fweimer@redhat.com>
980 * posix/spawn_int.h (struct __spawn_action): Make the path string
981 non-const to support deallocation.
982 * posix/spawn_faction_addopen.c
983 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
984 * posix/spawn_faction_destroy.c
985 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
986 path in all spawn_do_open actions.
987 * posix/tst-spawn.c (do_test): Exercise the copy operation in
988 posix_spawn_file_actions_addopen.
990 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
992 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
993 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
994 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
995 conditional code always true.
996 (__libc_vfork): New alias.
998 2014-06-11 Roland McGrath <roland@hack.frob.com>
1000 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1001 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1003 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1005 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1006 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1008 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1009 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1011 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1012 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1014 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1016 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1017 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1018 multiarch strcmp for PPC64.
1019 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1020 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1022 multiarch optimizations.
1023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1024 (__libc_ifunc_impl_list): Likewise.
1026 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1028 * benchtests/scripts/validate_benchout.py: New script.
1029 * benchtests/Makefile (bench-func): Call it.
1030 * benchtests/scripts/benchout.schema.json: New file.
1032 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1034 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1035 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1036 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1037 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1038 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1039 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1040 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1041 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1042 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1043 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1044 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1045 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1046 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1047 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1048 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1049 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1154 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1155 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1159 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1162 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1163 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1164 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1165 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1166 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1168 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1169 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1170 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1171 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1172 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1173 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1175 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1178 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1179 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1180 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1183 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1187 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1188 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1189 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1191 2014-06-10 Wilco <wdijkstr@arm.com>
1193 * math/test-fenv-return.c: New file.
1194 * math/Makefile: Add new test test-fenv-return.
1196 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1199 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1201 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1202 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1203 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1204 0.0L for an argument of 1.0L.
1205 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1207 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1208 value when x - 1 is zero.
1209 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1210 * sysdeps/i386/fpu/libm-test-ulps: Update.
1211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1213 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1216 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1218 2014-06-09 Roland McGrath <roland@hack.frob.com>
1220 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1221 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1223 2014-06-09 Roland McGrath <roland@hack.frob.com>
1225 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1226 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1228 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1229 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1231 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1232 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1234 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1235 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1237 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1238 if not already defined.
1239 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1240 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1241 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1242 (TLS_INIT_TP): Use it.
1243 (TLS_DEFINE_INIT_TP): New macro.
1244 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1246 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1248 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1250 [POSIX] (IXANY): Likewise.
1251 [POSIX] (OLCUC): Likewise.
1252 [POSIX || POSIX2008] (CBAUD): Do not allow.
1253 [POSIX || POSIX2008] (DEFECHO): Likewise.
1254 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1255 [POSIX || POSIX2008] (ECHOKE): Likewise.
1256 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1257 [POSIX || POSIX2008] (EXTA): Likewise.
1258 [POSIX || POSIX2008] (EXTB): Likewise.
1259 [POSIX || POSIX2008] (FLUSHO): Likewise.
1260 [POSIX || POSIX2008] (LOBLK): Likewise.
1261 [POSIX || POSIX2008] (PENDIN): Likewise.
1262 [POSIX || POSIX2008] (SWTCH): Likewise.
1263 [POSIX || POSIX2008] (VDISCARD): Likewise.
1264 [POSIX || POSIX2008] (VDSUSP): Likewise.
1265 [POSIX || POSIX2008] (VLNEXT): Likewise.
1266 [POSIX || POSIX2008] (VREPRINT): Likewise.
1267 [POSIX || POSIX2008] (VSTATUS): Likewise.
1268 [POSIX || POSIX2008] (VWERASE): Likewise.
1269 (B*): Change to B[0123456789]*.
1270 * conform/data/time.h-data [POSIX || UNIX98]
1271 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1272 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1273 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1274 [POSIX] (tm_*): Do not allow.
1276 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1278 * Makefile (install): Don't set LANGUAGE.
1279 * Makefile.in (install): Likewise.
1280 * assert/Makefile (test-assert-ENV): Remove variable.
1281 (test-assert-perr-ENV): Likewise.
1282 * elf/Makefile (neededtest4-ENV): Likewise.
1283 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1284 [$(cross-compiling) = no]: Don't set LANGUAGE.
1285 * io/ftwtest-sh (LANG): Remove variable.
1286 * libio/Makefile (tst-widetext-ENV): Likewise.
1287 * manual/install.texi (Running make install): Don't refer to
1288 environment settings for make install.
1289 * INSTALL: Regenerated.
1290 * nptl/tst-tls6.sh: Don't set LANG.
1291 * posix/globtest.sh (LANG): Remove variable.
1292 * string/Makefile (tester-ENV): Likewise.
1293 (inl-tester-ENV): Likewise.
1294 (noinl-tester-ENV): Likewise.
1295 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1296 [$(cross-compiling) = no]: Don't set LANGUAGE.
1297 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1298 without explicit environment settings.
1300 2014-06-06 Roland McGrath <roland@hack.frob.com>
1302 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1303 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1304 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1305 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1307 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1309 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1310 other files in the crypt directory.
1311 * crypt/crypt.c: Remove duplicate includes.
1312 * crypt/crypt-entry.c: Likewise.
1313 * crypt/crypt_util.c: Likewise.
1315 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1317 * Makeconfig (run-program-env): New variable.
1318 (run-program-prefix-before-env): Likewise.
1319 (run-program-prefix-after-env): Likewise.
1320 (run-program-prefix): Define in terms of new variables.
1321 (built-program-cmd-before-env): New variable.
1322 (built-program-cmd-after-env): Likewise.
1323 (built-program-cmd): Define in terms of new variables.
1324 (test-program-prefix-before-env): New variable.
1325 (test-program-prefix-after-env): Likewise.
1326 (test-program-prefix): Define in terms of new variables.
1327 (test-program-cmd-before-env): New variable.
1328 (test-program-cmd-after-env): Likewise.
1329 (test-program-cmd): Define in terms of new variables.
1330 * Rules (make-test-out): Use $(run-program-env).
1331 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1332 (help): Do not mention environment variables. Mention
1333 --timeoutfactor option.
1334 (timeoutfactor): New variable.
1335 (blacklist_exports): Remove function.
1336 (exports): Remove variable.
1337 (command): Do not include ${exports}.
1338 * manual/install.texi (Configuring and compiling): Do not mention
1339 test wrappers preserving environment variables. Mention that last
1340 assignment to a variable must take precedence.
1341 * INSTALL: Regenerated.
1342 * benchtests/Makefile (run-bench): Use $(run-program-env).
1343 * catgets/Makefile ($(objpfx)test1.cat): Use
1344 $(built-program-cmd-before-env), $(run-program-env) and
1345 $(built-program-cmd-after-env).
1346 ($(objpfx)test2.cat): Do not specify environment variables
1348 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1349 $(run-program-env) and $(built-program-cmd-after-env).
1350 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1351 $(run-program-env) and $(test-program-cmd-after-env).
1352 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1354 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1355 run_program_env and test_program_cmd_after_env arguments.
1356 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1357 * elf/tst-pathopt.sh: Use run_program_env argument.
1358 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1359 $(test-wrapper-env) and $(run-program-env).
1360 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1361 run_program_env arguments.
1362 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1363 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1364 $(test-program-prefix-before-env), $(run-program-env) and
1365 $(test-program-prefix-after-env).
1366 ($(objpfx)tst-gettext2.out): Likewise.
1367 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1368 run_program_env and test_program_prefix_after_env arguments.
1369 * intl/tst-gettext2.sh: Likewise.
1370 * intl/tst-gettext4.sh: Do not set environment variables
1372 * intl/tst-gettext6.sh: Likewise.
1373 * intl/tst-translit.sh: Likewise.
1374 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1375 $(test-program-prefix-before-env), $(run-program-env) and
1376 $(test-program-prefix-after-env).
1377 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1378 run_program_env and test_program_prefix_after_env arguments.
1379 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1380 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1381 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1382 explicitly with each use of ${test_wrapper_env}.
1383 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1384 $(test-program-prefix-before-env), $(run-program-env) and
1385 $(test-program-prefix-after-env).
1386 * posix/tst-getconf.sh: Do not set environment variables
1388 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1389 run_program_env and test_program_prefix_after_env arguments.
1390 * stdio-common/tst-printf.sh: Do not set environment variables
1392 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1393 $(test-program-prefix-before-env), $(run-program-env) and
1394 $(test-program-prefix-after-env).
1395 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1396 run_program_env and test_program_prefix_after_env arguments.
1397 Split $test calls into $test_pre and $test.
1398 * timezone/Makefile (build-testdata): Use
1399 $(built-program-cmd-before-env), $(run-program-env) and
1400 $(built-program-cmd-after-env).
1402 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1405 strlen for non SHARED builds.
1407 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * nptl/allocatestack.c (check_list): Inlined function...
1410 (__reclaim_stacks): ... here.
1412 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1415 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1418 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1420 * Rules (make-test-out): Include
1421 LOCPATH=$(common-objpfx)localedata in default environment.
1422 * debug/Makefile (tst-chk1-ENV): Remove variable.
1423 (tst-chk2-ENV): Likewise.
1424 (tst-chk3-ENV): Likewise.
1425 (tst-chk4-ENV): Likewise.
1426 (tst-chk5-ENV): Likewise.
1427 (tst-chk6-ENV): Likewise.
1428 (tst-lfschk1-ENV): Likewise.
1429 (tst-lfschk2-ENV): Likewise.
1430 (tst-lfschk3-ENV): Likewise.
1431 (tst-lfschk4-ENV): Likewise.
1432 (tst-lfschk5-ENV): Likewise.
1433 (tst-lfschk6-ENV): Likewise.
1434 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1435 (tst-iconv7-ENV): Likewise.
1436 * intl/Makefile (LOCPATH-ENV): Likewise.
1437 (tst-codeset-ENV): Likewise.
1438 (tst-gettext3-ENV): Likewise.
1439 (tst-gettext5-ENV): Likewise.
1440 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1441 (tst-fopenloc-ENV): Likewise.
1442 (tst-fgetws-ENV): Remove variable.
1443 (tst-ungetwc1-ENV): Likewise.
1444 (tst-ungetwc2-ENV): Likewise.
1445 (bug-ungetwc2-ENV): Likewise.
1446 (tst-swscanf-ENV): Likewise.
1447 (bug-ftell-ENV): Likewise.
1448 (tst-fgetwc-ENV): Likewise.
1449 (tst-fseek-ENV): Likewise.
1450 (tst-ftell-partial-wide-ENV): Likewise.
1451 (tst-ftell-active-handler-ENV): Likewise.
1452 (tst-ftell-append-ENV): Likewise.
1453 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1454 (tst-regexloc-ENV): Likewise.
1455 (bug-regex1-ENV): Likewise.
1456 (tst-regex-ENV): Likewise.
1457 (tst-regex2-ENV): Likewise.
1458 (bug-regex5-ENV): Likewise.
1459 (bug-regex6-ENV): Likewise.
1460 (bug-regex17-ENV): Likewise.
1461 (bug-regex18-ENV): Likewise.
1462 (bug-regex19-ENV): Likewise.
1463 (bug-regex20-ENV): Likewise.
1464 (bug-regex22-ENV): Likewise.
1465 (bug-regex23-ENV): Likewise.
1466 (bug-regex25-ENV): Likewise.
1467 (bug-regex26-ENV): Likewise.
1468 (bug-regex30-ENV): Likewise.
1469 (bug-regex32-ENV): Likewise.
1470 (bug-regex33-ENV): Likewise.
1471 (bug-regex34-ENV): Likewise.
1472 (bug-regex35-ENV): Likewise.
1473 (tst-rxspencer-ENV): Likewise.
1474 (tst-rxspencer-no-utf8-ENV): Likewise.
1475 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1476 (tst-sscanf-ENV): Likewise.
1477 (tst-swprintf-ENV): Likewise.
1478 (tst-swscanf-ENV): Likewise.
1479 (test-vfprintf-ENV): Likewise.
1480 (scanf13-ENV): Likewise.
1481 (bug14-ENV): Likewise.
1482 (tst-grouping-ENV): Likewise.
1483 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1484 (tst-strtod3-ENV): Likewise.
1485 (tst-strtod4-ENV): Likewise.
1486 (tst-strtod5-ENV): Likewise.
1487 (testmb2-ENV): Likewise./
1488 * string/Makefile (tst-strxfrm-ENV): Likewise.
1489 (tst-strxfrm2-ENV): Likewise.
1490 (bug-strcoll1-ENV): Likewise.
1491 (test-strcasecmp-ENV): Likewise.
1492 (test-strncasecmp-ENV): Likewise.
1493 * time/Makefile (tst-strptime-ENV): Likewise.
1494 (tst-ftime_l-ENV): Likewise.
1495 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1496 (tst-mbrtowc-ENV): Likewise.
1497 (tst-wcrtomb-ENV): Likewise.
1498 (tst-mbrtowc2-ENV): Likewise.
1499 (tst-c16c32-1-ENV): Likewise.
1500 (tst-mbsnrtowcs-ENV): Likewise.
1502 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1504 * manual/resource.texi (How to get information about the memory
1505 subsystem?): Fix typo.
1506 Reported by Peon de la Parra Ivan <peon@keba.com>
1508 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1511 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1512 (pthread_spin_lock): Branch out of spin loop to proper location.
1513 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1514 (pthread_spin_lock): Likewise.
1516 * nptl/tst-spin4.c: New test.
1517 * nptl/Makefile (tests): Add tst-spin4.
1519 2014-06-03 Andreas Schwab <schwab@suse.de>
1522 * resolv/res_send.c (send_dg): Reload file descriptor after
1525 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1527 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1529 2014-06-03 Richard Henderson <rth@redhat.com>
1531 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1532 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1533 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1534 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1535 in the SAVE_PID block.
1536 (__libc_vfork): New alias.
1537 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1539 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1540 child in registers, not on the stack. Remove RESET_PID conditionals.
1541 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1543 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1545 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1547 2014-06-03 Wilco <wdijkstr@arm.com>
1549 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1550 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1551 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1552 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1553 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1556 2014-06-03 Wilco <wdijkstr@arm.com>
1558 * sysdeps/aarch64/fpu/math_private.h
1559 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1560 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1561 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1562 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1565 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1567 * crypt/crypt-private.h: Include ufc-crypt.h.
1568 (__b64_from_24bit): Declare extern.
1569 * crypt/crypt_util.c(__b64_from_24bit): New function.
1570 (b64t): New static const variable.
1571 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1572 (b64t): Remove variable.
1573 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1574 * crypt/sha256-crypt.c: Include crypt-private.h.
1575 (b64t): Remove variable.
1576 (__sha256_crypt_r): Remove b64_from_24bit and replace
1577 with __b64_from_24bit.
1578 * crypt/sha512-crypt.c: Likewise.
1580 2014-06-02 Roland McGrath <roland@hack.frob.com>
1582 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1583 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1584 Label the code __libc_vfork rather than __vfork.
1585 [!NOT_IN_libc] (vfork): Define as weak alias.
1586 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1587 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1588 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1590 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1592 * malloc/malloc.c (malloc_info): Fix format specifier for
1595 2014-06-02 Wilco <wdijkstr@arm.com>
1597 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1600 2014-06-02 Wilco <wdijkstr@arm.com>
1603 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1604 Rewrite to reduce FPCR/FPSR accesses.
1606 2014-06-01 David S. Miller <davem@davemloft.net>
1608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1610 2014-05-31 David S. Miller <davem@davemloft.net>
1612 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1613 to occur in round to nearest mode when |x| >= 2.0
1615 2014-05-30 Richard Henderson <rth@twiddle.net>
1617 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1618 (PSEUDO_RET_NOERRNO): Remove.
1619 (ret): Don't redefine.
1620 (ret_NOERRNO): Define in terms of ret.
1621 (ret_ERRVAL): Likewise.
1623 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1624 use of PSEUDO_RET; perform the error check directly.
1626 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1628 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1631 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1633 * malloc/malloc (malloc_info): Fix formatting.
1635 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 Roland McGrath <roland@hack.frob.com>
1638 * malloc/malloc (malloc_info): Also print mmapped statistics.
1640 2014-05-30 Roland McGrath <roland@hack.frob.com>
1642 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1643 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1645 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1647 * malloc/malloc.c (malloc_info): Inline mi_arena.
1649 2014-05-29 Richard Henderson <rth@twiddle.net>
1651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1652 Remove comma before expanding ASM_ARGS_##nr.
1653 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1654 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1656 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1657 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1658 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1659 (ASM_ARGS_1): Add leading comma.
1661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1662 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1663 to __errno_location.
1664 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1665 Remove the expected plt for __errno_location.
1667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1668 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1671 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1672 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1673 it and break it down.
1674 (DOCARGS_0, DOCARGS_1): Do nothing.
1675 (DOCARGS_2): Update to store into the new stack frame.
1676 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1677 (UNDOCARGS_1): Update to restore from the new stack frame.
1678 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1679 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1681 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1682 (SINGLE_THREAD_P): New parameter for result regno.
1683 (PSEUDO): Update to match; use cbz instead of beq.
1685 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1686 Use ENTRY to define the _nocancel entry point. Share the syscall
1687 and syscall error check paths with the cancel path.
1690 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1691 whitespace; tabs before and after asm mnemonics.
1693 2014-05-29 Eric Wong <normalperson@yhbt.net>
1696 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1697 Call fstat64 or stat64 internally, depending on arguments passed.
1698 Replace stat buffer argument with file descriptor argument.
1699 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1700 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1701 Pass fd to __internal_statvfs instead of calling fstat64.
1702 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1703 Pass fd to __internal_statvfs64 instead of calling fstat64.
1704 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1705 Pass -1 to __internal_statvfs instead of calling stat64.
1706 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1707 Pass -1 to __internal_statvfs64 instead of calling stat64.
1709 2014-05-28 Roland McGrath <roland@hack.frob.com>
1711 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1712 that was previously under [RESET_PID].
1713 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1715 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1716 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1718 2014-05-27 Roland McGrath <roland@hack.frob.com>
1720 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1722 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1723 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1725 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1727 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1729 2014-05-27 Andreas Schwab <schwab@suse.de>
1731 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1733 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1734 * elf/rtld.c (init_tls, dl_main): Likewise.
1735 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1736 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1737 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1738 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1739 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1740 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1741 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1742 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1743 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1744 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1745 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1746 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1747 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1748 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1749 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1750 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1751 * sysdeps/generic/tls.h: Update description.
1753 2014-05-27 Will Newton <will.newton@linaro.org>
1756 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1757 and restore r2 rather than just restoring.
1759 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1762 * libio/tst-ftell-append.c: New test case.
1763 * libio/Makefile (tests): Add test case.
1764 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1766 * libio/wfileops.c (do_ftell_wide): Likewise.
1768 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1772 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1776 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1777 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1779 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1781 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1789 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1790 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1791 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1794 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1795 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1797 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1799 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1801 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1802 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1803 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1806 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1807 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1808 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1813 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1831 conditional [RESET_PID].
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1840 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1841 (__libc_vfork): New strong alias.
1842 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1849 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1850 (__libc_vfork): New strong alias.
1851 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1856 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1858 * malloc/malloc.c (mi_arena): New function.
1859 (malloc_info): Remove nested function mi_arena. Call non-nosted
1862 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1864 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1866 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1867 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1868 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1869 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1870 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1871 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1872 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1874 2014-05-26 Andreas Schwab <schwab@suse.de>
1877 * locale/programs/repertoire.c (repertoire_read): Add slash
1878 between I18NPATH element and file name.
1879 * locale/programs/locfile.c (locfile_read): Likewise.
1881 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1883 * nptl/pthread_mutexattr_settype.c
1884 (__pthread_mutexattr_settype):
1885 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1887 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1889 * nptl/tst-mutex5 (do_test):
1890 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1892 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1894 * benchtests/README: Document 'init' directive.
1895 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1897 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1898 (parse_file): Recognize 'init' directive.
1900 2014-05-26 Kyle McMartin <kyle@redhat.com>
1903 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1904 alignment of struct pthread.
1906 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1909 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1910 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1911 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1912 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1914 2014-05-25 Richard Henderson <rth@twiddle.net>
1916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1917 (SINGLE_THREAD_P_PIC): Remove.
1918 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1919 (SINGLE_THREAD_P_PIC): Remove.
1921 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1922 branch to syscall error ...
1924 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1925 from __local_syscall_error to .Lsyscall_error.
1926 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1927 (SYSCALL_ERROR): Update label name.
1929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1930 Do not use DOARGS/UNDOARGS.
1931 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1932 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1933 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1934 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1935 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1937 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1940 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1941 define if !NOT_IN_libc.
1942 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1943 define with non-default symbol versions.
1945 2014-05-23 Richard Henderson <rth@twiddle.net>
1947 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1948 (vfork, __vfork): Define via compat_symbol.
1950 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1951 [!HAVE_IFUNC] (vfork_compat): Remove.
1952 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1954 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1957 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1958 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1961 2014-05-23 Richard Henderson <rth@twiddle.net>
1963 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1964 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1965 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1966 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1968 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1969 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1970 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1971 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1972 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1973 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1974 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1975 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1976 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1977 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1978 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1979 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1980 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1981 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1982 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1983 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1984 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1985 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1986 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1987 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1989 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1991 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1992 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1995 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1996 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1997 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1998 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2001 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2002 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2007 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2008 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2009 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2010 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2011 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2012 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2013 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2014 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2015 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2016 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2017 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2019 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2020 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2021 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2022 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2023 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2025 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2026 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2027 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2028 before exiting on error.
2029 (__libc_vfork): New strong alias.
2030 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2031 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2033 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2034 that was previously under [RESET_PID].
2035 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2037 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2039 2014-05-23 Joseph Myers <joseph@codesourcery.com>
2042 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2043 value when x - 1 is zero.
2044 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2045 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2046 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2047 0.0L for an argument of 1.0L.
2048 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2050 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2051 value when x - 1 is zero.
2052 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2053 * sysdeps/i386/fpu/libm-test-ulps: Update.
2054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2056 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2058 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2059 alphasort and versionsort.
2061 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2063 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2065 [copysignf]: Likewise.
2067 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2069 * crypt/md5-crypt.c: Fix formatting.
2071 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2073 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2074 (b64_from_24bit): New function.
2076 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2078 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2079 libc_hidden_builtin_def to ifunc.
2080 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2081 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2083 2014-05-21 Roland McGrath <roland@hack.frob.com>
2085 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2086 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2088 2014-05-21 Joseph Myers <joseph@codesourcery.com>
2090 * nscd/Depend (linuxthreads): Remove.
2092 * resolv/Depend (linuxthreads): Remove.
2093 * rt/Depend (linuxthreads): Remove.
2095 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2096 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2097 $(common-objpfx)elf/.
2098 (link-libc-before-gnulib): Likewise.
2099 (elfobjdir): Remove variable.
2100 * Makefile (install): Use $(elf-objpfx) instead of
2101 $(common-objpfx)elf/.
2102 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2104 (link-libc-deps): Likewise.
2105 ($(common-objpfx)libc.so): Likewise.
2106 ($(common-objpfx)linkobj/libc.so): Likewise.
2107 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2108 instead of $(common-objpfx)elf/.
2109 (symbolic-link-list): Likewise.
2110 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2111 [$(cross-compiling) = no]: Likewise.
2112 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2114 (static-gnulib-arch): Likewise.
2115 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2116 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2117 $(common-objpfx)elf/.
2119 2014-05-21 Richard Henderson <rth@redhat.com>
2121 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2122 (SINGLE_THREAD_P): Use the correct width load. Fold
2123 into the ldr offset.
2125 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2126 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2128 2014-05-20 Joseph Myers <joseph@codesourcery.com>
2130 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2131 (libgcc_s_resume): Use __attribute_used__.
2132 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2135 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2138 optimization when used with float constants.
2140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2142 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2145 * locale/nl_langinfo_l.c: Make direct reference to every
2146 _nl_current_CATEGORY symbol.
2147 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2148 (tests-static): Add tst-langinfo-static.
2149 (tests-special): Add tst-langinfo-static.out.
2150 ($(objpfx)tst-langinfo.out): Redirect output.
2151 ($(objpfx)tst-langinfo-static.out): New.
2152 * localedata/tst-langinfo.sh: Send output to stdout.
2153 * localedata/tst-langinfo-static.c: New file.
2156 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2157 when the shift amount is modulo the limb size.
2159 2014-05-20 Richard Henderson <rth@redhat.com>
2162 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2163 Change type of sa_flags from unsigned int to int.
2166 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2168 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2170 2014-05-20 Will Newton <will.newton@linaro.org>
2172 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2173 Test the return value of the system call in the nocancel case.
2175 2014-05-20 Will Newton <will.newton@linaro.org>
2176 Yvan Roux <yvan.roux@linaro.org>
2178 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2179 #include of asm/ptrace.h.
2180 (PTRACE_GET_THREAD_AREA): Remove #undef.
2181 (PTRACE_GETHBPREGS): Likewise.
2182 (PTRACE_SETHBPREGS): Likewise.
2183 (struct user_regs_struct): New structure.
2184 (struct user_fpsimd_struct): New structure.
2185 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2186 #include of asm/ptrace.h and second #include of sys/user.h.
2187 (PTRACE_GET_THREAD_AREA): Remove #undef.
2188 (PTRACE_GETHBPREGS): Likewise.
2189 (PTRACE_SETHBPREGS): Likewise.
2190 (ELF_NGREG): Use new struct user_regs_struct.
2191 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2193 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2195 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2198 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2201 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2202 membar to avoid block loads/stores to overlap previous stores.
2204 2014-05-17 Richard Henderson <rth@redhat.com>
2206 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2207 Create the __##syscall_name##_nocancel entry point.
2208 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2209 Remove; let the sysdep-cancel.h code create it.
2211 2014-05-17 David S. Miller <davem@davemloft.net>
2213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2214 Protect with __USE_GNU.
2215 (TIOCSET_TEMPT): Likewise.
2216 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2217 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2218 these are already provided in bits/ioctl-types.h
2220 2014-05-16 Roland McGrath <roland@hack.frob.com>
2222 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2223 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2225 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2226 Use wait4 regardless of [__NR_waitpid].
2228 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2231 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2232 (_FP_NANSIGN_Q): Set the quiet bit.
2234 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2236 * benchtests/Makefile
2237 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2238 not $(common-objpfx)math/libm.so.
2239 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2240 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2241 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2242 $(common-objpfx)dlfcn/libdl.so.
2243 ($(objpfx)tst-audit8): Depend on $(libm), not
2244 $(common-objpfx)math/libm.so.
2245 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2246 not $(common-objpfx)dlfcn/libdl.so.
2248 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2249 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2250 [$(build-shared) = yes].
2251 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2252 $(common-objpfx)nptl/libpthread.so.
2253 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2254 $(common-objpfx)math/libm.so$(libm.so-version) or
2255 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2256 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2257 $(common-objpfx)dlfcn/libdl.so.
2258 * setjmp/Makefile (link-libm): Remove variable.
2259 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2260 * stdio-common/Makefile (link-libm): Remove variable.
2261 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2262 * stdlib/Makefile (link-libm): Remove variable.
2263 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2264 ($(objpfx)tst-strtod-round): Likewise.
2265 ($(objpfx)tst-tininess): Likewise.
2266 ($(objpfx)tst-strtod-underflow): Likewise.
2267 ($(objpfx)tst-strtod6): Likewise.
2268 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2269 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2270 $(common-objpfx)dlfcn/libdl.so.
2272 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2275 BSD terminal modes definitions.
2277 2014-05-16 Roland McGrath <roland@hack.frob.com>
2279 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2280 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2282 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2283 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2284 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2285 Don't do #include_next.
2286 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2287 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2288 Don't do #include_next.
2289 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2290 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2291 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2292 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2294 2014-05-16 Allan McRae <allan@archlinux.org>
2296 * po/sv.po: Update Swedish translation from translation project.
2298 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2301 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2304 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2305 errno if the TIOCGPTN ioctl fails with an error different than
2307 * login/tst-ptsname.c: New file.
2308 * login/Makefile (tests): Add tst-ptsname.
2311 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2314 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2318 herrno to return EAI_AGAIN.
2320 2014-05-14 Roland McGrath <roland@hack.frob.com>
2322 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2323 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2324 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2325 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2326 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2327 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2328 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2329 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2331 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2332 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2333 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2335 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2337 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2338 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2339 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2341 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2342 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2343 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2344 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2345 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2347 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2348 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2349 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2350 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2351 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2353 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2355 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2358 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2382 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2387 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2391 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2393 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2395 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2397 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2399 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2401 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2403 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2405 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2408 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2413 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2414 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2415 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2416 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2417 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2418 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2419 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2420 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2421 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2422 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2423 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2424 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2425 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2426 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2428 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2430 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2431 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2432 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2433 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2434 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2435 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2436 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2437 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2438 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2439 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2440 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2441 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2442 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2444 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2445 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2447 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2448 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2449 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2451 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2452 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2454 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2457 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2460 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2461 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2463 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2465 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2466 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2468 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2469 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2470 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2472 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2473 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2474 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2475 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2477 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2482 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2483 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2485 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2486 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2488 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2490 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2492 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2493 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2494 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2495 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2496 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2497 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2499 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2502 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2503 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2505 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2508 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2509 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2510 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2513 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2515 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2517 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2518 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2519 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2522 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2525 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2527 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2528 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2529 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2530 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2535 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2537 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2538 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2539 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2540 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2541 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2543 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2544 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2545 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2548 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2551 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2554 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2557 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2558 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2559 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2560 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2561 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2566 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2568 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2569 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2570 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2571 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2573 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2574 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2576 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2578 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2579 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2580 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2581 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2584 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2589 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2590 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2591 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2592 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2593 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2594 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2595 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2596 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2597 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2598 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2600 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2601 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2603 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2604 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2606 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2607 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2608 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2609 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2610 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2611 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2612 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2613 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2614 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2615 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2617 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2618 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2619 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2620 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2622 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2623 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2625 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2627 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2630 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2631 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2632 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2633 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2634 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2636 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2637 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2639 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2648 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2649 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2650 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2651 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2652 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2653 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2654 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2655 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2656 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2657 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2658 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2660 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2661 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2662 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2663 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2664 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2666 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2667 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2668 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2669 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2670 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2671 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2672 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2673 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2674 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2675 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2678 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2680 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2681 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2682 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2683 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2684 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2685 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2686 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2687 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2688 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2689 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2690 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2691 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2692 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2693 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2696 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2712 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2716 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2718 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2719 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2720 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2721 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2722 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2723 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2724 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2725 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2726 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2727 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2728 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2730 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2731 that was previously under [RESET_PID].
2732 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2733 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2734 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2736 * sysdeps/i386/nptl/Implies: New file.
2737 * sysdeps/x86_64/nptl/Implies: New file.
2738 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2739 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2740 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2741 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2743 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2744 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2745 (__libc_vfork): New strong alias.
2746 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2747 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2749 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2750 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2751 (__libc_vfork): New strong alias.
2752 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2753 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2755 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2756 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2757 (__libc_vfork): New strong alias.
2758 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2759 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2760 * nptl/pt-vfork.c: New file.
2761 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2762 (libpthread: GLIBC_2.20): New version set (empty).
2764 2014-05-14 Will Newton <will.newton@linaro.org>
2766 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2769 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2772 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2773 arguments with exponent 65 or above.
2774 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2775 arguments 0x1p113L or above.
2776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2777 to arguments 0x1p107L or above.
2778 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2779 positive arguments with exponent 65 or above.
2780 * math/auto-libm-test-in: Add more tests of log1p.
2781 * math/auto-libm-test-out: Regenerated.
2784 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2785 non-finite arguments is +0.
2786 * math/s_cacosf.c (__cacosf): Likewise.
2787 * math/s_cacosl.c (__cacosl): Likewise.
2788 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2789 * sysdeps/i386/fpu/libm-test-ulps: Update.
2790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2793 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2795 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2796 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2797 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2798 for explicit high bit of mantissa when testing for argument equal
2800 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2805 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2806 (__erf): Scale by 16 instead of 8 in potentially underflowing
2807 case. Ensure exception if result actually underflows.
2808 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2809 (__erff): Scale by 16 instead of 8 in potentially underflowing
2810 case. Ensure exception if result actually underflows.
2811 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2812 (efx8): Remove variable.
2813 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2814 case. Ensure exception if result actually underflows.
2815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2816 (efx8): Remove variable.
2817 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2818 case. Ensure exception if result actually underflows.
2819 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2820 (efx8): Remove variable.
2821 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2822 case. Ensure exception if result actually underflows.
2823 * math/auto-libm-test-in: Add more tests of erf.
2824 * math/auto-libm-test-out: Regenerated.
2826 2014-05-14 Andreas Schwab <schwab@suse.de>
2828 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2829 Remove code conditionalized on USE___THREAD.
2831 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2832 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2835 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2838 Define unconditionally.
2839 (__ASSUME_O_CLOEXEC): Likewise.
2840 (__ASSUME_SOCK_CLOEXEC): Likewise.
2841 (__ASSUME_IN_NONBLOCK): Likewise.
2842 (__ASSUME_PIPE2): Likewise.
2843 (__ASSUME_EVENTFD2): Likewise.
2844 (__ASSUME_SIGNALFD4): Likewise.
2845 (__ASSUME_DUP3): Likewise.
2846 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2847 (__ASSUME_DUP3): Do not define.
2848 (__ASSUME_EVENTFD2): Likewise.
2849 (__ASSUME_IN_NONBLOCK): Likewise.
2850 (__ASSUME_O_CLOEXEC): Likewise.
2851 (__ASSUME_PIPE2): Likewise.
2852 (__ASSUME_SIGNALFD4): Likewise.
2853 (__ASSUME_SOCK_CLOEXEC): Likewise.
2854 (__ASSUME_UTIMES): Undefine.
2855 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2856 (__ASSUME_UTIMES): Do not define.
2857 (__ASSUME_O_CLOEXEC): Likewise.
2858 (__ASSUME_SOCK_CLOEXEC): Likewise.
2859 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2860 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2862 (__ASSUME_PIPE2): Likewise.
2863 (__ASSUME_EVENTFD2): Likewise.
2864 (__ASSUME_SIGNALFD4): Likewise.
2865 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2866 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2868 (__ASSUME_EVENTFD2): Likewise.
2869 (__ASSUME_SIGNALFD4): Likewise.
2870 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2871 (__ASSUME_32BITUIDS): Likewise.
2872 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2873 (__ASSUME_IPC64): Likewise.
2874 (__ASSUME_ST_INO_64_BIT): Likewise.
2875 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2876 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2877 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2878 (__ASSUME_UTIMES): Do not define.
2879 (__ASSUME_PSELECT): Likewise.
2880 (__ASSUME_PPOLL): Likewise.
2881 (__ASSUME_O_CLOEXEC): Likewise.
2882 (__ASSUME_SOCK_CLOEXEC): Likewise.
2883 (__ASSUME_IN_NONBLOCK): Likewise.
2884 (__ASSUME_PIPE2): Likewise.
2885 (__ASSUME_EVENTFD2): Likewise.
2886 (__ASSUME_SIGNALFD4): Likewise.
2887 (__ASSUME_DUP3): Likewise.
2888 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2889 (__ASSUME_UTIMES): Likewise.
2890 (__ASSUME_O_CLOEXEC): Likewise.
2891 (__ASSUME_SOCK_CLOEXEC): Likewise.
2892 (__ASSUME_IN_NONBLOCK): Likewise.
2893 (__ASSUME_PIPE2): Likewise.
2894 (__ASSUME_EVENTFD2): Likewise.
2895 (__ASSUME_SIGNALFD4): Likewise.
2896 (__ASSUME_DUP3): Likewise.
2897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2898 (__ASSUME_UTIMES): Likewise.
2899 (__ASSUME_O_CLOEXEC): Likewise.
2900 (__ASSUME_SOCK_CLOEXEC): Likewise.
2901 (__ASSUME_IN_NONBLOCK): Likewise.
2902 (__ASSUME_PIPE2): Likewise.
2903 (__ASSUME_EVENTFD2): Likewise.
2904 (__ASSUME_SIGNALFD4): Likewise.
2905 (__ASSUME_DUP3): Likewise.
2906 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2908 (__ASSUME_UTIMES): Likewise.
2909 (__ASSUME_EVENTFD2): Likewise.
2910 (__ASSUME_SIGNALFD4): Likewise.
2911 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2912 (__ASSUME_O_CLOEXEC): Likewise.
2913 (__ASSUME_SOCK_CLOEXEC): Likewise.
2914 (__ASSUME_IN_NONBLOCK): Likewise.
2915 (__ASSUME_PIPE2): Likewise.
2916 (__ASSUME_EVENTFD2): Likewise.
2917 (__ASSUME_SIGNALFD4): Likewise.
2918 (__ASSUME_DUP3): Likewise.
2919 (__ASSUME_UTIMES): Undefine.
2921 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2922 feclearexcept. Remove symbol versioning code.
2923 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2924 symbol versioning code.
2925 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2926 symbol versioning code.
2927 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2928 feupdateenv. Remove symbol versioning code.
2929 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2930 fegetexceptflag. Remove symbol versioning code.
2931 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2932 fesetexceptflag. Remove symbol versioning code.
2933 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2934 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2935 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2936 (__posix_fadvise64_l32): Remove prototype.
2937 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2940 2014-05-13 Roland McGrath <roland@hack.frob.com>
2942 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2943 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2944 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2945 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2947 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2949 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2950 current working directory
2952 2014-05-13 Roland McGrath <roland@hack.frob.com>
2954 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2955 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2956 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2957 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2958 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2959 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2960 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2961 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2962 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2963 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2965 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2966 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2967 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2968 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2969 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2970 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2971 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2972 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2973 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2974 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2987 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2988 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2989 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2990 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2991 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2992 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2993 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2994 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2995 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2997 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2998 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3000 * sysdeps/unix/sysv/linux/arm/Makefile
3001 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3002 Add rt-aeabi_unwind_cpp_pr1.
3003 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3004 Add nptl-aeabi_unwind_cpp_pr1.
3005 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3006 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3007 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3008 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3009 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3010 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3012 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3013 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3014 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3015 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3017 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3018 Deconditionalize the code that was previously under [RESET_PID].
3019 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3021 * sysdeps/generic/exit-thread.h: New file.
3022 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3023 * include/unistd.h (__exit_thread): Remove declaration.
3024 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3025 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3026 * csu/libc-start.c: Include <exit-thread.h>.
3027 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3028 * nptl/pthread_create.c: Include <exit-thread.h>.
3029 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3030 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3031 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3032 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3033 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3034 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3035 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3036 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3037 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3038 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3039 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3040 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3041 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3042 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3043 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3044 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3045 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3047 2014-05-13 Andreas Schwab <schwab@suse.de>
3049 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3051 2014-05-12 Joseph Myers <joseph@codesourcery.com>
3053 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3054 (__ASSUME_UTIMES): Do not condition on kernel version.
3055 (__ASSUME_PSELECT): Define unconditionally.
3056 (__ASSUME_PPOLL): Likewise.
3057 (__ASSUME_ATFCTS): Likewise.
3058 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3059 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3060 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3061 (__ASSUME_UTIMENSAT): Define unconditionally.
3062 (__ASSUME_PRIVATE_FUTEX): Likewise.
3063 (__ASSUME_FALLOCATE): Likewise.
3064 (__ASSUME_O_CLOEXEC): Likewise.
3065 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3066 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3067 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3068 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3069 (__ASSUME_IN_NONBLOCK): Likewise.
3070 (__ASSUME_PIPE2): Likewise.
3071 (__ASSUME_EVENTFD2): Likewise.
3072 (__ASSUME_SIGNALFD4): Likewise.
3073 (__ASSUME_DUP3): Likewise.
3074 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3075 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3076 (__ASSUME_AT_RANDOM): Likewise.
3077 (__ASSUME_PREADV): Likewise.
3078 (__ASSUME_PWRITEV): Likewise.
3079 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3080 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3081 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3082 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3083 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3084 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3085 (__ASSUME_O_CLOEXEC): Define unconditionally.
3086 (__ASSUME_PSELECT): Do not undefine conditionally.
3087 (__ASSUME_PPOLL): Likewise.
3088 (__ASSUME_ATFCTS): Likewise.
3089 (__ASSUME_SET_ROBUST_LIST): Likewise.
3090 (__ASSUME_UTIMENSAT): Likewise.
3091 (__ASSUME_FDATASYNC): Define unconditionally.
3092 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3093 (__ASSUME_SIGFRAME_V2): Likewise.
3094 )__ASSUME_EVENTFD2): Likewise.
3095 (__ASSUME_SIGNALFD4): Likewise.
3096 (__ASSUME_PSELECT): Do not undefine conditionally.
3097 (__ASSUME_PPOLL): Likewise.
3098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3099 (__ASSUME_PSELECT): Define unconditionally.
3100 (__ASSUME_PPOLL): Likewise.
3101 (__ASSUME_O_CLOEXEC): Likewise.
3102 (__ASSUME_SOCK_CLOEXEC): Likewise.
3103 (__ASSUME_IN_NONBLOCK): Likewise.
3104 (__ASSUME_PIPE2): Likewise.
3105 (__ASSUME_EVENTFD2): Likewise.
3106 (__ASSUME_SIGNALFD4): Likewise.
3107 (__ASSUME_DUP3): Likewise.
3108 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3109 (__ASSUME_O_CLOEXEC): Likewise.
3110 (__ASSUME_SOCK_CLOEXEC): Likewise.
3111 (__ASSUME_IN_NONBLOCK): Likewise.
3112 (__ASSUME_PIPE2): Likewise.
3113 (__ASSUME_EVENTFD2): Likewise.
3114 (__ASSUME_SIGNALFD4): Likewise.
3115 (__ASSUME_DUP3): Likewise.
3116 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3117 (__ASSUME_EVENTFD2): Likewise.
3118 (__ASSUME_SIGNALFD4): Likewise.
3119 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3121 2014-05-12 Andreas Schwab <schwab@suse.de>
3124 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3125 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3126 than maximum RPC packet size.
3127 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3128 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3129 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3130 (_nss_nis_getservbyport_r): Likewise.
3132 2014-05-12 Will Newton <will.newton@linaro.org>
3134 * malloc/Makefile (tests): Add tst-mallopt.
3135 * malloc/tst-mallopt.c: New file.
3137 2014-05-09 Roland McGrath <roland@hack.frob.com>
3139 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3140 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3142 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3144 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3145 (tst-tlsmod6.so): Likewise.
3147 2014-05-09 Roland McGrath <roland@hack.frob.com>
3149 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3151 2014-05-09 Joseph Myers <joseph@codesourcery.com>
3154 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3155 and <dl-procinfo.h>.
3156 (__fegetenv): Save SSE state in envp->__eip if supported.
3157 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3158 envp->__eip if supported.
3159 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3160 and <dl-procinfo.h>.
3161 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3162 __data_offset and __data_selector in environment to 0. Set SSE
3164 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3166 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3168 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3170 2014-05-09 Will Newton <will.newton@linaro.org>
3172 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3173 and libc_relro_required for ARM.
3174 * sysdeps/arm/preconfigure: Regenerate.
3176 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3177 Stefan Liebler <stli@linux.vnet.ibm.com>
3179 * config.make.in (enable-lock-elision): New Makefile variable.
3180 * configure.ac: Likewise.
3181 * configure: Regenerate.
3182 * sysdeps/s390/configure.ac:
3183 Add check for gcc transactions support.
3184 * sysdeps/s390/configure: Regenerate.
3185 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3186 Build elision files if enabled.
3187 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3188 Add lock elision support for s390.
3189 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3190 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3191 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3192 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3193 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3194 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3199 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3201 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3203 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3204 (__lll_timedlock_elision, __lll_lock_elision)
3205 (__lll_unlock_elision, __lll_trylock_elision)
3206 (lll_timedlock_elision, lll_lock_elision)
3207 (lll_unlock_elision, lll_trylock_elision): Add.
3208 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3209 (pthread_mutex_t): Add lock elision support for s390.
3211 2014-05-14 Wilco <wdijkstr@arm.com>
3213 * sysdeps/arm/fclrexcpt.c: Cleanup.
3214 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3215 * sysdeps/arm/feenablxcpt.c: Cleanup.
3216 * sysdeps/arm/fegetenv.c: Cleanup.
3217 * sysdeps/arm/fegetexcept.c: Cleanup.
3218 * sysdeps/arm/fegetround.c: Cleanup.
3219 * sysdeps/arm/feholdexcpt.c: Cleanup.
3220 * sysdeps/arm/fesetenv.c: Cleanup.
3221 * sysdeps/arm/fesetround.c: Cleanup.
3222 * sysdeps/arm/feupdateenv.c: Cleanup.
3223 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3224 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3225 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3226 * sysdeps/arm/ftestexcept.c: Cleanup.
3227 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3228 * sysdeps/arm/setfpucw.c: Cleanup.
3230 2014-05-09 Will Newton <will.newton@linaro.org>
3232 * sysdeps/arm/armv7/strcmp.S: New file.
3233 * NEWS: Mention addition of ARMv7 optimized strcmp.
3235 2014-05-08 Roland McGrath <roland@hack.frob.com>
3237 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3238 look for %.ac rather than %.in.
3240 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3241 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3242 * sysdeps/mach/hurd/configure: Regenerated.
3243 * sysdeps/unix/sysv/linux/configure: Regenerated.
3245 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3247 2014-05-07 Steve Ellcey <sellcey@mips.com>
3250 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3254 2014-05-07 Andreas Schwab <schwab@suse.de>
3256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3257 when skipping over non-matching result from nscd.
3259 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3262 * nptl/sockperf.c (client): Check socket return value.
3265 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3266 nscd security class.
3268 2014-05-06 Roland McGrath <roland@hack.frob.com>
3270 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3271 * sysdeps/arm/unwind.h: ... here.
3273 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3276 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3279 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3281 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3282 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3283 multiarch strncpy for PPC64.
3284 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3285 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3287 multiarch optimizations.
3288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3289 (__libc_ifunc_impl_list): Likewise.
3290 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3291 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3292 multiarch stpncpy for PPC64.
3293 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3294 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3296 2014-05-06 Andreas Schwab <schwab@suse.de>
3299 * gmon/mcount.c (_MCOUNT_DECL): Use
3300 atomic_compare_and_exchange_bool_acq instead of
3301 catomic_compare_and_exchange_bool_acq.
3303 2014-05-05 Roland McGrath <roland@hack.frob.com>
3305 * elf/Makefile (others, install-bin): Remove pldd.
3306 (pldd-modules): Variable removed.
3307 ($(objpfx)pldd): Target removed.
3308 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3309 (others, install-bin): Append pldd here.
3310 ($(objpfx)pldd): New target.
3312 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3313 to 0, so the first #if test emitted later doesn't see it undefined.
3314 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3315 * sysdeps/gnu/errlist.c: Regenerated.
3317 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3319 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3320 [libc_hidden_builtin_def]: Define to empty value.
3321 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3322 [libc_hidden_builtin_def]: Likewise.
3323 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3324 [libc_hidden_builtin_def]: Likewise.
3325 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3326 [libc_hidden_builtin_def]: Likewise.
3327 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3328 __redirect_memcpy and define ifunc as default hidden symbol.
3329 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3330 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3332 2014-05-04 Adam Conrad <adconrad@0c3.net>
3334 * locale/iso-4217.def: Reintroduce XDR currency.
3336 2014-05-04 Allan McRae <allan@archlinux.org>
3338 * po/eo.po: Update Esperanto translation from translation project.
3340 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3342 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3343 and FEATURE_INDEX_MAX to 1.
3344 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3346 2014-05-01 Steve Ellcey <sellcey@mips.com>
3348 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3349 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3350 * iconvdata/big5.c (ONE_DIRECTION): Define.
3351 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3352 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3353 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3354 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3355 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3356 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3357 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3358 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3359 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3360 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3361 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3362 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3363 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3364 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3365 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3366 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3367 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3368 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3369 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3370 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3371 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3372 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3373 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3374 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3375 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3376 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3377 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3378 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3379 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3380 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3381 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3382 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3383 * iconvdata/johab.c (ONE_DIRECTION): Define.
3384 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3385 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3386 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3387 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3388 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3389 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3390 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3391 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3392 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3393 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3395 2014-05-01 Roland McGrath <roland@hack.frob.com>
3397 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3398 (_IO_JUMPS_OFFSET): Define to 0.
3400 * nptl/sysdeps/pthread/bits/libc-lock.h
3401 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3402 (__libc_lock_define_initialized_recursive): Always define using
3403 initializer. Modern compilers treat uninitialized (implicit zero) and
3404 explicit zero initializers the same (i.e. put the datum in bss).
3406 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3408 * nscd/nscd-client.h: Include <string.h>.
3410 2014-05-01 David S. Miller <davem@davemloft.net>
3413 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3414 multiple zero bytes exist at the end of a string.
3415 Reported by Aurelien Jarno <aurelien@aurel32.net>
3417 * string/test-strcmp.c (check): Add explicit test for situations where
3418 there are multiple zero bytes after the first.
3420 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3423 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3424 when compiling wprintf.
3425 * stdio-common/tstdiomisc.c (t3): New function.
3428 2014-05-01 Steve Ellcey <sellcey@mips.com>
3430 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3431 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3432 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3433 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3435 2014-05-01 Steve Ellcey <sellcey@mips.com>
3437 * stdlib/longlong.h: Updated from GCC.
3439 2014-05-01 Will Newton <will.newton@linaro.org>
3440 Bernard Ogden <bernie.ogden@linaro.org>
3442 * NEWS: Update fixed bug list.
3445 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3447 2014-04-30 David S. Miller <davem@davemloft.net>
3449 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3450 (libc_feholdexcept_setround_sparc_ctx): New function.
3451 (libc_fesetenv_sparc_ctx): Likewise.
3452 (libc_feupdateenv_sparc_ctx): Likewise.
3453 (libc_feholdsetround_sparc_ctx): Likewise.
3454 (libc_feholdexcept_setround_ctx): Define.
3455 (libc_feholdexcept_setroundf_ctx): Likewise.
3456 (libc_feholdexcept_setroundl_ctx): Likewise.
3457 (libc_fesetenv_ctx): Likewise.
3458 (libc_fesetenvf_ctx): Likewise.
3459 (libc_fesetenvl_ctx): Likewise.
3460 (libc_feupdateenv_ctx): Likewise.
3461 (libc_feupdateenvf_ctx): Likewise.
3462 (libc_feupdateenvl_ctx): Likewise.
3463 (libc_feresetround_ctx): Likewise.
3464 (libc_feresetroundf_ctx): Likewise.
3465 (libc_feresetroundl_ctx): Likewise.
3466 (libc_feholdsetround_ctx): Likewise.
3467 (libc_feholdsetroundf_ctx): Likewise.
3468 (libc_feholdsetroundl_ctx): Likewise.
3470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3471 with __USE_GNU instead of XOPEN cpp guards.
3473 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3476 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3477 with XOPEN cpp guards.
3479 2014-04-30 Julian Brown <julian@codesourcery.com>
3482 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3485 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3488 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3490 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3491 * sysdeps/unix/sysv/linux/configure: Regenerated.
3492 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3493 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3494 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3495 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3496 * README: Update reference to required Linux kernel version.
3497 * manual/install.texi (Linux): Update reference to required Linux
3498 kernel headers version.
3499 * INSTALL: Regenerated.
3501 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3503 [POSIX] (limits.h): Likewise.
3504 [POSIX] (math.h): Likewise.
3505 [POSIX] (sys/wait.h): Likewise.
3506 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3508 [POSIX] (stddef.h): Do not allow header inclusion.
3510 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3514 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3516 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3517 Return immediately after lll_futex_wake.
3519 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3522 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3524 (datahead_init_pos): Call datahead_init_common early.
3525 (datahead_init_neg): Likewise.
3527 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3528 datahead_init_neg): New functions.
3529 * nscd/aicache.c (addhstaiX): Use them.
3530 * nscd/grpcache.c (cache_addgr): Likewise.
3531 * nscd/hstcache.c (cache_addhst): Likewise.
3532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3533 * nscd/netgroupcache.c (do_notfound): Likewise.
3534 (addgetnetgrentX): Likewise.
3535 (addinnetgrX): Likewise.
3536 * nscd/pwdcache.c (cache_addpw): Likewise.
3537 * nscd/servicescache.c (cache_addserv): Likewise.
3539 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3540 Atsushi Onoe <atsushi@onoe.org>
3545 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3546 one response is valid.
3547 * resolv/res_send.c (send_dg): Check for validity of other
3548 response if the current response is a referral.
3550 2014-04-29 Steve Ellcey <sellcey@mips.com>
3552 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3554 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3557 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3558 Always divide by positive zero when computing -Inf result.
3559 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3560 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3562 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3565 FPSCR if value do not change.
3566 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3567 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3568 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3569 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3570 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3571 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3574 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3576 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3577 * sysdeps/unix/sysv/linux/hppa: Move directory from
3578 ports/systeps/unix/sysv/linux/hppa.
3579 * README: Update listing for hppa-*-linux-gnu.
3581 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3584 * manual/stdio.texi (Hook functions): Fix types of stream hook
3587 * socket/sys/socket.h: Fix typo in comment.
3589 2014-04-28 Wilco <wdijkstr@arm.com>
3591 * sysdeps/arm/fenv_private.h: New file.
3592 * sysdeps/arm/math_private.h: New file.
3593 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3595 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3597 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3599 (La_x86_64_retval): Likewise.
3601 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3603 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3604 fpsr if value didn't change.
3605 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3606 to fpcr if value didn't change.
3607 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3608 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3609 fpsr or fpcr if value didn't change.
3610 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3611 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3612 fpcr if value didn't change.
3613 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3614 to fpsr if value didn't change.
3616 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3618 * nptl/tst-sem3.c: Use test-skeleton.c
3619 (main): Rename to do_test. Use return instead of
3621 * nptl/tst-sem4.c: Use test-skeleton.c
3622 (main): Rename to do_test.
3624 2014-04-22 David S. Miller <davem@davemloft.net>
3626 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3627 (struct sigaction): New struct member __glibc_reserved0, change
3628 type of sa_flags to int.
3630 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3632 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3633 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3635 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3637 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3638 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3640 2014-04-22 Will Newton <will.newton@linaro.org>
3641 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3643 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3644 (__longjmp): Add longjmp and longjmp_target SystemTap
3646 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3647 (__sigsetjmp): Add setjmp SystemTap probe.
3649 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3651 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3654 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3656 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3658 * sysdeps/powerpc/fpu/fenv_private.h
3659 (libc_feholdexcept_setroundl_ctx): Define to
3660 libc_feholdexcept_setround_ppc_ctx.
3661 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3662 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3663 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3664 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3666 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3668 * sysdeps/aarch64/math-tests.h: New file.
3670 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3672 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3675 Check and set bit_AVX2_Usable.
3676 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3678 (bit_AVX2): Likewise.
3679 (index_AVX2_Usable): Likewise.
3680 (CPUID_AVX2): Likewise.
3681 (HAS_AVX2): Likewise.
3683 2014-04-17 Will Newton <will.newton@linaro.org>
3685 * manual/setjmp.texi (System V contexts): Add note that
3686 calling setcontext on a context created by a call to a
3687 signal handler is undefined. Update text to note that
3688 setcontext from a signal handler is possible but not
3692 * stdlib/tst-setcontext.c: Include signal.h.
3693 (main): Check that the signal stack before and
3694 after swapcontext is the same.
3696 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3697 Re-implement to restore registers in user code and avoid
3698 rt_sigreturn system call.
3700 2014-04-17 Wilco <wdijkstr@arm.com>
3702 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3703 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3704 * math/test-fenv.c: Skip exception trap tests on targets which only
3705 support non-stop mode.
3707 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3708 Wilco Dijkstra <wilco.dijkstra@arm.com>
3710 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3711 (libc_feholdsetround_aarch64_ctx)
3712 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3713 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3714 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3715 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3716 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3717 (libc_feresetround_noexl_ctx): Define.
3719 2014-04-16 Richard Henderson <rth@redhat.com>
3721 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3723 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3726 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3727 const from the non-libc, non-ldso copy.
3729 * sysdeps/alpha/libm-test-ulps: Regenerate.
3731 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3732 Wilco Dijkstra <wilco.dijkstra@arm.com>
3734 * sysdeps/aarch64/fpu/math_private.h: New file.
3736 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3738 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3740 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3742 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3743 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3745 Intel MPX bound registers before _dl_profile_fixup.
3746 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3747 registers after _dl_profile_fixup. Save and restore bound
3748 registers bnd0/bnd1 when calling _dl_call_pltexit.
3749 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3750 (LR_BND_OFFSET): Likewise.
3751 (LRV_BND0_OFFSET): Likewise.
3752 (LRV_BND1_OFFSET): Likewise.
3754 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3756 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3758 * sysdeps/mach/hurd/i386/tls.h: ... here.
3759 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3760 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3763 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3765 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3767 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3769 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3771 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3774 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3775 * sysdeps/s390/configure: Regenerate.
3778 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3779 Set round-to-nearest internally to reduce error accumulation.
3781 2014-04-16 Alan Modra <amodra@gmail.com>
3785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3786 * math/libm-test.inc (frexp_test_data): Add tests.
3787 * NEWS: Update fixed bug list.
3789 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3791 * benchtests/Makefile: Depend on libraries in build directory.
3792 (bench-math): Separate out math tests.
3793 (bench-pthread): Separate out pthread tests.
3794 (bench): Include math and pthread tests.
3796 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3799 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3800 _dl_debug_initialize.
3802 * configure.ac: Remove SELinux header check.
3803 * configure: Regenerate.
3804 * nscd/selinux.c (perms): Array of const char* to permission names.
3805 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3806 default policy. Call string_to_security_class and string_to_av_perm to
3807 translate strings. Enforce default policy and call avs_has_perm with
3808 results of translated strings.
3810 2014-04-13 David S. Miller <davem@davemloft.net>
3812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3814 2014-04-12 Allan McRae <allan@archlinux.org>
3817 * manual/string.texi (Collation Functions): Fix qsort argument
3819 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3821 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3823 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3824 Make the test a no-op if there are no exceptions defined.
3826 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3828 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3829 enable-hardcoded-path-in-tests
3831 2014-04-11 Will Newton <will.newton@linaro.org>
3833 * benchtests/Makefile (extra-objs): Add json-lib.o.
3834 (bench-func): Tidy up JSON output.
3835 * benchtests/bench-skeleton.c: Include json-lib.h.
3836 (main): Use JSON library functions to do output of
3838 * benchtests/bench-timing-type.c (main): Output the
3839 timing type simply, leaving formatting to the user.
3840 * benchtests/json-lib.c: New file.
3841 * benchtests/json-lib.h: Likewise.
3843 2014-04-11 Torvald Riegel <triegel@redhat.com>
3846 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3847 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3848 memory barriers. Add comments.
3849 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3850 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3851 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3852 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3853 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3854 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3856 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3858 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3859 * sysdeps/s390/s390-64/configure.ac: ... this ...
3860 * sysdeps/s390/configure.ac: ... to here.
3861 * sysdeps/s390/s390-32/configure: Delete file.
3862 * sysdeps/s390/s390-64/configure: Delete file.
3863 * sysdeps/s390/configure: Regenerate.
3865 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3867 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3869 2014-04-11 Will Newton <will.newton@linaro.org>
3871 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3872 to zero if it is not defined elsewhere. (mtrim): Test
3873 the value of MALLOC_DEBUG with #if rather than #ifdef.
3875 2014-04-10 Torvald Riegel <triegel@redhat.com>
3877 * benchtests/pthread_once-inputs: New file.
3878 * benchtests/pthread_once-source.c: New file.
3879 * benchtests/README: Update documentation.
3881 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3882 H.J. Lu <hongjiu.lu@intel.com>
3884 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3885 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3886 * sysdeps/x86_64/configure: Regenerated.
3887 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3889 (REGISTER_SAVE_RAX): Likewise.
3890 (REGISTER_SAVE_RCX): Likewise.
3891 (REGISTER_SAVE_RDX): Likewise.
3892 (REGISTER_SAVE_RSI): Likewise.
3893 (REGISTER_SAVE_RDI): Likewise.
3894 (REGISTER_SAVE_R8): Likewise.
3895 (REGISTER_SAVE_R9): Likewise.
3896 (REGISTER_SAVE_BND0): Likewise.
3897 (REGISTER_SAVE_BND1): Likewise.
3898 (REGISTER_SAVE_BND2): Likewise.
3899 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3900 bound registers when calling _dl_fixup.
3902 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3904 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3905 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3907 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3908 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3909 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3910 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3911 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3912 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3913 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3915 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3918 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3919 pathconf(_PC_NAME_MAX).
3921 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3925 (__PTHREAD_SPINS): Move definition to ...
3926 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3927 (__PTHREAD_SPINS): ... here.
3928 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3929 (__PTHREAD_SPIN): Likewise.
3930 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3931 (__PTHREAD_SPIN): Likewise.
3932 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3933 (__PTHREAD_SPIN): Likewise.
3934 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3935 (__PTHREAD_SPIN): Likewise.
3936 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3937 (__PTHREAD_SPIN): Likewise.
3938 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3939 (__PTHREAD_SPIN): Likewise.
3940 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3941 (__PTHREAD_SPIN): Likewise.
3942 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3943 (__PTHREAD_SPIN): Likewise.
3944 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3945 (__PTHREAD_SPIN): Likewise.
3946 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3947 (__PTHREAD_SPIN): Likewise.
3948 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3949 (__PTHREAD_SPIN): Likewise.
3950 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3951 (__PTHREAD_SPIN): Likewise.
3953 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3954 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3955 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3956 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3959 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3960 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3961 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3963 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3964 strlen symbol for non multi-arch builds.
3965 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3966 missing hidden_def and weak_alias.
3968 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3970 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3972 2014-04-07 Will Newton <will.newton@linaro.org>
3974 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3975 and contents. [!_LIBC] Remove #ifndef and contents.
3976 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3977 * string/memccpy.c (__memccpy): Use ANSI prototype.
3978 * string/memfrob.c (memfrob): Likewise.
3979 * string/strcoll.c (STRCOLL): Likewise.
3980 * string/strlen.c (strlen): Likewise.
3981 * string/strtok.c (STRTOK): Likewise.
3982 * string/strcat.c: Remove unused #include of memcopy.h.
3983 (strcat): Use ANSI prototype.
3984 * string/strchr.c: Remove unused #include of memcopy.h.
3985 (strchr): Use ANSI prototype.
3986 * string/strcmp.c: Remove unused #include of memcopy.h.
3987 (strcmp): Use ANSI prototype.
3988 * string/strcpy.c: Remove unused #include of memcopy.h.
3989 (strcpy): Use ANSI prototype.
3991 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3993 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3994 * config.make.in (config-extra-cppflags): Set it from
3995 libc_extra_cppflags.
3996 * configure.ac (libc_extra_cflags): Make it accumulate over
3997 configure fragments.
3998 (libc_extra_cppflags): New flag.
3999 * configure. Regenerate.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4001 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4002 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4007 result for FE_DOWNWARD rounding mode.
4008 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4012 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4014 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4015 in function argument name.
4017 2014-04-03 David Svoboda <svoboda@cert.org>
4020 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4023 2014-04-03 Roland McGrath <roland@hack.frob.com>
4025 * elf/dl-unmap-segments.h: New file.
4026 * sysdeps/generic/ldsodefs.h
4027 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4028 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4029 * elf/dl-fptr.c: Likewise.
4030 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4031 * sysdeps/aarch64/tlsdesc.c: Likewise.
4032 * sysdeps/arm/tlsdesc.c: Likewise.
4033 * sysdeps/i386/tlsdesc.c: Likewise.
4034 * sysdeps/tile/dl-runtime.c: Likewise.
4035 * sysdeps/x86_64/tlsdesc.c: Likewise.
4036 * elf/dl-load.h: New file.
4037 * elf/dl-load.c: Include it.
4038 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4039 Macros moved to dl-load.h.
4040 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4041 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4042 Use _dl_unmap_segments in place of __munmap.
4043 Break out segment-mapping loop into ...
4044 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4046 2014-04-03 Will Newton <will.newton@linaro.org>
4048 * elf/dl-lookup.c (do_lookup_x): Remove comment
4049 referring to nested function and move variable
4050 declarations down to before first use.
4052 2014-04-02 Joseph Myers <joseph@codesourcery.com>
4056 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4058 * math/s_catanf.c (__catanf): Likewise.
4059 * math/s_catanh.c (__catanh): Likewise.
4060 * math/s_catanhf.c (__catanhf): Likewise.
4061 * math/s_catanhl.c (__catanhl): Likewise.
4062 * math/s_catanl.c (__catanl): Likewise.
4063 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4064 by positive zero when computing -Inf result.
4065 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4066 (catanh_test): Likewise.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4071 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4072 instead of using underflowing value in computing result.
4073 * math/s_clog10.c (__clog10): Likewise.
4074 * math/s_clog10f.c (__clog10f): Likewise.
4075 * math/s_clog10l.c (__clog10l): Likewise.
4076 * math/s_clogf.c (__clogf): Likewise.
4077 * math/s_clogl.c (__clogl): Likewise.
4078 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4079 (clog10_test): Likewise.
4080 * sysdeps/i386/fpu/libm-test-ulps: Update.
4081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4083 2014-04-02 Alan Modra <amodra@gmail.com>
4086 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4087 output when value is near a power of two. Use int64_t for lx and
4088 remove casts. Use decimal rather than hex exponent constants.
4089 Don't use long double multiplication when double will suffice.
4090 * math/libm-test.inc (nextafter_test_data): Add tests.
4091 * NEWS: Add 16739 and 16786 to bug list.
4093 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4095 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4097 2014-04-01 Will Newton <will.newton@linaro.org>
4099 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4100 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4102 2014-04-01 Florian Weimer <fweimer@redhat.com>
4105 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4106 * nptl/tst-setuid2.c: New file.
4107 * nptl/Makefile (xtests): Add tst-setuid2.
4109 2014-04-01 Alan Modra <amodra@gmail.com>
4112 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4114 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4118 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4119 set errno as appropriate.
4120 * math/w_scalbf.c (__scalbf): Likewise.
4121 * math/w_scalbl.c (__scalbl): Likewise.
4122 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4123 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4124 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4128 * math/w_atan2.c: Include <errno.h>.
4129 (__atan2): Set errno for result underflowing to zero.
4130 * math/w_atan2f.c: Include <errno.h>.
4131 (__atan2f): Set errno for result underflowing to zero.
4132 * math/w_atan2l.c: Include <errno.h>.
4133 (__atan2l): Set errno for result underflowing to zero.
4134 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4136 * math/auto-libm-test-out: Regenerated.
4138 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4140 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4141 Encode instruction correctly in little endian.
4142 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4144 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4146 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4148 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4151 2014-03-31 Joseph Myers <joseph@codesourcery.com>
4154 * sysdeps/unix/sysv/linux/kernel-features.h
4155 [__sparc__ && !__arch64__ && !__sparc_v9__]
4156 (__ASSUME_SET_ROBUST_LIST): Do not define.
4157 [__sparc__ && !__arch64__ && !__sparc_v9__]
4158 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4159 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4162 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4163 (__ASSUME_REQUEUE_PI): Likewise.
4164 (__ASSUME_SET_ROBUST_LIST): Likewise.
4165 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4166 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4168 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4169 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4171 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4173 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4175 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4176 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4178 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4179 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4184 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4185 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4187 2014-03-31 Will Newton <will.newton@linaro.org>
4189 * benchtests/Makefile (bench): Add ffs and ffsll to list
4191 * benchtests/ffs-inputs: New file.
4192 * benchtests/ffsll-inputs: Likewise.
4194 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4197 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4198 too large before casting to int.
4199 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4200 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4201 * math/libm-test.inc (scalb_test_data): Add more tests.
4203 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4205 * benchtests/Makefile (DETAILED_OPT): New make option.
4206 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4208 * benchtests/bench-skeleton.c: Include stdbool.h.
4209 (main): Store and print timings per input.
4210 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4211 member to each argument value.
4212 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4213 (_print_arg_data): Initialize per-input timing to 0.
4215 * benchtests/Makefile (timing-type): New binary.
4216 (bench-clean): Also remove bench-timing-type.
4217 (bench): New target for timing-type.
4218 (bench-func): Print output in JSON format.
4219 * benchtests/bench-skeleton.c (main): Print output in JSON
4221 * benchtests/bench-timing-type.c: New file.
4222 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4223 (TIMING_PRINT_STATS): Remove.
4224 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4227 * benchtests/bench-modf.c: Remove.
4228 * benchtests/modf-inputs: New inputs file.
4230 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4233 * math/s_clog10.c (M_PI_LOG10E): New macro.
4234 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4235 imaginary parts are 0.
4236 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4237 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4238 imaginary parts are 0.
4239 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4240 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4241 imaginary parts are 0.
4242 * math/libm-test.inc (clog10_test_data): Update expected results
4243 for when real and imaginary parts are 0.
4245 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4247 * elf/dl-load.c: Finish conversion of __builtin_expect into
4250 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4253 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4254 1+x for argument with exponent below -67.
4255 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4257 * math/auto-libm-test-in: Add more tests of exp.
4258 * math/auto-libm-test-out: Regenerated.
4260 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4264 (nscd_getnetgrent): Use it.
4267 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4270 2014-03-27 Andi Kleen <ak@linux.intel.com>
4272 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4273 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4274 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4275 (lll_robust_unlock): Remove out of line section. Use cfi
4277 (LLL_STUB_UNWIND_INFO*): Remove.
4278 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4279 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4280 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4281 (lll_robust_unlock): Remove out of line section. Use cfi
4283 (LLL_STUB_UNWIND_INFO*): Remove.
4285 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4288 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4291 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4293 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4295 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4298 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4300 * math/test-fenv-preserve.c: New file.
4301 * math/Makefile (tests): Add test-fenv-preserve.
4303 2014-03-26 Will Newton <will.newton@linaro.org>
4305 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4307 2014-03-25 Roland McGrath <roland@hack.frob.com>
4309 * scripts/versionlist.awk: Partition the version sets and emit all
4310 GLIBC_* (sorted) before all others (sorted).
4312 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4314 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4315 GLIBC_2.2.5 version.
4317 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4319 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4322 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4327 2014-03-25 Andreas Schwab <schwab@suse.de>
4329 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4330 label to be used after in6ailist is initialized.
4332 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4334 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4335 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4337 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4341 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4343 (fp_formats): Update initializers.
4344 (init_fp_formats): Initialize new field.
4345 (output_for_one_input_case): Allow underflow for results up to
4347 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4348 * math/auto-libm-test-in: Don't mark some underflows from asin and
4350 * math/auto-libm-test-out: Regenerated.
4351 * sysdeps/i386/fpu/libm-test-ulps: Update.
4352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4354 2014-03-25 Andreas Schwab <schwab@suse.de>
4356 * libio/Makefile (tst-ftell-partial-wide-ENV)
4357 (tst-ftell-active-handler-ENV): Define.
4359 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4361 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4363 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4365 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4367 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4369 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4370 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4371 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4373 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4376 * elf/dl-load.c (open_verify): Add mode parameter.
4377 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4378 (open_path): Change from boolean 'secure' to complete flag 'mode'
4379 (_dl_map_object): Adjust.
4380 * elf/Makefile (tests): Add tst-dlopen-aout.
4381 * elf/tst-dlopen-aout.c: New test.
4383 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4386 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4387 (struct stat): Rename member pad0 to __glibc_reserved0.
4390 * sysdeps/s390/s390-32/bits/wordsize.h
4391 (__WORDSIZE32_SIZE_ULONG): New define.
4392 * sysdeps/s390/s390-64/bits/wordsize.h
4393 (__WORDSIZE32_SIZE_ULONG): Likewise.
4394 * sysdeps/generic/stdint.h (SIZE_MAX):
4395 Define as UL if __WORDSIZE32_SIZE_ULONG.
4398 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4399 (__glibc_reserved0): New variable.
4400 (sa_flags): Change type to int.
4402 * posix/Makefile (before-compile): Use += before-compile instead
4405 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4406 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4408 2014-03-20 Andreas Schwab <schwab@suse.de>
4411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4412 non-matching result from nscd.
4414 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4416 * scripts/bench.py: Moved to ...
4417 * benchtests/scripts/bench.py: ... here.
4418 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4420 2014-03-24 Andreas Schwab <schwab@suse.de>
4423 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4424 alloca_account and account alloca use for struct in6ailist.
4426 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4429 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4430 rounding mode to recompute results that overflow to infinity or
4432 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4434 * math/auto-libm-test-out: Regenerated.
4435 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4436 (ccosh_test): Likewise.
4437 (csin_test_data): Use plus_oflow.
4438 (csin_test): Use ALL_RM_TEST.
4439 (csinh_test_data): Use plus_oflow.
4440 (csinh_test): Use ALL_RM_TEST.
4441 * sysdeps/i386/fpu/libm-test-ulps: Update.
4442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4444 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4446 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4447 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4448 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4451 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4453 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4454 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4455 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4458 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4459 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4461 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4462 * sysdeps/i386/fpu/libm-test-ulps: Update.
4463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4465 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4467 * scripts/bench.pl: Remove file.
4468 * scripts/bench.py: New benchmark script.
4469 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4470 * benchtests/README: Mention python dependency.
4471 * scripts/pylintrc: New file.
4472 * scripts/pylint: New file.
4474 * bits/mathdef.h: Use #ifdef instead of #if.
4475 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4476 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4477 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4478 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4479 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4480 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4482 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4483 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4485 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4487 and strpbrk-ppc64 objects.
4488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4489 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4490 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4491 multiarch strpbrk for POWER7.
4492 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4493 multiarch strpbrk for PPC64.
4494 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4496 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4499 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4501 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4502 (atan_test): Likewise.
4503 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4504 (atanh_test): Use ALL_RM_TEST.
4505 (atan2_test_data): Likewise.
4506 (cabs_test): Likewise.
4507 (cacosh_test): Likewise.
4508 (carg_test): Likewise.
4509 (casin_test): Likewise.
4510 (casinh_test): Likewise.
4511 (cbrt_test): Likewise.
4512 (csqrt_test): Likewise.
4513 (erf_test): Likewise.
4514 (erfc_test): Likewise.
4515 (pow10_test): Likewise.
4516 (exp2_test): Likewise.
4517 (hypot_test): Likewise.
4518 (j0_test): Likewise.
4519 (j1_test): Likewise.
4520 (lgamma_test): Likewise.
4521 (gamma_test): Likewise.
4522 (sincos_test): Likewise.
4523 (tanh_test): Likewise.
4524 (y0_test): Likewise.
4525 (y1_test): Likewise.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4529 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4531 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4533 and strcspn-ppc64 objects.
4534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4535 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4536 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4537 multiarch strcspn for POWER7.
4538 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4539 multiarch strcspn for PPC64.
4540 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4542 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4545 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4547 * math/gen-libm-test.pl (generate_testfile): Expect only function
4548 name as argument to AUTO_TESTS_* and pass results for all rounding
4549 modes to parse_args.
4550 (parse_auto_input): Separate inputs of automatic tests from
4551 outputs before storing in %auto_tests.
4552 * math/libm-test.inc (acos_test_data): Update call to
4554 (acos_test): Use ALL_RM_TEST.
4555 (acos_tonearest_test_data): Remove.
4556 (acos_test_tonearest): Likewise.
4557 (acos_towardzero_test_data): Likewise.
4558 (acos_test_towardzero): Likewise.
4559 (acos_downward_test_data): Likewise.
4560 (acos_test_downward): Likewise.
4561 (acos_upward_test_data): Likewise.
4562 (acos_test_upward): Likewise.
4563 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4564 (asin_test_data): Likewise.
4565 (asin_test): Use ALL_RM_TEST.
4566 (asin_tonearest_test_data): Remove.
4567 (asin_test_tonearest): Likewise.
4568 (asin_towardzero_test_data): Likewise.
4569 (asin_test_towardzero): Likewise.
4570 (asin_downward_test_data): Likewise.
4571 (asin_test_downward): Likewise.
4572 (asin_upward_test_data): Likewise.
4573 (asin_test_upward): Likewise.
4574 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4575 (atan_test_data): Likewise.
4576 (atanh_test_data): Likewise.
4577 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4578 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4579 (carg_test_data): Likewise.
4580 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4581 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4582 (ccosh_test_data): Likewise.
4583 (cexp_test_data): Likewise.
4584 (clog_test_data): Likewise.
4585 (clog10_test_data): Likewise.
4586 (cos_test_data): Update call to AUTO_TESTS_f_f.
4587 (cos_test): Use ALL_RM_TEST.
4588 (cos_tonearest_test_data): Remove.
4589 (cos_test_tonearest): Likewise.
4590 (cos_towardzero_test_data): Likewise.
4591 (cos_test_towardzero): Likewise.
4592 (cos_downward_test_data): Likewise.
4593 (cos_test_downward): Likewise.
4594 (cos_upward_test_data): Likewise.
4595 (cos_test_upward): Likewise.
4596 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4597 (cosh_test): Use ALL_RM_TEST.
4598 (cosh_tonearest_test_data): Remove.
4599 (cosh_test_tonearest): Likewise.
4600 (cosh_towardzero_test_data): Likewise.
4601 (cosh_test_towardzero): Likewise.
4602 (cosh_downward_test_data): Likewise.
4603 (cosh_test_downward): Likewise.
4604 (cosh_upward_test_data): Likewise.
4605 (cosh_test_upward): Likewise.
4606 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4607 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4608 (ctan_test_data): Likewise.
4609 (ctan_test): Use ALL_RM_TEST.
4610 (ctan_tonearest_test_data): Remove.
4611 (ctan_test_tonearest): Likewise.
4612 (ctan_towardzero_test_data): Likewise.
4613 (ctan_test_towardzero): Likewise.
4614 (ctan_downward_test_data): Likewise.
4615 (ctan_test_downward): Likewise.
4616 (ctan_upward_test_data): Likewise.
4617 (ctan_test_upward): Likewise.
4618 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4619 (ctanh_test): Use ALL_RM_TEST.
4620 (ctanh_tonearest_test_data): Remove.
4621 (ctanh_test_tonearest): Likewise.
4622 (ctanh_towardzero_test_data): Likewise.
4623 (ctanh_test_towardzero): Likewise.
4624 (ctanh_downward_test_data): Likewise.
4625 (ctanh_test_downward): Likewise.
4626 (ctanh_upward_test_data): Likewise.
4627 (ctanh_test_upward): Likewise.
4628 (erf_test_data): Update call to AUTO_TESTS_f_f.
4629 (erfc_test_data): Likewise.
4630 (exp_test_data): Likewise.
4631 (exp_test): Use ALL_RM_TEST.
4632 (exp_tonearest_test_data): Remove.
4633 (exp_test_tonearest): Likewise.
4634 (exp_towardzero_test_data): Likewise.
4635 (exp_test_towardzero): Likewise.
4636 (exp_downward_test_data): Likewise.
4637 (exp_test_downward): Likewise.
4638 (exp_upward_test_data): Likewise.
4639 (exp_test_upward): Likewise.
4640 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4641 (exp10_test): Use ALL_RM_TEST.
4642 (exp10_tonearest_test_data): Remove.
4643 (exp10_test_tonearest): Likewise.
4644 (exp10_towardzero_test_data): Likewise.
4645 (exp10_test_towardzero): Likewise.
4646 (exp10_downward_test_data): Likewise.
4647 (exp10_test_downward): Likewise.
4648 (exp10_upward_test_data): Likewise.
4649 (exp10_test_upward): Likewise.
4650 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4651 (expm1_test_data): Likewise.
4652 (expm1_test): Use ALL_RM_TEST.
4653 (expm1_tonearest_test_data): Remove.
4654 (expm1_test_tonearest): Likewise.
4655 (expm1_towardzero_test_data): Likewise.
4656 (expm1_test_towardzero): Likewise.
4657 (expm1_downward_test_data): Likewise.
4658 (expm1_test_downward): Likewise.
4659 (expm1_upward_test_data): Likewise.
4660 (expm1_test_upward): Likewise.
4661 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4662 (fma_test): Use ALL_RM_TEST.
4663 (fma_towardzero_test_data): Remove.
4664 (fma_test_towardzero): Likewise.
4665 (fma_downward_test_data): Likewise.
4666 (fma_test_downward): Likewise.
4667 (fma_upward_test_data): Likewise.
4668 (fma_test_upward): Likewise.
4669 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4670 (j0_test_data): Update call to AUTO_TESTS_f_f.
4671 (j1_test_data): Likewise.
4672 (jn_test_data): Update call to AUTO_TESTS_if_f.
4673 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4674 (log_test_data): Update call to AUTO_TESTS_f_f.
4675 (log10_test_data): Likewise.
4676 (log1p_test_data): Likewise.
4677 (log2_test_data): Likewise.
4678 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4679 (pow_tonearest_test_data): Likewise.
4680 (sin_test_data): Update call to AUTO_TESTS_f_f.
4681 (sin_test): Use ALL_RM_TEST.
4682 (sin_tonearest_test_data): Remove.
4683 (sin_test_tonearest): Likewise.
4684 (sin_towardzero_test_data): Likewise.
4685 (sin_test_towardzero): Likewise.
4686 (sin_downward_test_data): Likewise.
4687 (sin_test_downward): Likewise.
4688 (sin_upward_test_data): Likewise.
4689 (sin_test_upward): Likewise.
4690 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4691 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4692 (sinh_test): Use ALL_RM_TEST.
4693 (sinh_tonearest_test_data): Remove.
4694 (sinh_test_tonearest): Likewise.
4695 (sinh_towardzero_test_data): Likewise.
4696 (sinh_test_towardzero): Likewise.
4697 (sinh_downward_test_data): Likewise.
4698 (sinh_test_downward): Likewise.
4699 (sinh_upward_test_data): Likewise.
4700 (sinh_test_upward): Likewise.
4701 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4702 (sqrt_test): Use ALL_RM_TEST.
4703 (sqrt_tonearest_test_data): Remove.
4704 (sqrt_test_tonearest): Likewise.
4705 (sqrt_towardzero_test_data): Likewise.
4706 (sqrt_test_towardzero): Likewise.
4707 (sqrt_downward_test_data): Likewise.
4708 (sqrt_test_downward): Likewise.
4709 (sqrt_upward_test_data): Likewise.
4710 (sqrt_test_upward): Likewise.
4711 (tan_test_data): Update call to AUTO_TESTS_f_f.
4712 (tan_test): Use ALL_RM_TEST.
4713 (tan_tonearest_test_data): Remove.
4714 (tan_test_tonearest): Likewise.
4715 (tan_towardzero_test_data): Likewise.
4716 (tan_test_towardzero): Likewise.
4717 (tan_downward_test_data): Likewise.
4718 (tan_test_downward): Likewise.
4719 (tan_upward_test_data): Likewise.
4720 (tan_test_upward): Likewise.
4721 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4722 (tgamma_test_data): Likewise.
4723 (y0_test_data): Likewise.
4724 (y1_test_data): Likewise.
4725 (yn_test_data): Update call to AUTO_TESTS_if_f.
4726 (main): Do not call removed functions.
4728 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4730 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4731 (ldexp_test_data): Remove.
4732 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4734 (scalb_test): Use ALL_RM_TEST.
4736 2014-03-19 Andreas Schwab <schwab@suse.de>
4738 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4740 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4744 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4745 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4746 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4747 (__ASSUME_PREADV): Undefine.
4748 (__ASSUME_PWRITEV): Likewise.
4750 2014-03-18 Roland McGrath <roland@hack.frob.com>
4752 * bits/mman-linux.h: Add comment about non-Linux use.
4753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4754 bits/mman-linux.h resting place.
4756 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4757 * bits/mman-linux.h: ... here.
4759 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761 * conform/conformtest.pl: Add standard definition when calling C
4762 preprocessor on data files.
4763 (checknamespace): Remove unused variable.
4765 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4767 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4768 minus_oflow, plus_uflow and minus_uflow in expected results.
4769 * math/libm-test.inc (scalbn_test_data): Add more tests of
4770 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4772 (scalbn_test): Use ALL_RM_TEST.
4773 (scalbln_test_data): Add more tests of negative arguments. Use
4774 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4775 (scalbln_test): Use ALL_RM_TEST.
4777 2014-03-18 Roland McGrath <roland@hack.frob.com>
4779 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4781 2014-03-18 Will Newton <will.newton@linaro.org>
4783 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4786 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4788 * Makerules [!subdir] (check-abi): Exit with error status if a
4791 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4793 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4794 for rint. Include results for all rounding modes.
4795 (nearbyint_test): Use ALL_RM_TEST.
4796 (rint_test_data): Include all tests used for nearbyint.
4798 2014-03-17 Will Newton <will.newton@linaro.org>
4800 * nptl/sysdeps/pthread/pthread.h: Revert previous
4803 * sysdeps/generic/ldsodefs.h: Revert previous
4806 * libio/genops.c: Revert previous change.
4807 * libio/libioP.h: Likewise.
4808 * stdio-common/vfprintf.c: Likewise.
4810 * sysdeps/generic/math_private.h: Revert previous
4813 * sysdeps/generic/math_private.h: Check whether
4814 HAVE_RM_CTX is defined with #ifdef rather
4817 * argp/argp-fmtstream.h: Check whether
4818 __STRICT_ANSI__ is defined with #ifdef rather
4820 * argp/argp.h: Likewise.
4822 * libio/genops.c: Check whether
4823 _IO_JUMPS_OFFSET is defined with #ifdef rather
4825 * libio/libioP.h: Likewise.
4826 * stdio-common/vfprintf.c: Likewise.
4828 * sysdeps/generic/ldsodefs.h: Check whether
4829 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4832 * nptl/sysdeps/pthread/pthread.h: Check
4833 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4836 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4838 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4840 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4844 * libio/fileops.c (_IO_file_open): Seek to end of file but
4845 don't cache the offset.
4846 (get_file_offset): Remove function.
4847 (do_ftell): Use cached offset when available.
4848 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4849 don't cache the offset.
4850 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4852 (do_one_test): Call it.
4853 (do_ftell_test): Fix up expected old offset for a+ mode.
4854 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4857 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4858 up test status with function return status.
4859 (do_write_test): Likewise.
4860 (do_append_test): Likewise.
4862 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4863 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4866 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4868 * math/gen-libm-test.pl (parse_args): Handle results specified for
4869 each rounding mode separately.
4870 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4871 tests and results from lrint_tonearest_test_data,
4872 lrint_towardzero_test_data, lrint_downward_test_data and
4873 lrint_upward_test_data.
4874 (lrint_test): Use ALL_RM_TEST.
4875 (lrint_tonearest_test_data): Remove.
4876 (lrint_test_tonearest): Likewise.
4877 (lrint_towardzero_test_data): Likewise.
4878 (lrint_test_towardzero): Likewise.
4879 (lrint_downward_test_data): Likewise.
4880 (lrint_test_downward): Likewise.
4881 (lrint_upward_test_data): Likewise.
4882 (lrint_test_upward): Likewise.
4883 (llrint_test_data): Merge in per-rounding-mode tests and results
4884 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4885 llrint_downward_test_data and llrint_upward_test_data.
4886 (llrint_test): Use ALL_RM_TEST.
4887 (llrint_tonearest_test_data): Remove.
4888 (llrint_test_tonearest): Likewise.
4889 (llrint_towardzero_test_data): Likewise.
4890 (llrint_test_towardzero): Likewise.
4891 (llrint_downward_test_data): Likewise.
4892 (llrint_test_downward): Likewise.
4893 (llrint_upward_test_data): Likewise.
4894 (llrint_test_upward): Likewise.
4895 (rint_test_data): Merge in per-rounding-mode tests and results
4896 from rint_tonearest_test_data, rint_towardzero_test_data,
4897 rint_downward_test_data and rint_upward_test_data. Add
4898 per-rounding-mode results for tests not in those arrays.
4899 (rint_test): Use ALL_RM_TEST.
4900 (rint_tonearest_test_data): Remove.
4901 (rint_test_tonearest): Likewise.
4902 (rint_towardzero_test_data): Likewise.
4903 (rint_test_towardzero): Likewise.
4904 (rint_downward_test_data): Likewise.
4905 (rint_test_downward): Likewise.
4906 (rint_upward_test_data): Likewise.
4907 (rint_test_upward): Likewise.
4908 (main): Don't call removed functions.
4910 2014-03-14 Roland McGrath <roland@hack.frob.com>
4912 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4913 "Compiled on ..." crapola. It is anti-useful.
4915 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4917 * scripts/evaluate-test.sh: Handle fourth argument to determine
4918 whether test run should stop on failure.
4919 * Makeconfig (stop-on-test-failure): New variable.
4920 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4921 $(stop-on-test-failure).
4922 * Makefile (tests): Give a summary of results from testing and
4923 exit with failure status if they include an ERROR or FAIL.
4925 * manual/install.texi (Configuring and compiling): Mention
4926 stop-on-test-failure=y.
4927 * INSTALL: Regenerated.
4929 2014-03-14 Roland McGrath <roland@hack.frob.com>
4931 * scripts/versionlist.awk: New file.
4932 * Makerules [$(build-shared) = yes]
4933 (postclean-generated): Add Versions.def, not Versions.def.v and
4935 ($(common-objpfx)Versions.def.v.i): Target removed.
4936 ($(common-objpfx)Versions.def): New target.
4937 ($(common-objpfx)Versions.all): Depend on that rather that
4938 $(common-objpfx)Versions.def.v.
4939 * Versions.def: File removed.
4941 * Makeconfig (+gccwarn): Add -Wundef.
4942 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4943 a dl-sysdep.h breaking its contract.
4944 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4945 * include/stackinfo.h: New file.
4946 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4947 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4948 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4949 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4950 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4951 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4952 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4953 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4954 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4955 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4956 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4957 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4958 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4959 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4960 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4962 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4965 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4967 * math/libm-test.inc (round_test_data): Add more tests.
4970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4972 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4975 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4977 * math/libm-test.inc (ceil_test_data): Add more tests.
4979 * math/libm-test.inc (trunc_test_data): Add more tests related to
4982 2014-03-14 Roland McGrath <roland@hack.frob.com>
4984 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4985 with #if rather than #ifdef.
4986 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4988 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4990 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4991 first. Disable AVX-512 GCC support if assembler doesn't support
4993 * sysdeps/x86_64/configure: Regenerated.
4995 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4997 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4998 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4999 (__old_pthread_attr_setstack): Likewise.
5000 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5001 [!_STACK_GROWS_DOWN]: Likewise.
5003 2014-03-13 Mike Frysinger <vapier@gentoo.org>
5005 * config.make.in (have-bash2): Delete.
5006 * configure.ac (libc_cv_have_bash2): Delete.
5007 * configure: Regenerate.
5008 * elf/Makefile (common-ldd-rewrite): Rename to ...
5009 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5010 (sh-ldd-rewrite): Delete.
5011 (bash-ldd-rewrite): Delete.
5012 (have-bash2): Delete checks.
5013 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5016 * config.make.in (have-ksh): Delete.
5018 * configure.ac (libc_cv_have_ksh): Delete.
5019 * configure: Regenerate.
5021 * elf/Makefile: Delete $(have-ksh) check.
5022 ($(objpfx)sotruss): Change KSH to BASH.
5023 * elf/sotruss.ksh: Rename to ...
5024 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5025 function style to match POSIX. Drop ksh vim mode setting.
5027 * manual/time.texi (Specifying the Time Zone with TZ): Change
5028 Tuesday to Thursday.
5030 * debug/tst-longjmp_chk2.c: Update header comment.
5031 (stackoverflow_handler): Add comment. Call assert on pass value.
5033 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5035 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5036 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5037 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5038 (La_x86_64_vector): Add zmm.
5039 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5040 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5041 ($(objpfx)tst-audit10): New target.
5042 ($(objpfx)tst-audit10.out): Likewise.
5043 (tst-audit10-ENV): New.
5044 (AVX512-CFLAGS): Likewise.
5045 (CFLAGS-tst-audit10.c): Likewise.
5046 (CFLAGS-tst-auditmod10a.c): Likewise.
5047 (CFLAGS-tst-auditmod10b.c): Likewise.
5048 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5049 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5050 * sysdeps/x86_64/configure: Regenerated.
5051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5052 AVX-512 zmm register support.
5053 (_dl_x86_64_save_sse): Likewise.
5054 (_dl_x86_64_restore_sse): Likewise.
5055 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5056 size vector registers.
5057 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5058 (ZMM_SIZE): Likewise.
5059 * sysdeps/x86_64/tst-audit10.c: New file.
5060 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5061 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5063 2014-03-13 Roland McGrath <roland@hack.frob.com>
5065 * configure.ac (HAVE_EHDR_START): New check.
5066 * configure: Regenerated.
5067 * config.h.in (HAVE_EHDR_START): New #undef.
5068 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5069 assuming the lowest-addressed segment maps the start of the file.
5071 2014-03-13 Joseph Myers <joseph@codesourcery.com>
5073 * INSTALL: Regenerated.
5075 2014-03-13 Will Newton <will.newton@linaro.org>
5077 * manual/setjmp.texi (System V contexts): Improve
5078 clarity and grammar of documentation.
5080 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5083 * elf/Makefile (tests): Add tst-pie2.
5084 (tests-pie): Add tst-pie2.
5085 * elf/tst-pie2.c: New file.
5086 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5088 * elf/rtld.c (map_doit): Load executable as lt_executable.
5089 (dl_main): Likewise.
5091 2014-03-12 Joseph Myers <joseph@codesourcery.com>
5094 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5095 (__ASSUME_PSELECT): Undefine.
5097 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5101 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5103 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5104 selector for static builds.
5106 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5109 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5112 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5114 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5115 IFUNC selector for static builds.
5117 2014-03-11 Joseph Myers <joseph@codesourcery.com>
5119 * sysdeps/mips/math_private.h [__mips_hard_float]
5120 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5121 libc_feresetround_mips_ctx.
5122 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5123 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5124 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5127 * math/s_nextafter.c (__nextafter): Do not return value from
5128 overflowing computation.
5129 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5130 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5131 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5133 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5135 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5136 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5138 2014-03-11 Roland McGrath <roland@hack.frob.com>
5140 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5141 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5142 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5143 the new mov targetting sp.
5145 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5148 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5149 Define it for static builds as well.
5150 (NO_BZERO_IMPL): Likewise.
5152 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5154 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5155 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5156 multiarch strspn for PPC64.
5157 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5158 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5160 (__libc_ifunc_impl_list): Likewise.
5161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5162 multiarch optimizations
5163 * string/strspn.c (strspn): Using macro to redefine symbol name.
5165 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5166 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5169 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5170 multiarch strncat for PPC64.
5171 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5172 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5173 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5174 (__libc_ifunc_impl_list): Likewise.
5175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5176 multiarch optimizations
5178 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5181 * nscd/nscd.service: Make service type forking.
5183 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5185 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5186 sign in non default rounding modes.
5187 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5189 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5191 * math/libm-test.inc (ALL_RM_TEST): New macro.
5192 (ceil_test): Use ALL_RM_TEST.
5193 (cimag_test): Likewise.
5194 (conj_test): Likewise.
5195 (copysign_test): Likewise.
5196 (cproj_test): Likewise.
5197 (creal_test): Likewise.
5198 (fabs_test): Likewise.
5199 (floor_test): Likewise.
5200 (fmax_test): Likewise.
5201 (fmin_test): Likewise.
5202 (fmod_test): Likewise.
5203 (fpclassify_test): Likewise.
5204 (frexp_test): Likewise.
5205 (ilogb_test): Likewise.
5206 (isfinite_test): Likewise.
5207 (finite_test): Likewise.
5208 (isgreater_test): Likewise.
5209 (isgreaterequal_test): Likewise.
5210 (isinf_test): Likewise.
5211 (isless_test): Likewise.
5212 (islessequal_test): Likewise.
5213 (islessgreater_test): Likewise.
5214 (isnan_test): Likewise.
5215 (isnormal_test): Likewise.
5216 (issignaling_test): Likewise.
5217 (isunordered_test): Likewise.
5218 (logb_test): Likewise.
5219 (logb_downward_test_data): Remove.
5220 (logb_test_downward): Likewise.
5221 (lround_test): Use ALL_RM_TEST.
5222 (llround_test): Likewise.
5223 (modf_test): Likewise.
5224 (nexttoward_test): Likewise.
5225 (remainder_test): Likewise.
5226 (drem_test): Likewise.
5227 (remainder_tonearest_test_data): Likewise.
5228 (remainder_test_tonearest): Likewise.
5229 (drem_test_tonearest): Likewise.
5230 (remainder_towardzero_test_data): Likewise.
5231 (remainder_test_towardzero): Likewise.
5232 (drem_test_towardzero): Likewise.
5233 (remainder_downward_test_data): Likewise.
5234 (remainder_test_downward): Likewise.
5235 (drem_test_downward): Likewise.
5236 (remainder_upward_test_data): Likewise.
5237 (remainder_test_upward): Likewise.
5238 (drem_test_upward): Likewise.
5239 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5240 (round_test): Use ALL_RM_TEST.
5241 (signbit_test): Likewise.
5242 (trunc_test): Likewise.
5243 (significand_test): Likewise.
5244 (main): Don't call removed functions.
5246 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5249 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5251 (ILL_ILLOPN): Likewise.
5252 (ILL_ILLADR): Likewise.
5253 (ILL_ILLTRP): Likewise.
5254 (ILL_PRVOPC): Likewise.
5255 (ILL_PRVREG): Likewise.
5256 (ILL_COPROC): Likewise.
5257 (ILL_BADSTK): Likewise.
5258 (FPE_INTDIV): Likewise.
5259 (FPE_INTOVF): Likewise.
5260 (FPE_FLTDIV): Likewise.
5261 (FPE_FLTOVF): Likewise.
5262 (FPE_FLTUND): Likewise.
5263 (FPE_FLTRES): Likewise.
5264 (FPE_FLTINV): Likewise.
5265 (FPE_FLTSUB): Likewise.
5266 (SEGV_MAPERR): Likewise.
5267 (SEGV_ACCERR): Likewise.
5268 (BUS_ADRALN): Likewise.
5269 (BUS_ADRERR): Likewise.
5270 (BUS_OBJERR): Likewise.
5271 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5272 (TRAP_TRACE): Likewise.
5273 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5275 (CLD_KILLED): Likewise.
5276 (CLD_DUMPED): Likewise.
5277 (CLD_TRAPPED): Likewise.
5278 (CLD_STOPPED): Likewise.
5279 (CLD_CONTINUED): Likewise.
5280 (POLL_IN): Likewise.
5281 (POLL_OUT): Likewise.
5282 (POLL_MSG): Likewise.
5283 (POLL_ERR): Likewise.
5284 (POLL_PRI): Likewise.
5285 (POLL_HUP): Likewise.
5286 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5288 (ILL_ILLOPN): Likewise.
5289 (ILL_ILLADR): Likewise.
5290 (ILL_ILLTRP): Likewise.
5291 (ILL_PRVOPC): Likewise.
5292 (ILL_PRVREG): Likewise.
5293 (ILL_COPROC): Likewise.
5294 (ILL_BADSTK): Likewise.
5295 (FPE_INTDIV): Likewise.
5296 (FPE_INTOVF): Likewise.
5297 (FPE_FLTDIV): Likewise.
5298 (FPE_FLTOVF): Likewise.
5299 (FPE_FLTUND): Likewise.
5300 (FPE_FLTRES): Likewise.
5301 (FPE_FLTINV): Likewise.
5302 (FPE_FLTSUB): Likewise.
5303 (SEGV_MAPERR): Likewise.
5304 (SEGV_ACCERR): Likewise.
5305 (BUS_ADRALN): Likewise.
5306 (BUS_ADRERR): Likewise.
5307 (BUS_OBJERR): Likewise.
5308 (BUS_MCEERR_AR): Likewise.
5309 (BUS_MCEERR_AO): Likewise.
5310 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5311 (TRAP_TRACE): Likewise.
5312 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5314 (CLD_KILLED): Likewise.
5315 (CLD_DUMPED): Likewise.
5316 (CLD_TRAPPED): Likewise.
5317 (CLD_STOPPED): Likewise.
5318 (CLD_CONTINUED): Likewise.
5319 (POLL_IN): Likewise.
5320 (POLL_OUT): Likewise.
5321 (POLL_MSG): Likewise.
5322 (POLL_ERR): Likewise.
5323 (POLL_PRI): Likewise.
5324 (POLL_HUP): Likewise.
5325 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5326 (ILL_ILLOPN): Likewise.
5327 (ILL_ILLADR): Likewise.
5328 (ILL_ILLTRP): Likewise.
5329 (ILL_PRVOPC): Likewise.
5330 (ILL_PRVREG): Likewise.
5331 (ILL_COPROC): Likewise.
5332 (ILL_BADSTK): Likewise.
5333 (FPE_INTDIV): Likewise.
5334 (FPE_INTOVF): Likewise.
5335 (FPE_FLTDIV): Likewise.
5336 (FPE_FLTOVF): Likewise.
5337 (FPE_FLTUND): Likewise.
5338 (FPE_FLTRES): Likewise.
5339 (FPE_FLTINV): Likewise.
5340 (FPE_FLTSUB): Likewise.
5341 (SEGV_MAPERR): Likewise.
5342 (SEGV_ACCERR): Likewise.
5343 (BUS_ADRALN): Likewise.
5344 (BUS_ADRERR): Likewise.
5345 (BUS_OBJERR): Likewise.
5346 (BUS_MCEERR_AR): Likewise.
5347 (BUS_MCEERR_AO): Likewise.
5348 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5349 (TRAP_TRACE): Likewise.
5350 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5352 (CLD_KILLED): Likewise.
5353 (CLD_DUMPED): Likewise.
5354 (CLD_TRAPPED): Likewise.
5355 (CLD_STOPPED): Likewise.
5356 (CLD_CONTINUED): Likewise.
5357 (POLL_IN): Likewise.
5358 (POLL_OUT): Likewise.
5359 (POLL_MSG): Likewise.
5360 (POLL_ERR): Likewise.
5361 (POLL_PRI): Likewise.
5362 (POLL_HUP): Likewise.
5363 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5365 (ILL_ILLOPN): Likewise.
5366 (ILL_ILLADR): Likewise.
5367 (ILL_ILLTRP): Likewise.
5368 (ILL_PRVOPC): Likewise.
5369 (ILL_PRVREG): Likewise.
5370 (ILL_COPROC): Likewise.
5371 (ILL_BADSTK): Likewise.
5372 (ILL_BADIADDR): Likewise.
5373 (ILL_BREAK): Likewise.
5374 (FPE_INTDIV): Likewise.
5375 (FPE_INTOVF): Likewise.
5376 (FPE_FLTDIV): Likewise.
5377 (FPE_FLTOVF): Likewise.
5378 (FPE_FLTUND): Likewise.
5379 (FPE_FLTRES): Likewise.
5380 (FPE_FLTINV): Likewise.
5381 (FPE_FLTSUB): Likewise.
5382 (FPE_DECOVF): Likewise.
5383 (FPE_DECDIV): Likewise.
5384 (FPE_DECERR): Likewise.
5385 (FPE_INVASC): Likewise.
5386 (FPE_INVDEC): Likewise.
5387 (SEGV_MAPERR): Likewise.
5388 (SEGV_ACCERR): Likewise.
5389 (SEGV_PSTKOVF): Likewise.
5390 (BUS_ADRALN): Likewise.
5391 (BUS_ADRERR): Likewise.
5392 (BUS_OBJERR): Likewise.
5393 (BUS_MCEERR_AR): Likewise.
5394 (BUS_MCEERR_AO): Likewise.
5395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5396 (TRAP_TRACE): Likewise.
5397 (TRAP_BRANCH): Likewise.
5398 (TRAP_HWBKPT): Likewise.
5399 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5401 (CLD_KILLED): Likewise.
5402 (CLD_DUMPED): Likewise.
5403 (CLD_TRAPPED): Likewise.
5404 (CLD_STOPPED): Likewise.
5405 (CLD_CONTINUED): Likewise.
5406 (POLL_IN): Likewise.
5407 (POLL_OUT): Likewise.
5408 (POLL_MSG): Likewise.
5409 (POLL_ERR): Likewise.
5410 (POLL_PRI): Likewise.
5411 (POLL_HUP): Likewise.
5412 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5413 (ILL_ILLOPN): Likewise.
5414 (ILL_ILLADR): Likewise.
5415 (ILL_ILLTRP): Likewise.
5416 (ILL_PRVOPC): Likewise.
5417 (ILL_PRVREG): Likewise.
5418 (ILL_COPROC): Likewise.
5419 (ILL_BADSTK): Likewise.
5420 (FPE_INTDIV): Likewise.
5421 (FPE_INTOVF): Likewise.
5422 (FPE_FLTDIV): Likewise.
5423 (FPE_FLTOVF): Likewise.
5424 (FPE_FLTUND): Likewise.
5425 (FPE_FLTRES): Likewise.
5426 (FPE_FLTINV): Likewise.
5427 (FPE_FLTSUB): Likewise.
5428 (SEGV_MAPERR): Likewise.
5429 (SEGV_ACCERR): Likewise.
5430 (BUS_ADRALN): Likewise.
5431 (BUS_ADRERR): Likewise.
5432 (BUS_OBJERR): Likewise.
5433 (BUS_MCEERR_AR): Likewise.
5434 (BUS_MCEERR_AO): Likewise.
5435 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5436 (TRAP_TRACE): Likewise.
5437 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5439 (CLD_KILLED): Likewise.
5440 (CLD_DUMPED): Likewise.
5441 (CLD_TRAPPED): Likewise.
5442 (CLD_STOPPED): Likewise.
5443 (CLD_CONTINUED): Likewise.
5444 (POLL_IN): Likewise.
5445 (POLL_OUT): Likewise.
5446 (POLL_MSG): Likewise.
5447 (POLL_ERR): Likewise.
5448 (POLL_PRI): Likewise.
5449 (POLL_HUP): Likewise.
5450 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5451 (ILL_ILLOPN): Likewise.
5452 (ILL_ILLADR): Likewise.
5453 (ILL_ILLTRP): Likewise.
5454 (ILL_PRVOPC): Likewise.
5455 (ILL_PRVREG): Likewise.
5456 (ILL_COPROC): Likewise.
5457 (ILL_BADSTK): Likewise.
5458 (FPE_INTDIV): Likewise.
5459 (FPE_INTOVF): Likewise.
5460 (FPE_FLTDIV): Likewise.
5461 (FPE_FLTOVF): Likewise.
5462 (FPE_FLTUND): Likewise.
5463 (FPE_FLTRES): Likewise.
5464 (FPE_FLTINV): Likewise.
5465 (FPE_FLTSUB): Likewise.
5466 (SEGV_MAPERR): Likewise.
5467 (SEGV_ACCERR): Likewise.
5468 (BUS_ADRALN): Likewise.
5469 (BUS_ADRERR): Likewise.
5470 (BUS_OBJERR): Likewise.
5471 (BUS_MCEERR_AR): Likewise.
5472 (BUS_MCEERR_AO): Likewise.
5473 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5474 (TRAP_TRACE): Likewise.
5475 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5477 (CLD_KILLED): Likewise.
5478 (CLD_DUMPED): Likewise.
5479 (CLD_TRAPPED): Likewise.
5480 (CLD_STOPPED): Likewise.
5481 (CLD_CONTINUED): Likewise.
5482 (POLL_IN): Likewise.
5483 (POLL_OUT): Likewise.
5484 (POLL_MSG): Likewise.
5485 (POLL_ERR): Likewise.
5486 (POLL_PRI): Likewise.
5487 (POLL_HUP): Likewise.
5488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5489 (ILL_ILLOPN): Likewise.
5490 (ILL_ILLADR): Likewise.
5491 (ILL_ILLTRP): Likewise.
5492 (ILL_PRVOPC): Likewise.
5493 (ILL_PRVREG): Likewise.
5494 (ILL_COPROC): Likewise.
5495 (ILL_BADSTK): Likewise.
5496 (FPE_INTDIV): Likewise.
5497 (FPE_INTOVF): Likewise.
5498 (FPE_FLTDIV): Likewise.
5499 (FPE_FLTOVF): Likewise.
5500 (FPE_FLTUND): Likewise.
5501 (FPE_FLTRES): Likewise.
5502 (FPE_FLTINV): Likewise.
5503 (FPE_FLTSUB): Likewise.
5504 (SEGV_MAPERR): Likewise.
5505 (SEGV_ACCERR): Likewise.
5506 (BUS_ADRALN): Likewise.
5507 (BUS_ADRERR): Likewise.
5508 (BUS_OBJERR): Likewise.
5509 (BUS_MCEERR_AR): Likewise.
5510 (BUS_MCEERR_AO): Likewise.
5511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5512 (TRAP_TRACE): Likewise.
5513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5515 (CLD_KILLED): Likewise.
5516 (CLD_DUMPED): Likewise.
5517 (CLD_TRAPPED): Likewise.
5518 (CLD_STOPPED): Likewise.
5519 (CLD_CONTINUED): Likewise.
5520 (POLL_IN): Likewise.
5521 (POLL_OUT): Likewise.
5522 (POLL_MSG): Likewise.
5523 (POLL_ERR): Likewise.
5524 (POLL_PRI): Likewise.
5525 (POLL_HUP): Likewise.
5526 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5527 (ILL_ILLOPN): Likewise.
5528 (ILL_ILLADR): Likewise.
5529 (ILL_ILLTRP): Likewise.
5530 (ILL_PRVOPC): Likewise.
5531 (ILL_PRVREG): Likewise.
5532 (ILL_COPROC): Likewise.
5533 (ILL_BADSTK): Likewise.
5534 (ILL_DBLFLT): Likewise.
5535 (ILL_HARDWALL): Likewise.
5536 (FPE_INTDIV): Likewise.
5537 (FPE_INTOVF): Likewise.
5538 (FPE_FLTDIV): Likewise.
5539 (FPE_FLTOVF): Likewise.
5540 (FPE_FLTUND): Likewise.
5541 (FPE_FLTRES): Likewise.
5542 (FPE_FLTINV): Likewise.
5543 (FPE_FLTSUB): Likewise.
5544 (SEGV_MAPERR): Likewise.
5545 (SEGV_ACCERR): Likewise.
5546 (BUS_ADRALN): Likewise.
5547 (BUS_ADRERR): Likewise.
5548 (BUS_OBJERR): Likewise.
5549 (BUS_MCEERR_AR): Likewise.
5550 (BUS_MCEERR_AO): Likewise.
5551 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5552 (TRAP_TRACE): Likewise.
5553 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5555 (CLD_KILLED): Likewise.
5556 (CLD_DUMPED): Likewise.
5557 (CLD_TRAPPED): Likewise.
5558 (CLD_STOPPED): Likewise.
5559 (CLD_CONTINUED): Likewise.
5560 (POLL_IN): Likewise.
5561 (POLL_OUT): Likewise.
5562 (POLL_MSG): Likewise.
5563 (POLL_ERR): Likewise.
5564 (POLL_PRI): Likewise.
5565 (POLL_HUP): Likewise.
5566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5567 (ILL_ILLOPN): Likewise.
5568 (ILL_ILLADR): Likewise.
5569 (ILL_ILLTRP): Likewise.
5570 (ILL_PRVOPC): Likewise.
5571 (ILL_PRVREG): Likewise.
5572 (ILL_COPROC): Likewise.
5573 (ILL_BADSTK): Likewise.
5574 (FPE_INTDIV): Likewise.
5575 (FPE_INTOVF): Likewise.
5576 (FPE_FLTDIV): Likewise.
5577 (FPE_FLTOVF): Likewise.
5578 (FPE_FLTUND): Likewise.
5579 (FPE_FLTRES): Likewise.
5580 (FPE_FLTINV): Likewise.
5581 (FPE_FLTSUB): Likewise.
5582 (SEGV_MAPERR): Likewise.
5583 (SEGV_ACCERR): Likewise.
5584 (BUS_ADRALN): Likewise.
5585 (BUS_ADRERR): Likewise.
5586 (BUS_OBJERR): Likewise.
5587 (BUS_MCEERR_AR): Likewise.
5588 (BUS_MCEERR_AO): Likewise.
5589 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5590 (TRAP_TRACE): Likewise.
5591 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5593 (CLD_KILLED): Likewise.
5594 (CLD_DUMPED): Likewise.
5595 (CLD_TRAPPED): Likewise.
5596 (CLD_STOPPED): Likewise.
5597 (CLD_CONTINUED): Likewise.
5598 (POLL_IN): Likewise.
5599 (POLL_OUT): Likewise.
5600 (POLL_MSG): Likewise.
5601 (POLL_ERR): Likewise.
5602 (POLL_PRI): Likewise.
5603 (POLL_HUP): Likewise.
5604 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5605 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5608 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5609 before #include of <time.h>.
5610 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5611 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5612 (test-xfail-UNIX98/sched.h/conform): Likewise.
5614 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5616 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5617 error absence of trapping exception support.
5618 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5620 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5622 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5623 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5624 * timezone/Makefile (testdata): Move definition above include of
5626 (test-zones): New variable.
5627 (tests-special): Add zone files.
5628 (build-testdata): Use $(evaluate-test).
5630 * elf/Makefile (tests-special): Rename tests to end with .out.
5631 ($(objpfx)noload-mem): Likewise.
5632 ($(objpfx)tst-leaks1-mem): Likewise.
5633 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5634 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5635 $(objpfx)test-iconvconfig.out.
5636 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5637 set -e inside subshell and redirect output to file.
5638 * iconvdata/Makefile (generated): Rename tests to end with .out.
5640 (tests-special): Rename tests to end with .out.
5641 ($(objpfx)mtrace-tst-loading): Likewise.
5642 * intl/Makefile (generated): Likewise.
5643 (tests-special): Likewise.
5644 ($(objpfx)mtrace-tst-gettext): Likewise.
5645 * misc/Makefile (generated): Likewise.
5646 (tests-special): Likewise.
5647 ($(objpfx)tst-error1-mem): Likewise.
5648 * nptl/Makefile (tests-special): Likewise.
5649 ($(objpfx)tst-stack3-mem): Likewise.
5650 (generated): Likewise.
5651 * posix/Makefile (generated): Likewise.
5652 (tests-special): Likewise.
5653 (xtests-special): Likewise.
5654 ($(objpfx)tst-fnmatch-mem): Likewise.
5655 ($(objpfx)bug-regex2-mem): Likewise.
5656 ($(objpfx)bug-regex14-mem): Likewise.
5657 ($(objpfx)bug-regex21-mem): Likewise.
5658 ($(objpfx)bug-regex31-mem): Likewise.
5659 ($(objpfx)tst-vfork3-mem): Likewise.
5660 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5661 ($(objpfx)tst-pcre-mem): Likewise.
5662 ($(objpfx)tst-boost-mem): Likewise.
5663 ($(objpfx)bug-ga2-mem): Likewise.
5664 ($(objpfx)bug-glob2-mem): Likewise.
5665 * resolv/Makefile (generate): Likewise.
5666 (tests-special): Likewise.
5667 (xtests-special): Likewise.
5668 (generated): Likewise.
5669 ($(objpfx)mtrace-tst-leaks): Likewise.
5670 ($(objpfx)mtrace-tst-leaks2): Likewise.
5672 * scripts/merge-test-results.sh: New file.
5673 * Makefile (tests-special-notdir): New variable.
5674 (tests): Run merge-test-results.sh.
5676 * Rules (tests-special-notdir): New variable.
5677 (xtests-special-notdir): Likewise.
5678 (tests): Run merge-test-results.sh
5681 * Makeconfig (test-xfail-name): New variable.
5682 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5683 compute variable name for expected failures.
5684 * conform/Makefile (conformtest-headers-data): New variable.
5685 (conformtest-standards): Likewise.
5686 (conformtest-headers-ISO): Likewise.
5687 (conformtest-headers-ISO99): Likewise.
5688 (conformtest-headers-ISO11): Likewise.
5689 (conformtest-headers-POSIX): Likewise.
5690 (conformtest-headers-XPG3): Likewise.
5691 (conformtest-headers-XPG4): Likewise.
5692 (conformtest-headers-UNIX98): Likewise.
5693 (conformtest-headers-XOPEN2K): Likewise.
5694 (conformtest-headers-POSIX2008): Likewise.
5695 (conformtest-headers-XOPEN2K8): Likewise.
5696 (conformtest-header-list-base): Likewise.
5697 (conformtest-header-list-tests): Likewise.
5698 (conformtest-header-base): Likewise.
5699 (conformtest-header-tests): Likewise.
5700 (tests-special): Add $(conformtest-header-list-tests). If
5701 [$(fast-check) && !$(cross-compiling)], add
5702 $(conformtest-header-tests) instead of
5703 $(objpfx)run-conformtest.out.
5704 (generated): Add $(conformtest-header-list-base). If
5705 [$(fast-check) && !$(cross-compiling)], add
5706 $(conformtest-header-base). Remove previous setting.
5707 ($(conformtest-header-list-tests)): New target.
5708 (test-xfail-run-conformtest): Remove variable.
5709 ($(objpfx)run-conformtest.out): Remove target.
5710 (test-xfail-ISO11/complex.h/conform): New variable.
5711 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5712 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5713 (test-xfail-XPG3/varargs.h/conform): Likewise.
5714 (test-xfail-XPG4/varargs.h/conform): Likewise.
5715 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5716 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5717 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5718 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5719 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5720 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5721 (test-xfail-XPG3/ftw.h/conform): Likewise.
5722 (test-xfail-XPG3/grp.h/conform): Likewise.
5723 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5724 (test-xfail-XPG3/limits.h/conform): Likewise.
5725 (test-xfail-XPG3/pwd.h/conform): Likewise.
5726 (test-xfail-XPG3/search.h/conform): Likewise.
5727 (test-xfail-XPG3/signal.h/conform): Likewise.
5728 (test-xfail-XPG3/stdio.h/conform): Likewise.
5729 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5730 (test-xfail-XPG3/string.h/conform): Likewise.
5731 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5732 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5733 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5734 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5735 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5736 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5737 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5738 (test-xfail-XPG3/termios.h/conform): Likewise.
5739 (test-xfail-XPG3/time.h/conform): Likewise.
5740 (test-xfail-XPG3/unistd.h/conform): Likewise.
5741 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5742 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5743 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5744 (test-xfail-XPG4/netdb.h/conform): Likewise.
5745 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5746 (test-xfail-XPG4/signal.h/conform): Likewise.
5747 (test-xfail-XPG4/stdio.h/conform): Likewise.
5748 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5749 (test-xfail-XPG4/stropts.h/conform): Likewise.
5750 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5751 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5752 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5753 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5754 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5755 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5756 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5757 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5758 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5759 (test-xfail-XPG4/termios.h/conform): Likewise.
5760 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5761 (test-xfail-XPG4/unistd.h/conform): Likewise.
5762 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5763 (test-xfail-POSIX/sched.h/conform): Likewise.
5764 (test-xfail-POSIX/signal.h/conform): Likewise.
5765 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5766 (test-xfail-POSIX/tar.h/conform): Likewise.
5767 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5768 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5769 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5770 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5771 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5772 (test-xfail-UNIX98/sched.h/conform): Likewise.
5773 (test-xfail-UNIX98/signal.h/conform): Likewise.
5774 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5775 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5776 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5777 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5778 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5779 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5780 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5781 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5782 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5783 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5784 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5785 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5786 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5787 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5788 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5789 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5790 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5791 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5792 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5793 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5794 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5795 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5796 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5797 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5798 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5799 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5800 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5801 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5802 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5803 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5804 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5805 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5806 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5807 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5808 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5809 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5810 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5811 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5812 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5813 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5814 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5815 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5816 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5817 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5818 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5819 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5820 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5821 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5822 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5823 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5824 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5825 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5826 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5827 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5828 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5829 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5830 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5831 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5832 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5833 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5834 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5835 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5836 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5837 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5838 (conformtest-cc-flags): Likewise.
5839 ($(conformtest-header-tests): New target.
5840 * conform/check-header-lists.sh: New file.
5841 * conform/run-conformtest.sh: Remove.
5843 * conform/conformtest.pl: Allow ' and \ in values given for
5845 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5847 [POSIX] (sys/types.h): Likewise.
5848 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5850 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5852 * conform/data/signal.h-data (SIGIO): Remove expectation.
5853 [XPG3] (SIGBUS): Do not expect.
5854 [POSIX || XPG3] (SIGPOLL): Likewise.
5855 [POSIX || XPG3] (SIGPROF): Likewise.
5856 [POSIX || XPG3] (SIGSYS): Likewise.
5857 [XPG3] (SIGTRAP): Likewise.
5858 [POSIX || XPG3] (SIGURG): Likewise.
5859 [POSIX || XPG3] (SIGVTALRM): Likewise.
5860 [POSIX || XPG3] (SIGXCPU): Likewise.
5861 [POSIX || XPG3] (SIGXFSZ): Likewise.
5862 [POSIX] (SA_SIGINFO): Expect.
5863 [XPG3] (siginfo_t): Do not expect type or contents.
5864 [POSIX] (si_pid): Do not expect element.
5865 [POSIX] (si_uid): Likewise.
5866 [POSIX] (si_addr): Likewise.
5867 [POSIX] (si_status): Likewise.
5868 [POSIX] (si_band): Likewise.
5869 [XPG4] (si_value): Likewise.
5870 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5871 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5872 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5873 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5874 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5875 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5876 [POSIX || XPG3] (ILL_COPROC): Likewise.
5877 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5878 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5879 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5880 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5881 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5882 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5883 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5884 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5885 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5886 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5887 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5888 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5889 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5890 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5891 [POSIX || XPG3] (CLD_EXITED): Likewise.
5892 [POSIX || XPG3] (CLD_KILLED): Likewise.
5893 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5894 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5895 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5896 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5897 [POSIX || XPG3] (POLL_IN): Likewise.
5898 [POSIX || XPG3] (POLL_OUT): Likewise.
5899 [POSIX || XPG3] (POLL_MSG): Likewise.
5900 [POSIX || XPG3] (POLL_ERR): Likewise.
5901 [POSIX || XPG3] (POLL_PRI): Likewise.
5902 [POSIX || XPG3] (POLL_HUP): Likewise.
5903 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5904 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5905 (SIG*): Do not allow.
5906 [XPG3] (si_*): Likewise.
5907 [XPG3] (SI_*): Likewise.
5908 [XPG3 || XPG4] (sigev_*): Likewise.
5909 [XPG3 || XPG4] (SIGEV_*): Likewise.
5910 [XPG3 || XPG4] (sival_*): Likewise.
5911 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5912 [POSIX || XPG3] (BUS_*): Likewise.
5913 [POSIX || XPG3] (CLD_*): Likewise.
5914 [POSIX || XPG3] (FPE_*): Likewise.
5915 [POSIX || XPG3] (ILL_*): Likewise.
5916 [POSIX || XPG3] (POLL_*): Likewise.
5917 [POSIX || XPG3] (SEGV_*): Likewise.
5918 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5919 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5920 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5921 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5922 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5923 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5924 Specify type and value.
5925 (TVERSLEN): Likewise.
5926 (REGTYPE): Likewise.
5927 (AREGTYPE): Likewise.
5928 (LNKTYPE): Likewise.
5929 (SYMTYPE): Likewise.
5930 (CHRTYPE): Likewise.
5931 (BLKTYPE): Likewise.
5932 (DIRTYPE): Likewise.
5933 (FIFOTYPE): Likewise.
5934 (CONTTYPE): Likewise.
5939 (TUWRITE): Likewise.
5942 (TGWRITE): Likewise.
5945 (TOWRITE): Likewise.
5947 [POSIX] (TSVTX): Expect constant.
5949 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5951 * Makefile (tests): Change dependencies to ....
5952 (tests-special): ... additions to this variable.
5953 (tests): Depend on $(tests-special).
5954 * Makerules (check-abi-list): New variable.
5955 (check-abi): Depend on $(check-abi-list).
5956 [$(subdir) = elf] (tests-special): Add
5957 $(objpfx)check-abi-libc.out.
5958 [$(build-shared) = yes && subdir] (tests-special): Add
5960 [$(build-shared) = yes && subdir] (tests): Do not depend on
5962 * Rules (tests): Depend on $(tests-special).
5963 (xtests): Depend on $(xtests-special).
5964 * catgets/Makefile (tests): Change dependencies to ....
5965 (tests-special): ... additions to this variable.
5966 * conform/Makefile (tests): Change dependencies to ....
5967 (tests-special): ... additions to this variable.
5968 * elf/Makefile (tests): Change dependencies to ....
5969 (tests-special): ... additions to this variable.
5970 * grp/Makefile (tests): Change dependencies to ....
5971 (tests-special): ... additions to this variable.
5972 * iconv/Makefile (xtests): Change dependencies to ....
5973 (xtests-special): ... additions to this variable.
5974 * iconvdata/Makefile (tests): Change dependencies to ....
5975 (tests-special): ... additions to this variable.
5976 * intl/Makefile (tests): Change dependencies to ....
5977 (tests-special): ... additions to this variable. Also add
5978 $(objpfx)tst-gettext.out.
5979 * io/Makefile (tests): Change dependencies to ....
5980 (tests-special): ... additions to this variable.
5981 * libio/Makefile (tests): Change dependencies to ....
5982 (tests-special): ... additions to this variable.
5983 * malloc/Makefile (tests): Change dependencies to ....
5984 (tests-special): ... additions to this variable.
5985 * misc/Makefile (tests): Change dependencies to ....
5986 (tests-special): ... additions to this variable.
5987 * nptl/Makefile (tests): Change dependencies to ....
5988 (tests-special): ... additions to this variable.
5989 * nptl_db/Makefile (tests): Change dependencies to ....
5990 (tests-special): ... additions to this variable.
5991 * posix/Makefile (tests): Change dependencies to ....
5992 (tests-special): ... additions to this variable.
5993 (xtests): Change dependencies to ....
5994 (xtests-special): ... additions to this variable.
5995 * resolv/Makefile (tests): Change dependencies to ....
5996 (tests-special): ... additions to this variable.
5997 (xtests): Change dependencies to ....
5998 (xtests-special): ... additions to this variable.
5999 * stdio-common/Makefile (tests): Change dependencies to ....
6000 (tests-special): ... additions to this variable.
6001 (do-tst-unbputc): Remove target.
6002 (do-tst-printf): Likewise.
6003 * stdlib/Makefile (tests): Change dependencies to ....
6004 (tests-special): ... additions to this variable.
6005 * string/Makefile (tests): Change dependencies to ....
6006 (tests-special): ... additions to this variable.
6007 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6008 (tests-special): ... additions to this variable.
6010 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6012 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6014 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6015 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6017 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6018 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6019 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6020 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6021 * conform/data/libgen.h-data [XPG3]: Likewise.
6022 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6023 * conform/data/ndbm.h-data [XPG3]: Likewise.
6024 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6025 * conform/data/netdb.h-data [XPG3]: Likewise.
6026 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6027 * conform/data/poll.h-data [XPG3]: Likewise.
6028 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6029 * conform/data/strings.h-data [XPG3]: Likewise.
6030 * conform/data/stropts.h-data [XPG3]: Likewise.
6031 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6032 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6033 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6035 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6036 * conform/data/sys/time.h-data [XPG3]: Likewise.
6037 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6038 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6039 * conform/data/sys/un.h-data [XPG3]: Likewise.
6040 * conform/data/syslog.h-data [XPG3]: Likewise.
6041 * conform/data/ucontext.h-data [XPG3]: Likewise.
6042 * conform/data/utmpx.h-data [XPG3]: Likewise.
6043 * conform/data/varargs.h-data [UNIX98]: Enable file.
6045 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6047 * math/libm-test.inc (struct test_f_f_data): Move expected results
6048 into structure for each rounding mode.
6049 (struct test_ff_f_data): Likewise.
6050 (struct test_ff_f_data_nexttoward): Likewise.
6051 (struct test_fi_f_data): Likewise.
6052 (struct test_fl_f_data): Likewise.
6053 (struct test_if_f_data): Likewise.
6054 (struct test_fff_f_data): Likewise.
6055 (struct test_c_f_data): Likewise.
6056 (struct test_f_f1_data): Likewise.
6057 (struct test_fF_f1_data): Likewise.
6058 (struct test_ffI_f1_data): Likewise.
6059 (struct test_c_c_data): Likewise.
6060 (struct test_cc_c_data): Likewise.
6061 (struct test_f_i_data): Likewise.
6062 (struct test_ff_i_data): Likewise.
6063 (struct test_f_l_data): Likewise.
6064 (struct test_f_L_data): Likewise.
6065 (struct test_fFF_11_data): Likewise.
6067 (RM_FE_DOWNWARD): Likewise.
6068 (RM_FE_TONEAREST): Likewise.
6069 (RM_FE_TOWARDZERO): Likewise.
6070 (RM_FE_UPWARD): Likewise.
6071 (RUN_TEST_LOOP_f_f): Update references to expected results.
6072 (RUN_TEST_LOOP_2_f): Likewise.
6073 (RUN_TEST_LOOP_fff_f): Likewise.
6074 (RUN_TEST_LOOP_c_f): Likewise.
6075 (RUN_TEST_LOOP_f_f1): Likewise.
6076 (RUN_TEST_LOOP_fF_f1): Likewise.
6077 (RUN_TEST_LOOP_fI_f1): Likewise.
6078 (RUN_TEST_LOOP_ffI_f1): Likewise.
6079 (RUN_TEST_LOOP_c_c): Likewise.
6080 (RUN_TEST_LOOP_cc_c): Likewise.
6081 (RUN_TEST_LOOP_f_i): Likewise.
6082 (RUN_TEST_LOOP_f_i_tg): Likewise.
6083 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6084 (RUN_TEST_LOOP_f_b): Likewise.
6085 (RUN_TEST_LOOP_f_b_tg): Likewise.
6086 (RUN_TEST_LOOP_f_l): Likewise.
6087 (RUN_TEST_LOOP_f_L): Likewise.
6088 (RUN_TEST_LOOP_fFF_11): Likewise.
6089 * math/gen-libm-test.pl (parse_args): Output four copies of
6090 expected results for each test.
6092 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6093 (__ASSUME_UTIMES): Remove.
6094 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6095 (__ASSUME_UTIMES): Likewise.
6097 * math/gen-auto-libm-tests.c: Update comment on output format.
6098 (output_for_one_input_case): Generate before-rounding and
6099 after-rounding information as conditions on output flags not
6100 floating-point format.
6101 * math/auto-libm-test-out: Regenerated.
6102 * math/gen-libm-test.pl (cond_value): New function.
6103 (or_cond_value): Use cond_value.
6104 (generate_testfile): Handle conditional exceptions.
6106 2014-03-05 Joseph Myers <joseph@codesourcery.com>
6108 * math/libm-test.inc (max_valid_error): New variable.
6109 (init_max_error): Take new argument specifying whether function
6110 results are exactly determined. Set max_valid_error and bound
6111 other variables for errors based on this argument.
6112 (set_max_error): Do not record results above max_valid_error.
6113 (check_float_internal): Only accept errors of up to 0.5ulps if
6114 also at most max_valid_error.
6115 (START): Take new argument EXACT and pass it to init_max_error.
6116 (acos_test): Update call to START.
6117 (acos_test_tonearest): Likewise.
6118 (acos_test_towardzero): Likewise.
6119 (acos_test_downward): Likewise.
6120 (acos_test_upward): Likewise.
6121 (acosh_test): Likewise.
6122 (asin_test): Likewise.
6123 (asin_test_tonearest): Likewise.
6124 (asin_test_towardzero): Likewise.
6125 (asin_test_downward): Likewise.
6126 (asin_test_upward): Likewise.
6127 (asinh_test): Likewise.
6128 (atan_test): Likewise.
6129 (atanh_test): Likewise.
6130 (atan2_test): Likewise.
6131 (cabs_test): Likewise.
6132 (cacos_test): Likewise.
6133 (cacosh_test): Likewise.
6134 (carg_test): Likewise.
6135 (casin_test): Likewise.
6136 (casinh_test): Likewise.
6137 (catan_test): Likewise.
6138 (catanh_test): Likewise.
6139 (cbrt_test): Likewise.
6140 (ccos_test): Likewise.
6141 (ccosh_test): Likewise.
6142 (ceil_test): Likewise.
6143 (cexp_test): Likewise.
6144 (cimag_test): Likewise.
6145 (clog_test): Likewise.
6146 (clog10_test): Likewise.
6147 (conj_test): Likewise.
6148 (copysign_test): Likewise.
6149 (cos_test): Likewise.
6150 (cos_test_tonearest): Likewise.
6151 (cos_test_towardzero): Likewise.
6152 (cos_test_downward): Likewise.
6153 (cos_test_upward): Likewise.
6154 (cosh_test): Likewise.
6155 (cosh_test_tonearest): Likewise.
6156 (cosh_test_towardzero): Likewise.
6157 (cosh_test_downward): Likewise.
6158 (cosh_test_upward): Likewise.
6159 (cpow_test): Likewise.
6160 (cproj_test): Likewise.
6161 (creal_test): Likewise.
6162 (csin_test): Likewise.
6163 (csinh_test): Likewise.
6164 (csqrt_test): Likewise.
6165 (ctan_test): Likewise.
6166 (ctan_test_tonearest): Likewise.
6167 (ctan_test_towardzero): Likewise.
6168 (ctan_test_downward): Likewise.
6169 (ctan_test_upward): Likewise.
6170 (ctanh_test): Likewise.
6171 (ctanh_test_tonearest): Likewise.
6172 (ctanh_test_towardzero): Likewise.
6173 (ctanh_test_downward): Likewise.
6174 (ctanh_test_upward): Likewise.
6175 (erf_test): Likewise.
6176 (erfc_test): Likewise.
6177 (exp_test): Likewise.
6178 (exp_test_tonearest): Likewise.
6179 (exp_test_towardzero): Likewise.
6180 (exp_test_downward): Likewise.
6181 (exp_test_upward): Likewise.
6182 (exp10_test): Likewise.
6183 (exp10_test_tonearest): Likewise.
6184 (exp10_test_towardzero): Likewise.
6185 (exp10_test_downward): Likewise.
6186 (exp10_test_upward): Likewise.
6187 (pow10_test): Likewise.
6188 (exp2_test): Likewise.
6189 (expm1_test): Likewise.
6190 (expm1_test_tonearest): Likewise.
6191 (expm1_test_towardzero): Likewise.
6192 (expm1_test_downward): Likewise.
6193 (expm1_test_upward): Likewise.
6194 (fabs_test): Likewise.
6195 (fdim_test): Likewise.
6196 (floor_test): Likewise.
6197 (fma_test): Likewise.
6198 (fma_test_towardzero): Likewise.
6199 (fma_test_downward): Likewise.
6200 (fma_test_upward): Likewise.
6201 (fmax_test): Likewise.
6202 (fmin_test): Likewise.
6203 (fmod_test): Likewise.
6204 (fpclassify_test): Likewise.
6205 (frexp_test): Likewise.
6206 (hypot_test): Likewise.
6207 (ilogb_test): Likewise.
6208 (isfinite_test): Likewise.
6209 (finite_test): Likewise.
6210 (isgreater_test): Likewise.
6211 (isgreaterequal_test): Likewise.
6212 (isinf_test): Likewise.
6213 (isless_test): Likewise.
6214 (islessequal_test): Likewise.
6215 (islessgreater_test): Likewise.
6216 (isnan_test): Likewise.
6217 (isnormal_test): Likewise.
6218 (issignaling_test): Likewise.
6219 (isunordered_test): Likewise.
6220 (j0_test): Likewise.
6221 (j1_test): Likewise.
6222 (jn_test): Likewise.
6223 (ldexp_test): Likewise.
6224 (lgamma_test): Likewise.
6225 (gamma_test): Likewise.
6226 (lrint_test): Likewise.
6227 (lrint_test_tonearest): Likewise.
6228 (lrint_test_towardzero): Likewise.
6229 (lrint_test_downward): Likewise.
6230 (lrint_test_upward): Likewise.
6231 (llrint_test): Likewise.
6232 (llrint_test_tonearest): Likewise.
6233 (llrint_test_towardzero): Likewise.
6234 (llrint_test_downward): Likewise.
6235 (llrint_test_upward): Likewise.
6236 (log_test): Likewise.
6237 (log10_test): Likewise.
6238 (log1p_test): Likewise.
6239 (log2_test): Likewise.
6240 (logb_test): Likewise.
6241 (logb_test_downward): Likewise.
6242 (lround_test): Likewise.
6243 (llround_test): Likewise.
6244 (modf_test): Likewise.
6245 (nearbyint_test): Likewise.
6246 (nextafter_test): Likewise.
6247 (nexttoward_test): Likewise.
6248 (pow_test): Likewise.
6249 (pow_test_tonearest): Likewise.
6250 (pow_test_towardzero): Likewise.
6251 (pow_test_downward): Likewise.
6252 (pow_test_upward): Likewise.
6253 (remainder_test): Likewise.
6254 (drem_test): Likewise.
6255 (remainder_test_tonearest): Likewise.
6256 (drem_test_tonearest): Likewise.
6257 (remainder_test_towardzero): Likewise.
6258 (drem_test_towardzero): Likewise.
6259 (remainder_test_downward): Likewise.
6260 (drem_test_downward): Likewise.
6261 (remainder_test_upward): Likewise.
6262 (drem_test_upward): Likewise.
6263 (remquo_test): Likewise.
6264 (rint_test): Likewise.
6265 (rint_test_tonearest): Likewise.
6266 (rint_test_towardzero): Likewise.
6267 (rint_test_downward): Likewise.
6268 (rint_test_upward): Likewise.
6269 (round_test): Likewise.
6270 (scalb_test): Likewise.
6271 (scalbn_test): Likewise.
6272 (scalbln_test): Likewise.
6273 (signbit_test): Likewise.
6274 (sin_test): Likewise.
6275 (sin_test_tonearest): Likewise.
6276 (sin_test_towardzero): Likewise.
6277 (sin_test_downward): Likewise.
6278 (sin_test_upward): Likewise.
6279 (sincos_test): Likewise.
6280 (sinh_test): Likewise.
6281 (sinh_test_tonearest): Likewise.
6282 (sinh_test_towardzero): Likewise.
6283 (sinh_test_downward): Likewise.
6284 (sinh_test_upward): Likewise.
6285 (sqrt_test): Likewise.
6286 (sqrt_test_tonearest): Likewise.
6287 (sqrt_test_towardzero): Likewise.
6288 (sqrt_test_downward): Likewise.
6289 (sqrt_test_upward): Likewise.
6290 (tan_test): Likewise.
6291 (tan_test_tonearest): Likewise.
6292 (tan_test_towardzero): Likewise.
6293 (tan_test_downward): Likewise.
6294 (tan_test_upward): Likewise.
6295 (tanh_test): Likewise.
6296 (tgamma_test): Likewise.
6297 (trunc_test): Likewise.
6298 (y0_test): Likewise.
6299 (y1_test): Likewise.
6300 (yn_test): Likewise.
6301 (significand_test): Likewise.
6303 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6304 individual tests in comment.
6305 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6306 (prev_max_error): New variable.
6307 (prev_real_max_error): Likewise.
6308 (prev_imag_max_error): Likewise.
6309 (compare_ulp_data): Don't refer to test names in comment.
6310 (find_test_ulps): Remove function.
6311 (find_function_ulps): Likewise.
6312 (find_complex_function_ulps): Likewise.
6313 (init_max_error): Take function name as argument. Look up ulps
6315 (print_ulps): Remove function.
6316 (print_max_error): Use prev_max_error instead of calling
6318 (print_complex_max_error): Use prev_real_max_error and
6319 prev_imag_max_error instead of calling find_complex_function_ulps.
6320 (check_float_internal): Take max_ulp parameter instead of calling
6321 find_test_ulps. Don't call print_ulps.
6322 (check_float): Update call to check_float_internal.
6323 (check_complex): Update calls to check_float_internal.
6324 (START): Pass argument to init_max_error.
6325 * math/gen-libm-test.pl (%results): Don't include "kind"
6327 (parse_ulps): Don't handle ulps of individual tests.
6328 (print_ulps_file): Likewise.
6329 (output_ulps): Likewise.
6330 * math/README.libm-test: Update.
6331 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6333 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6334 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6335 * sysdeps/arm/libm-test-ulps: Likewise.
6336 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6337 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6338 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6339 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6340 * sysdeps/microblaze/libm-test-ulps: Likewise.
6341 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6342 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6343 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6344 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6345 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6346 * sysdeps/sh/libm-test-ulps: Likewise.
6347 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/tile/libm-test-ulps: Likewise.
6349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6351 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6353 * math/libm-test.inc (print_complex_max_error): Check separately
6354 whether real and imaginary errors are within allowed range and
6355 pass 0 to print_complex_function_ulps instead of value within
6358 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6360 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6362 (get_handles_fopen): Likewise.
6363 (do_write_test): Likewise.
6365 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6367 * libio/fileops.c (do_ftell): Use cached offset when
6369 * libio/iofwide.c (do_ftell_wide): Likewise.
6370 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6372 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6375 * libio/libioP.h (get_file_offset): New function.
6376 * libio/fileops.c (get_file_offset): Likewise.
6377 (do_ftell): Likewise.
6378 (_IO_new_file_seekoff): Split out ftell logic.
6379 * libio/wfileops.c (do_ftell_wide): Likewise.
6380 (_IO_wfile_seekoff): Split out ftell logic.
6381 * libio/tst-ftell-active-handler.c: New test case.
6382 * libio/Makefile (tests): Add it.
6384 2014-03-03 Roland McGrath <roland@hack.frob.com>
6386 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6387 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6389 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6392 * nscd/connections.c (nscd_init): Call do_exit.
6393 (start_threads): Call do_exit and notify_parent.
6394 (begin_drop_privileges): Call do_exit.
6395 (finish_drop_privileges): Likewise.
6396 * nscd/selinux.c (preserve_capabilities): Likewise.
6397 (install_real_capabilities): Likewise.
6398 (nscd_selinux_enabled): Likewise.
6399 (avc_create_thread): Likewise.
6400 (avc_alloc_lock): Likewise.
6401 (nscd_avc_init): Likewise.
6402 * nscd/nscd.c (parent_fd): New static variable.
6403 (main): Create a pipe between parent and child processes.
6404 Skip closing parent_fd.
6405 (monitor_child): New function.
6406 (do_exit): Likewise.
6407 (notify_parent): Likewise.
6408 * nscd/nscd.h (notify_parent): Likewise.
6409 (do_exit): Likewise.
6411 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6413 * malloc/malloc.c (__libc_calloc): Revert last change.
6415 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6419 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6421 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6425 (__libc_ifunc_impl_list): Likewise.
6426 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6427 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6428 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6429 * string/strrchr.c: Define STRRCHR.
6431 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6433 * benchtest/bench-strtok.c (simple_strtok): Delete.
6434 (strtok_string): Use as benchmark.
6435 * string/strtok (STRTOK): New macro.
6437 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6439 * manual/threads.texi: Add header and standard comments to all
6442 * elf/dl-lookup.c (check_match): New function.
6443 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6444 (do_lookup_x): Remove nested function check_match. Use non-nested
6445 function check_match.
6447 2014-02-28 Roland McGrath <roland@hack.frob.com>
6449 * csu/Makefile (generated, before-compile): Use += rather than =.
6450 * catgets/Makefile (generated, generated-dirs): Likewise.
6451 * debug/Makefile (generated): Likewise.
6452 * dlfcn/Makefile (generated): Likewise.
6453 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6454 * iconvdata/Makefile (before-compile, generated): Likewise.
6455 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6456 * libio/Makefile (generated): Likewise.
6457 * malloc/Makefile (generated): Likewise.
6458 * manual/Makefile (generated, generated-dirs): Likewise.
6459 * misc/Makefile (generated): Likewise.
6460 * posix/Makefile (generated): Likewise.
6461 * resolv/Makefile (generated): Likewise.
6462 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6463 * timezone/Makefile (generated, generated-dirs): Likewise.
6465 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6467 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6470 power8 implementation.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6472 file: POWER8 llround ifunc implementation.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6474 (__lllround): Add POWER8 implementation.
6475 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6476 POWER8 llround implementation.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6479 power8 implementation.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6481 file: POWER8 llrint ifunc implementation.
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6483 Add POWER8 implementation.
6484 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6485 POWER8 llrint implementation.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6488 power8 implementation.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6490 file: POWER8 finite ifunc implementation.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6492 Add POWER8 implementation.
6493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6495 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6496 POWER8 finite implementation.
6497 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6500 power8 implementation.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6502 file: POWER8 isinf ifunc implementation.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6504 POWER8 implementation.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6507 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6508 isinf implementation.
6509 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6511 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6512 (INIT_ARCH): Add hwcap2 initialization.
6513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6514 power8 implementation.
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6516 file: POWER8 isnan ifunc implementation.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6518 POWER8 implementation.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6521 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6522 isnan implementation.
6523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6525 2014-02-27 Joey Ye <joey.ye@arm.com>
6527 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6528 (_FP_NANFRAC_Q): Set to zero.
6530 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6533 * math/auto-libm-test-in: New test inputs.
6534 * math/auto-libm-test-out: Regenerate.
6535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6538 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6540 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6542 * scripts/evaluate-test.sh: Take new argument indicating whether
6543 failure is expected.
6544 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6545 indicating whether failure is expected.
6546 * conform/Makefile (test-xfail-run-conformtest): New variable.
6547 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6549 * posix/Makefile (test-xfail-annexc): New variable.
6550 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6552 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6554 * argp/Makefile: Include Makeconfig immediately after defining
6556 * assert/Makefile: Likewise.
6557 * benchtests/Makefile: Likewise.
6558 * catgets/Makefile: Likewise.
6559 * conform/Makefile: Likewise.
6560 * crypt/Makefile: Likewise.
6561 * csu/Makefile: Likewise.
6562 (all): Remove target.
6563 * ctype/Makefile: Include Makeconfig immediately after defining
6565 * debug/Makefile: Likewise.
6566 * dirent/Makefile: Likewise.
6567 * dlfcn/Makefile: Likewise.
6568 * gmon/Makefile: Likewise.
6569 * gnulib/Makefile: Likewise.
6570 * grp/Makefile: Likewise.
6571 * gshadow/Makefile: Likewise.
6572 * hesiod/Makefile: Likewise.
6573 * hurd/Makefile: Likewise.
6574 (all): Remove target.
6575 * iconvdata/Makefile: Include Makeconfig immediately after
6577 * inet/Makefile: Likewise.
6578 * intl/Makefile: Likewise.
6579 * io/Makefile: Likewise.
6580 * libio/Makefile: Likewise.
6581 (all): Remove target.
6582 * locale/Makefile: Include Makeconfig immediately after defining
6584 * login/Makefile: Likewise.
6585 * mach/Makefile: Likewise.
6586 (all): Remove target.
6587 * malloc/Makefile: Include Makeconfig immediately after defining
6589 (all): Remove target.
6590 * manual/Makefile: Include Makeconfig immediately after defining
6592 * math/Makefile: Likewise.
6593 * misc/Makefile: Likewise.
6594 * nis/Makefile: Likewise.
6595 * nss/Makefile: Likewise.
6596 * po/Makefile: Likewise.
6597 (all): Remove target.
6598 * posix/Makefile: Include Makeconfig immediately after defining
6600 * pwd/Makefile: Likewise.
6601 * resolv/Makefile: Likewise.
6602 * resource/Makefile: Likewise.
6603 * rt/Makefile: Likewise.
6604 * setjmp/Makefile: Likewise.
6605 * shadow/Makefile: Likewise.
6606 * signal/Makefile: Likewise.
6607 * socket/Makefile: Likewise.
6608 * soft-fp/Makefile: Likewise.
6609 * stdio-common/Makefile: Likewise.
6610 * stdlib/Makefile: Likewise.
6611 * streams/Makefile: Likewise.
6612 * string/Makefile: Likewise.
6613 * sunrpc/Makefile: Likewise.
6614 (all): Remove target.
6615 * sysvipc/Makefile: Include Makeconfig immediately after defining
6617 * termios/Makefile: Likewise.
6618 * time/Makefile: Likewise.
6619 * timezone/Makefile: Likewise.
6620 (all): Remove target.
6621 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6623 * wctype/Makefile: Likewise.
6625 2014-02-26 Steve Ellcey <sellcey@mips.com>
6627 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6628 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6629 (libc_feholdexcept_setround_mips): Ditto.
6630 (libc_feholdsetround): New.
6631 (libc_feholdsetroundf): New.
6632 (libc_feholdsetroundl): New.
6633 (libc_feupdateenv_test_mips): New.
6634 (libc_feupdateenv_test): New.
6635 (libc_feupdateenv_testf): New.
6636 (libc_feupdateenv_testl): New.
6637 (libc_feresetround): New.
6638 (libc_feresetroundf): New.
6639 (libc_feresetroundl): New.
6640 (libc_fetestexcept_mips): New.
6641 (libc_fetestexcept): New.
6642 (libc_fetestexceptf): New.
6643 (libc_fetestexceptl): New.
6645 (libc_feholdexcept_setround_mips_ctx): New.
6646 (libc_feholdexcept_setround_ctx): New.
6647 (libc_feholdexcept_setroundf_ctx): New.
6648 (libc_feholdexcept_setroundl_ctx): New.
6649 (libc_fesetenv_mips_ctx): New.
6650 (libc_fesetenv_ctx): New.
6651 (libc_fesetenv_ctxf): New.
6652 (libc_fesetenv_ctxl): New.
6653 (libc_feupdateenv_mips_ctx): New.
6654 (libc_feupdateenv_ctx): New.
6655 (libc_feupdateenvf_ctx): New.
6656 (libc_feupdateenvl_ctx): New.
6657 (libc_feholdsetround_mips_ctx): New.
6658 (libc_feholdsetround_ctx): New.
6659 (libc_feholdsetroundf_ctx): New.
6660 (libc_feholdsetroundl_ctx): New.
6661 (libc_feresetround_mips_ctx): New.
6662 (libc_feresetround_ctx): New.
6663 (libc_feresetroundf_ctx): New.
6664 (libc_feresetroundl_ctx): New.
6666 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6668 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6670 * manual/ipc.texi: New file.
6671 * manual/Makefile (chapters): Add ipc.
6672 * manual/job.texi: Add "Inter-Process Communication" to next.
6673 * manual/process.texi: Add "Inter-Process Communication" to prev.
6675 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6679 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6681 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6683 * manual/arith.texi: Fix spaces after sentences.
6684 * manual/charset.texi: Likewise.
6685 * manual/errno.texi: Likewise.
6686 * manual/install.texi: Likewise.
6687 * manual/llio.texi: Likewise.
6688 * manual/locale.texi: Likewise.
6689 * manual/maint.texi: Likewise.
6690 * manual/math.texi: Likewise.
6691 * manual/memory.texi: Likewise.
6692 * manual/message.texi: Likewise.
6693 * manual/probes.texi: Likewise.
6694 * manual/resource.texi: Likewise.
6695 * manual/signal.texi: Likewise.
6696 * manual/socket.texi: Likewise.
6697 * manual/stdio.texi: Likewise.
6698 * manual/string.texi: Likewise.
6699 * manual/time.texi: Likewise.
6700 * manual/users.texi: Likewise.
6702 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6705 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6706 _DEFAULT_SOURCE is defined.
6708 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6709 Carlos O'Donell <carlos@redhat.com>
6712 * elf/dl-tls.c (_dl_count_modids): New function.
6713 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6714 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6715 audit library and increment generation counter.
6716 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6717 * elf/tst-audit9.c: New file.
6718 * elf/tst-auditmod9a.c: New file.
6719 * elf/tst-auditmod9b.c: New file.
6720 * elf/Makefile: Add rules to build and run tst-audit9.
6722 2014-02-25 Florian Weimer <fweimer@redhat.com>
6725 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6727 2014-02-25 Will Newton <will.newton@linaro.org>
6729 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6730 (__longjmp): Restore sp and lr before restoring callee
6731 saved registers. Add longjmp and longjmp_target
6732 SystemTap probe point.
6733 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6734 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6735 Define to zero to match jmpbuf layout.
6736 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6737 (__sigsetjmp): Save sp and lr before saving callee
6738 saved registers. Add setjmp SystemTap probe point.
6740 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6742 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6744 2014-02-24 Andreas Schwab <schwab@suse.de>
6747 * elf/pldd.c (wait_for_ptrace_stop): New function.
6748 (main): Call it after attaching.
6750 2014-02-22 Roland McGrath <roland@hack.frob.com>
6752 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6753 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6754 Versions files is now verboten.
6755 * hurd/Versions (libc: GLIBC_2.0):
6756 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6757 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6758 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6759 * mach/Versions: Likewise.
6761 * csu/Versions: Remove unused %include.
6762 * resolv/Versions: Likewise.
6764 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6766 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6767 ($(objpfx)check-local-headers.out): Likewise.
6768 ($(objpfx)begin-end-check.out): Likewise.
6769 * Makerules (check-abi-%.out): Likewise.
6770 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6771 ($(objpfx)test2.cat): Likewise.
6772 ($(objpfx)de/libc.cat): Likewise.
6773 ($(objpfx)test-gencat.out): Likewise.
6774 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6775 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6776 ($(objpfx)noload-mem): Likewise.
6777 ($(objpfx)tst-pathopt.out): Likewise.
6778 ($(objpfx)tst-rtld-load-self.out): Likewise.
6779 ($(objpfx)tst-array1-cmp.out): Likewise.
6780 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6781 ($(objpfx)tst-array2-cmp.out): Likewise.
6782 ($(objpfx)tst-array3-cmp.out): Likewise.
6783 ($(objpfx)tst-array4-cmp.out): Likewise.
6784 ($(objpfx)tst-array5-cmp.out): Likewise.
6785 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6786 ($(objpfx)check-textrel.out): Likewise.
6787 ($(objpfx)check-execstack.out): Likewise.
6788 ($(objpfx)check-localplt.out): Likewise.
6789 ($(objpfx)order2-cmp.out): Likewise.
6790 ($(objpfx)tst-leaks1-mem): Likewise.
6791 ($(objpfx)tst-leaks1-static-mem): Likewise.
6792 ($(objpfx)tst-initorder-cmp.out): Likewise.
6793 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6794 ($(objpfx)tst-unused-dep.out): Likewise.
6795 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6796 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6797 * iconv/Makefile (test-iconvconfig): Likewise.
6798 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6799 ($(objpfx)iconv-test.out): Likewise.
6800 ($(objpfx)tst-tables.out): Likewise.
6801 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6802 ($(objpfx)tst-gettext.out): Likewise.
6803 ($(objpfx)tst-translit.out): Likewise.
6804 ($(objpfx)tst-gettext2.out): Likewise.
6805 ($(objpfx)tst-gettext4.out): Likewise.
6806 ($(objpfx)tst-gettext6.out): Likewise.
6807 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6808 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6809 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6810 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6811 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6812 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6813 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6814 ($(objpfx)wordexp-tst.out): Likewise.
6815 ($(objpfx)annexc.out): Likewise.
6816 ($(objpfx)tst-fnmatch-mem): Likewise.
6817 ($(objpfx)bug-regex2-mem): Likewise.
6818 ($(objpfx)bug-regex14-mem): Likewise.
6819 ($(objpfx)bug-regex21-mem): Likewise.
6820 ($(objpfx)bug-regex31-mem): Likewise.
6821 ($(objpfx)tst-vfork3-mem): Likewise.
6822 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6823 ($(objpfx)tst-pcre-mem): Likewise.
6824 ($(objpfx)tst-boost-mem): Likewise.
6825 ($(objpfx)tst-getconf.out): Likewise.
6826 ($(objpfx)bug-ga2-mem): Likewise.
6827 ($(objpfx)bug-glob2-mem): Likewise.
6828 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6829 ($(objpfx)mtrace-tst-leaks2): Likewise.
6830 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6831 ($(objpfx)tst-printf.out): Likewise.
6832 ($(objpfx)tst-setvbuf1.out): Likewise.
6833 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6834 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6835 ($(objpfx)tst-fmtmsg.out): Likewise.
6836 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6837 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6839 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6840 * bits/sigaction.h [__USE_MISC]: Likewise.
6841 * bits/waitstatus.h: Update #endif comments.
6842 * ctype/ctype.h: Likewise.
6843 * dirent/dirent.h: Likewise.
6844 [__USE_MISC]: Remove redundant conditionals.
6845 * grp/grp.h: Update #endif comments.
6846 [__USE_GNU]: Remove redundant conditionals.
6847 [__USE_MISC]: Likewise.
6848 * inet/netinet/in.h [__USE_GNU]: Likewise.
6849 * io/sys/stat.h [__USE_MISC]: Likewise.
6850 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6851 * libio/bits/stdio.h: Update #endif comments.
6852 [__USE_MISC]: Remove redundant conditionals.
6853 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6854 * libio/stdio.h: Update #endif comments.
6855 [__USE_MISC]: Remove redundant conditionals.
6856 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6857 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6858 * math/math.h: Update #else and #endif comments.
6859 [__USE_MISC]: Remove redundant conditionals.
6860 * misc/sys/uio.h: Update #endif comments.
6861 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6862 * posix/glob.h [__USE_MISC]: Likewise.
6863 * posix/sys/types.h: Update #endif comments.
6864 [__USE_MISC]: Remove redundant conditionals.
6865 * posix/sys/wait.h: Update #endif comments.
6866 [__USE_MISC]: Remove redundant conditionals.
6867 * posix/unistd.h: Update #endif comments.
6868 [__USE_MISC]: Remove redundant conditionals.
6869 * pwd/pwd.h [__USE_GNU]: Likewise.
6870 [__USE_MISC]: Likewise.
6871 * resolv/netdb.h [__USE_GNU]: Likewise.
6872 * signal/signal.h: Update #endif comments.
6873 [__USE_MISC]: Remove redundant conditionals.
6874 * stdlib/stdlib.h: Update #else and #endif comments.
6875 [__USE_MISC]: Remove redundant conditionals.
6876 [__USE_GNU]: Likewise.
6877 * string/bits/string2.h [__USE_MISC]: Likewise.
6878 * string/string.h: Update #endif comments.
6879 [__USE_MISC]: Remove redundant conditionals.
6880 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6882 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6883 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6884 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6886 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6890 [__USE_MISC]: Remove redundant conditionals.
6891 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6892 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6893 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6894 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6895 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6897 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6898 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6900 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6901 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6903 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6905 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6906 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6908 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6910 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6911 * sysdeps/x86/bits/string.h: Update #endif comments.
6912 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6914 * time/sys/time.h: Update #endif comments.
6915 * time/time.h: Likewise.
6916 [__USE_MISC]: Remove redundant conditionals.
6918 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6921 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6923 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6925 * Versions.def (librt): Add GLIBC_2.17.
6927 2014-02-21 Adam Conrad <adconrad@0c3.net>
6929 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6930 synonym for _SYS_AUXV_H to allow direct inclusion.
6931 * sysdeps/sparc/bits/hwcap.h: Likewise.
6932 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6933 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6934 * sysdeps/sparc/sysdep.h: Likewise.
6936 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6938 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6940 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6942 * benchtests/bench-strrchr.c: Print length instead of position.
6944 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6947 * sysdeps/unix/sysv/linux/kernel-features.h
6948 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6949 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6950 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6951 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6953 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6954 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6955 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6956 (__ASSUME_SENDMMSG): Define instead of using previous
6957 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6959 (__ASSUME_SENDMMSG_SYSCALL): Define.
6960 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6961 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6963 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6964 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6966 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6967 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6969 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6970 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6971 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6972 [__ASSUME_SENDMMSG]: Change conditionals to
6973 [__ASSUME_SENDMMSG_SOCKETCALL].
6974 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6975 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6977 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6978 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6980 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6981 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6982 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6983 [!__ASSUME_SENDMMSG]: Change conditional to
6984 [!__ASSUME_SENDMMSG_SOCKETCALL].
6985 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6986 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6990 * sysdeps/unix/sysv/linux/kernel-features.h
6991 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6992 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6993 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6994 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6995 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6996 [__i386__ || __sparc__]
6997 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6998 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6999 (__ASSUME_RECVMMSG): Define instead of using previous
7000 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7001 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7002 (__ASSUME_RECVMMSG_SYSCALL): Define.
7003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7004 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7007 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7009 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7010 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7012 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7013 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7014 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7015 [__ASSUME_RECVMMSG]: Change condition to
7016 [__ASSUME_RECVMMSG_SOCKETCALL].
7017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7018 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7020 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7021 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7022 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7024 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7025 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7026 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7027 [!__ASSUME_RECVMMSG]: Change condition to
7028 [!__ASSUME_RECVMMSG_SOCKETCALL].
7029 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7030 (__ASSUME_RECVMMSG_SYSCALL): Define.
7033 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7034 __powerpc__ || __s390__ || __sh__ || __sparc__]
7035 (__ASSUME_SOCKETCALL): Define.
7036 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7037 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7038 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7039 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7040 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7041 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7042 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7043 (__ASSUME_ACCEPT4): Define instead of using previous
7044 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7045 __powerpc__ || __sparc__ || __s390__)] condition.
7046 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7047 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7048 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7049 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7050 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7051 [!__ASSUME_ACCEPT4]: Change condition to
7052 [!__ASSUME_ACCEPT4_SOCKETCALL].
7053 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7054 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7055 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7056 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7057 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7058 __ASSUME_ACCEPT4_SYSCALL.
7059 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7060 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7061 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7062 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7063 __ASSUME_ACCEPT4_SYSCALL.
7064 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7065 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7066 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7067 [__ASSUME_ACCEPT4]: Change condition to
7068 [__ASSUME_ACCEPT4_SOCKETCALL].
7069 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7070 (__ASSUME_SOCKETCALL): Define.
7071 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7072 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7073 (__ASSUME_SOCKETCALL): Define.
7074 (__ASSUME_ACCEPT4): Remove.
7075 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7077 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7078 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7080 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7081 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7083 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7085 (HWCAP_ARM_LPAE): Likewise.
7086 (HWCAP_ARM_EVTSTRM): Likewise.
7087 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7088 Add vpfd32, lpae and evtstrm.
7089 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7092 2014-02-19 Joseph Myers <joseph@codesourcery.com>
7094 * math/auto-libm-test-in: Add tests of clog10.
7095 * math/auto-libm-test-out: Regenerated.
7096 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7097 * sysdeps/i386/fpu/libm-test-ulps: Update.
7098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100 2014-02-18 Andreas Schwab <schwab@suse.de>
7103 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7104 Store non-zero if the second buffer was newly allocated.
7105 (send_dg): Likewise.
7106 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7107 to send_vc and send_dg.
7108 (res_nsend): Pass NULL for ansp2_malloced.
7109 * resolv/res_query.c (__libc_res_nquery): Add parameter
7110 answerp2_malloced and pass it down to __libc_res_nsend.
7111 (res_nquery): Pass additional NULL to __libc_res_nquery.
7112 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7113 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7114 second answer buffer if answerp2_malloced was set.
7115 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7116 (__libc_res_nquerydomain): Add parameter
7117 answerp2_malloced and pass it down to __libc_res_nquery.
7118 (res_nquerydomain): Pass additional NULL to
7119 __libc_res_nquerydomain.
7120 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7121 additional NULL to __libc_res_nsend and __libc_res_nquery.
7122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7123 additional NULL to __libc_res_nsearch.
7124 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7125 parameter of __libc_res_nsearch to check for separately allocated
7127 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7129 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7130 additional NULL to __libc_res_nquery.
7131 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7133 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7134 * include/resolv.h: Update prototypes of __libc_res_nquery,
7135 __libc_res_nsearch, __libc_res_nsend.
7137 2014-02-18 Joseph Myers <joseph@codesourcery.com>
7139 * math/auto-libm-test-in: Add tests of fma.
7140 * math/auto-libm-test-out: Regenerated.
7141 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7142 (fma_towardzero_test_data): Likewise.
7143 (fma_downward_test_data): Likewise.
7144 (fma_upward_test_data): Likewise.
7145 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7147 (rounding_modes): Add values for new field.
7148 (func_calc_method): Add value mpfr_fff_f.
7149 (func_calc_desc): Add mpfr_fff_f union field.
7150 (test_function): Add field exact_args.
7151 (FUNC): Add macro argument EXACT_ARGS.
7152 (FUNC_mpfr_f_f): Update call to FUNC.
7153 (FUNC_mpfr_f_f): Likewise.
7154 (FUNC_mpfr_ff_f): Likewise.
7155 (FUNC_mpfr_if_f): Likewise.
7156 (FUNC_mpc_c_f): Likewise.
7157 (FUNC_mpc_c_c): Likewise.
7158 (test_functions): Add fma. Update calls to FUNC.
7159 (handle_input_arg): Add argument exact_args.
7160 (add_test): Update call to handle_input_arg.
7161 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7162 (output_for_one_input_case): Update call to calc_generic_results.
7163 Recalculate exact zero results in each rounding mode.
7165 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7166 non-negative before setting low bit.
7167 * math/auto-libm-test-in: Mark one asin test possibly having
7169 * math/auto-libm-test-out: Regenerated.
7170 * sysdeps/i386/fpu/libm-test-ulps: Update.
7171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7173 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7175 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7176 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7177 ports/sysdeps/unix/sysv/linux/microblaze.
7178 * README: Add missing listing for microblaze*-*-linux-gnu.
7180 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7182 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7183 * sysdeps/unix/sysv/linux/ia64: Move directory from
7184 ports/sysdeps/unix/sysv/linux/ia64.
7185 * README: Update listing for ia64-*-linux-gnu.
7187 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7188 Joseph Myers <joseph@codesourcery.com>
7190 * Makeconfig (test-name): New variable.
7191 (evaluate-test): Likewise.
7192 * Makerules (do-test-clean): Remove .test-result files.
7193 (common-mostlyclean): Likewise.
7194 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7195 * scripts/evaluate-test.sh: New file.
7197 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7199 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7200 separate $(objpfx)tst-fopenloc-cmp.out and
7201 $(objpfx)tst-fopenloc-mem.out targets.
7202 (tests): Update dependencies.
7203 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7204 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7205 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7206 (tst-rxspencer-no-utf8-ARGS): New variable.
7207 (tst-rxspencer-no-utf8-ENV): Likewise.
7208 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7209 instead of $(objpfx)tst-rxspencer-mem.
7210 ($(objpfx)tst-rxspencer-mem): Change target to
7211 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7212 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7213 * posix/tst-rxspencer-no-utf8.c: New file.
7215 * elf/Makefile ($(objpfx)order.out): Remove rule.
7216 [$(run-built-tests) = yes] (tests): Depend on
7217 $(objpfx)order-cmp.out.
7218 ($(objpfx)order-cmp.out): New rule.
7219 [$(run-built-tests) = yes] (tests): Depend on
7220 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7221 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7222 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7223 $(objpfx)tst-array5-static-cmp.out.
7224 ($(objpfx)tst-array1.out): Remove rule.
7225 ($(objpfx)tst-array1-cmp.out): New rule.
7226 ($(objpfx)tst-array1-static.out): Remove rule.
7227 ($(objpfx)tst-array1-static-cmp.out): New rule.
7228 ($(objpfx)tst-array2.out): Remove rule.
7229 ($(objpfx)tst-array2-cmp.out): New rule.
7230 ($(objpfx)tst-array3.out): Remove rule.
7231 ($(objpfx)tst-array3-cmp.out): New rule.
7232 ($(objpfx)tst-array4.out): Remove rule.
7233 ($(objpfx)tst-array4-cmp.out): New rule.
7234 ($(objpfx)tst-array5.out): Remove rule.
7235 ($(objpfx)tst-array5-cmp.out): New rule.
7236 ($(objpfx)tst-array5-static.out): Remove rule.
7237 ($(objpfx)tst-array5-static-cmp.out): New rule.
7238 [$(run-built-tests) = yes] (tests): Depend on
7239 $(objpfx)order2-cmp.out.
7240 ($(objpfx)order2.out): Remove rule.
7241 ($(objpfx)order2-cmp.out): New rule.
7242 ($(objpfx)tst-initorder.out): Remove rule.
7243 [$(run-built-tests) = yes] (tests): Depend on
7244 $(objpfx)tst-initorder-cmp.out.
7245 ($(objpfx)tst-initorder-cmp.out): New rule.
7246 ($(objpfx)tst-initorder2.out): Remove rule.
7247 [$(run-built-tests) = yes] (tests): Depend on
7248 $(objpfx)tst-initorder2-cmp.out.
7249 ($(objpfx)tst-initorder2-cmp.out): New rule.
7250 [$(run-built-tests) = yes] (tests): Depend on
7251 $(objpfx)tst-unused-dep-cmp.out.
7252 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7253 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7254 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7255 on $(objpfx)tst-setvbuf1-cmp.out.
7256 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7257 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7258 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7259 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7260 ($(objpfx)tst-svc.out): Remove rule.
7261 ($(objpfx)tst-svc-cmp.out): New rule.
7263 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7265 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7266 * ctype/ctype.h [__USE_MISC]: Likewise.
7267 * dirent/dirent.h [__USE_MISC]: Likewise.
7268 * grp/grp.h [__USE_MISC]: Likewise.
7269 * io/fcntl.h [__USE_MISC]: Likewise.
7270 * io/sys/stat.h [__USE_MISC]: Likewise.
7271 * libio/stdio.h [__USE_MISC]: Likewise.
7272 * posix/unistd.h [__USE_MISC]: Likewise.
7273 * pwd/pwd.h [__USE_MISC]: Likewise.
7274 * stdlib.h [__USE_MISC]: Likewise.
7275 * string/bits/string2.h [__USE_MISC]: Likewise.
7276 * string/string.h [__USE_MISC]: Likewise.
7277 * time/time.h [__USE_MISC]: Likewise.
7279 2014-02-13 Andreas Schwab <schwab@suse.de>
7282 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7283 second answer buffer if it was separately allocated.
7285 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7287 * sysdeps/mips/math-tests.h: Include <features.h>.
7288 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7289 (ROUNDING_TESTS_long_double): Do not define.
7290 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7291 (EXCEPTION_TESTS_long_double): Likewise.
7292 * sysdeps/mips/mips64/libm-test-ulps: Update.
7294 * include/features.h (__USE_BSD): Remove macro definitions.
7295 (__USE_SVID): Likewise.
7296 (_BSD_SOURCE): Likewise.
7297 (_SVID_SOURCE): Likewise.
7298 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7299 from definition of _DEFAULT_SOURCE.
7300 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7302 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7303 * bits/mman.h [__USE_BSD]: Likewise.
7304 * bits/termios.h [__USE_BSD]: Likewise.
7305 * bits/waitstatus.h [__USE_BSD]: Likewise.
7306 * ctype/ctype.h [__USE_SVID]: Likewise.
7307 * dirent/dirent.h [__USE_BSD]: Likewise.
7308 * grp/grp.h [__USE_SVID]: Likewise.
7309 [__USE_BSD]: Likewise.
7310 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7311 * io/fcntl.h [__USE_BSD]: Likewise.
7312 * io/ftw.h [__USE_BSD]: Likewise.
7313 * io/sys/stat.h [__USE_BSD]: Likewise.
7314 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7315 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7316 * libio/stdio.h [__USE_SVID]: Likewise.
7317 [__USE_BSD]: Likewise.
7318 * math/math.h [__USE_SVID]: Likewise.
7319 [__USE_BSD]: Likewise.
7320 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7321 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7322 * misc/search.h [__USE_SVID]: Likewise.
7323 * misc/sys/mman.h [__USE_BSD]: Likewise.
7324 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7325 * misc/sys/uio.h [__USE_BSD]: Likewise.
7326 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7327 * posix/glob.h [__USE_BSD]: Likewise.
7328 * posix/regex.h [__USE_BSD]: Likewise.
7329 * posix/sys/types.h [__USE_BSD]: Likewise.
7330 [__USE_SVID]: Likewise.
7331 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7332 * posix/sys/wait.h [__USE_BSD]: Likewise.
7333 [__USE_SVID]: Likewise.
7334 * posix/unistd.h [__USE_BSD]: Likewise.
7335 [__USE_SVID]: Likewise.
7336 * pwd/pwd.h [__USE_SVID]: Likewise.
7337 * resolv/netdb.h [__USE_BSD]: Likewise.
7338 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7339 * signal/signal.h [__USE_BSD]: Likewise.
7340 [__USE_SVID]: Likewise.
7341 * socket/sys/socket.h [__USE_BSD]: Likewise.
7342 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7343 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7344 [__USE_SVID]: Likewise.
7345 * string/bits/string2.h [__USE_BSD]: Likewise.
7346 [__USE_SVID]: Likewise.
7347 * string/bits/string3.h [__USE_BSD]: Likewise.
7348 * string/endian.h [__USE_BSD]: Likewise.
7349 * string/string.h [__USE_SVID]: Likewise.
7350 [__USE_BSD]: Likewise.
7351 * string/strings.h [__USE_BSD]: Likewise.
7352 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7353 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7354 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7355 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7356 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7357 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7361 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7362 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7364 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7365 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7367 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7369 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7370 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7371 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7373 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7375 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7376 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7377 * termios/termios.h [__USE_BSD]: Likewise.
7378 * time/sys/time.h [__USE_BSD]: Likewise.
7379 * time/time.h [__USE_BSD]: Likewise.
7380 [__USE_SVID]: Likewise.
7382 * Makefile (subdir_targets): Remove subdir_lint.out.
7384 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7385 (do-tst-printf): Likewise.
7386 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7387 $(objpfx)tst-printf.out.
7389 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7391 * Makerules (check-abi-%): Change target to
7392 $(objpfx)check-abi-%.out.
7393 (check-abi target): Update dependencies.
7394 (check-abi-pattern variable): Redirect output of diff to $@.
7395 (check-abi variable): Likewise.
7396 * elf/Makefile (check-abi): Update dependencies.
7398 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7400 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7401 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7403 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7404 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7405 value has largest subnormal exponent.
7406 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7407 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7408 * sysdeps/aarch64/soft-fp/sfp-machine.h
7409 (_FP_TININESS_AFTER_ROUNDING): New macro.
7410 * sysdeps/alpha/soft-fp/sfp-machine.h
7411 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7412 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7414 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7415 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7416 * sysdeps/mips/soft-fp/sfp-machine.h
7417 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7418 * sysdeps/powerpc/soft-fp/sfp-machine.h
7419 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7420 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7422 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7423 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7424 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7425 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7426 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7429 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7432 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7435 2014-02-12 Richard Henderson <rth@redhat.com>
7437 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7438 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7439 * sysdeps/unix/sysv/linux/alpha: Move directory from
7440 ports/sysdeps/unix/sysv/linux/alpha.
7441 * README: Update listing for alpha-*-linux-gnu.
7443 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7445 * include/features.h: Update comment documenting feature test
7447 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7449 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7450 (_SVID_SOURCE): Likewise.
7451 (_DEFAULT_SOURCE): Update description of default features.
7452 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7454 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7455 (S_ISVTX): Likewise.
7456 * manual/math.texi (Mathematical Constants): Likewise.
7457 * manual/signal.texi (Interrupted Primitives): Likewise.
7458 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7459 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7460 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7461 Don't refer to _SVID_SOURCE in warning text.
7463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7465 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7467 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7468 * sysdeps/mips/dl-lookup.c: Remove.
7469 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7471 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7474 * math/auto-libm-test-in: Add testcase for expl.
7475 * math/auto-libm-test-out: Regenerate.
7476 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7477 calculation of unsafe.
7478 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7480 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7482 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7483 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7484 ports/sysdeps/unix/sysv/linux/aarch64.
7485 * README: Update listing for aarch64*-*-linux-gnu.
7487 2014-02-11 Will Newton <will.newton@linaro.org>
7489 * manual/probes.texi (Mathematical Function Probes): Use
7490 "triggered" instead of "hit".
7492 * manual/probes.texi (Internal Probes): Add documentation
7493 of setjmp, longjmp and longjmp_target probes.
7495 * include/stap-probe.h: Add comment about probe argument
7498 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7499 definition. (tr_where, tr_freehook, tr_mallochook,
7500 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7502 2014-02-11 David S. Miller <davem@davemloft.net>
7504 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7505 processing int_tests.
7507 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7509 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7510 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7511 * sysdeps/unix/sysv/linux/mips: Move directory from
7512 ports/sysdeps/unix/sysv/linux/mips.
7513 * README: Update listing for mips-*-linux-gnu and
7516 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7518 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7519 * sysdeps/unix/sysv/linux/m68k: Move directory from
7520 ports/sysdeps/unix/sysv/linux/m68k.
7521 * README: Update listing for m68k-*-linux-gnu.
7523 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7525 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7526 * sysdeps/unix/sysv/linux/generic: Move directory from
7527 ports/sysdeps/unix/sysv/linux/generic.
7528 * sysdeps/unix/sysv/linux/tile: Move directory from
7529 ports/sysdeps/unix/sysv/linux/tile.
7530 * README: Update listing for tile*-*-linux-gnu.
7532 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7534 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7536 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7537 * catgets/open_catalog.c (__open_catalog): Likewise.
7538 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7539 * debug/confstr_chk.c: Likewise.
7540 * debug/fread_chk.c (__fread_chk): Likewise.
7541 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7542 * debug/getgroups_chk.c: Likewise.
7543 * debug/mbsnrtowcs_chk.c: Likewise.
7544 * debug/mbsrtowcs_chk.c: Likewise.
7545 * debug/mbstowcs_chk.c: Likewise.
7546 * debug/memcpy_chk.c: Likewise.
7547 * debug/memmove_chk.c: Likewise.
7548 * debug/mempcpy_chk.c: Likewise.
7549 * debug/memset_chk.c: Likewise.
7550 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7551 * debug/strcat_chk.c (__strcat_chk): Likewise.
7552 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7553 * debug/strncat_chk.c (__strncat_chk): Likewise.
7554 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7555 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7556 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7557 * debug/wcpncpy_chk.c: Likewise.
7558 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7559 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7560 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7561 * debug/wcsncpy_chk.c: Likewise.
7562 * debug/wcsnrtombs_chk.c: Likewise.
7563 * debug/wcsrtombs_chk.c: Likewise.
7564 * debug/wcstombs_chk.c: Likewise.
7565 * debug/wmemcpy_chk.c: Likewise.
7566 * debug/wmemmove_chk.c: Likewise.
7567 * debug/wmempcpy_chk.c: Likewise.
7568 * debug/wmemset_chk.c: Likewise.
7569 * dirent/scandirat.c (SCANDIRAT): Likewise.
7570 * dlfcn/dladdr1.c (dladdr1): Likewise.
7571 * dlfcn/dladdr.c (dladdr): Likewise.
7572 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7573 * dlfcn/dlerror.c (__dlerror): Likewise.
7574 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7575 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7576 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7577 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7578 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7579 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7580 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7581 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7583 * elf/dl-conflict.c: Likewise.
7584 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7585 * elf/dl-dst.h: Likewise.
7586 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7587 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7588 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7589 * elf/dl-init.c (call_init, _dl_init): Likewise.
7590 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7591 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7592 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7594 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7596 * elf/dl-minimal.c (__libc_memalign): Likewise.
7597 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7598 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7599 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7600 * elf/dl-sym.c (do_sym): Likewise.
7601 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7602 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7603 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7604 * elf/dl-writev.h (_dl_writev): Likewise.
7605 * elf/ldconfig.c (search_dir): Likewise.
7606 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7607 (dl_main): Likewise.
7608 * elf/setup-vdso.h (setup_vdso): Likewise.
7609 * grp/compat-initgroups.c (compat_call): Likewise.
7610 * grp/fgetgrent.c (fgetgrent): Likewise.
7611 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7612 * grp/putgrent.c (putgrent): Likewise.
7613 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7615 * hurd/hurdinit.c: Likewise.
7616 * iconvdata/8bit-gap.c (struct): Likewise.
7617 * iconvdata/ansi_x3.110.c : Likewise.
7618 * iconvdata/big5.c : Likewise.
7619 * iconvdata/big5hkscs.c : Likewise.
7620 * iconvdata/cp1255.c: Likewise.
7621 * iconvdata/cp1258.c : Likewise.
7622 * iconvdata/cp932.c : Likewise.
7623 * iconvdata/euc-cn.c: Likewise.
7624 * iconvdata/euc-jisx0213.c : Likewise.
7625 * iconvdata/euc-jp.c: Likewise.
7626 * iconvdata/euc-jp-ms.c : Likewise.
7627 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7628 * iconvdata/gb18030.c : Likewise.
7629 * iconvdata/gbbig5.c (const): Likewise.
7630 * iconvdata/gbgbk.c: Likewise.
7631 * iconvdata/gbk.c : Likewise.
7632 * iconvdata/ibm1364.c : Likewise.
7633 * iconvdata/ibm930.c : Likewise.
7634 * iconvdata/ibm932.c: Likewise.
7635 * iconvdata/ibm933.c : Likewise.
7636 * iconvdata/ibm935.c : Likewise.
7637 * iconvdata/ibm937.c : Likewise.
7638 * iconvdata/ibm939.c : Likewise.
7639 * iconvdata/ibm943.c: Likewise.
7640 * iconvdata/iso_11548-1.c: Likewise.
7641 * iconvdata/iso-2022-cn.c : Likewise.
7642 * iconvdata/iso-2022-cn-ext.c : Likewise.
7643 * iconvdata/iso-2022-jp-3.c: Likewise.
7644 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7645 * iconvdata/iso-2022-kr.c : Likewise.
7646 * iconvdata/iso646.c (gconv_end): Likewise.
7647 * iconvdata/iso_6937-2.c : Likewise.
7648 * iconvdata/iso_6937.c : Likewise.
7649 * iconvdata/iso8859-1.c: Likewise.
7650 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7651 * iconvdata/shift_jisx0213.c : Likewise.
7652 * iconvdata/sjis.c : Likewise.
7653 * iconvdata/t.61.c : Likewise.
7654 * iconvdata/tcvn5712-1.c : Likewise.
7655 * iconvdata/tscii.c: Likewise.
7656 * iconvdata/uhc.c : Likewise.
7657 * iconvdata/unicode.c (gconv_end): Likewise.
7658 * iconvdata/utf-16.c (gconv_end): Likewise.
7659 * iconvdata/utf-32.c (gconv_end): Likewise.
7660 * iconvdata/utf-7.c (base64): Likewise.
7661 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7662 * iconv/gconv_close.c (__gconv_close): Likewise.
7663 * iconv/gconv_open.c (__gconv_open): Likewise.
7664 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7665 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7666 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7667 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7668 (ucs4le_internal_loop_single): Likewise.
7669 * iconv/iconv.c (iconv): Likewise.
7670 * iconv/iconv_close.c: Likewise.
7671 * iconv/loop.c (SINGLE): Likewise.
7672 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7673 * include/atomic.h: Likewise.
7674 * inet/inet6_option.c (option_alloc): Likewise.
7675 * intl/bindtextdom.c (set_binding_values): Likewise.
7676 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7677 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7678 * intl/localealias.c (read_alias_file): Likewise.
7679 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7680 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7681 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7682 * libio/fmemopen.c (fmemopen): Likewise.
7683 * libio/iofgets.c (_IO_fgets): Likewise.
7684 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7685 * libio/iofgetws.c (fgetws): Likewise.
7686 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7687 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7688 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7689 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7690 * locale/findlocale.c (_nl_find_locale): Likewise.
7691 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7692 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7694 * locale/setlocale.c (setlocale): Likewise.
7695 * login/programs/pt_chown.c (main): Likewise.
7696 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7697 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7698 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7699 (mmap, mmap64, mremap, munmap): Likewise.
7700 * math/e_exp2l.c: Likewise.
7701 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7702 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7703 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7704 * math/s_catan.c (__catan): Likewise.
7705 * math/s_catanf.c (__catanf): Likewise.
7706 * math/s_catanh.c (__catanh): Likewise.
7707 * math/s_catanhf.c (__catanhf): Likewise.
7708 * math/s_catanhl.c (__catanhl): Likewise.
7709 * math/s_catanl.c (__catanl): Likewise.
7710 * math/s_ccosh.c (__ccosh): Likewise.
7711 * math/s_ccoshf.c (__ccoshf): Likewise.
7712 * math/s_ccoshl.c (__ccoshl): Likewise.
7713 * math/s_cexp.c (__cexp): Likewise.
7714 * math/s_cexpf.c (__cexpf): Likewise.
7715 * math/s_cexpl.c (__cexpl): Likewise.
7716 * math/s_clog10.c (__clog10): Likewise.
7717 * math/s_clog10f.c (__clog10f): Likewise.
7718 * math/s_clog10l.c (__clog10l): Likewise.
7719 * math/s_clog.c (__clog): Likewise.
7720 * math/s_clogf.c (__clogf): Likewise.
7721 * math/s_clogl.c (__clogl): Likewise.
7722 * math/s_csin.c (__csin): Likewise.
7723 * math/s_csinf.c (__csinf): Likewise.
7724 * math/s_csinh.c (__csinh): Likewise.
7725 * math/s_csinhf.c (__csinhf): Likewise.
7726 * math/s_csinhl.c (__csinhl): Likewise.
7727 * math/s_csinl.c (__csinl): Likewise.
7728 * math/s_csqrt.c (__csqrt): Likewise.
7729 * math/s_csqrtf.c (__csqrtf): Likewise.
7730 * math/s_csqrtl.c (__csqrtl): Likewise.
7731 * math/s_ctan.c (__ctan): Likewise.
7732 * math/s_ctanf.c (__ctanf): Likewise.
7733 * math/s_ctanh.c (__ctanh): Likewise.
7734 * math/s_ctanhf.c (__ctanhf): Likewise.
7735 * math/s_ctanhl.c (__ctanhl): Likewise.
7736 * math/s_ctanl.c (__ctanl): Likewise.
7737 * math/w_pow.c: Likewise.
7738 * math/w_powf.c: Likewise.
7739 * math/w_powl.c: Likewise.
7740 * math/w_scalb.c (sysv_scalb): Likewise.
7741 * math/w_scalbf.c (sysv_scalbf): Likewise.
7742 * math/w_scalbl.c (sysv_scalbl): Likewise.
7743 * misc/error.c (error_tail): Likewise.
7744 * misc/pselect.c (__pselect): Likewise.
7745 * nis/nis_callback.c (__nis_create_callback): Likewise.
7746 * nis/nis_call.c (__nisfind_server): Likewise.
7747 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7748 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7749 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7750 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7751 * nis/nis_lookup.c (nis_lookup): Likewise.
7752 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7753 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7754 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7755 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7756 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7757 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7758 * nis/nss_compat/compat-initgroups.c (add_group)
7759 (internal_getgrent_r): Likewise.
7760 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7761 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7762 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7763 (internal_getspnam_r): Likewise.
7764 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7765 (_nss_nis_getaliasbyname_r): Likewise.
7766 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7767 (_nss_nis_getntohost_r): Likewise.
7768 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7769 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7770 (_nss_nis_getgrgid_r): Likewise.
7771 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7772 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7773 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7774 (_nss_nis_gethostbyname4_r): Likewise.
7775 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7776 (initgroups_netid): Likewise.
7777 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7778 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7779 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7780 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7781 (_nss_nis_getprotobynumber_r): Likewise.
7782 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7783 (_nss_nis_getsecretkey): Likewise.
7784 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7785 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7786 (_nss_nis_getpwuid_r): Likewise.
7787 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7788 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7789 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7790 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7791 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7792 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7793 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7795 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7796 (_nss_nisplus_getntohost_r): Likewise.
7797 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7798 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7799 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7800 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7802 * nis/nss_nisplus/nisplus-initgroups.c
7803 (_nss_nisplus_initgroups_dyn): Likewise.
7804 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7805 (_nss_nisplus_getnetbyaddr_r): Likewise.
7806 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7807 (_nss_nisplus_getprotobynumber_r): Likewise.
7808 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7809 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7810 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7812 * nis/nss_nisplus/nisplus-service.c
7813 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7814 (_nss_nisplus_getservbyport_r): Likewise.
7815 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7816 (_nss_nisplus_getspnam_r): Likewise.
7817 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7819 * nscd/aicache.c (addhstaiX): Likewise.
7820 * nscd/cache.c (cache_search, prune_cache): Likewise.
7821 * nscd/connections.c (register_traced_file, send_ro_fd)
7822 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7823 (main_loop_epoll): Likewise.
7824 * nscd/grpcache.c (addgrbyX): Likewise.
7825 * nscd/hstcache.c (addhstbyX): Likewise.
7826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7827 * nscd/mem.c (gc, mempool_alloc): Likewise.
7828 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7829 (addinnetgrX): Likewise.
7830 * nscd/nscd-client.h (__nscd_acquire_maplock)
7831 (__nscd_drop_map_ref): Likewise.
7832 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7833 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7834 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7836 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7837 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7838 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7839 (__nscd_get_map_ref): Likewise.
7840 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7841 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7843 * nscd/pwdcache.c (addpwbyX): Likewise.
7844 * nscd/selinux.c (preserve_capabilities): Likewise.
7845 * nscd/servicescache.c (addservbyX): Likewise.
7846 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7847 * posix/fnmatch.c (fnmatch): Likewise.
7848 * posix/getopt.c (_getopt_internal_r): Likewise.
7849 * posix/glob.c (glob, glob_in_dir): Likewise.
7850 * posix/wordexp.c (exec_comm_child): Likewise.
7851 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7852 (getanswer_r, gaih_getanswer_slice): Likewise.
7853 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7854 * resolv/res_init.c: Likewise.
7855 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7856 * resolv/res_query.c (__libc_res_nquery): Likewise.
7857 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7859 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7860 * stdio-common/perror.c (perror): Likewise.
7861 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7862 * stdio-common/tmpnam.c (tmpnam): Likewise.
7863 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7864 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7865 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7867 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7868 * stdlib/putenv.c (putenv): Likewise.
7869 * stdlib/setenv.c (__add_to_environ): Likewise.
7870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7871 * stdlib/strtol_l.c (INTERNAL): Likewise.
7872 * string/memmem.c (memmem): Likewise.
7873 * string/strerror.c (strerror): Likewise.
7874 * string/strnlen.c (__strnlen): Likewise.
7875 * string/test-memmem.c (simple_memmem): Likewise.
7876 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7877 * sunrpc/pm_getport.c (__get_socket): Likewise.
7878 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7879 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7880 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7881 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7883 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7884 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7886 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7887 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7888 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7890 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7892 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7893 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7894 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7895 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7896 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7898 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7899 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7900 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7901 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7902 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7903 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7907 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7909 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7911 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7912 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7913 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7914 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7915 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7916 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7917 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7918 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7919 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7921 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7922 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7924 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7926 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7928 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7930 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7932 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7933 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7934 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7936 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7937 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7938 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7939 * sysdeps/posix/sleep.c: Likewise.
7940 * sysdeps/posix/tempname.c: Likewise.
7941 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7942 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7944 * sysdeps/powerpc/powerpc32/dl-machine.h
7945 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7946 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7948 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7949 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7951 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7952 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7953 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7954 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7955 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7956 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7957 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7958 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7959 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7960 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7961 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7962 (elf_machine_lazy_rel): Likewise.
7963 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7964 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7965 (elf_machine_lazy_rel): Likewise.
7966 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7967 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7968 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7969 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7970 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7971 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7972 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7973 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7975 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7976 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7977 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7978 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7979 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7980 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7981 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7982 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7983 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7984 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7985 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7987 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7988 (__posix_fallocate64_l64): Likewise.
7989 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7990 (posix_fallocate): Likewise.
7991 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7993 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7994 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7995 (getifaddrs_internal): Likewise.
7996 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7997 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7998 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7999 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8000 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8001 (__posix_fallocate64_l64): Likewise.
8002 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8004 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8006 (__get_clockfreq): Likewise.
8007 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8008 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8009 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8011 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8012 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8013 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8014 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8016 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8017 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8018 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8021 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8022 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8024 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8025 (posix_fallocate): Likewise.
8026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8027 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8028 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8029 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8030 (elf_machine_rela, elf_machine_rela_relative)
8031 (elf_machine_lazy_rel): Likewise.
8032 * time/asctime.c (asctime_internal): Likewise.
8033 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8034 * time/tzset.c (__tzset_parse_tz): Likewise.
8035 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8036 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8037 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8038 * wcsmbs/wcsmbsload.h: Likewise.
8041 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8043 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8044 (arena_get2): Remove THREAD_STATS conditionals.
8045 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8046 (__malloc_stats, int): Likewise.
8048 2014-02-08 Mike Frysinger <vapier@gentoo.org>
8050 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8051 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8053 * manual/setjmp.texi: Fix typos/grammar errors.
8055 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8056 Only return early when n is <= 0. Delete unused return statement.
8058 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8059 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8060 * debug/tst-longjmp_chk3.c: New file.
8062 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8063 (test_main): Replace code with set_fortify_handler call.
8064 * debug/test-strcpy_chk.c: Likewise.
8065 * debug/tst-chk1.c: Likewise.
8066 * debug/tst-longjmp_chk.c: Likewise.
8067 * test-skeleton.c: Include fcntl.h & paths.h
8068 (set_fortify_handler): Define.
8070 * debug/tst-longjmp_chk.c: Add header comment and include
8072 (do_test): Mark static.
8073 (TEST_FUNCTION): Define.
8075 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8076 (IP_PMTUDISC_INTERFACE): Likewise.
8077 (IP_MULTICAST_IF): Likewise.
8078 (IP_MULTICAST_TTL): Likewise.
8079 (IP_MULTICAST_LOOP): Likewise.
8080 (IP_ADD_MEMBERSHIP): Likewise.
8081 (IP_DROP_MEMBERSHIP): Likewise.
8082 (IP_UNBLOCK_SOURCE): Likewise.
8083 (IP_BLOCK_SOURCE): Likewise.
8084 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8085 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8086 (IP_MSFILTER): Likewise.
8087 (MCAST_JOIN_GROUP): Likewise.
8088 (MCAST_BLOCK_SOURCE): Likewise.
8089 (MCAST_UNBLOCK_SOURCE): Likewise.
8090 (MCAST_LEAVE_GROUP): Likewise.
8091 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8092 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8093 (MCAST_MSFILTER): Likewise.
8094 (IP_MULTICAST_ALL): Likewise.
8095 (IP_UNICAST_IF): Likewise.
8097 * timezone/Makefile: Delete $(have-ksh) check.
8098 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8099 * timezone/tzselect.ksh: Add +x mode bits.
8101 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8102 (ANON_INODE_FS_MAGIC): Likewise.
8103 (BDEVFS_MAGIC): Likewise.
8104 (BINFMTFS_MAGIC): Likewise.
8105 (BTRFS_TEST_MAGIC): Likewise.
8106 (CRAMFS_MAGIC_WEND): Likewise.
8107 (DEBUGFS_MAGIC): Likewise.
8108 (ECRYPTFS_SUPER_MAGIC): Likewise.
8109 (EXT3_SUPER_MAGIC): Likewise.
8110 (EXT4_SUPER_MAGIC): Likewise.
8111 (FUTEXFS_SUPER_MAGIC): Likewise.
8112 (HOSTFS_SUPER_MAGIC): Likewise.
8113 (HUGETLBFS_MAGIC): Likewise.
8114 (MINIX3_SUPER_MAGIC): Likewise.
8115 (MTD_INODE_FS_MAGIC): Likewise.
8116 (NILFS_SUPER_MAGIC): Likewise.
8117 (OPENPROM_SUPER_MAGIC): Likewise.
8118 (PIPEFS_MAGIC): Likewise.
8119 (PSTOREFS_MAGIC): Likewise.
8120 (QNX6_SUPER_MAGIC): Likewise.
8121 (RAMFS_MAGIC): Likewise.
8122 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8123 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8124 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8125 (SECURITYFS_MAGIC): Likewise.
8126 (SELINUX_MAGIC): Likewise.
8127 (SMACK_MAGIC): Likewise.
8128 (SOCKFS_MAGIC): Likewise.
8129 (SQUASHFS_MAGIC): Likewise.
8130 (STACK_END_MAGIC): Likewise.
8131 (TMPFS_MAGIC): Likewise.
8132 (USBDEVICE_SUPER_MAGIC): Likewise.
8133 (V9FS_MAGIC): Likewise.
8134 (XENFS_SUPER_MAGIC): Likewise.
8135 (CRAMFS_MAGIC): Fix typo in comment.
8136 (EXT2_SUPER_MAGIC): Update comment.
8137 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8139 2014-02-08 Joseph Myers <joseph@codesourcery.com>
8141 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8142 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8143 * sysdeps/unix/sysv/linux/arm: Move directory from
8144 ports/sysdeps/unix/sysv/linux/arm.
8145 * README: Update listing for arm-*-linux-gnueabi.
8147 * README: Remove mention of am33.
8149 2014-02-07 Roland McGrath <roland@hack.frob.com>
8151 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8152 than the comma operator, to avoid "rhs of comma has no effect"
8154 (__sigfillset, __sigandset, __sigorset): Likewise.
8155 * include/signal.h (__sigemptyset): Likewise.
8156 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8158 2014-02-07 Allan McRae <allan@archlinux.org>
8160 * version.h (RELEASE): Set to "development".
8161 (VERSION): Set to "2.19.90"
8162 * NEWS: Add 2.20 section.
8164 2014-02-06 Carlos O'Donell <carlos@redhat.com>
8167 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8169 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8171 * manual/contrib.texi: Update entry for Carlos O'Donell,
8172 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8174 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8176 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8178 * sysdeps/unix/sysv/linux/kernel-features.h
8179 [__LINUX_KERNEL_VERSION >= 0x020621]
8180 (__ASSUME_PROC_PID_TASK_COMM): Define.
8182 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8185 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8186 conversion when destination buffer does not have enough space.
8187 * libio/tst-ftell-partial-wide.c: New test case.
8188 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8190 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8191 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8192 Leonard and Allan McRae.
8194 2014-02-04 David S. Miller <davem@davemloft.net>
8196 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8199 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8228 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8230 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8231 * shlib-versions: Likewise.
8233 2014-02-04 Roland McGrath <roland@hack.frob.com>
8234 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8236 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8237 (abilist-pattern): New variable, set to %-le.abilist.
8239 * Makerules (abilist-pattern): New variable.
8240 (vpath): Use $(abilist-pattern) in place of %.abilist.
8241 (check-abi-% pattern rule): Likewise.
8242 (check-abi, update-abi): Likewise.
8244 2014-02-04 Eric Wong <normalperson@yhbt.net>
8246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8248 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8250 * manual/startup.texi: Add next, previous, and top entries for
8251 the `Program Arguments' and `Environment Variables' nodes.
8253 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8255 * manual/macros.texi: Add comments before MTASC-safety macros.
8257 * manual/users.texi: Document MTASC-safety properties.
8259 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8260 (pthread_getspecific, pthread_setspecific): Format with
8261 @deftypefun, and add @safety note.
8262 * manual/signal.texi: Move comments that analyze the above
8263 functions to their home place.
8265 2014-02-03 Allan McRae <allan@archlinux.org>
8267 * po/sl.po: Update Slovenian translation from translation project.
8269 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8271 * manual/time.texi (timegm): Add missing blank after @c.
8272 Reported by Joseph Myers <joseph@codesourcery.com>.
8274 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8276 * manual/check-safety.sh: New.
8277 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8279 * manual/terminal.texi: Document MTASC-safety properties.
8281 * manual/filesys.texi: Document MTASC-safety properties.
8283 * manual/errno.texi: Document MTASC-safety properties.
8285 * manual/intro.texi: Document safety identifiers and
8288 * manual/string.texi (wcstok): Fix prototype.
8289 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8291 * manual/time.texi: Document MTASC-safety properties.
8293 * manual/string.texi: Document MTASC-safety properties.
8295 * manual/threads.texi: Document MTASC-safety properties.
8297 * manual/stdio.texi: Document MTASC-safety properties.
8299 * manual/syslog.texi: Document MTASC-safety properties.
8301 * manual/sysinfo.texi: Document MTASC-safety properties.
8303 * manual/startup.texi: Document MTASC-safety properties.
8305 * manual/socket.texi: Document MTASC-safety properties.
8307 * manual/signal.texi: Document MTASC-safety properties.
8309 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8311 * manual/setjmp.texi: Document MTASC-safety properties.
8313 * manual/search.texi: Document MTASC-safety properties.
8315 * manual/resource.texi: Document MTASC-safety properties.
8317 * manual/process.texi: Document MTASC-safety properties.
8319 * manual/platform.texi: Document MTASC-safety properties.
8321 * manual/pipe.texi: Document MTASC-safety properties.
8323 * manual/pattern.texi: Document MTASC-safety properties.
8325 * manual/message.texi: Document MTASC-safety properties.
8328 * manual/memory.texi: Document MTASC-safety properties.
8330 * manual/math.texi: Document MTASC-safety properties.
8332 * manual/locale.texi: Document MTASC-safety properties.
8334 * manual/llio.texi: Document MTASC-safety properties.
8336 * manual/libdl.texi: New.
8338 * manual/lang.texi: Document MTASC-safety properties.
8340 * manual/job.texi: Document MTASC-safety properties.
8342 * manual/getopt.texi: Document MTASC-safety properties.
8344 * manual/ctype.texi: Document MTASC-safety properties.
8346 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8349 * csu/libc-tls.c (static_map): Remove variable.
8350 (__libc_setup_tls): Use main executable's link map for TLS data.
8351 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8352 casing for LM_ID_BASE and GL(dl_nns).
8353 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8354 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8355 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8356 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8357 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8359 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8362 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8364 * manual/debug.texi: Document MTASC-safety properties.
8366 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8369 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8370 of __x86_64__ when disabling x87 inline functions.
8372 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8374 * manual/charset.texi: Document MTASC-safety properties.
8376 * manual/crypt.texi: Document MTASC-safety properties.
8378 * manual/conf.texi: Document MTASC-safety properties.
8380 * manual/arith.texi: Document MTASC-safety properties.
8382 * manual/argp.texi: Document MTASC-safety properties.
8384 * manual/macros.texi: Introduce macros to document multi
8385 thread, asynchronous signal and asynchronous cancellation
8387 * manual/intro.texi: Introduce the properties themselves.
8389 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8391 * sysdeps/sh/sh4/Makefile: New file.
8393 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8395 * math/gen-libm-test.pl ($srcdir): New variable.
8396 ($auto_input): Use it.
8398 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8401 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8402 access beyond array bounds when parsing netgroups file.
8404 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8405 the old buffer before realloc.
8407 2014-01-27 Allan McRae <allan@archlinux.org>
8409 * po/fr.po: Update French translation from translation project.
8411 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8413 * sysdeps/sh/libm-test-ulps: Regenerate.
8415 2014-01-24 David S. Miller <davem@davemloft.net>
8417 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8419 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8421 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8422 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8424 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8427 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8428 string pointers after reallocation.
8430 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8432 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8433 __SH4A__ instead of __SH_FPU_ANY__.
8435 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8437 * sysdeps/sh/fpu_control.h: New file.
8438 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8439 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8440 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8441 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8442 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8443 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8444 * sysdeps/sh/sys/ucontext.h: Remove.
8445 * sysdeps/sh/sys: Remove directory.
8447 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8449 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8450 s390/sys/ucontext.h.
8451 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8452 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8454 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8457 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8459 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8463 Adjust the vDSO correctly for internal calls.
8464 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8466 2014-01-20 Allan McRae <allan@archlinux.org>
8468 * po/ca.po: Update Catalan translation from translation project.
8470 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8472 * sysdeps/s390/sotruss-lib.c: New file.
8474 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8477 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8478 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8479 local calls issues by not having a PLT stub required for IFUNC calls.
8480 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8482 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8484 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8485 * math/test-fpucw-static.c: Likewise.
8487 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8490 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8492 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8494 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8495 implementation for powerpc.
8497 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8500 * sysdeps/posix/system.c (__libc_system): Do not enable
8501 asynchronous cancellation.
8503 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8506 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8507 handling only for numbers special also in the IEEE case.
8509 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8511 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8513 2014-01-11 Allan McRae <allan@archlinux.org>
8515 * po/bg.po: Update Bulgarian translation from translation project.
8517 * po/de.po: Update German translation from translation project.
8519 2014-01-10 Roland McGrath <roland@hack.frob.com>
8521 * sysdeps/generic/gcc-compat.h: New file.
8523 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8525 * benchtests/asin-inputs: Correct slow inputs.
8526 * benchtests/acos-inputs: Likewise.
8528 2014-01-10 Allan McRae <allan@archlinux.org>
8530 * po:sv.po: Update Swedish translation from translation project.
8532 * po/vi.po: Update Vietnamese translation from translation project.
8534 * po/eo.po: Update Esperanto translation from translation project.
8536 * po/cs.po: Update Czech translation from translation project.
8538 * po/nl.po: Update Dutch translation from translation project.
8540 * po/pl.po: Update Polish translation from translation project.
8542 * po/ru.po: Update Russian translation from translation project.
8544 * po/uk.po: Update Ukrainian translation from translation project.
8546 2014-01-08 Brooks Moses <bmoses@google.com>
8548 * elf/dl-load.c: Fix comment typo.
8550 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8552 * po/header.pot: Rename to...
8553 * po/pot.header: ... this.
8554 * po/Makefile: Use pot.header.
8556 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8557 Maxim Kuvyrkov <maxim@kugelworks.com>
8560 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8561 SRC and DEST against LEN.
8563 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8566 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8568 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8570 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8574 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8578 for large positive arguments.
8580 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8582 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8584 * math/auto-libm-test-in: Mark various tests with
8585 xfail-rounding:ldbl-128ibm.
8586 * math/auto-libm-test-out: Regenerated.
8589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8590 Increase overflow threshold.
8592 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8595 * stdio-common/vfprintf.c: Check for integer overflow.
8597 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8599 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8600 the first argument and return value of __tls_get_addr_internal.
8602 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8604 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8605 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8607 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8609 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8610 * sysdeps/s390/rtld-global-offsets.sym: New file.
8611 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8613 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8614 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8615 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8617 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8618 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8624 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8625 halfs of GPRs for high_gprs contexts.
8626 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8627 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8629 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8631 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8633 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8634 for high GPRs (uc_high_gprs) and for future extensions
8636 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8637 for future extensions (__reserved).
8638 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8640 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8641 SC_HIGHGPRS offset definition.
8642 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8643 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8645 * Versions.def: Add GLIBC_2.19 for libpthread.
8646 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8647 siglongjmp for libpthread with GLIBC_2.19 symver.
8648 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8649 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8650 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8651 * sysdeps/s390/__longjmp.c: New file.
8652 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8653 * sysdeps/s390/longjmp.c: New file.
8654 * sysdeps/s390/setjmp.S: New file.
8655 * sysdeps/s390/sigjmp.S: New file.
8656 * sysdeps/s390/v1-longjmp.c: New file.
8657 * sysdeps/s390/v1-setjmp.h: New file.
8658 * sysdeps/s390/v1-sigjmp.c: New file.
8659 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8660 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8662 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8663 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8664 versioned symbols for ____longjmp_chk.
8665 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8675 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8676 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8677 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8678 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8679 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8680 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8681 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8682 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8683 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8684 * sysdeps/s390/rtld-__longjmp.c: New file.
8685 * sysdeps/s390/rtld-setjmp.S: New file.
8687 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8690 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8691 Return -__logl (x) for small positive arguments without evaluating
8694 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8696 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8698 (__ptrace_peeksiginfo_args): ... this.
8699 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8700 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8701 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8703 2014-01-06 Allan McRae <allan@archlinux.org>
8705 * inet/netinet/in.h: Fix typo in comment.
8707 2014-01-05 Andreas Jaeger <aj@suse.de>
8709 * sysdeps/i386/fpu/libm-test-ulps: Update.
8711 2014-01-05 Allan McRae <allan@archlinux.org>
8713 * po/libc.pot: Regenerated.
8715 * malloc/memusagestat.c: Fix gettext call formatting.
8717 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8719 * nscd/nscd.c: Improve usage() output.
8721 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8723 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8724 * sysdeps/unix/sysv/linux/configure: Regenerated.
8725 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8726 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8728 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8731 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8732 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8734 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8737 extra tokens at end of #undef directive.
8738 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8739 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8740 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8742 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8744 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8746 * math/auto-libm-test-in: Mark various tests with
8747 xfail-rounding:ldbl-128ibm.
8748 * math/auto-libm-test-out: Regenerated.
8750 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8753 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8754 numbers with subnormal high part when calculating exponent.
8757 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8761 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8763 (__ieee754_acoshl): Use __log1pl not __log1p.
8765 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8767 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8768 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8769 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8770 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8771 (reused_arena, arena_get2): Convert to GNU style.
8772 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8773 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8774 (memalign_check, __malloc_set_state): Likewise.
8775 * malloc/mallocbug.c (main): Likewise.
8776 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8777 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8778 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8779 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8780 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8781 (__posix_memalign, malloc_info): Likewise.
8782 * malloc/malloc.h: Likewise.
8783 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8784 (mallochook, memalignhook, reallochook, mabort): Likewise.
8785 * malloc/mcheck.h: Likewise.
8786 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8787 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8788 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8789 * malloc/morecore.c (__default_morecore): Likewise.
8790 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8791 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8792 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8793 (print_and_abort): Likewise.
8794 * malloc/obstack.h: Likewise.
8795 * malloc/set-freeres.c (__libc_freeres): Likewise.
8796 * malloc/tst-mallocstate.c (main): Likewise.
8797 * malloc/tst-mtrace.c (main): Likewise.
8798 * malloc/tst-realloc.c (do_test): Likewise.
8800 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8803 * nscd/netgroupcache.c (do_notfound): New function.
8804 (addgetnetgrentX): Use it.
8807 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8808 NSS_STATUS_NOTFOUND.
8810 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8812 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8815 2014-01-01 Allan McRae <allan@archlinux.org>
8817 * scripts/update-copyrights: Update configure input file suffix.
8819 * NEWS: Update copyright year.
8820 * catgets/gencat.c: Likewise.
8821 * csu/version.c: Likewise.
8822 * debug/catchsegv.sh: Likewise.
8823 * debug/pcprofiledump.c: Likewise.
8824 * debug/xtrace.sh: Likewise.
8825 * elf/ldconfig.c: Likewise.
8826 * elf/ldd.bash.in: Likewise.
8827 * elf/pldd.c: Likewise.
8828 * elf/sotruss.ksh: Likewise.
8829 * elf/sprof.c: Likewise.
8830 * iconv/iconv_prog.c: Likewise.
8831 * iconv/iconvconfig.c: Likewise.
8832 * locale/programs/locale.c: Likewise.
8833 * locale/programs/localedef.c: Likewise.
8834 * login/programs/pt_chown.c: Likewise.
8835 * malloc/memusage.sh: Likewise.
8836 * malloc/memusagestat.c: Likewise.
8837 * malloc/mtrace.pl: Likewise.
8838 * manual/libc.texinfo: Likewise.
8839 * nscd/nscd.c: Likewise.
8840 * nss/getent.c: Likewise.
8841 * nss/makedb.c: Likewise.
8842 * posix/getconf.c: Likewise.
8843 * scripts/test-installation.pl: Likewise.
8845 * All files with FSF copyright notices: Update copyright dates
8846 using scripts/update-copyrights.
8847 * intl/plural.c: Regenerated.
8848 * locale/programs/charmap-kw.h: Likewise.
8849 * locale/programs/locfile-kw.h: Likewise.
8851 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8853 * sysdeps/unix/sysv/linux/configure: Regenerated.
8854 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8855 the linux/fanotify.h header.
8856 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8857 HAVE_LINUX_FANOTIFY_H is defined.
8859 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8861 * benchtests/cos-inputs: New inputs.
8862 * benchtests/sin-inputs: Likewise.
8864 * benchtests/atan-inputs: New inputs. Fix name of multiple
8865 precision fallback inputs.
8867 * benchtests/atanh-inputs: New inputs.
8868 * benchtests/tanh-inputs: Likewise.
8870 * benchtests/acosh-inputs: New inputs.
8871 * benchtests/asinh-inputs: Likewise.
8873 * benchtests/cosh-inputs: New inputs.
8874 * benchtests/sinh-inputs: Likewise.
8876 * benchtests/acos-inputs: Add more inputs.
8877 * benchtests/asin-inputs: Likewise.
8879 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8882 * manual/arith.texi: Fix spelling.
8883 * manual/charset.texi: Likewise.
8884 * manual/errno.texi: Likewise.
8885 * manual/filesys.texi: Likewise.
8886 * manual/lang.texi: Likewise.
8887 * manual/llio.texi: Likewise.
8888 * manual/locale.texi: Likewise.
8889 * manual/message.texi: Likewise.
8890 * manual/resource.texi: Likewise.
8891 * manual/search.texi: Likewise.
8892 * manual/setjmp.texi: Likewise.
8893 * manual/stdio.texi: Likewise.
8894 * manual/string.texi: Likewise.
8895 * manual/sysinfo.texi: Likewise.
8896 * manual/time.texi: Likewise.
8898 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8900 * po/sl.po: New file.
8902 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8904 * .gitignore: Add core/.gdbinit/.gdb_history.
8906 2013-12-27 Allan McRae <allan@archlinux.org>
8909 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8910 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8912 2013-12-24 Brooks Moses <bmoses@google.com>
8914 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8915 all compilers that claim C++98 compliance, not just GCC.
8916 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8919 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8921 * NEWS: Restore accidentally deleted bug-fix entries.
8923 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8924 Ondřej Bílka <neleai@seznam.cz>
8927 * malloc/malloc.c (_int_free): Perform sanity check only if we
8930 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8933 * manual/stdio.texi (String Input Conversions): Clarify that character
8934 classes are not supported.
8936 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8940 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8943 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8944 Calculate results for small negative arguments directly rather
8945 than using reflection formula with special underflow handling.
8947 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8948 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8949 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8950 (fchflags): Likewise.
8952 (setlogin): Likewise.
8953 (sigaltstack): Likewise.
8956 (sigsetmask): Likewise.
8958 (waitpid): Likewise.
8959 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8960 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8962 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8963 * sysdeps/unix/bsd/Makefile: ... here.
8964 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8965 * sysdeps/unix/bsd/Versions: ... here.
8966 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8967 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8968 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8969 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8970 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8971 * sysdeps/unix/bsd/sigblock.c: ... here.
8972 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8973 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8974 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8975 * sysdeps/unix/bsd/sigvec.c: ... here.
8976 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8977 * sysdeps/unix/bsd/tcdrain.c: ... here.
8978 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8979 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8980 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8981 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8982 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8983 * sysdeps/unix/bsd/wait.c: ... here.
8984 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8985 * sysdeps/unix/bsd/wait3.c: ... here.
8986 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8987 * sysdeps/unix/bsd/waitpid.c: ... here.
8989 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8992 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8993 round-to-nearest for [!USE_AS_EXPM1L].
8994 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8995 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8996 more tests of exp and exp10. Expect some exp10 tests to miss
8997 exceptions or fail in directed rounding modes.
8998 * math/auto-libm-test-out: Regenerated.
8999 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9000 (exp10_test_tonearest): New function.
9001 (exp10_towardzero_test_data): New array.
9002 (exp10_test_towardzero): New function.
9003 (exp10_downward_test_data): New array.
9004 (exp10_test_downward): New function.
9005 (exp10_upward_test_data): New array.
9006 (exp10_test_upward): New function.
9007 (main): Call the new functions.
9008 * sysdeps/i386/fpu/libm-test-ulps: Update.
9009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9011 2013-12-20 Joseph Myers <joseph@codesourcery.com>
9013 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9014 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9015 * math/auto-libm-test-out: Regenerated.
9016 * math/libm-test.inc (acosh_test_data): Add more tests.
9017 (atanh_test_data): Likewise.
9018 (ceil_test_data): Likewise.
9019 (copysign_test_data): Likewise.
9020 * sysdeps/i386/fpu/libm-test-ulps: Update.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9023 * timezone/checktab.awk: Update from tzcode 2013i.
9024 * timezone/private.h: Likewise.
9025 * timezone/scheck.c: Likewise.
9026 * timezone/tzfile.h: Likewise.
9027 * timezone/tzselect.ksh: Likewise.
9028 * timezone/zdump.c: Likewise.
9029 * timezone/zic.c: Likewise.
9031 * math/auto-libm-test-in: Add tests of cpow.
9032 * math/auto-libm-test-out: Regenerated.
9033 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9034 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9036 (func_calc_desc): Add mpc_cc_c union field.
9037 (test_functions): Add cpow.
9038 (special_fill_2pi): New function.
9039 (special_real_inputs): Add 2pi.
9040 (calc_generic_results): Handle mpc_cc_c.
9041 * sysdeps/i386/fpu/libm-test-ulps: Update.
9042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9044 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9045 csqrt, ctan and ctanh.
9046 * math/auto-libm-test-out: Regenerated.
9047 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9048 (TEST_COND_x86): Likewise.
9049 (ccos_test_data): Use AUTO_TESTS_c_c.
9050 (ccosh_test_data): Likewise.
9051 (cexp_test_data): Likewise.
9052 (clog_test_data): Likewise.
9053 (csqrt_test_data): Likewise.
9054 (ctan_test_data): Likewise.
9055 (ctan_tonearest_test_data): Likewise.
9056 (ctan_towardzero_test_data): Likewise.
9057 (ctan_downward_test_data): Likewise.
9058 (ctan_upward_test_data): Likewise.
9059 (ctanh_test_data): Likewise.
9060 (ctanh_tonearest_test_data): Likewise.
9061 (ctanh_towardzero_test_data): Likewise.
9062 (ctanh_downward_test_data): Likewise.
9063 (ctanh_upward_test_data): Likewise.
9064 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9066 (func_calc_desc): Add mpc_c_c union field.
9067 (FUNC_mpc_c_c): New macro.
9068 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9069 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9071 (special_fill_min_subnorm_p120): New function.
9072 (special_real_inputs): Add min_subnorm_p120.
9073 (calc_generic_results): Handle mpc_c_c.
9074 * sysdeps/i386/fpu/libm-test-ulps: Update.
9075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9077 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9079 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9080 (do_sin_slow): New functions.
9081 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9082 (cslow2, csloww1, csloww2): Use the new functions.
9084 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9085 Use M to change sign of result instead of X. Assume X is
9087 (csloww1): Likewise.
9091 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9096 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9098 (sloww1): Don't adjust sign of DX.
9099 (csloww1): Likewise.
9100 (sloww2): Use X directly and don't adjust sign of DX.
9101 (csloww2): Likewise.
9103 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9105 * math/auto-libm-test-in: Add tests of cabs and carg.
9106 * math/auto-libm-test-out: Regenerated.
9107 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9108 (carg_test_data): Likewise.
9109 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9111 (func_calc_desc): Add mpc_c_f union field.
9112 (test_functions): Add cabs and carg.
9113 (calc_generic_results): Handle mpc_c_f.
9115 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9116 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9117 as a macro and a compat symbol.
9118 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9119 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9120 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9121 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9122 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9123 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9125 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9127 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9129 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9131 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9133 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9135 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9136 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9139 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9143 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9145 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9146 trailing whitespace removed.
9147 * scripts/config.guess: Update to version 2013-11-29.
9148 * scripts/config.sub: Update to version 2013-10-01.
9150 * math/auto-libm-test-in: Add tests of sincos.
9151 * math/auto-libm-test-out: Regenerated.
9152 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9153 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9155 (func_calc_desc): Add mpfr_f_11 union field.
9156 (test_functions): Add sincos.
9157 (calc_generic_results): Handle mpfr_f_11.
9158 * sysdeps/i386/fpu/libm-test-ulps: Update.
9159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9161 2013-12-19 Andreas Schwab <schwab@suse.de>
9163 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9165 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9166 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9167 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9169 2013-12-19 Joseph Myers <joseph@codesourcery.com>
9171 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9172 * sysdeps/i386/fpu/libm-test-ulps: Update.
9173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9177 round-to-nearest mode when using frndint.
9178 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9179 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9180 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9182 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9184 * math/auto-libm-test-out: Regenerated.
9185 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9186 (TEST_COND_x86): Likewise.
9187 (expm1_tonearest_test_data): New array.
9188 (expm1_test_tonearest): New function.
9189 (expm1_towardzero_test_data): New array.
9190 (expm1_test_towardzero): New function.
9191 (expm1_downward_test_data): New array.
9192 (expm1_test_downward): New function.
9193 (expm1_upward_test_data): New array.
9194 (expm1_test_upward): New function.
9195 (main): Run the new test functions.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9199 * include/features.h: Update comment documenting feature test
9200 macros. Mention _DEFAULT_SOURCE in comment.
9201 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9202 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9203 _BSD_SOURCE and _SVID_SOURCE.
9204 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9205 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9206 !_SVID_SOURCE]: Likewise.
9207 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9208 (__USE_POSIX_IMPLICITLY): Define.
9209 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9210 (_POSIX_SOURCE): Undefine and redefine.
9211 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9212 (_POSIX_C_SOURCE): Likewise.
9213 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9214 (Feature Test Macros): Update documentation of default features.
9216 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9218 * benchtests/Makefile: Add bench-strtok.
9219 * benchtests/bench-strtok.c: New file: strtok benchtest.
9221 2013-12-19 Allan McRae <allan@archlinux.org>
9223 * manual/install.texi: Suppress menu for plain text output.
9224 * INSTALL: Regenerated.
9226 2013-12-18 Brooks Moses <bmoses@google.com>
9229 * misc/getauxval.c: Include errno.h.
9230 (__getauxval): Set errno to ENOENT if the requested type is not
9232 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9233 don't declare with __attribute_const__.
9234 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9235 * manual/startup.texi: Document that getauxval sets errno.
9237 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9239 * math/auto-libm-test-in: Add tests of jn and yn.
9240 * math/auto-libm-test-out: Regenerated.
9241 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9242 (yn_test_data): Likewise.
9243 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9245 (func_calc_desc): Add mpfr_if_f union field.
9246 (FUNC_mpfr_if_f): New macro.
9247 (test_functions): Add jn and yn.
9248 (calc_generic_results): Assert type of second input for
9249 mpfr_ff_f. Handle mpfr_if_f.
9250 (output_for_one_input_case): Disable all checking for arguments
9251 fitting floating-point types in case of an integer argument.
9252 * sysdeps/i386/fpu/libm-test-ulps: Update.
9253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9256 Don't expect fegetround reference in libm.so.
9258 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9260 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9261 $(config-cflags-nofma).
9263 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9265 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9266 * math/auto-libm-test-out: Regenerated.
9269 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9270 to determine exponent and adjust argument to have exponent of -1.
9271 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9273 * math/auto-libm-test-out: Regenerated.
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9277 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9279 * manual/probes.texi: Remove cases when per-thread arenas are
9282 2013-12-18 Andreas Schwab <schwab@suse.de>
9284 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9285 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9286 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9287 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9288 * sysdeps/i386/i686/multiarch/Makefile: Update.
9289 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9291 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9293 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9294 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9296 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9299 Support TZ transition times < 00:00:00.
9300 This is needed for version-3 tz-format files; it supports time
9301 stamps past 2037 for America/Godthab (the only entry in the tz
9302 database for which this change is relevant).
9303 * manual/time.texi (TZ Variable): Document transition times
9304 from -167:59:59 through -00:00:01.
9305 * time/tzset.c (tz_rule): Time of day is now signed.
9306 (__tzset_parse_tz): Parse negative time of day.
9308 Document TZ transition times >= 25:00:00.
9309 * manual/time.texi (TZ Variable): Document transition times from
9310 25:00:00 through 167:59:59. These are already supported, and this
9311 support will help with version-3 tz-format files.
9313 * manual/time.texi (TZ Variable): Modernize North America example
9314 to reflect current (i.e., 2007-and-later) daylight saving rules.
9316 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9318 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9320 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9321 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9322 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9323 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9324 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9325 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9326 * sysdeps/unix/bsd/clock.c: Likewise.
9327 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9328 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9329 * sysdeps/unix/bsd/init-posix.c: Likewise.
9330 * sysdeps/unix/bsd/poll.c: Likewise.
9331 * sysdeps/unix/bsd/ptsname.c: Likewise.
9332 * sysdeps/unix/bsd/seekdir.c: Likewise.
9333 * sysdeps/unix/bsd/setegid.c: Likewise.
9334 * sysdeps/unix/bsd/seteuid.c: Likewise.
9335 * sysdeps/unix/bsd/setgid.c: Likewise.
9336 * sysdeps/unix/bsd/setrgid.c: Likewise.
9337 * sysdeps/unix/bsd/setruid.c: Likewise.
9338 * sysdeps/unix/bsd/setsid.c: Likewise.
9339 * sysdeps/unix/bsd/setuid.c: Likewise.
9340 * sysdeps/unix/bsd/sigaction.c: Likewise.
9341 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9342 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9343 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9344 * sysdeps/unix/bsd/telldir.c: Likewise.
9345 * sysdeps/unix/bsd/times.c: Likewise.
9346 * sysdeps/unix/bsd/usleep.c: Likewise.
9348 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9349 ($(objpfx)libbsd-compat.a): Remove rule.
9351 * include/features.h (__FAVOR_BSD): Do not define.
9352 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9353 features conflicting with POSIX.
9354 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9355 (_BSD_SOURCE): Remove description of not being a subset of other
9356 feature test macros.
9357 * manual/job.texi (getpgrp): Do not document BSD version.
9358 (getpgid): Do not document by reference to BSD getpgrp.
9359 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9360 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9361 * signal/signal.h [__FAVOR_BSD]: Likewise.
9362 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9363 instead of making contents conditional on [__FAVOR_BSD].
9364 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9366 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9370 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9374 values below 2**-450, not 2**-500.
9375 * math/auto-libm-test-in: Don't allow spurious underflow from
9377 * math/auto-libm-test-out: Regenerated.
9381 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9382 values of ha and hb and sort them after adjusting subnormal
9384 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9387 values of ea and eb and sort them after adjusting subnormal
9389 * math/auto-libm-test-in: Do not expect some hypot tests of
9390 subnormals to fail. Add more hypot tests.
9391 * math/auto-libm-test-out: Regenerated.
9393 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9396 * sysdeps/sh/s_fma.c: New file.
9397 * sysdeps/sh/s_fmaf.c: New file.
9398 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9400 * sysdeps/sh/Implies: Add sh/soft-fp.
9402 2013-12-16 Roland McGrath <roland@hack.frob.com>
9404 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9405 level of indirection to members `objname', `errstring', `malloced'.
9406 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9407 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9408 it as the __longjmp argument (just pass 1 instead).
9409 (_dl_catch_error): Initialize C with argument pointers and address of
9410 volatile local ERRCODE rather than copying values out of C at return.
9412 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9414 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9415 * math/auto-libm-test-out: Regenerated.
9416 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9417 (hypot_test_data): Likewise.
9418 (pow_test_data): Likewise.
9419 (pow_tonearest_test_data): Likewise.
9420 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9422 (func_calc_desc): Add mpfr_ff_f union field.
9423 (FUNC_mpfr_ff_f): New macro.
9424 (test_functions): Add atan2, hypot and pow.
9425 (special_fill_min): New function.
9426 (special_fill_minus_min): Likewise.
9427 (special_fill_min_subnorm): Likewise.
9428 (special_fill_minus_min_subnorm): Likewise.
9429 (special_real_inputs): Add min, -min, min_subnorm and
9431 (calc_generic_results): Handle mpfr_ff_f.
9432 * sysdeps/i386/fpu/libm-test-ulps: Update.
9433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9435 2013-12-16 Will Newton <will.newton@linaro.org>
9437 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9438 (Aligned Memory Blocks): Add documentation for aligned_alloc
9439 and suggest it as an alternative to posix_memalign.
9440 (Hooks for Malloc): Document __memalign_hook is also called
9441 for aligned_alloc. (Summary of Malloc): Add summary for
9442 aligned alloc. Document __memalign_hook is also called
9445 2013-12-16 Will Newton <will.newton@linaro.org>
9447 * manual/memory.texi (Malloc Examples): Clarify default
9448 alignment documentation. Suggest posix_memalign rather
9449 than memalign or valloc.
9450 (Aligned Memory Blocks): Remove suggestion to use memalign
9451 or valloc. Remove obsolete comment about BSD.
9452 Document memalign errno values and mark the function obsolete.
9453 Document posix_memalign returned error codes. Mark valloc
9454 as obsolete. (Hooks for Malloc): __memalign_hook is also
9455 called for posix_memalign and valloc.
9456 (Summary of Malloc): Add posix_memalign to function summary.
9457 __memalign_hook is also called for posix_memalign and valloc.
9459 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9461 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9465 (sloww): Use mynumber union. Expand ternary operator into
9467 (cslow): use mynumber union.
9469 2013-12-16 Allan McRae <allan@archlinux.org>
9471 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9472 * configure: Regenerated.
9474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9477 * configure.ac: Added --enable-maintainer-mode. Check for
9478 autoconf when enabled.
9479 * configure: Regenerated.
9481 * nscd/nscd.service: New file.
9482 * nscd/nscd.tmpfiles: New file.
9484 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9487 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9488 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9489 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9490 (strstr): Add __strstr_sse2_unaligned ifunc.
9491 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9492 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9493 (strcasestr): Remove __strcasestr_sse42 ifunc.
9494 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9498 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9500 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9501 * sysdeps/sh/bits/fenv.h: ... here.
9502 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9504 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9506 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9509 hypotf multiarch implementations.
9510 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9512 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9513 multiarch hypot for PPC64.
9514 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9515 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9516 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9517 multiarch hypotf for PPC64.
9519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9520 modff multiarch implementations.
9521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9524 multiarch modf for PPC64.
9525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9528 multiarch modff for PPC64.
9530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9531 and logl multiarch implementations.
9532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9535 multiarch logb for PPC64.
9536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9539 multiarch logb for PPC64.
9540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9543 multiarch logb for PPC64.
9545 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9546 isinff multiarch implementation.
9547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9551 multiarch isinf for PPC64.
9552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9555 multiarch isinff for PPC64.
9557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9558 finitef multiarch implementation.
9559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9563 multiarch finite for PPC64.
9564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9567 multiarch finitef for PPC64.
9569 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9570 lrint multiarch implementation.
9571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9575 multiarch llrint for PPC64.
9576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9577 multiarch lrint for PPC64.
9579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9580 copysignf multiarch implementation.
9581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9586 multiarch copysign for PPC64.
9587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9588 multiarch copysignf for PPC64.
9590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9591 multiarch implementation.
9592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9600 multiarch llround for PPC64.
9601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9602 multiarch trunc for PPC64.
9603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9604 multiarch truncf for PPC64.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9607 multiarch implementation.
9608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9616 multiarch llround for PPC64.
9617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9618 multiarch round for PPC64.
9619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9620 multiarch roundf for PPC64.
9622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9623 multiarch implementation.
9624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9632 multiarch llround for PPC64.
9633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9634 multiarch floor for PPC64.
9635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9636 multiarch floorf for PPC64.
9638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9639 multiarch implementation.
9640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9648 multiarch llround for PPC64.
9649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9650 multiarch ceil for PPC64.
9651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9652 multiarch ceilf for PPC64.
9654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9655 multiarch implementation.
9656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9663 multiarch llround for PPC64.
9664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9665 multiarch lround for PPC64.
9667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9668 multiarch implementation.
9669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9676 multiarch isnan for PPC64.
9677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9678 multiarch isnanf for PPC64.
9680 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9681 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9682 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9683 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9684 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9687 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9688 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9689 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9690 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9693 multiarch implementations.
9694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9695 (__libc_ifunc_impl_list): Likewise.
9696 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9697 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9698 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9699 multiarch stpcpy for PPC64.
9701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9702 multiarch implementations.
9703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9704 (__libc_ifunc_impl_list): Likewise.
9705 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9706 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9707 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9708 multiarch strcpy for PPC64.
9710 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9711 redefine function name.
9712 (_wordcopy_fwd_dest_aligned): Likewise.
9713 (_wordcopy_bwd_aligned): Likewise.
9714 (_wordcopy_bwd_dest_aligned): Likewise.
9715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9716 multiarch implementations.
9717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9718 (__libc_ifunc_impl_list): Likewise.
9719 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9721 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9722 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9723 multiarch wcscpy for PPC64.
9725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9726 multiarch implementations.
9727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9728 (__libc_ifunc_impl_list): Likewise.
9729 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9730 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9731 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9732 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9733 multiarch wcscpy for PPC64.
9735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9736 multiarch implementations.
9737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9738 (__libc_ifunc_impl_list): Likewise.
9739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9740 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9741 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9742 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9743 multiarch wcsrchr for PPC64.
9745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9746 multiarch implementations.
9747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9748 (__libc_ifunc_impl_list): Likewise.
9749 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9750 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9751 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9752 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9753 multiarch wcschr for PPC64.
9755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9756 multiarch implementations.
9757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9758 (__libc_ifunc_impl_list): Likewise.
9759 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9760 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9761 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9762 multiarch strchrnul for PPC64.
9764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9767 (__libc_ifunc_impl_list): Likewise.
9768 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9769 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9770 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9771 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9777 (__libc_ifunc_impl_list): Likewise.
9778 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9780 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9781 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9785 multiarch implementations.
9786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9787 (__libc_ifunc_impl_list): Likewise.
9788 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9789 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9790 strncasecmp for PPC64.
9791 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9792 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9793 multiarch strncasecmp_l for PPC64.
9795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9796 multiarch implementations.
9797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9798 (__libc_ifunc_impl_list): Likewise.
9799 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9800 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9801 multiarch strcasecmp for PPC64.
9802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9804 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9805 multiarch strcasecmp_l for PPC64.
9807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9810 (__libc_ifunc_impl_list): Likewise.
9811 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9812 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9813 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9819 (__libc_ifunc_impl_list): Likewise.
9820 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9821 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9822 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9825 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9828 (__libc_ifunc_impl_list): Likewise.
9829 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9830 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9831 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9832 rawmemrchr for PPC64.
9834 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9836 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9837 (__libc_ifunc_impl_list): Likewise.
9838 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9839 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9840 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9846 (__libc_ifunc_impl_list): Likewise.
9847 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9848 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9849 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9855 (__libc_ifunc_impl_list): Likewise.
9856 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9858 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9861 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9862 avoid cretion of __bzero symbol.
9863 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9865 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9867 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9870 multiarch implementations.
9871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9872 (__libc_ifunc_impl_list): Likewise.
9873 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9874 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9875 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9876 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9878 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9879 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9880 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9881 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9882 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9884 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9886 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9890 (__libc_ifunc_impl_list): Likewise.
9891 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9892 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9893 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9894 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9898 multiarch for POWER/PPC64.
9899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9900 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9901 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9902 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9903 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9907 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9910 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9911 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9912 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9913 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9914 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9915 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9916 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9917 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9918 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9919 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9920 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9921 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9922 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9923 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9924 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9933 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9937 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9939 * benchtests/Makefile (bench): Add exp2 and log2.
9940 (LDLIBS-bench-exp2): Add -lm.
9941 (LDLIBS-bench-log2): Likewise.
9942 * benchtests/exp2-inputs: New inputs file.
9943 * benchtests/log2-inputs: New inputs file.
9944 * benchtests/log-inputs: Add new inputs.
9945 * benchtests/tan-inputs: Likewise.
9947 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9949 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9951 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9952 (csloww2): ... from here.
9954 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9955 instead of structures.
9956 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9957 (POLYNOMIAL): Likewise.
9958 (TAYLOR_SLOW): Likewise.
9966 (bsloww1): Likewise.
9967 (bsloww2): Likewise.
9970 (csloww1): Likewise.
9971 (csloww2): Likewise.
9973 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9975 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9976 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9977 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9978 * malloc/hooks.c (realloc_check): Likewise.
9980 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9981 * malloc/arena.c: Remove PER_THREAD conditional.
9982 [!PER_THREAD]: Remove code.
9983 (ptmalloc_unlock_all2): Likewise.
9984 (ptmalloc_init): Likewise.
9985 (_int_new_arena): Likewise.
9986 (arena_get2): Likewise.
9987 * malloc/hooks.c (__malloc_get_state): Likewise.
9988 (__malloc_set_state): Likewise.
9989 * malloc/malloc.c: Likewise.
9990 (struct malloc_state): Likewise.
9991 (struct malloc_par): Likewise.
9992 (__libc_realloc): Likewise.
9993 (__libc_mallopt): Likewise.
9995 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9999 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
10001 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10002 macro to a function. Check for zero perturb_byte.
10003 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10005 * malloc/malloc.c: (force_reg): Remove.
10006 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10007 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10008 force_reg by atomic_forced_read.
10009 * malloc/arena.c (ptmalloc_init): Likewise.
10010 * malloc/hooks.c (top_check): Likewise.
10012 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10016 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10020 2013-12-08 Joseph Myers <joseph@codesourcery.com>
10022 * math/auto-libm-test-in: Add tests of lgamma.
10023 * math/auto-libm-test-out: Regenerated.
10024 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10025 (M_LOG_2_SQRT_PIl): Likewise.
10026 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10027 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10029 (func_calc_desc): Add mpfr_f_f1 union field.
10030 (ARGS1): New macro.
10038 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10039 (test_functions): Add lgamma.
10040 (calc_generic_results): Handle mpfr_f_f1.
10041 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10044 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10046 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10047 __mpn_add_n for PowerPC64/POWER7.
10048 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10049 __mpn_sub_n for PowerPC64/POWER7.
10051 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10052 __mpn_addmul_1 for PowerPC64.
10053 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10054 __mpn_submul_1 for PowerPC64.
10055 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10057 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10060 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10063 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10065 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10067 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10069 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10070 add multiarch folders.
10071 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10072 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10073 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10074 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10075 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10076 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10077 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10078 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10079 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10080 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10081 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10090 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10096 multiarch __ieee754_hypot for PowerPC32.
10097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10102 multiarch __ieee754_hypotf for PowerPC32.
10104 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10105 long_double_symbol only if __logbl is defined.
10106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10107 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10109 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10111 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10113 path for implementation.
10114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10115 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10117 logb, and logbl multiarch implementations for PowerPC32.
10118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10123 multiarch logb for PowerPC32.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10129 multiarch logbf for PowerPC32.
10130 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10134 multiarch logbl implementation for PowerPC32.
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10137 and modff multiarch implementations.
10138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10143 multiarch modf for PowerPC32.
10144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10149 multiarch modff for PowerPC32.
10151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10152 and lrintf multiarch implementations.
10153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10158 multiarch lrint for PowerPC32.
10159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10160 file: multiarch lrintf for PowerPC32.
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10163 and lroundf multiarch implementations.
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10171 multiarch lround for PowerPC32.
10172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10173 file: multiarch lroundf for PowerPC32.
10175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10176 copysign and copysignf multiarch implementations.
10177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10182 file: multiarch copysign for PowerPC32.
10183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10184 file: multiarch copysignf for PowerPC32.
10186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10187 and truncf multiarch implementations.
10188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10193 multiarch trunc for PowerPC32.
10194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10199 multiarch truncf for PowerPC32.
10201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10202 and roundf multiarch implementations.
10203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10208 multiarch round for PowerPC32.
10209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10214 multiarch roundf for PowerPC32.
10216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10217 and floorf multiarch implementations.
10218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10223 multiarch floor for PowerPC32.
10224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10229 multiarch floorf for PowerPC32.
10231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10232 and ceilf multiarch implementations.
10233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10238 multiarch ceil for PowerPC32.
10239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10244 multiarch ceilf for PowerPC32.
10246 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10248 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10249 FINITEF is defined.
10250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10251 and finitef multiarch implementations.
10252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10257 multiarch finite for PowerPC32.
10258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10261 file: multiarch finitef for PowerPC32.
10263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10264 and isinff multiarch implementations.
10265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10270 multiarch isinf for PowerPC32.
10271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10274 multiarch isinff for PowerPC32.
10276 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10277 alias when __isnan is defined.
10278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10279 and isnanf multiarch implementations.
10280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10289 multiarch isnan for PowerPC32.
10290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10295 multiarch isnanf for PowerPC32.
10297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10298 and sqrtf multiarch implementations.
10299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10304 multiarch sqrt for PowerPC32.
10305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10310 multiarch sqrtf for PowerPC32.
10312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10313 and llroundf multiarch implementations.
10314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10321 file: multiarch llround for PowerPC32.
10322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10323 file: multiarch llroundf for PowerPC32.
10325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10326 multiarch PowerPC32 fpu implementations.
10327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10332 multiarch llrint for PowerPC32.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10342 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10344 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10346 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10348 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10349 multiarch wordcopy for PPC32.
10350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10353 (__libc_ifunc_impl_list): Likewise.
10354 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10355 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10356 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10357 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10358 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10359 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10361 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10364 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10366 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10368 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10369 multiarch wcscpy for PPC32.
10370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10373 (__libc_ifunc_impl_list): Likewise.
10374 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10375 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10376 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10377 sysdeps/powerpc/power6/wcscpy.c.
10379 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10387 multiarch wcsrchr for PPC32.
10388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10391 (__libc_ifunc_impl_list): Likewise.
10392 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10393 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10394 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10395 sysdeps/powerpc/power6/wcsrchr.c.
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10403 multiarch wcschr for PPc32.
10404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10407 (__libc_ifunc_impl_list): Likewise.
10408 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10409 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10410 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10411 sysdeps/powerpc/power6/wcschr.c.
10413 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10416 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10417 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10418 file: multiarch strchr for PPC32.
10419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10422 (__libc_ifunc_impl_list): Likewise.
10424 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10426 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10428 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10430 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10431 multiarch strchrnul for PPC32.
10432 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10434 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10435 (__libc_ifunc_impl_list): Likewise.
10437 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10439 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10440 multiarch strncasecmp for PPC32.
10441 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10443 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10444 multiarch strncasecmp_l for PPC32.
10445 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10446 strncasecmp multiarch objects.
10447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10448 (__libc_ifunc_impl_list): Likewise.
10450 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10452 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10453 multiarch strncasecmp for PPC32.
10454 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10456 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10457 multiarch strcasecmp_l for PPC32.
10458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10461 (__libc_ifunc_impl_list): Likewise.
10463 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10465 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10467 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10468 multiarch strncmp for PPC32.
10469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10472 (__libc_ifunc_impl_list): Likewise.
10474 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10475 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10477 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10478 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10482 (__libc_ifunc_impl_list): Likewise.
10484 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10486 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10488 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10491 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10492 (__libc_ifunc_impl_list): Likewise.
10494 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10496 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10498 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10499 multiarch rawmemchr for PPC32.
10500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10503 (__libc_ifunc_impl_list): Likewise.
10505 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10507 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10509 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10510 file: memrchr multiarch for PPC32.
10511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10514 (__libc_ifunc_impl_list): Likewise.
10516 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10517 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10519 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10521 multiarch memchr for PPC32.
10522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10525 (__libc_ifunc_impl_list): Likewise.
10527 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10528 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10530 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10532 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10533 file: multiarch mempcpy for PPC32.
10534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10537 (__libc_ifunc_impl_list): Likewise.
10539 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10540 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10541 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10542 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10543 multiarch bzero for PPC32.
10544 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10546 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10548 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10549 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10550 file: multiarch memset for PPC32.
10551 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10552 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10553 memset multiarch objects.
10554 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10555 (__libc_ifunc_impl_list): Likewise.
10557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10562 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10566 (__libc_ifunc_impl_list): Likewise.
10568 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10569 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10570 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10572 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10574 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10576 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10577 multiarch memcpy for PPC32.
10578 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10581 (__libc_ifunc_impl_list): Likewise.
10583 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10584 support multiarch for POWER/PPC32.
10585 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10587 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10589 Implies file to make multiarch folder appers before the fpu and
10590 default folder for power4 configuration.
10592 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10594 * scripts/bench.pl: Append volatile keyword to type.
10596 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10598 * sysdeps/sh/sotruss-lib.c: New file.
10599 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10601 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10605 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10608 * math/w_tgamma.c: Include <errno.h>.
10609 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10610 * math/w_tgammaf.c: Include <errno.h>.
10611 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10612 * math/w_tgammal.c: Include <errno.h>.
10613 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10614 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10615 underflow. Add more tgamma tests.
10616 * math/auto-libm-test-out: Regenerated.
10617 * sysdeps/i386/fpu/libm-test-ulps: Update.
10618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10621 sin, sinh, tan, tanh, tgamma, y0 and y1.
10622 * math/auto-libm-test-out: Regenerated.
10623 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10624 (TEST_COND_x86): Likewise.
10625 (M_E2l): Remove macro.
10627 (M_2_SQRT_PIl): Likewise.
10628 (M_SQRT_PIl): Likewise.
10629 (M_1_DIV_El): Likewise.
10630 (log_test_data): Use AUTO_TESTS_f_f.
10631 (log10_test_data): Likewise.
10632 (log1p_test_data): Likewise.
10633 (log2_test_data): Likewise.
10634 (sin_test_data): Likewise.
10635 (sin_tonearest_test_data): Likewise.
10636 (sin_towardzero_test_data): Likewise.
10637 (sin_downward_test_data): Likewise.
10638 (sin_upward_test_data): Likewise.
10639 (sinh_test_data): Likewise.
10640 (sinh_tonearest_test_data): Likewise.
10641 (sinh_towardzero_test_data): Likewise.
10642 (sinh_downward_test_data): Likewise.
10643 (sinh_upward_test_data): Likewise.
10644 (tan_test_data): Likewise.
10645 (tan_tonearest_test_data): Likewise.
10646 (tan_towardzero_test_data): Likewise.
10647 (tan_downward_test_data): Likewise.
10648 (tan_upward_test_data): Likewise.
10649 (tanh_test_data): Likewise.
10650 (tgamma_test_data): Likewise.
10651 (y0_test_data): Likewise.
10652 (y1_test_data): Likewise.
10653 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10654 (special_real_inputs): Add pi/4.
10655 * sysdeps/i386/fpu/libm-test-ulps: Update.
10656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10661 "longjmp_target" static probes.
10662 (__longjmp): Rename to __longjmp_symbol.
10663 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10664 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10665 on which longjmp to generate.
10666 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10667 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10669 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10670 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10671 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10672 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10673 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10674 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10676 __longjmp_symbol based on which __longjmp to generate.
10677 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10679 (setjmp): Rename to setjmp_symbol.
10680 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10681 (_setjmp): Rename to _setjmp_symbol.
10682 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10683 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10684 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10685 which setjmp to generate.
10686 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10687 "longjmp_target" static probes.
10689 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10691 * benchtests/README: Add note about output arguments.
10692 * benchtests/bench-sincos.c: Remove file.
10693 * benchtests/sincos-inputs: New file.
10694 * scripts/bench.pl: Identify output arguments and define
10695 static variables for them.
10697 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10700 * Makefile (INSTALL): Add install-plain.texi as the primary
10702 * manual/install-plain.texi: New file.
10703 * manual/install.texi: Include node directive only for
10704 non-plaintext output.
10706 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10708 * stdlib/longlong.h: Update from GCC.
10712 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10713 * math/w_j0f.c (y0f): Likewise.
10714 * math/w_j0l.c (__y0l): Likewise.
10715 * math/w_j1.c (y1): Likewise.
10716 * math/w_j1f.c (y1f): Likewise.
10717 * math/w_j1l.c (__y1l): Likewise
10718 * math/w_jn.c (yn): Likewise.
10719 * math/w_jnf.c (ynf): Likewise.
10720 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10721 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10722 value for Bessel function domain errors outside _SVID_ mode.
10723 Adjust sign of return value for yn (negative integer, 0).
10724 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10725 by zero in return for negative x and set sign appropriately for
10727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10728 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10729 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10730 expectations in error cases.
10731 (y1_test_data): Likewise.
10732 (yn_test_data): Likewise.
10733 * sysdeps/i386/fpu/libm-test-ulps: Update.
10734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10736 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10738 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10739 "64" to "64-v1". Add "64-v2".
10740 (abi-64-options): Rename to ...
10741 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10742 (abi-64-condition): Rename to ...
10743 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10744 (abi-64-ld-soname): Rename to ...
10745 (abi-64-v1-ld-soname): ... this.
10746 (abi-64-v2-options): Define.
10747 (abi-64-v2-condition): Likewise.
10748 (abi-64-v2-ld-soname): Likewise.
10749 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10750 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10755 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10756 Alan Modra <amodra@gmail.com>
10758 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10759 New versions for use with the ELFv2 ABI.
10760 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10761 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10763 (struct La_ppc64v2_retval): Likewise.
10764 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10765 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10766 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10767 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10768 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10769 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10770 Do not save or restore CR.
10771 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10772 (_dl_profile_resolve): Do no save or restore CR. Support extended
10773 return values for ELFv2 ABI. Fix location of FPR return registers.
10774 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10775 updated values for _CALL_ELF == 2.
10776 (La_regs, La_retval, int_retval): Likewise.
10778 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10780 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10781 (FRAME_MIN_SIZE_PARM): Likewise.
10782 (FRAME_BACKCHAIN): Likewise.
10783 (FRAME_CR_SAVE): Likewise.
10784 (FRAME_LR_SAVE): Likewise.
10785 (FRAME_TOC_SAVE): Likewise.
10786 (FRAME_PARM_SAVE): Likewise.
10787 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10788 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10789 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10790 (call_mcount_parm_offset): New macro.
10791 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10792 (PROF): Use symbolic stack frame offsets.
10793 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10794 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10795 Redefine in terms of FRAME_MIN_SIZE.
10796 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10797 (_dl_profile_resolve): Likewise. Update comment.
10798 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10799 symbols stack frame offsets.
10800 (__sigsetjmp): Likewise.
10801 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10802 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10803 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10804 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10807 (FRAME_BACKCHAIN): Remove.
10808 (FRAME_CR_SAVE): Likewise.
10809 (FRAME_LR_SAVE): Likewise.
10810 (FRAME_COMPILER_DW): Likewise.
10811 (FRAME_LINKER_DW): Likewise.
10812 (FRAME_TOC_SAVE): Likewise.
10813 (FRAME_PARM_SAVE): Likewise.
10814 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10815 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10816 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10818 (CHECK_SP): Use symbolic stack frame offsets.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10820 zone" instead of caller's parameter save area for temp storage.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10822 Likewise. Also, use symbolic stack frame offsets.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10824 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10825 our own stack frame instead of the caller's.
10826 (__socket): Use symbolic stack frame offsets.
10828 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10829 Alan Modra <amodra@gmail.com>
10831 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10833 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10834 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10835 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10837 (elf_machine_fixup_plt): Call it.
10838 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10840 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10841 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10842 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10843 r2 before calling target.
10845 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10846 Alan Modra <amodra@gmail.com>
10848 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10849 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10850 versions of macros to support ELFv2 ABI.
10851 (LOCALENTRY): New macro.
10852 (ENTRY, EALIGN): Use it.
10853 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10854 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10855 fall through into ENTRY entry point.
10856 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10857 Only define if _CALL_ELF != 2.
10859 (elf_machine_matches_host): Verify ABI version matches.
10860 (RTLD_START): Use LOCALENTRY.
10861 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10862 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10863 (PLT_ENTRY_WORDS): New macro.
10864 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10865 (elf_machine_runtime_setup): Support ELFv2 ABI.
10866 (elf_machine_fixup_plt): Likewise.
10867 (elf_machine_plt_conflict): Likewise.
10868 (resolve_ifunc): Likewise.
10869 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10870 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10873 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10875 (makecontext): Support ELFv2 ABI.
10876 * elf/elf.h (EF_PPC64_ABI): Define.
10878 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10880 * sysdeps/powerpc/powerpc64/sysdep.h
10881 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10882 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10883 (ENTRY) [ASSEMBLER]: ... but instead here ...
10884 (EALIGN) [ASSEMBLER]: ... and here.
10885 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10886 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10887 (ENTRY_2) [!ASSEMBLER]: Use it.
10888 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10889 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10890 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10891 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10892 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10894 Use PPC64_LOAD_FUNCPTR.
10896 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10898 2013-12-04 Alan Modra <amodra@gmail.com>
10900 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10901 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10902 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10903 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10906 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10907 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10908 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10909 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10910 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10912 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10915 (__makecontext): Fix incorrect CFI when backtracing out of
10916 context created via makecontext.
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10918 (__setcontext): Fix incorrect CFI during switch to new context.
10919 (__novec_setcontext): Likewise.
10921 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10924 * time/strptime_l.c (__strptime_internal): Allow modifiers
10926 * time/tst-strptime.c (day_tests): Add testcase.
10928 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10930 * scripts/bench.pl: Skip over blank lines.
10932 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10935 * manual/time.texi (Calendar Time): Clarify what timezone functions
10938 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10942 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10944 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10946 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10947 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10948 * debug/memset_chk.c (__memset_chk): Likewise.
10949 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10950 * debug/strncpy_chk.c: Likewise.
10952 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10956 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10957 (__ieee754_exp): For possibly underflowing results, check size of
10958 result and force underflow exception if required.
10959 * math/auto-libm-test-in: Add more tests of exp.
10960 * math/auto-libm-test-out: Regenerated.
10961 * sysdeps/i386/fpu/libm-test-ulps: Update.
10962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10966 * math/w_exp2f.c (__exp2f): Likewise.
10967 * math/w_exp2l.c (__exp2l): Likewise.
10968 * math/auto-libm-test-in: Do not allow missing errno on exp2
10970 * math/auto-libm-test-out: Regenerated.
10972 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10975 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10976 handle filename validation.
10977 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10980 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10983 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10984 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10985 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10987 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10988 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10989 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10990 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10991 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10992 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10993 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10994 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10995 Add more erfc tests.
10996 * math/auto-libm-test-out: Regenerated.
10997 * sysdeps/i386/fpu/libm-test-ulps: Update.
10998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11000 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11001 exp2, expm1, j0 and j1.
11002 * math/auto-libm-test-out: Regenerated.
11003 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11004 (erfc_test_data): Likewise.
11005 (exp_test_data): Likewise.
11006 (exp_tonearest_test_data): Likewise.
11007 (exp_towardzero_test_data): Likewise.
11008 (exp_downward_test_data): Likewise.
11009 (exp_upward_test_data): Likewise.
11010 (exp10_test_data): Likewise.
11011 (exp2_test_data): Likewise.
11012 (expm1_test_data): Likewise.
11013 (j0_test_data): Likewise.
11014 (j1_test_data): Likewise.
11015 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11016 (input_flag_type): Add flag_xfail_rounding.
11017 (input_flags): Add xfail-rounding.
11018 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11019 (output_for_one_input_case): Handle flag_xfail_rounding.
11020 * sysdeps/i386/fpu/libm-test-ulps: Update.
11021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11026 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11029 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11032 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11033 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11034 (STAP_PROBE0): New macro.
11035 (STAP_PROBE1): Likewise.
11036 (STAP_PROBE2): Likewise.
11037 (STAP_PROBE3): Likewise.
11038 (STAP_PROBE4): Likewise.
11040 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
11042 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11044 2013-12-02 Steve Ellcey <sellcey@mips.com>
11046 * benchtests/Makefile (bench): Add sqrt.
11047 (LDLIBS-bench-sqrt): New.
11048 * benchtests/sqrt-input: New.
11050 2013-12-02 Pavel Simerda <psimerda@redhat.com>
11052 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11053 (GAIH_EAI): Likewise.
11054 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11055 (gaih_inet): Likewise.
11056 (getaddrinfo): Don't use GAIH_EAI.
11058 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11059 (struct gaih): Remove definition.
11061 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11063 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11064 Use HERRNOP directly.
11066 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11070 2013-11-30 Joseph Myers <joseph@codesourcery.com>
11072 * math/gen-auto-libm-tests.c (test_functions): Add more
11073 single-argument functions.
11074 (special_fill_pi_2): New function.
11075 (special_fill_minus_pi_2): Likewise.
11076 (special_fill_pi_6): Likewise.
11077 (special_fill_minus_pi_6): Likewise.
11078 (special_fill_pi_3): Likewise.
11079 (special_fill_2pi_3): Likewise.
11080 (special_fill_e): Likewise.
11081 (special_fill_1_e): Likewise.
11082 (special_fill_e_minus_1): Likewise.
11083 (special_real_inputs): Add more special inputs.
11084 (output_for_one_input_case): Do not require ERANGE on underflow to
11085 zero if round-to-nearest result does not underflow to zero, unless
11086 exact results required.
11087 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11088 atan, atanh, cbrt, cos and cosh.
11089 * math/auto-libm-test-out: Regenerated.
11090 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11091 (acos_tonearest_test_data): Likewise.
11092 (acos_towardzero_test_data): Likewise.
11093 (acos_downward_test_data): Likewise.
11094 (acos_upward_test_data): Likewise.
11095 (acosh_test_data): Likewise.
11096 (asin_test_data): Likewise.
11097 (asin_tonearest_test_data): Likewise.
11098 (asin_towardzero_test_data): Likewise.
11099 (asin_upward_test_data): Likewise.
11100 (asinh_test_data): Likewise.
11101 (atan_test_data): Likewise.
11102 (atanh_test_data): Likewise.
11103 (cbrt_test_data): Likewise.
11104 (cos_test_data): Likewise.
11105 (cos_tonearest_test_data): Likewise.
11106 (cos_towardzero_test_data): Likewise.
11107 (cos_downward_test_data): Likewise.
11108 (cos_upward_test_data): Likewise.
11109 (cosh_test_data): Likewise.
11110 (cosh_tonearest_test_data): Likewise.
11111 (cosh_towardzero_test_data): Likewise.
11112 (cosh_downward_test_data): Likewise.
11113 (cosh_upward_test_data): Likewise.
11114 * sysdeps/i386/fpu/libm-test-ulps: Update.
11115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11117 2013-11-29 Joseph Myers <joseph@codesourcery.com>
11120 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11121 * math/w_exp10f.c (__exp10f): Likewise.
11122 * math/w_exp10l.c (__exp10l): Likewise.
11123 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11124 errno settings in existing tests.
11127 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11128 precision control set to double precision.
11129 * sysdeps/i386/fpu/w_sqrt.c: New file.
11130 * math/auto-libm-test-in: Add more tests.
11131 * math/auto-libm-test-out: Update.
11133 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11134 (sqrt_test_tonearest): New function.
11135 (sqrt_towardzero_test_data): New variable.
11136 (sqrt_test_towardzero): New function.
11137 (sqrt_downward_test_data): New variable.
11138 (sqrt_test_downward): New function.
11139 (sqrt_upward_test_data): New variable.
11140 (sqrt_test_upward): New function.
11141 (main): Call the new functions.
11143 * math/gen-auto-libm-tests.c: New file.
11144 * math/auto-libm-test-in: Likewise.
11145 * math/auto-libm-test-out: New generated file.
11146 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11148 (%beautify): Add generated representations of zero.
11149 (top level): Set $auto_input and call parse_auto_input.
11150 (beautify): Remove trailing "f" from hex float constants.
11151 (parse_args): Handle XFAIL_TEST.
11152 (convert_condition): New function.
11153 (or_value): Likewise.
11154 (or_cond_value): Likewise.
11155 (generate_testfile): Handle AUTO_TESTS_* lines.
11156 (parse_auto_input): New function.
11157 * math/libm-test.inc (XFAIL_TEST): New macro.
11158 (ERRNO_UNCHANGED): Update value.
11159 (ERRNO_EDOM): Likewise.
11160 (ERRNO_ERANGE): Likewise.
11161 (IGNORE_RESULT): Likewise.
11162 (TEST_COND_flt_32): New macro.
11163 (TEST_COND_dbl_64): Likewise.
11164 (TEST_COND_ldbl_96_intel): Likewise.
11165 (TEST_COND_ldbl_96_m68k): Likewise.
11166 (TEST_COND_ldbl_128): Likewise.
11167 (TEST_COND_ldbl_128ibm): Likewise.
11168 (TEST_COND_long32): Likewise.
11169 (TEST_COND_long64): Likewise.
11170 (TEST_COND_before_rounding): Likewise.
11171 (TEST_COND_after_rounding): Likewise.
11172 (enable_test): Handle XFAIL_TEST flag.
11173 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11174 with finite results.
11175 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11176 auto-libm-test-out.
11178 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11179 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11182 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11183 __tls_get_addr_internal instead of __tls_get_offset in order to
11184 avoid GOT pointer dependency. Make rtld export
11185 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11186 __tls_get_addr since we are a __tls_get_offset platform.
11187 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11188 GOT pointer being set up before.
11189 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11191 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11193 * manual/math.texi (Errors in Math Functions): Document accuracy
11197 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11198 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11199 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11200 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11204 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11205 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11206 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11207 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11208 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11209 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11210 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11211 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11212 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11214 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11215 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11216 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11217 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11218 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11220 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11222 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11224 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11225 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11226 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11227 atomic-feupdateenv and flt-rounds.
11228 * sysdeps/powerpc/nofpu/Versions (libc): Add
11229 __atomic_feholdexcept, __atomic_feclearexcept,
11230 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11231 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11232 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11233 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11234 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11239 * manual/arith.texi (FP Exceptions): Document that exceptions may
11240 not be raised when matherr is used.
11241 (Math Error Reporting): Document overflow in directed rounding
11242 modes. Document that errno may not be set when finite values are
11243 returned on overflow. Document intent to set errno on underflow
11244 only for underflow to zero.
11247 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11248 round-to-nearest then adjust result for other rounding modes.
11249 * include/fenv.h (fegetround): Use libm_hidden_proto.
11250 * math/fegetround.c (fegetround): Use libm_hidden_def.
11251 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11252 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11253 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11254 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11256 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11257 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11258 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11259 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11261 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 * nss/Versions (libnss_files): Add
11265 _nss_files_gethostbyname3_r.
11266 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11268 (HOST_DB_LOOKUP): Remove macro.
11269 (_nss_files_gethostbyname_r): Implement function without the
11270 HOST_DB_LOOKUP macro.
11271 (_nss_files_gethostbyname2_r): Likewise.
11273 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11275 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11277 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11279 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11280 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11283 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11285 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11286 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11287 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11288 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11289 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11290 __fe_nomask_env_priv and attribute_hidden.
11291 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11292 (libc_feupdateenv_test_ppc): Likewise.
11293 (libc_feresetround_ppc): Likewise.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11295 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11296 compat_symbol macro.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11298 (__fe_nomask_env): Likewise.
11299 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11301 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11303 * string/Makefile: Remove ifunc tests.
11304 * string/test-string.h: Define TEST_IFUNC.
11305 * string/test-bcopy-ifunc.c: Remove.
11306 * string/test-bzero-ifunc.c: Likewise.
11307 * string/test-memccpy-ifunc.c: Likewise.
11308 * string/test-memchr-ifunc.c: Likewise.
11309 * string/test-memcmp-ifunc.c: Likewise.
11310 * string/test-memcpy-ifunc.c: Likewise.
11311 * string/test-memmem-ifunc.c: Likewise.
11312 * string/test-memmove-ifunc.c: Likewise.
11313 * string/test-mempcpy-ifunc.c: Likewise.
11314 * string/test-memrchr-ifunc.c: Likewise.
11315 * string/test-memset-ifunc.c: Likewise.
11316 * string/test-rawmemchr-ifunc.c: Likewise.
11317 * string/test-stpcpy-ifunc.c: Likewise.
11318 * string/test-stpncpy-ifunc.c: Likewise.
11319 * string/test-strcasecmp-ifunc.c: Likewise.
11320 * string/test-strcasestr-ifunc.c: Likewise.
11321 * string/test-strcat-ifunc.c: Likewise.
11322 * string/test-strchr-ifunc.c: Likewise.
11323 * string/test-strchrnul-ifunc.c: Likewise.
11324 * string/test-strcmp-ifunc.c: Likewise.
11325 * string/test-strcpy-ifunc.c: Likewise.
11326 * string/test-strcspn-ifunc.c: Likewise.
11327 * string/test-strlen-ifunc.c: Likewise.
11328 * string/test-strncasecmp-ifunc.c: Likewise.
11329 * string/test-strncat-ifunc.c: Likewise.
11330 * string/test-strncmp-ifunc.c: Likewise.
11331 * string/test-strncpy-ifunc.c: Likewise.
11332 * string/test-strnlen-ifunc.c: Likewise.
11333 * string/test-strpbrk-ifunc.c: Likewise.
11334 * string/test-strrchr-ifunc.c: Likewise.
11335 * string/test-strspn-ifunc.c: Likewise.
11336 * string/test-strstr-ifunc.c: Likewise.
11338 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11340 * benchtests/Makefile: Remove ifunc tests.
11341 * benchtests/bench-string.h: Define TEST_IFUNC.
11342 * benchtests/bench-bcopy-ifunc.c: Remove.
11343 * benchtests/bench-bzero-ifunc.c: Likewise.
11344 * benchtests/bench-memccpy-ifunc.c: Likewise.
11345 * benchtests/bench-memchr-ifunc.c: Likewise.
11346 * benchtests/bench-memcmp-ifunc.c: Likewise.
11347 * benchtests/bench-memcpy-ifunc.c: Likewise.
11348 * benchtests/bench-memmem-ifunc.c: Likewise.
11349 * benchtests/bench-memmove-ifunc.c: Likewise.
11350 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11351 * benchtests/bench-memrchr-ifunc.c: Likewise.
11352 * benchtests/bench-memset-ifunc.c: Likewise.
11353 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11354 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11355 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11356 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11357 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11358 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11359 * benchtests/bench-strcat-ifunc.c: Likewise.
11360 * benchtests/bench-strchr-ifunc.c: Likewise.
11361 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11362 * benchtests/bench-strcmp-ifunc.c: Likewise.
11363 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11364 * benchtests/bench-strcpy-ifunc.c: Likewise.
11365 * benchtests/bench-strcspn-ifunc.c: Likewise.
11366 * benchtests/bench-strlen-ifunc.c: Likewise.
11367 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11368 * benchtests/bench-strncat-ifunc.c: Likewise.
11369 * benchtests/bench-strncmp-ifunc.c: Likewise.
11370 * benchtests/bench-strncpy-ifunc.c: Likewise.
11371 * benchtests/bench-strnlen-ifunc.c: Likewise.
11372 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11373 * benchtests/bench-strrchr-ifunc.c: Likewise.
11374 * benchtests/bench-strsep-ifunc.c: Likewise.
11375 * benchtests/bench-strspn-ifunc.c: Likewise.
11376 * benchtests/bench-strstr-ifunc.c: Likewise.
11378 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11380 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11382 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11384 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11385 * rt/aio.h: Likewise.
11386 * sysdeps/gnu/bits/utmp.h: Likewise.
11387 * sysdeps/gnu/bits/utmpx.h: Likewise.
11388 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11389 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11390 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11391 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11392 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11393 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11394 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11395 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11396 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11397 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11399 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11400 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11402 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11403 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11404 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11405 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11406 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11407 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11408 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11409 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11410 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11411 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11412 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11413 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11414 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11415 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11416 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11417 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11419 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11420 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11421 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11422 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11423 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11424 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11425 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11426 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11427 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11428 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11429 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11431 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11434 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11435 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11437 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11439 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11440 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11443 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11446 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11447 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11448 (__fesetround): Remove define.
11449 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11450 rounding and exceptions handling.
11451 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11452 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11453 (__fe_nomask_env): Likewise.
11454 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11455 __fegetround instead of fegetround.
11456 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11457 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11459 2013-11-21 Roland McGrath <roland@hack.frob.com>
11461 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11464 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11466 2013-11-21 Meador Inge <meadori@codesourcery.com>
11469 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11470 (encrypt_r): Likewise.
11471 * malloc/obstack.h (obstack_free): Likewise.
11472 * posix/unistd.h (encrypt): Likewise.
11474 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11476 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11477 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11478 DL_CALL_DT_FINI() that call the functions directly.
11479 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11480 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11481 * elf/dl-fini.c: Likewise.
11483 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11485 * malloc/hooks.c (memalign_check): Add alignment rounding.
11486 * malloc/malloc.c (_mid_memalign): New function.
11487 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11488 Implement by calling _mid_memalign.
11489 * manual/probes.texi (Memory Allocation Probes): Remove
11490 memory_valloc_retry and memory_pvalloc_retry.
11492 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11494 * locale/programs/locarchive.c (open_archive): Add const
11495 qualifier to ARCHIVEFNAME and copy default fname to
11499 * libio/tst-widetext.input: Rename Oriya to Odia.
11500 * locale/iso-639.def: Likewise.
11502 * manual/probes.texi (Mathematical Function Probes): Add
11503 documentation for sin, cos, asin and acos probes.
11504 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11505 (__sin32): Add slowasin probe.
11506 (__cos32): Add slowacos probe.
11507 (__mpsin): Add slowsin probe.
11508 (__mpcos): Add slowcos probe.
11510 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11513 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11514 thread-local __sim_exceptions_thread and global
11515 __sim_exceptions_global.
11516 (__sim_disabled_exceptions): Change to thread-local
11517 __sim_disabled_exceptions_thread and global
11518 __sim_disabled_exceptions_global.
11519 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11520 and global __sim_round_mode_global.
11521 (__simulate_exceptions): Use thread-local floating-point state and
11522 set global state from it as needed.
11523 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11524 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11525 __sim_round_mode_thread.
11526 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11527 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11528 and global __sim_exceptions_global.
11529 (__sim_disabled_exceptions): Change to thread-local
11530 __sim_disabled_exceptions_thread and global
11531 __sim_disabled_exceptions_global.
11532 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11533 and global __sim_round_mode_global.
11534 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11535 (SIM_SET_GLOBAL): Likewise.
11536 * sysdeps/powerpc/soft-fp/sfp-machine.h
11537 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11538 __sim_round_mode_thread.
11539 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11540 __sim_disabled_exceptions_thread.
11541 (__sim_exceptions): Change to __sim_exceptions_thread.
11542 (__sim_disabled_exceptions): Change to
11543 __sim_disabled_exceptions_thread.
11544 (__sim_round_mode): Change to __sim_round_mode_thread.
11545 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11546 thread-local floating-point state and set global state from it as
11548 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11549 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11550 (__sim_disabled_exceptions): Remove extern declaration.
11551 (feenableexcept): Use thread-local floating-point state and set
11552 global state from it as needed.
11553 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11554 extern declaration.
11555 (__sim_disabled_exceptions): Likewise.
11556 (__sim_round_mode): Likewise.
11557 (__fegetenv): Use thread-local floating-point state.
11558 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11559 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11560 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11561 floating-point state and set global state from it as needed.
11562 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11563 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11564 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11566 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11567 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11569 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11570 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11571 Use __sim_round_mode_thread.
11572 * math/test-fenv-tls.c: New file.
11573 * math/Makefile (tests): Add test-fenv-tls.
11574 ($(objpfx)test-fenv-tls): Depend on
11575 $(common-objpfx)nptl/libpthread.so.
11577 2013-11-19 Andreas Schwab <schwab@suse.de>
11579 * locale/programs/locale.c (show_info): Decode wordarray elements.
11580 * locale/categories.def (LC_MONETARY): Add element for
11581 _NL_MONETARY_CRNCYSTR.
11582 * locale/C-monetary.c (conversion_rate): New variable.
11583 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11586 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11588 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11589 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11591 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11593 * elf/Makefile (tst-auxv): New test.
11594 * elf/tst-auxv.c: New
11595 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11597 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11599 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11600 (hidden_proto): Caller changed.
11601 (hidden_tls_proto): New macro.
11602 (libc_hidden_tls_proto): Likewise.
11603 (rtld_hidden_tls_proto): Likewise.
11604 (libm_hidden_tls_proto): Likewise.
11605 (libresolv_hidden_tls_proto): Likewise.
11606 (librt_hidden_tls_proto): Likewise.
11607 (libdl_hidden_tls_proto): Likewise.
11608 (libnss_files_hidden_tls_proto): Likewise.
11609 (libnsl_hidden_tls_proto): Likewise.
11610 (libnss_nisplus_hidden_tls_proto): Likewise.
11611 (libutil_hidden_tls_proto): Likewise.
11613 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11616 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11617 (decompose_rpath): Defer expansion to fillin_rpath.
11618 (_dl_init_paths): Pass linkmap to fillin_rpath.
11620 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11622 * benchtests/Makefile: Add strsep.
11623 * benchtests/bench-strsep.c: New file: strsep benchtest.
11624 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11626 2013-11-18 Andreas Schwab <schwab@suse.de>
11628 * locale/programs/locale.c (show_info) [case byte]: Check for
11629 '\377' instead of '\177'.
11630 * locale/C-monetary.c (not_available): Always use "\377".
11631 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11632 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11633 detect unavailable sign_posn locale elements.
11634 * locale/localeconv.c (__localeconv): For grouping and
11635 mon_grouping handle "\177" and "\377" like no grouping.
11636 (INT_ELEM): New macro. Use it to set all numeric members.
11637 * locale/programs/ld-monetary.c (monetary_read)
11638 <tok_mon_grouping>: Normalize single -1 to the empty string.
11639 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11642 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11645 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11646 when we match (nil).
11647 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11649 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11651 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11652 (NO_TEST_INLINE): Update value.
11653 (ERRNO_UNCHANGED): Likewise.
11654 (ERRNO_EDOM): Likewise.
11655 (ERRNO_ERANGE): Likewise.
11656 (IGNORE_RESULT): Likewise.
11657 (check_float_internal): Check signs of NaN results if
11658 TEST_NAN_SIGN used.
11659 (check_complex): Pass TEST_NAN_SIGN flag through to second
11660 check_float_internal call.
11661 (copysign_test_data): Add tests with quiet NaNs as second
11662 argument. Use TEST_NAN_SIGN.
11663 (fabs_test_data): Add test of negative quiet NaN argument. Use
11665 (signbit_test_data): Add tests of quiet NaN argument.
11666 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11668 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11670 (parse_args): Handle function results specified as IGNORE.
11671 * math/libm-test.inc (IGNORE_RESULT): New macro.
11672 (check_float_internal): Do not check numerical result if flag
11674 (check_complex): Pass through IGNORE_RESULT to second
11675 check_float_internal call.
11676 (check_int): Do not check numerical result if flag IGNORE_RESULT
11678 (check_long): Likewise.
11679 (check_bool): Likewise.
11680 (check_longlong): Likewise.
11681 (lrint_test_data): Add tests of infinite and NaN arguments.
11682 (lrint_tonearest_test_data): Likewise.
11683 (lrint_towardzero_test_data): Likewise.
11684 (lrint_downward_test_data): Likewise.
11685 (lrint_upward_test_data): Likewise.
11686 (llrint_test_data): Likewise.
11687 (llrint_tonearest_test_data): Likewise.
11688 (llrint_towardzero_test_data): Likewise.
11689 (llrint_downward_test_data): Likewise.
11690 (llrint_upward_test_data): Likewise.
11691 (lround_test_data): Likewise.
11692 (llround_test_data): Likewise.
11694 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11695 (ERRNO_UNCHANGED): Update value.
11696 (ERRNO_EDOM): Likewise.
11697 (ERRNO_ERANGE): Likewise.
11698 (NO_TEST_INLINE_FLOAT): New macro.
11699 (NO_TEST_INLINE_DOUBLE): Likewise.
11700 (enable_test): New function.
11701 (RUN_TEST_f_f): Check enable_test before running test.
11702 (RUN_TEST_2_f): Likewise.
11703 (RUN_TEST_fff_f): Likewise.
11704 (RUN_TEST_c_f): Likewise.
11705 (RUN_TEST_f_f1): Likewise.
11706 (RUN_TEST_fF_f1): Likewise.
11707 (RUN_TEST_fI_f1): Likewise.
11708 (RUN_TEST_ffI_f1): Likewise.
11709 (RUN_TEST_c_c): Likewise.
11710 (RUN_TEST_cc_c): Likewise.
11711 (RUN_TEST_f_i): Likewise.
11712 (RUN_TEST_f_i_tg): Likewise.
11713 (RUN_TEST_ff_i_tg): Likewise.
11714 (RUN_TEST_f_b): Likewise.
11715 (RUN_TEST_f_b_tg): Likewise.
11716 (RUN_TEST_f_l): Likewise.
11717 (RUN_TEST_f_L): Likewise.
11718 (RUN_TEST_fFF_11): Likewise.
11719 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11721 (cosh_test_data): Likewise.
11722 (exp_test_data): Likewise.
11723 (expm1_test_data): Likewise.
11724 (hypot_test_data): Likewise.
11725 (pow_test_data): Likewise.
11726 (sinh_test_data): Likewise.
11727 (tanh_test_data): Likewise.
11728 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11731 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11732 tests with quiet NaN input and output.
11733 (acosh_test_data): Likewise.
11734 (asin_test_data): Likewise.
11735 (asinh_test_data): Likewise.
11736 (atan_test_data): Likewise.
11737 (atanh_test_data): Likewise.
11738 (atan2_test_data): Likewise.
11739 (cbrt_test_data): Likewise.
11740 (cos_test_data): Likewise.
11741 (cosh_test_data): Likewise.
11742 (erf_test_data): Likewise.
11743 (erfc_test_data): Likewise.
11744 (exp_test_data): Likewise.
11745 (exp10_test_data): Likewise.
11746 (exp2_test_data): Likewise.
11747 (expm1_test_data): Likewise.
11748 (hypot_test_data): Likewise.
11749 (j0_test_data): Likewise.
11750 (j1_test_data): Likewise.
11751 (jn_test_data): Likewise.
11752 (lgamma_test_data): Likewise.
11753 (log_test_data): Likewise.
11754 (log10_test_data): Likewise.
11755 (log1p_test_data): Likewise.
11756 (log2_test_data): Likewise.
11757 (pow_test_data): Likewise.
11758 (scalb_test_data): Likewise.
11759 (sin_test_data): Likewise.
11760 (sincos_test_data): Likewise.
11761 (sinh_test_data): Likewise.
11762 (tan_test_data): Likewise.
11763 (tanh_test_data): Likewise.
11764 (tgamma_test_data): Likewise.
11765 (y0_test_data): Likewise.
11766 (y1_test_data): Likewise.
11767 (yn_test_data): Likewise.
11770 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11771 argument being NaN and avoid computations with second argument in
11773 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11774 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11775 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11777 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11779 * locale/iso-639.def: Add Chitwani Tharu (the).
11781 2013-11-14 Andreas Schwab <schwab@suse.de>
11783 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11784 word instead of empty string.
11786 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11789 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11791 (__fe_nomask_env): Likewise.
11793 2013-11-13 Steve Ellcey <sellcey@mips.com>
11795 * benchtests/bench-timing.h: Include time.h.
11797 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11800 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11802 * sysdeps/unix/sysv/linux/configure: Regenerated.
11804 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11807 * stdlib/strtod_l.c (round_and_return): Do not consider
11808 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11809 exponent one less than half the least subnormal exponent.
11810 * stdlib/test-strtod-round-data: Add more tests.
11811 * stdlib/tst-strtod-round.c (tests): Regenerated.
11813 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11816 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11817 (__fe_mask_env): Likewise.
11818 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11819 libm_hidden_proto and add function prototype.
11820 (__fe_mask_env): Add function prototype.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11822 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11824 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11826 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11828 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11830 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11831 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11833 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11835 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11836 of htab_find_slot().
11838 2013-11-11 David S. Miller <davem@davemloft.net>
11841 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11842 symbol in the non-vis3 case in static builds.
11843 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11844 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11845 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11846 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11848 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11851 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11854 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11856 * benchtests/Makefile: Add bench-strtod.
11857 * benchtests/bench-strtod.c: New file: strtod benchtest
11859 2013-11-11 Andreas Schwab <schwab@suse.de>
11862 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11863 terminating NUL in key length.
11865 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11867 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11868 Add artificial ODP entry for vDSO symbol for PPC64.
11869 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11870 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11872 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11875 * nss/getent.c (services_keys): Recognize services starting with digit.
11877 2013-11-06 David S. Miller <davem@davemloft.net>
11880 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11881 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11883 2013-11-06 Will Newton <will.newton@linaro.org>
11885 * manual/memory.texi (Malloc Examples): Remove register
11886 keyword from examples.
11888 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11890 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11892 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11895 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11896 depending on [__GCC_IEC_559 > 0].
11897 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11898 depending on [__GCC_IEC_559_COMPLEX > 0].
11900 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11902 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11905 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11907 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11909 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11912 * malloc/malloc (malloc_info): Do not handle first bin as
11915 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11917 * locale/iso-639.def: Add Central Nahuatl (nhn).
11919 2013-11-01 Bruno Haible <bruno@clisp.org>
11922 * manual/math.texi (BSD Random): Specify range upper bound as
11925 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11927 * locale/iso-639.def: Add Meadow Mari (mhr).
11929 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11931 [BZ #14752], [BZ #15763]
11932 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11934 * rt/tst_shm.c: Add test for escaping directory.
11936 2013-10-31 Andreas Schwab <schwab@suse.de>
11939 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11940 followed by 'x' as part of digit sequence.
11941 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11943 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11946 * configure.ac: allow GNU Make 4.0 and greater.
11947 * configure: Regenerated.
11949 2013-10-30 Will Newton <will.newton@linaro.org>
11952 * malloc/hooks.c (memalign_check): Limit alignment to the
11953 maximum representable power of two.
11954 * malloc/malloc.c (__libc_memalign): Likewise.
11955 * malloc/tst-memalign.c (do_test): Add test for very
11956 large alignment values.
11957 * malloc/tst-posix_memalign.c (do_test): Likewise.
11959 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11962 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11963 (munmap_chunk): Likewise.
11964 (mremap_chunk): Likewise.
11966 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11969 * stdlib/div.c (div): Remove obsolete code.
11970 * stdlib/ldiv.c (ldiv): Likewise.
11971 * stdlib/lldiv.c (lldiv): Likewise.
11973 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11976 * nss/nss_files/files-XXX.c (get_contents_ret): New
11978 (get_contents): New function.
11979 (internal_getent): Use it. Expand size of LINEBUFLEN.
11981 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11983 * configure.in: Moved to ...
11984 * configure.ac: ... here. Change reference to configure.in
11986 * sysdeps/arm/preconfigure.ac: ... here.
11987 configure.in to configure.ac.
11988 * sysdeps/gnu/configure.in: Moved to ...
11989 * sysdeps/gnu/configure.ac: ... here.
11990 * sysdeps/i386/configure.in: Moved to ...
11991 * sysdeps/i386/configure.ac: ... here.
11992 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11993 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11994 * sysdeps/mach/configure.in: Moved to ...
11995 * sysdeps/mach/configure.ac: ... here.
11996 * sysdeps/mach/hurd/configure.in: Moved to ...
11997 * sysdeps/mach/hurd/configure.ac: ... here.
11998 * sysdeps/powerpc/configure.in: Moved to ...
11999 * sysdeps/powerpc/configure.ac: ... here.
12000 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12001 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12002 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12003 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12004 * sysdeps/s390/s390-32/configure.in: Moved to ...
12005 * sysdeps/s390/s390-32/configure.ac: ... here.
12006 * sysdeps/s390/s390-64/configure.in: Moved to ...
12007 * sysdeps/s390/s390-64/configure.ac: ... here.
12008 * sysdeps/sh/configure.in: Moved to ...
12009 * sysdeps/sh/configure.ac: ... here.
12010 * sysdeps/sparc/configure.in: Moved to ...
12011 * sysdeps/sparc/configure.ac: ... here.
12012 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12013 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12014 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12015 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12016 * sysdeps/x86_64/configure.in: Moved to ...
12017 * sysdeps/x86_64/configure.ac: ... here.
12018 * sysdeps/x86_64/preconfigure.in: Moved to ...
12019 * sysdeps/x86_64/preconfigure.ac: ... here.
12020 * aclocal.m4: Change reference to configure.in to configure.ac.
12021 * config.h.in: Likewise.
12022 * manual/install.texi: Likewise.
12023 * manual/maint.texi: Likewise.
12024 * Makefile: Likewise.
12025 * malloc/Makefile: Likewise.
12026 * nscd/Makefile: Likewise.
12027 * Makeconfig: Change reference to configure.in and
12028 preconfigure.in to configure.ac and preconfigure.ac
12030 * INSTALL: Regenerated.
12031 * configure: Likewise.
12032 * sysdeps/gnu/configure: Likewise.
12033 * sysdeps/i386/configure: Likewise.
12034 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12035 * sysdeps/mach/configure: Likewise.
12036 * sysdeps/mach/hurd/configure: Likewise.
12037 * sysdeps/powerpc/configure: Likewise.
12038 * sysdeps/powerpc/powerpc32/configure: Likewise.
12039 * sysdeps/powerpc/powerpc64/configure: Likewise.
12040 * sysdeps/s390/s390-32/configure: Likewise.
12041 * sysdeps/s390/s390-64/configure: Likewise.
12042 * sysdeps/sh/configure: Likewise.
12043 * sysdeps/sparc/configure: Likewise.
12044 * sysdeps/unix/sysv/linux/configure: Likewise.
12045 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12046 * sysdeps/x86_64/configure: Likewise.
12047 * sysdeps/x86_64/preconfigure: Likewise.
12049 2013-10-29 Andreas Schwab <schwab@suse.de>
12051 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12053 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12055 * benchtests/pow-inputs: Add new inputs.
12057 * benchtests/exp-inputs: Add new inputs.
12059 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12060 conditional check for return value.
12061 (__cos32): Likewise.
12063 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12065 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12066 to provide a boost for large inputs with word alignment.
12067 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12068 implementation based on optimized PPC64 strcpy.
12069 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12070 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12071 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12072 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12074 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12077 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12079 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12082 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12083 * time/tst-strptime.c (day_tests): Add testcase.
12085 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
12088 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12090 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12093 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12094 MAP_FAILED on error.
12096 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12099 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12100 heap for large requests.
12102 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12105 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12106 result if the result has no associated interface.
12107 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12108 interface for all 127.X.Y.Z addresses.
12110 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
12112 * locale/iso-639.def: Add Ligurian (lij)
12114 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
12117 * sunrpc/rpc_main.c: Document rpcgen -5.
12119 2013-10-19 Michael Stahl <mstahl@redhat.com>
12121 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12123 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12126 * posix/glob.c: Match only directories when trailing slash is present.
12127 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12128 (main): Add testcase.
12130 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
12133 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12135 2013-10-18 Carlos O'Donell <carlos@redhat.com>
12137 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12138 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12139 AUTH_DES and cindex for FIPS 140-2.
12140 (DES Encryption): Add cindex FIPS 46-3.
12142 * locale/locarchive.h (struct locarhandle): Add fname.
12143 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12144 if an optional argument was specified to --list-archive,
12146 * locale/programs/locarchive.c (show_archive_content): Take new
12147 argument fname and pass it via ah.fname to open_archive.
12148 * locale/programs/localedef.h: Update decl.
12149 (open_archive): If AH->fname is non-null, open that file
12150 rather than the default file name, and don't ignore ENOENT.
12151 (create_archive): Set AH.fname to NULL.
12152 (delete_locales_from_archive): Likewise.
12153 (add_locales_to_archive): Likewise.
12154 * locale/programs/locfile.c (write_all_categories): Likewise.
12156 2013-10-18 Joseph Myers <joseph@codesourcery.com>
12157 Aldy Hernandez <aldyh@redhat.com>
12159 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12160 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12161 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12162 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12163 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12164 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12165 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12166 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12167 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12168 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12169 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12170 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12171 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12172 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12173 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12175 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12177 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12179 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12181 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12182 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12184 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12185 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12186 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12187 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12189 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12190 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12191 * sysdeps/powerpc/preconfigure: Likewise.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12194 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12195 Replace contents of file by #include of <fenv_libc.h>.
12196 * sysdeps/powerpc/soft-fp/sfp-machine.h
12197 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12199 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12200 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12201 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12202 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12203 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12204 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12206 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12207 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12208 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12209 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12210 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12212 Allow copysignl PLT reference to be missing.
12214 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12215 Joseph Myers <joseph@codesourcery.com
12218 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12220 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12222 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12224 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12225 * elf/tst-tls1.c: Likewise.
12226 * elf/tst-tls10.h: Likewise.
12227 * elf/tst-tls14.c: Likewise.
12228 * elf/tst-tls2.c: Likewise.
12229 * elf/tst-tls3.c: Likewise.
12230 * elf/tst-tls4.c: Likewise.
12231 * elf/tst-tls5.c: Likewise.
12232 * elf/tst-tls6.c: Likewise.
12233 * elf/tst-tls7.c: Likewise.
12234 * elf/tst-tls8.c: Likewise.
12235 * elf/tst-tls9.c: Likewise.
12236 * elf/tst-tlsmod1.c: Likewise.
12237 * elf/tst-tlsmod13.c: Likewise.
12238 * elf/tst-tlsmod13a.c: Likewise.
12239 * elf/tst-tlsmod14a.c: Likewise.
12240 * elf/tst-tlsmod16a.c: Likewise.
12241 * elf/tst-tlsmod16b.c: Likewise.
12242 * elf/tst-tlsmod2.c: Likewise.
12243 * elf/tst-tlsmod3.c: Likewise.
12244 * elf/tst-tlsmod4.c: Likewise.
12245 * elf/tst-tlsmod5.c: Likewise.
12246 * elf/tst-tlsmod6.c: Likewise.
12248 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12251 * malloc/malloc.c: remove checks for statistics.
12253 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12256 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12257 * inet/tst-network.c: Add testcase.
12259 2013-10-17 Andreas Schwab <schwab@suse.de>
12262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12263 to determine canonical name.
12265 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12267 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12268 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12272 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12273 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12274 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12275 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12276 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12291 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12292 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12307 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12308 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12309 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12310 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12311 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12312 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12313 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12314 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12315 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12316 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12317 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12318 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12320 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12321 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12322 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12326 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12329 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12330 make result into a quiet NaN.
12332 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12334 * soft-fp/adddf3.c: Fix horizontal whitespace.
12335 * soft-fp/addsf3.c: Likewise.
12336 * soft-fp/addtf3.c: Likewise.
12337 * soft-fp/divdf3.c: Likewise.
12338 * soft-fp/divsf3.c: Likewise.
12339 * soft-fp/divtf3.c: Likewise.
12340 * soft-fp/double.h: Likewise.
12341 * soft-fp/eqdf2.c: Likewise.
12342 * soft-fp/eqsf2.c: Likewise.
12343 * soft-fp/eqtf2.c: Likewise.
12344 * soft-fp/extenddftf2.c: Likewise.
12345 * soft-fp/extended.h: Likewise.
12346 * soft-fp/extendsfdf2.c: Likewise.
12347 * soft-fp/extendsftf2.c: Likewise.
12348 * soft-fp/extendxftf2.c: Likewise.
12349 * soft-fp/fixdfdi.c: Likewise.
12350 * soft-fp/fixdfsi.c: Likewise.
12351 * soft-fp/fixdfti.c: Likewise.
12352 * soft-fp/fixsfdi.c: Likewise.
12353 * soft-fp/fixsfsi.c: Likewise.
12354 * soft-fp/fixsfti.c: Likewise.
12355 * soft-fp/fixtfdi.c: Likewise.
12356 * soft-fp/fixtfsi.c: Likewise.
12357 * soft-fp/fixtfti.c: Likewise.
12358 * soft-fp/fixunsdfdi.c: Likewise.
12359 * soft-fp/fixunsdfsi.c: Likewise.
12360 * soft-fp/fixunsdfti.c: Likewise.
12361 * soft-fp/fixunssfdi.c: Likewise.
12362 * soft-fp/fixunssfsi.c: Likewise.
12363 * soft-fp/fixunssfti.c: Likewise.
12364 * soft-fp/fixunstfdi.c: Likewise.
12365 * soft-fp/fixunstfsi.c: Likewise.
12366 * soft-fp/fixunstfti.c: Likewise.
12367 * soft-fp/floatdidf.c: Likewise.
12368 * soft-fp/floatdisf.c: Likewise.
12369 * soft-fp/floatditf.c: Likewise.
12370 * soft-fp/floatsidf.c: Likewise.
12371 * soft-fp/floatsisf.c: Likewise.
12372 * soft-fp/floatsitf.c: Likewise.
12373 * soft-fp/floattidf.c: Likewise.
12374 * soft-fp/floattisf.c: Likewise.
12375 * soft-fp/floattitf.c: Likewise.
12376 * soft-fp/floatundidf.c: Likewise.
12377 * soft-fp/floatundisf.c: Likewise.
12378 * soft-fp/floatunditf.c: Likewise.
12379 * soft-fp/floatunsidf.c: Likewise.
12380 * soft-fp/floatunsisf.c: Likewise.
12381 * soft-fp/floatunsitf.c: Likewise.
12382 * soft-fp/floatuntidf.c: Likewise.
12383 * soft-fp/floatuntisf.c: Likewise.
12384 * soft-fp/floatuntitf.c: Likewise.
12385 * soft-fp/fmadf4.c: Likewise.
12386 * soft-fp/fmasf4.c: Likewise.
12387 * soft-fp/fmatf4.c: Likewise.
12388 * soft-fp/gedf2.c: Likewise.
12389 * soft-fp/gesf2.c: Likewise.
12390 * soft-fp/getf2.c: Likewise.
12391 * soft-fp/ledf2.c: Likewise.
12392 * soft-fp/lesf2.c: Likewise.
12393 * soft-fp/letf2.c: Likewise.
12394 * soft-fp/muldf3.c: Likewise.
12395 * soft-fp/mulsf3.c: Likewise.
12396 * soft-fp/multf3.c: Likewise.
12397 * soft-fp/negdf2.c: Likewise.
12398 * soft-fp/negsf2.c: Likewise.
12399 * soft-fp/negtf2.c: Likewise.
12400 * soft-fp/op-1.h: Likewise.
12401 * soft-fp/op-2.h: Likewise.
12402 * soft-fp/op-4.h: Likewise.
12403 * soft-fp/op-8.h: Likewise.
12404 * soft-fp/op-common.h: Likewise.
12405 * soft-fp/quad.h: Likewise.
12406 * soft-fp/single.h: Likewise.
12407 * soft-fp/soft-fp.h: Likewise.
12408 * soft-fp/sqrtdf2.c: Likewise.
12409 * soft-fp/sqrtsf2.c: Likewise.
12410 * soft-fp/sqrttf2.c: Likewise.
12411 * soft-fp/subdf3.c: Likewise.
12412 * soft-fp/subsf3.c: Likewise.
12413 * soft-fp/subtf3.c: Likewise.
12414 * soft-fp/truncdfsf2.c: Likewise.
12415 * soft-fp/trunctfdf2.c: Likewise.
12416 * soft-fp/trunctfsf2.c: Likewise.
12417 * soft-fp/trunctfxf2.c: Likewise.
12418 * soft-fp/unorddf2.c: Likewise.
12419 * soft-fp/unordsf2.c: Likewise.
12420 * soft-fp/unordtf2.c: Likewise.
12422 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12424 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12425 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12427 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12429 * elf/dl-libc.c: Clear initfini list after freeing.
12431 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12433 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12434 * soft-fp/addsf3.c: Likewise.
12435 * soft-fp/addtf3.c: Likewise.
12436 * soft-fp/divdf3.c: Likewise.
12437 * soft-fp/divsf3.c: Likewise.
12438 * soft-fp/divtf3.c: Likewise.
12439 * soft-fp/double.h: Likewise.
12440 * soft-fp/eqdf2.c: Likewise.
12441 * soft-fp/eqsf2.c: Likewise.
12442 * soft-fp/eqtf2.c: Likewise.
12443 * soft-fp/extenddftf2.c: Likewise.
12444 * soft-fp/extended.h: Likewise.
12445 * soft-fp/extendsfdf2.c: Likewise.
12446 * soft-fp/extendsftf2.c: Likewise.
12447 * soft-fp/extendxftf2.c: Likewise.
12448 * soft-fp/fixdfdi.c: Likewise.
12449 * soft-fp/fixdfsi.c: Likewise.
12450 * soft-fp/fixdfti.c: Likewise.
12451 * soft-fp/fixsfdi.c: Likewise.
12452 * soft-fp/fixsfsi.c: Likewise.
12453 * soft-fp/fixsfti.c: Likewise.
12454 * soft-fp/fixtfdi.c: Likewise.
12455 * soft-fp/fixtfsi.c: Likewise.
12456 * soft-fp/fixtfti.c: Likewise.
12457 * soft-fp/fixunsdfdi.c: Likewise.
12458 * soft-fp/fixunsdfsi.c: Likewise.
12459 * soft-fp/fixunsdfti.c: Likewise.
12460 * soft-fp/fixunssfdi.c: Likewise.
12461 * soft-fp/fixunssfsi.c: Likewise.
12462 * soft-fp/fixunssfti.c: Likewise.
12463 * soft-fp/fixunstfdi.c: Likewise.
12464 * soft-fp/fixunstfsi.c: Likewise.
12465 * soft-fp/fixunstfti.c: Likewise.
12466 * soft-fp/floatdidf.c: Likewise.
12467 * soft-fp/floatdisf.c: Likewise.
12468 * soft-fp/floatditf.c: Likewise.
12469 * soft-fp/floatsidf.c: Likewise.
12470 * soft-fp/floatsisf.c: Likewise.
12471 * soft-fp/floatsitf.c: Likewise.
12472 * soft-fp/floattidf.c: Likewise.
12473 * soft-fp/floattisf.c: Likewise.
12474 * soft-fp/floattitf.c: Likewise.
12475 * soft-fp/floatundidf.c: Likewise.
12476 * soft-fp/floatundisf.c: Likewise.
12477 * soft-fp/floatunsidf.c: Likewise.
12478 * soft-fp/floatunsisf.c: Likewise.
12479 * soft-fp/floatuntidf.c: Likewise.
12480 * soft-fp/floatuntisf.c: Likewise.
12481 * soft-fp/floatuntitf.c: Likewise.
12482 * soft-fp/fmadf4.c: Likewise.
12483 * soft-fp/fmasf4.c: Likewise.
12484 * soft-fp/fmatf4.c: Likewise.
12485 * soft-fp/gedf2.c: Likewise.
12486 * soft-fp/gesf2.c: Likewise.
12487 * soft-fp/getf2.c: Likewise.
12488 * soft-fp/ledf2.c: Likewise.
12489 * soft-fp/lesf2.c: Likewise.
12490 * soft-fp/letf2.c: Likewise.
12491 * soft-fp/muldf3.c: Likewise.
12492 * soft-fp/mulsf3.c: Likewise.
12493 * soft-fp/multf3.c: Likewise.
12494 * soft-fp/negdf2.c: Likewise.
12495 * soft-fp/negsf2.c: Likewise.
12496 * soft-fp/negtf2.c: Likewise.
12497 * soft-fp/op-1.h: Likewise.
12498 * soft-fp/op-2.h: Likewise.
12499 * soft-fp/op-4.h: Likewise.
12500 * soft-fp/op-8.h: Likewise.
12501 * soft-fp/op-common.h: Likewise.
12502 * soft-fp/quad.h: Likewise.
12503 * soft-fp/single.h: Likewise.
12504 * soft-fp/soft-fp.h: Likewise.
12505 * soft-fp/sqrtdf2.c: Likewise.
12506 * soft-fp/sqrtsf2.c: Likewise.
12507 * soft-fp/sqrttf2.c: Likewise.
12508 * soft-fp/subdf3.c: Likewise.
12509 * soft-fp/subsf3.c: Likewise.
12510 * soft-fp/subtf3.c: Likewise.
12511 * soft-fp/truncdfsf2.c: Likewise.
12512 * soft-fp/trunctfdf2.c: Likewise.
12513 * soft-fp/trunctfsf2.c: Likewise.
12514 * soft-fp/trunctfxf2.c: Likewise.
12515 * soft-fp/unorddf2.c: Likewise.
12516 * soft-fp/unordsf2.c: Likewise.
12517 * soft-fp/unordtf2.c: Likewise.
12519 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12522 * misc/error.c (error_tail): Fix possible buffer overflow.
12524 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12527 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12530 2013-10-14 P. J. McDermott <pj@pehjota.net>
12533 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12534 testing pipefail option.
12536 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12538 * soft-fp/double.h: Indent preprocessor directives inside #if.
12539 * soft-fp/extended.h: Likewise.
12540 * soft-fp/op-2.h: Likewise.
12541 * soft-fp/op-4.h: Likewise.
12542 * soft-fp/op-common.h: Likewise.
12543 * soft-fp/quad.h: Likewise.
12544 * soft-fp/single.h: Likewise.
12545 * soft-fp/soft-fp.h: Likewise.
12547 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12549 * iconv/iconv_prog.c: Fix typos.
12550 * stdio-common/psiginfo-data.h: Likewise.
12552 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12555 * locale/setlocale.c: Fix typo.
12557 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12560 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12561 signaling NaN arguments.
12562 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12563 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12566 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12567 unordered operands.
12568 * soft-fp/gesf2.c (__gesf2): Likewise.
12569 * soft-fp/getf2.c (__getf2): Likewise.
12570 * soft-fp/ledf2.c (__ledf2): Likewise.
12571 * soft-fp/lesf2.c (__lesf2): Likewise.
12572 * soft-fp/letf2.c (__letf2): Likewise.
12574 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12575 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12576 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12577 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12578 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12579 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12580 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12581 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12582 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12583 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12584 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12585 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12586 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12587 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12588 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12589 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12590 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12591 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12592 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12593 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12594 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12595 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12596 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12597 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12598 * soft-fp/floattidf.c (__floattidf): Likewise.
12599 * soft-fp/floattisf.c (__floattisf): Likewise.
12600 * soft-fp/floattitf.c (__floattitf): Likewise.
12601 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12602 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12603 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12604 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12605 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12606 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12607 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12608 * soft-fp/gesf2.c (__gesf2): Likewise.
12609 * soft-fp/getf2.c (__getf2): Likewise.
12610 * soft-fp/ledf2.c (__ledf2): Likewise.
12611 * soft-fp/lesf2.c (__lesf2): Likewise.
12612 * soft-fp/letf2.c (__letf2): Likewise.
12614 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12615 Undefine and redefine.
12616 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12617 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12618 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12619 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12620 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12621 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12622 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12623 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12624 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12625 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12626 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12627 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12628 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12629 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12630 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12633 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12634 without decrementing exponent if mantissa >= that for the
12635 denominator, not >.
12636 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12637 denominator, not >. Decrement exponent in < case instead of
12638 incrementing in >= case.
12639 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12640 without decrementing exponent if mantissa >= that for the
12641 denominator, not >.
12643 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12644 computing saturated result for unsigned overflow.
12646 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12647 Jeff Law <law@redhat.com>
12649 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12650 (atan2Mp): Add systemtap probe marker.
12651 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12652 (__ieee754_log): Add systemtap probe marker.
12653 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12654 (atanMp): Add systemtap probe marker.
12655 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12656 (tanMp): Add systemtap probe marker.
12657 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12658 (__slowexp): Add systemtap probe marker.
12659 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12660 (__slowpow): Add systemtap probe marker.
12661 * manual/probes.texi: Document probes.
12663 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12666 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12668 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12670 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12671 written to buffer but not flushed.
12672 * libio/iofwrite_u.c: Likewise.
12673 * libio/iopadn.c: Return bytes returned even if EOF was
12675 * libio/iowpadn.c: Likewise.
12676 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12677 if _IO_padn does not write the whole buffer.
12678 [!COMPILE_WPRINTF] (PAD): Likewise.
12680 2013-10-10 David S. Miller <davem@davemloft.net>
12682 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12685 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12687 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12688 instead of FSF address.
12689 * soft-fp/fixdfti.c: Likewise.
12690 * soft-fp/fixsfti.c: Likewise.
12691 * soft-fp/fixtfti.c: Likewise.
12692 * soft-fp/fixunsdfti.c: Likewise.
12693 * soft-fp/fixunssfti.c: Likewise.
12694 * soft-fp/fixunstfti.c: Likewise.
12695 * soft-fp/floattidf.c: Likewise.
12696 * soft-fp/floattisf.c: Likewise.
12697 * soft-fp/floattitf.c: Likewise.
12698 * soft-fp/floatuntidf.c: Likewise.
12699 * soft-fp/floatuntisf.c: Likewise.
12700 * soft-fp/floatuntitf.c: Likewise.
12701 * soft-fp/trunctfxf2.c: Likewise.
12703 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12704 * soft-fp/fixdfti.c: Likewise.
12705 * soft-fp/fixsfti.c: Likewise.
12706 * soft-fp/fixtfti.c: Likewise.
12707 * soft-fp/fixunsdfti.c: Likewise.
12708 * soft-fp/fixunssfti.c: Likewise.
12709 * soft-fp/fixunstfti.c: Likewise.
12710 * soft-fp/floattidf.c: Likewise.
12711 * soft-fp/floattisf.c: Likewise.
12712 * soft-fp/floattitf.c: Likewise.
12713 * soft-fp/floatuntidf.c: Likewise.
12714 * soft-fp/floatuntisf.c: Likewise.
12715 * soft-fp/floatuntitf.c: Likewise.
12716 * soft-fp/trunctfxf2.c: Likewise.
12718 2013-10-10 David S. Miller <davem@davemloft.net>
12720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12722 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12724 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12725 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12726 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12727 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12728 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12729 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12730 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12733 for NaNs before doing comparisons on argument.
12734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12737 2013-10-10 Will Newton <will.newton@linaro.org>
12739 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12740 passed to _int_memalign does not overflow.
12742 2013-10-10 Torvald Riegel <triegel@redhat.com>
12744 * scripts/bench.pl: Add include-sources directive.
12745 * benchtests/README: Update documentation.
12747 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12749 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12750 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12751 instead of FP_INIT_ROUNDMODE.
12752 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12753 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12756 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12757 copy class of input value.
12758 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12759 not handle exceptions.
12760 * soft-fp/negsf2.c (__negsf2): Likewise.
12761 * soft-fp/negtf2.c (__negtf2): Likewise.
12762 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12764 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12766 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12767 semicolon. From Linux kernel.
12769 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12771 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12773 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12776 * manual/socket.texi: Added statement about buffer
12777 for gethostbyname2_r.
12779 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12781 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12782 Use .p2align directive instead, throughout.
12783 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12784 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12785 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12786 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12787 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12788 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12789 * sysdeps/x86_64/strchr.S: Likewise.
12790 * sysdeps/x86_64/strrchr.S: Likewise.
12792 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12794 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12796 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12798 * sysdeps/generic/math_private.h (__mpsin1): Remove
12800 (__mpcos1): Likewise.
12801 (__mpsin): New argument __range_reduce.
12802 (__mpcos): Likewise.
12803 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12804 (slow): Use __mpsin and __mpcos.
12808 (sloww1): Likewise.
12809 (sloww2): Likewise.
12810 (bsloww): Likewise.
12811 (bsloww1): Likewise.
12812 (bsloww2): Likewise.
12813 (cslow2): Likewise.
12814 (csloww): Likewise.
12815 (csloww1): Likewise.
12816 (csloww2): Likewise.
12817 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12818 range_reduce. Merge in __mpsin1.
12819 (__mpcos): Likewise.
12820 (__mpsin1): Remove.
12821 (__mpcos1): Likewise.
12823 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12825 * locale/loadlocale.c (_nl_intern_locale_data): Use
12827 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12828 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12829 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12830 obstack data is appropriately aligned.
12831 (obstack_int32_grow_fast): Likewise.
12832 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12833 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12834 (add_locale_uint32_array): Likewise.
12836 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12838 * benchtests/Makefile: Remove ARGLIST and RET variables.
12839 ($(objpfx)bench-%.c): Pass only function name to the script.
12840 * benchtests/README: Update documentation.
12841 * benchtests/acos-inputs: Add new directives.
12842 * benchtests/acosh-inputs: Likewise.
12843 * benchtests/asin-inputs: Likewise.
12844 * benchtests/asinh-inputs: Likewise.
12845 * benchtests/atan-inputs: Likewise.
12846 * benchtests/atanh-inputs: Likewise.
12847 * benchtests/cos-inputs: Likewise.
12848 * benchtests/cosh-inputs: Likewise.
12849 * benchtests/exp-inputs: Likewise.
12850 * benchtests/log-inputs: Likewise.
12851 * benchtests/pow-inputs: Likewise.
12852 * benchtests/rint-inputs: Likewise.
12853 * benchtests/sin-inputs: Likewise.
12854 * benchtests/sinh-inputs: Likewise.
12855 * benchtests/tan-inputs: Likewise.
12856 * benchtests/tanh-inputs: Likewise.
12857 * scripts/bench.pl: Add support for new directives.
12859 2013-10-07 Alan Modra <amodra@gmail.com>
12861 * README: Fix careless merge.
12863 2013-10-05 Alan Modra <amodra@gmail.com>
12865 * NEWS: Mention powerpc64le support and bugs fixed.
12866 * README: Both big-endian and little-endian powerpc64 supported.
12868 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12870 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12871 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12872 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12873 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12875 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12877 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12880 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12882 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12883 Move -mhard-float appending from
12884 ports/sysdeps/powerpc/powerpc32/Makefile.
12885 [$(with-fp) = yes] (ASFLAGS): Likewise.
12886 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12887 * sysdeps/powerpc/nofpu: Move directory from
12888 ports/sysdeps/powerpc/nofpu.
12889 * sysdeps/powerpc/soft-fp: Move directory from
12890 ports/sysdeps/powerpc/soft-fp.
12891 * sysdeps/powerpc/powerpc32/405: Move directory from
12892 ports/sysdeps/powerpc/powerpc32/405.
12893 * sysdeps/powerpc/powerpc32/440: Move directory from
12894 ports/sysdeps/powerpc/powerpc32/440.
12895 * sysdeps/powerpc/powerpc32/464: Move directory from
12896 ports/sysdeps/powerpc/powerpc32/464.
12897 * sysdeps/powerpc/powerpc32/476: Move directory from
12898 ports/sysdeps/powerpc/powerpc32/476.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12900 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12902 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12904 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12906 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12908 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12909 * README: Update for powerpc-*-linux-gnu software floating point
12912 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12913 case to powerpc/powerpc32*.
12914 * sysdeps/unix/sysv/linux/configure: Regenerated.
12916 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12917 (_FPU_MASK_OM): Define as 0x04.
12918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12926 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12929 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12932 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12933 and setcontext_e500.
12935 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12937 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12939 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12941 * manual/threads.texi (Default Thread Attributes): Fix typo.
12943 2013-10-04 Will Newton <will.newton@linaro.org>
12945 * malloc/Makefile: Add tst-memalign.
12946 * malloc/tst-memalign.c: New file.
12948 * malloc/tst-posix_memalign.c: Add comments.
12949 (do_test): Add comments and call free on all potentially
12950 allocated pointers. Add space after cast.
12952 * malloc/tst-pvalloc.c: Add comments.
12953 (do_test): Add comments and call free on all potentially
12954 allocated pointers. Remove duplicate check for NULL pointer.
12955 Add space after cast.
12957 * malloc/tst-valloc.c: Add comments.
12958 (do_test): Add comments and call free on all potentially
12959 allocated pointers. Remove duplicate check for NULL pointer.
12960 Add space after cast.
12962 2013-10-04 Alan Modra <amodra@gmail.com>
12964 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12965 Use stdint types in rather than __attribute__((mode())).
12966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12968 2013-10-04 Alan Modra <amodra@gmail.com>
12970 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12971 Correct handling of unaligned relocs for little-endian.
12972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12974 2013-10-04 Alan Modra <amodra@gmail.com>
12976 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12977 * configure: Regenerate.
12978 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12979 * shlib-versions: Likewise.
12981 2013-10-04 Alan Modra <amodra@gmail.com>
12983 * string/tester.c (test_memrchr): Increment reported test cycle.
12985 2013-10-04 Alan Modra <amodra@gmail.com>
12987 * string/test-memcpy.c (do_one_test): When reporting errors, print
12988 string address and don't overrun end of string.
12990 2013-10-04 Alan Modra <amodra@gmail.com>
12992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12993 insrdi. Make better use of reg selection to speed exit slightly.
12994 Schedule entry path a little better. Remove useless "are we done"
12995 checks on entry to main loop. Handle wrapping around zero address.
12996 Correct main loop count. Handle single left-over word from main
12997 loop inline rather than by using loop_small. Remove extra word
12998 case in loop_small caused by wrong loop count. Add little-endian
13000 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13003 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13004 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13005 support. Avoid rlwimi.
13006 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13008 2013-10-04 Alan Modra <amodra@gmail.com>
13010 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13011 insrdi. Formatting.
13012 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13013 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13014 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13015 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13016 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13017 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13019 2013-10-04 Alan Modra <amodra@gmail.com>
13021 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13022 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13023 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13025 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13026 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13027 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13028 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13030 use of regs. Use power7 mtocrf. Tidy function tails.
13032 2013-10-04 Alan Modra <amodra@gmail.com>
13034 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13035 Formatting. Consistently use rXXX register defines or rN defines.
13036 Use early exit labels that avoid restoring unused non-volatile regs.
13037 Make cr field use more consistent with rWORDn compares. Rename
13038 regs used as shift registers for unaligned loop, using rN defines
13039 for short lifetime/multiple use regs.
13040 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13041 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13042 addi 1,1,64 to pop stack frame. Simplify return value code.
13043 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13045 2013-10-04 Alan Modra <amodra@gmail.com>
13047 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13048 support. Correct typos, formatting. Optimize tail. Use insrdi
13049 rather than rlwimi.
13050 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13051 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13052 little-endian support. Correct typos.
13053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13054 rather than rlwimi.
13055 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13056 in loop and entry code to keep "and." results.
13057 (strchr): Add little-endian support. Comment. Move cntlzd
13059 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13061 2013-10-04 Alan Modra <amodra@gmail.com>
13063 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13064 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13065 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13066 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13068 2013-10-04 Alan Modra <amodra@gmail.com>
13070 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13071 (rTMP): Define as r11.
13072 (strcmp): Add little-endian support. Optimise tail.
13073 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13074 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13075 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13077 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13081 2013-10-04 Alan Modra <amodra@gmail.com>
13083 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13084 little-endian support. Remove unnecessary "are we done" tests.
13085 Handle "s" wrapping around zero and extremely large "size".
13086 Correct main loop count. Handle single left-over word from main
13087 loop inline rather than by using small_loop. Correct comments.
13088 Delete "zero" tail, use "end_max" instead.
13089 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13091 2013-10-04 Alan Modra <amodra@gmail.com>
13093 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13094 support. Don't branch over align.
13095 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13096 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13097 support. Rearrange tmp reg use to suit. Comment.
13098 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13100 2013-10-04 Alan Modra <amodra@gmail.com>
13102 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13104 2013-10-04 Alan Modra <amodra@gmail.com>
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13107 conditional form of branch and link when obtaining pc.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13110 2013-10-04 Alan Modra <amodra@gmail.com>
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13117 2013-10-04 Alan Modra <amodra@gmail.com>
13119 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13120 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13121 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13122 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13123 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13124 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13125 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13126 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13127 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13128 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13130 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13131 Alistair Popple <alistair@ozlabs.au.ibm.com>
13132 Alan Modra <amodra@gmail.com>
13135 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13136 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13137 _dl_hwcap access for little-endian.
13138 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13139 destroy vmx regs when saving unaligned.
13140 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13141 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13142 destroy vmx regs when saving unaligned.
13144 2013-10-04 Alan Modra <amodra@gmail.com>
13146 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13147 Don't use a union to pack hi/low value.
13149 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13151 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13153 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13155 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13156 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13157 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13159 2013-10-04 Alan Modra <amodra@gmail.com>
13161 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13162 constants to usual value for .cst8 section, and remove redundant
13164 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13165 constant for 0x1p52. Load little-endian words of double from
13166 correct stack offsets.
13168 2013-10-04 Alan Modra <amodra@gmail.com>
13170 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13171 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13172 words of double from correct stack offsets.
13173 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13174 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13175 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13177 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13178 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13179 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13180 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13181 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13182 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13183 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13186 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13187 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13188 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13189 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13191 2013-10-04 Alan Modra <amodra@gmail.com>
13193 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13194 64-bit int/double union.
13195 (_FPU_SETCW): Likewise.
13196 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13197 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13199 2013-10-04 Alan Modra <amodra@gmail.com>
13201 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13202 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13204 2013-10-04 Alan Modra <amodra@gmail.com>
13206 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13207 use vector int constants.
13208 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13210 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13212 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13213 array with long long.
13214 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13215 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13216 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13217 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13218 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13219 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13220 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13221 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13222 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13223 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13224 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13225 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13226 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13228 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13230 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13231 (__signbit): Likewise. Correct for little-endian.
13232 (__signbitl): Call __signbit.
13233 (lrint): Correct for little-endian.
13234 (lrintf): Call lrint.
13236 2013-10-04 Alan Modra <amodra@gmail.com>
13238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13239 union 32-bit int array member with 64-bit int array.
13240 (t515, tm256): Double rather than long double.
13241 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13243 2013-10-04 Alan Modra <amodra@gmail.com>
13245 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13247 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13249 version of math_ldbl.h.
13251 2013-10-04 Alan Modra <amodra@gmail.com>
13253 [BZ #15734], [BZ #15735]
13254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13255 all uses of ieee875 long double macros and unions. Simplify test
13256 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13257 ldbl_extract_mantissa value for ix,iy exponents. Properly
13258 normalize after ldbl_extract_mantissa, and don't add hidden bit
13259 already handled. Don't treat low word of ieee854 mantissa like
13260 low word of IBM long double and mask off bit when testing for
13262 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13263 all uses of ieee875 long double macros and unions. Simplify tests
13264 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13265 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13266 two1022, instead use their values. Recognise that tests for large
13267 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13268 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13269 Rewrite all uses of ieee875 long double macros and unions. Simplify
13270 test for 0.0L and nan. Correct negation.
13271 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13272 ieee875 long double macros and unions. Correct output for large
13273 magnitude x. Correct absolute value calculation.
13274 (__erfcl): Likewise.
13275 * math/libm-test.inc: Add tests for errors discovered in IBM long
13276 double versions of fmodl, remainderl, erfl and erfcl.
13278 2013-10-04 Alan Modra <amodra@gmail.com>
13280 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13281 all uses of ieee854 long double macros and unions. Simplify tests
13282 for long doubles that are fully specified by the high double.
13283 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13285 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13286 Remove dead code too.
13287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13288 (__ieee754_ynl): Likewise.
13289 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13292 Remove dead code too.
13293 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13295 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13296 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13298 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13302 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13303 Comment on variable precision.
13304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13305 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13307 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13309 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13310 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13311 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13313 2013-10-04 Alan Modra <amodra@gmail.com>
13315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13316 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13317 all uses of ieee854 long double macros and unions.
13318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13320 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13323 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13326 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13328 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13329 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13331 Simplify sign and nan test too.
13332 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13333 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13334 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13335 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13337 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13338 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13340 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13341 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13342 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13343 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13344 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13347 2013-10-04 Alan Modra <amodra@gmail.com>
13349 * stdio-common/printf_size.c (__printf_size): Don't use
13350 union ieee854_long_double in fpnum union.
13351 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13352 signbit macro to retrieve sign from long double.
13353 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13354 retrieve sign from long double.
13355 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13356 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13357 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13358 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13359 * math/test-misc.c (main): Don't use union ieee854_long_double.
13361 2013-10-04 Alan Modra <amodra@gmail.com>
13364 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13365 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13366 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13367 calculation. Remove unnecessary test for denormal exponent.
13368 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13369 Correct handling of denormals. Avoid undefined shift behaviour.
13370 Correct normalisation of low mantissa when low double is denormal.
13371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13372 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13373 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13374 Correct normalisation of low mantissa. Test for overflow of high
13375 mantissa and normalise.
13376 (ldbl_nearbyint): Use more readable constant for two52.
13377 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13378 (__mpn_construct_long_double): Fix test for overflow of high
13379 mantissa and correct normalisation. Avoid undefined shift.
13381 2013-10-04 Alan Modra <amodra@gmail.com>
13383 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13384 (union ibm_extended_long_double): Define as an array of ieee754_double.
13385 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13386 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13387 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13388 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13397 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13399 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13400 page size instead of calling getpagesize.
13402 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13403 (LOCFILE_ALIGN_MASK): Likewise.
13404 (LOCFILE_ALIGN_UP): Likewise.
13405 (LOCFILE_ALIGNED_P): Likewise.
13406 * locale/programs/ld-collate.c (collate_output): Use the new
13407 macros instead of __alignof__ (int32_t).
13408 * locale/weight.h (findidx): Likewise.
13410 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13413 * manual/string.texi: Fix strncat and wcsncat.
13415 2013-10-03 Brooks Moses <bmoses@google.com>
13418 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13419 * Makerules: ...here, and adjust associated comments.
13421 2013-10-02 Will Newton <will.newton@linaro.org>
13423 * malloc/Makefile: Add tst-pvalloc.
13424 * malloc/tst-pvalloc.c: New file.
13426 2013-10-02 Will Newton <will.newton@linaro.org>
13428 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13429 improve test coverage.
13431 2013-10-02 Will Newton <will.newton@linaro.org>
13433 * malloc/Makefile: Add tst-posix_memalign.
13434 * malloc/tst-posix_memalign.c: New file.
13436 2013-10-01 Eric Blake <eblake@redhat.com>
13438 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13439 Use __THROWNL rather than __THROW on static functions.
13441 2013-09-30 Petr Machata <pmachata@redhat.com>
13443 * elf/elf.h (R_AARCH64_ABS16): New macro.
13444 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13445 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13446 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13447 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13448 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13449 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13450 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13451 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13452 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13453 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13454 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13455 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13456 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13457 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13458 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13459 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13460 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13461 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13462 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13463 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13464 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13465 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13466 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13467 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13468 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13469 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13470 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13471 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13472 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13473 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13474 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13475 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13476 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13477 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13478 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13479 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13480 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13481 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13482 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13483 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13484 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13485 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13486 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13487 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13488 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13489 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13490 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13491 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13492 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13493 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13494 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13495 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13496 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13497 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13498 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13499 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13500 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13501 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13502 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13503 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13504 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13505 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13506 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13507 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13508 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13509 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13510 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13511 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13512 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13513 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13514 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13515 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13516 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13517 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13518 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13519 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13520 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13521 (R_AARCH64_TLSDESC_LDR): Likewise.
13522 (R_AARCH64_TLSDESC_ADD): Likewise.
13523 (R_AARCH64_TLSDESC_CALL): Likewise.
13525 2013-09-30 Andreas Schwab <schwab@suse.de>
13528 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13529 the nss database lookup.
13530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13533 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13535 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13537 2013-09-28 P. J. McDermott <pj@pehjota.net>
13539 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13540 ${Bash-specific parameter/pattern/string} parameter expansion.
13541 * sysdeps/unix/make-syscalls.sh: Likewise.
13543 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13545 * sysdeps/sh/stackguard-macros.h: New file.
13547 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13551 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13553 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13554 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13556 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13558 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13559 Fix thread ID register.
13561 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13563 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13564 [POSIX || UNIX98]: Require rather than permitting all symbols from
13566 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13567 element of struct sched_param.
13568 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13569 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13570 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13571 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13574 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13576 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13577 argument calculation.
13579 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13581 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13583 [POSIX] (pthread_attr_t): Do not require type.
13584 [POSIX] (pthread_cond_t): Likewise.
13585 [POSIX] (pthread_condattr_t): Likewise.
13586 [POSIX] (pthread_key_t): Likewise.
13587 [POSIX] (pthread_mutex_t): Likewise.
13588 [POSIX] (pthread_mutexattr_t): Likewise.
13589 [POSIX] (pthread_once_t): Likewise.
13590 [POSIX] (pthread_t): Likewise.
13591 [POSIX-based standards] (pthread_atfork): Expect function.
13593 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13594 Richard Sandiford <richard@codesourcery.com>
13596 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13597 (swap_endianness_p): New extern variable.
13598 (set_big_endian): New inline function.
13599 (maybe_swap_uint32): Likewise.
13600 (maybe_swap_uint32_array): Likewise.
13601 (maybe_swap_uint32_obstack): Likewise.
13602 * locale/programs/locfile.c: Include <stdbool.h>.
13603 (swap_endianness_p): New variable.
13604 (add_locale_uint32): Call maybe_swap_uint32.
13605 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13606 (write_locale_data): Call maybe_swap_uint32_array.
13607 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13609 (obstack_int32_grow_fast): Likewise.
13610 (output_weightwc): Call maybe_swap_uint32_obstack.
13611 (collate_output): Likewise.
13612 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13613 (OPT_LITTLE_ENDIAN): Likewise.
13614 (options): Add --little-endian and --big-endian options.
13615 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13616 * locale/programs/locarchive.c: Include "locfile.h".
13620 (create_archive): Use the new macros to access fields of
13621 structures directly mapped from or written to locale archives.
13622 (oldlocrecentcmp): Likewise.
13623 (enlarge_archive): Likewise.
13624 (insert_name): Likewise.
13625 (add_alias): Likewise.
13626 (add_locale): Likewise.
13627 (delete_locales_from_archive): Likewise.
13628 (show_archive_content): Likewise.
13629 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13632 2013-09-24 Roland McGrath <roland@hack.frob.com>
13634 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13635 http://www.gnu.org/doc/freemanuals.texi.
13636 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13638 2013-09-24 Will Newton <will.newton@linaro.org>
13640 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13643 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13645 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13648 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13650 * manual/threads.texi (POSIX Threads): Fix a typo.
13652 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13655 * string/tst-strcoll-overflow.c: New test case.
13656 * string/Makefile (xtests): Add tst-strcoll-overflow.
13657 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13658 cache if string sizes may cause integer overflow.
13661 * string/strcoll_l.c (coll_seq): New members rule, idx,
13662 save_idx and back_us.
13663 (get_next_seq_nocache): New function.
13664 (do_compare_nocache): New function.
13665 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13668 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13671 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13672 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13673 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13676 * elf/Makefile (tests): Add tst-ptrguard1.
13677 (tests-static): Add tst-ptrguard1-static.
13678 (tst-ptrguard1-ARGS): Define.
13679 (tst-ptrguard1-static-ARGS): Define.
13680 * elf/tst-ptrguard1.c: New file.
13681 * elf/tst-ptrguard1-static.c: New file.
13682 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13683 * sysdeps/i386/stackguard-macros.h: Likewise.
13684 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13685 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13686 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13687 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13688 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13689 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13691 2013-09-23 Hector Marco <hecmargi@upv.es>
13692 Ismael Ripoll <iripoll@disca.upv.es>
13693 Carlos O'Donell <carlos@redhat.com>
13696 * sysdeps/generic/stackguard-macros.h: Define
13697 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13698 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13699 Define __pointer_chk_guard_local.
13700 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13701 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13703 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13706 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13708 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13710 * include/string.h (__ffs): Declare as hidden.
13711 * string/ffs.c (__ffs): Define as hidden.
13712 * sysdeps/i386/ffs.c (__ffs): Likewise.
13713 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13714 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13715 * sysdeps/s390/ffs.c (__ffs): Likewise.
13716 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13718 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13720 * NEWS: Mention malloc probes.
13722 * malloc/arena.c (new_heap): New memory_heap_new probe.
13723 (grow_heap): New memory_heap_more probe.
13724 (shrink_heap): New memory_heap_less probe.
13725 (heap_trim): New memory_heap_free probe.
13726 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13727 (systrim): New memory_sbrk_less probe.
13728 * manual/probes.texi: Document them.
13730 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13731 * manual/probes.texi: Document it.
13733 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13734 (__libc_realloc): Add memory_realloc_retry probe.
13735 (__libc_memalign): Add memory_memalign_retry probe.
13736 (__libc_valloc): Add memory_valloc_retry probe.
13737 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13738 (__libc_calloc): Add memory_calloc_retry probe.
13739 * manual/probes.texi: Document them.
13741 * malloc/arena.c (get_free_list): Add probe
13742 memory_arena_reuse_free_list.
13743 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13744 and memory_arena_reuse.
13745 (arena_get2) [!PER_THREAD]: Likewise.
13746 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13747 memory_arena_reuse_realloc.
13748 * manual/probes.texi: Document them.
13750 * malloc/malloc.c (__libc_free): Add
13751 memory_mallopt_free_dyn_thresholds probe.
13752 (__libc_mallopt): Add multiple memory_mallopt probes.
13753 * manual/probes.texi: Document them.
13755 * malloc/malloc.c: Include stap-probe.h.
13756 (__libc_mallopt): Add memory_mallopt probe.
13757 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13758 * manual/probes.texi: New.
13759 * manual/Makefile (chapters): Add probes.
13760 * manual/threads.texi: Set next node.
13762 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13764 [BZ #15963, #13985]
13765 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13766 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13767 Add `Chinese' to `nan' entry name.
13769 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13771 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13772 (POLYNOMIAL): Likewise.
13773 (TAYLOR_SINCOS): Likewise.
13774 (TAYLOR_SLOW): Likewise.
13775 (__sin): Use TAYLOR_SINCOS.
13777 (slow): Use TAYLOR_SLOW.
13779 (bsloww): Likewise.
13780 (csloww): Likewise.
13782 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13784 * stdlib/strtod_l.c: Fix buffer overrun.
13786 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13788 * benchtests/Makefile (bench): Add sincos.
13789 * benchtests/bench-sincos.c: New file.
13791 * math/libm-test.inc (cos_test_data): New test inputs.
13792 (sin_test_data): Likewise.
13794 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13800 (sloww1): Likewise.
13801 (sloww2): Likewise.
13802 (bsloww1): Likewise.
13803 (bsloww2): Likewise.
13804 (cslow2): Likewise.
13805 (csloww1): Likewise.
13806 (csloww2): Likewise.
13808 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13817 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13819 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13820 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13821 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13822 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13823 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13824 * elf/cache.c (print_entry): Handle the new cache flags.
13826 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13827 Aldy Hernandez <aldyh@redhat.com>
13829 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13830 Change condition to [_SOFT_FLOAT].
13831 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13834 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13846 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13849 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13851 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13852 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13853 (__longjmp): Use LOAD_GP to load saved GPRs.
13854 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13855 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13856 (__sigsetjmp): Use SAVE_GP to save GPRs.
13858 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13859 Do not append -msoft-float.
13860 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13862 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13864 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13866 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13869 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13870 (_FPU_GETCW): Use initial "__" on variable and field names but not
13871 on macro parameter name.
13872 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13873 parentheses around reference to macro parameter.
13875 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13877 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13879 (ctype_startup): Use uint32_t in cast and sizeof for
13882 2013-09-11 Jia Liu <proljc@gmail.com>
13884 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13886 [__FreeBSD__]: Likewise.
13888 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13891 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13892 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13893 (strchr): Remove __strchr_sse42 ifunc selection.
13894 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13895 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13897 2013-09-11 Will Newton <will.newton@linaro.org>
13899 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13900 parameter to RES. Remove hardcoded 1000 value.
13901 * benchtests/bench-skeleton.c (main): Pass RES parameter
13902 to TIMING_INIT and multiply result by 1000.
13904 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13908 2013-09-11 Andreas Schwab <schwab@suse.de>
13910 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13912 (O_TMPFILE) [__USE_GNU]: Define.
13913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13916 2013-09-11 Will Newton <will.newton@linaro.org>
13919 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13922 2013-09-11 Will Newton <will.newton@linaro.org>
13925 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13928 2013-09-11 Will Newton <will.newton@linaro.org>
13931 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13934 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13936 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13942 2013-09-10 Allan McRae <allan@archlinux.org>
13945 * manual/arith.texi (Parsing of Floats): Clarify
13949 * manual/install.texi (Running make install): Mention
13951 * INSTALL: Regenerated.
13953 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13955 * csu/init-first.c (_init): Remove the !SHARED condition around
13956 FPU control word initialization.
13957 * elf/dl-support.c (_dl_fpu_control): New variable.
13958 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13959 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13960 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13961 * math/test-fpucw-static.c: New file.
13962 * math/test-fpucw-ieee.c: New file.
13963 * math/test-fpucw-ieee-static.c: New file.
13964 * math/Makefile (tests): Add `test-fpucw-ieee' and
13966 (tests-static): New variable.
13967 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13969 [($(build-shared),yes)]
13970 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13972 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13975 2013-09-09 Allan McRae <allan@archlinux.org>
13978 * manual/string.texi (Collation Functions): Fix typo in
13980 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13983 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13986 * libio/memstream.c (open_memstream): Fix memory leak.
13987 * libio/wmemstream.c (open_wmemstream): Likewise.
13990 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13992 2013-09-09 Will Newton <will.newton@linaro.org>
13994 * malloc/Makefile: Add tst-realloc to tests.
13995 * malloc/tst-realloc.c: New file.
13997 2013-09-09 Allan McRae <allan@archlinux.org>
14000 * COPYING: Update from GNU website to fix FSF address.
14001 * COPYING.LIB: Likewise.
14003 2013-09-06 David S. Miller <davem@davemloft.net>
14005 * po/zh_TW.po: Update Chinese (traditional) translation from
14006 translation project.
14008 2013-09-06 Richard Sandiford <richard@codesourcery.com>
14009 Joseph Myers <joseph@codesourcery.com>
14011 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14013 (obstack_chunk_alloc): New macro.
14014 (obstack_chunk_free): Likewise.
14015 (record_offset): New function.
14016 (init_locale_data): Likewise.
14017 (align_locale_data): Likewise.
14018 (add_locale_empty): Likewise.
14019 (add_locale_raw_data): Likewise.
14020 (add_locale_raw_obstack): Likewise.
14021 (add_locale_string): Likewise.
14022 (add_locale_wstring): Likewise.
14023 (add_locale_uint32): Likewise.
14024 (add_locale_uint32_array): Likewise.
14025 (add_locale_char): Likewise.
14026 (start_locale_structure): Likewise.
14027 (end_locale_structure): Likewise.
14028 (start_locale_prelude): Likewise.
14029 (end_locale_prelude): Likewise.
14030 (write_locale_data): Take locale_file structure rather than an
14032 * locale/programs/locfile.h: Include "obstack.h".
14033 (struct locale_file): Change to store locale file contents instead
14035 (init_locale_data): New prototype.
14036 (align_locale_data): Likewise.
14037 (add_locale_empty): Likewise.
14038 (add_locale_raw_data): Likewise.
14039 (add_locale_raw_obstack): Likewise.
14040 (add_locale_string): Likewise.
14041 (add_locale_wstring): Likewise.
14042 (add_locale_uint32): Likewise.
14043 (add_locale_uint32_array): Likewise.
14044 (add_locale_char): Likewise.
14045 (start_locale_structure): Likewise.
14046 (end_locale_structure): Likewise.
14047 (start_locale_prelude): Likewise.
14048 (end_locale_prelude): Likewise.
14049 (write_locale_data): Update prototype.
14050 * locale/programs/3level.h (struct TABLE): Remove result field.
14051 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14052 Use new locale_file interface.
14053 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14054 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14055 * locale/programs/ld-address.c (address_output): Use new
14056 locale_file interface.
14057 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14059 (collate_finish): Don't call collseq_table_finalize.
14060 (collate_output): Use new locale_file interface.
14061 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14063 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14064 (TABLE): Move defines earlier in file.
14065 (ELEMENT): Likewise.
14066 (DEFAULT): Likewise.
14067 (wctrans_table_add): Move macro and inline function earlier in
14069 (struct wctype_table): Move type earlier in file.
14070 (add_locale_wctype_table): New static prototype.
14071 (struct locale_ctype_t): Use logical types instead of struct iovec
14072 pointers for members.
14073 (ctype_output): Use new locale_file interface.
14074 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14075 new locale_file interface.
14076 (allocate_arrays): Update for use of new locale_file interface.
14077 * locale/programs/ld-identification.c (identification_output): Use
14078 new locale_file interface.
14079 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14080 * locale/programs/ld-messages.c (messages_output): Likewise.
14081 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14082 * locale/programs/ld-name.c (name_output): Likewise.
14083 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14084 * locale/programs/ld-paper.c (paper_output): Likewise.
14085 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14086 * locale/programs/ld-time.c (time_output): Likewise.
14088 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090 * benchtests/Makefile: Add memrchr benchmark.
14091 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14092 benchmark as memrchr.
14093 * benchtests/bench-memrchr-ifunc.c: New file.
14094 * benchtests/bench-memrchr.c: New file.
14096 2013-09-06 Will Newton <will.newton@linaro.org>
14098 * benchtests/Makefile (string-bench): Add memcpy.
14100 2013-09-05 Carlos O'Donell <carlos@redhat.com>
14101 Cong Wang <amwang@redhat.com>
14104 * sysdeps/unix/sysv/linux/bits/in.h
14105 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14106 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14107 before __USE_KERNEL_IPV6_DEFS uses.
14108 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14110 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14111 sockaddr_in6, or ipv6_mreq.
14113 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14115 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14116 memory access for final bytes in some large inputs.
14117 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14119 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14121 * string/test-memrchr.c: New file.
14122 * string/test-memrchr-ifunc.c: New file.
14123 * string/Makefile: Add new memrchr testcase.
14125 2013-09-05 Mike Frysinger <vapier@gentoo.org>
14127 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14128 fanotify_init returns EPERM.
14130 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14132 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14134 (top level): Treat second token from macro or constant entries for
14135 allowed headers as allowed.
14136 * include/complex.h: Condition internal declarations on
14138 * include/fenv.h: Condition include of <stdbool.h> and internal
14139 declarations on [!_ISOMAC].
14141 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14144 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14146 2013-09-04 Joseph Myers <joseph@codesourcery.com>
14148 * configure.in (--enable-versioning): Remove configure option.
14149 (libc_cv_asm_symver_directive): Remove configure test.
14150 (libc_cv_ld_version_script_option): Likewise.
14151 (VERSIONING): Remove variable and AC_SUBST.
14152 (DO_VERSIONING): Remove AC_DEFINE.
14153 * configure: Regenerated.
14154 * config.h.in (DO_VERSIONING): Remove macro.
14155 * Makerules [$(versioning) = yes]: Change conditionals to
14156 [$(build-shared) = yes].
14157 * config.make.in (versioning): Remove variable.
14158 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14159 [$(build-shared) = yes].
14160 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14161 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14162 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14163 [$(build-shared) = yes].
14164 * extra-lib.mk [$(versioning) = yes]: Likewise.
14165 * hurd/Makefile [$(versioning) = yes]: Likewise.
14166 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14168 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14170 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14171 [SHARED && !NO_HIDDEN].
14172 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14174 [SHARED && DO_VERSIONING]: Likewise..
14175 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14176 [$(build-shared) = yes].
14177 * manual/install.texi (--disable-versioning): Remove
14179 * INSTALL: Regenerated.
14180 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14182 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14183 [$(build-shared) = yes].
14184 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14185 * sysdeps/i386/i686/multiarch/strstr-c.c
14186 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14187 [SHARED && !NO_HIDDEN].
14188 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14189 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14190 * sysdeps/powerpc/powerpc32/dl-machine.c
14191 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14192 * sysdeps/powerpc/powerpc32/sysdep.h
14193 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14194 to [SHARED && PIC && !NO_HIDDEN].
14195 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14196 conditional to [SHARED].
14198 2013-09-04 Will Newton <will.newton@linaro.org>
14200 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14201 * benchtests/bench-string.h: Include bench-timing.h instead
14202 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14203 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14204 call to HP_TIMING_DIFF_INIT.
14205 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14206 instead of hp-timing.h macros.
14207 * benchtests/bench-memchr.c: Likewise.
14208 * benchtests/bench-memcmp.c: Likewise.
14209 * benchtests/bench-memcpy.c: Likewise.
14210 * benchtests/bench-memmem.c: Likewise.
14211 * benchtests/bench-memmove.c: Likewise.
14212 * benchtests/bench-memset.c: Likewise.
14213 * benchtests/bench-rawmemchr.c: Likewise.
14214 * benchtests/bench-strcasecmp.c: Likewise.
14215 * benchtests/bench-strcasestr.c: Likewise.
14216 * benchtests/bench-strcat.c: Likewise.
14217 * benchtests/bench-strchr.c: Likewise.
14218 * benchtests/bench-strcmp.c: Likewise.
14219 * benchtests/bench-strcpy.c: Likewise.
14220 * benchtests/bench-strcpy_chk.c: Likewise.
14221 * benchtests/bench-strlen.c: Likewise.
14222 * benchtests/bench-strncasecmp.c: Likewise.
14223 * benchtests/bench-strncat.c: Likewise.
14224 * benchtests/bench-strncmp.c: Likewise.
14225 * benchtests/bench-strncpy.c: Likewise.
14226 * benchtests/bench-strnlen.c: Likewise.
14227 * benchtests/bench-strpbrk.c: Likewise.
14228 * benchtests/bench-strrchr.c: Likewise.
14229 * benchtests/bench-strspn.c: Likewise.
14230 * benchtests/bench-strstr.c: Likewise.
14232 2013-09-04 Will Newton <will.newton@linaro.org>
14234 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14236 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14239 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14240 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14241 * math/libm-test.inc (lgamma_test_data): Add more tests.
14242 * sysdeps/i386/fpu/libm-test-ulps: Update.
14243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14245 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14247 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14251 Add strcmp-sse2-unaligned
14252 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14254 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14256 * Versions.def (libc): Add GLIBC_2.19.
14258 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14260 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14261 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14263 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14266 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14267 intermediate calculations in recurrence.
14268 (__ieee754_ynf): Likewise.
14269 * math/libm-test.inc (jn_test_data): Do not allow spurious
14270 underflow exception. Add more tests.
14271 (yn_test_data): Add more tests.
14272 * sysdeps/i386/fpu/libm-test-ulps: Update.
14273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14275 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14277 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14279 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14281 * csu/init-first.c: Fix then/than typos.
14282 * locale/programs/ld-collate.c: Likewise.
14283 * locale/programs/linereader.h: Likewise.
14284 * manual/charset.texi: Likewise.
14285 * manual/filesys.texi: Likewise.
14286 * manual/stdio.texi: Likewise.
14287 * manual/string.texi: Likewise.
14288 * stdlib/fmtmsg.c: Likewise.
14289 * sysdeps/i386/stpncpy.S: Likewise.
14290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14291 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14292 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14293 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14295 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14297 * elf/dl-open.c: Fix typos.
14298 * iconvdata/gbbig5.c: Likewise.
14299 * iconvdata/iso-2022-jp.c: Likewise.
14300 * iconv/gconv_int.h: Likewise.
14301 * iconv/loop.c: Likewise.
14302 * nis/rpcsvc/nis.h: Likewise.
14303 * resolv/ns_name.c: Likewise.
14304 * stdio-common/vfscanf.c: Likewise.
14305 * streams/stropts.h: Likewise.
14306 * sunrpc/rpc_thread.c: Likewise.
14307 * sysdeps/i386/strpbrk.S: Likewise.
14308 * sysdeps/ieee754/k_standard.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14311 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14312 * sysdeps/mach/hurd/profil.c: Likewise.
14313 * sysdeps/s390/dl-procinfo.h: Likewise.
14314 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14315 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14316 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14317 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14318 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14320 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14322 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14325 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14327 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14328 aix specific files.
14329 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14330 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14331 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14334 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14335 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14336 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14338 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14339 Roland McGrath <roland@hack.frob.com>
14341 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14342 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14344 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14346 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14347 __executable_start symbol instead of _start.
14349 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14351 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14352 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14354 * sysdeps/gnu/ldsodefs.h: ... this new file.
14356 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14357 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14358 instead of ELFOSABI_LINUX.
14360 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14361 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14362 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14363 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14365 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14366 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14367 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14369 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14370 (ibm_extended_long_double): Add ieee_nan member.
14371 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14372 (do_test): New function.
14374 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14376 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14377 functions, renamed from truncdfsf_test, trunctfsf_test,
14379 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14381 (do_test): Run all these.
14383 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14385 * argp/argp-help.c: Fix typos.
14386 * argp/argp-parse.c: Likewise.
14387 * debug/backtracesyms.c: Likewise.
14388 * elf/elf.h: Likewise.
14389 * malloc/malloc.c: Likewise.
14390 * nis/nis_print.c: Likewise.
14391 * resolv/res_comp.c: Likewise.
14392 * stdlib/stdlib.h: Likewise.
14393 * sunrpc/clnt_tcp.c: Likewise.
14394 * sunrpc/clnt_udp.c: Likewise.
14395 * sunrpc/clnt_unix.c: Likewise.
14396 * sysdeps/unix/bsd/ptsname.c: Likewise.
14397 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14398 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14405 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14407 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14409 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14412 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14415 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14416 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14417 ($(objpfx)bug-dl-leaf): New rule.
14418 ($(objpfx)bug-dl-leaf.so): Likewise.
14419 ($(objpfx)bug-dl-leaf.out): Likewise.
14420 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14421 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14422 * dlfcn/bug-dl-leaf.c: New test.
14423 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14424 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14425 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14426 (dlclose): Likewise.
14427 (dlmopen): Likewise.
14429 2013-08-27 Roland McGrath <roland@hack.frob.com>
14431 * include/netdb.h [!_ISOMAC]:
14432 Don't include <tls.h>.
14433 (h_errno, __libc_h_errno): Move declaration and macros out of
14436 * include/resolv.h [_RESOLV_H_]:
14437 Don't include <tls.h>.
14438 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14439 * resolv/res_libc.c: Don't include <tls.h>.
14440 (_res): Use __attribute__ ((nocommon)) in place of
14441 __attribute__ ((section (".bss"))).
14443 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14444 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14446 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14448 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14449 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14451 * resolv/res_mkquery.c: Include <sys/time.h>.
14453 * inet/ifreq.c: Moved to ...
14454 * sysdeps/unix/ifreq.c: ... here.
14455 * inet/ifreq.c: New file, true stub version.
14457 * socket/sa_len.c: New file.
14458 * socket/Makefile (aux): Add it.
14459 * sysdeps/unix/sysv/linux/Makefile
14460 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14461 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14462 and #include <socket/sa_len.c>.
14463 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14464 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14466 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14467 * bits/socket.h: ... here.
14469 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14470 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14471 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14473 2013-08-27 Andreas Schwab <schwab@suse.de>
14476 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14477 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14478 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14479 * string/test-strcasecmp.c (test_main): Run tests in several
14481 * string/test-strncasecmp.c (test_main): Likewise.
14483 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14484 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14485 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14487 (__strncasecmp_ssse3) [PIC]: Likewise.
14489 2013-08-26 Roland McGrath <roland@hack.frob.com>
14491 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14493 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14494 instead of explicitly declaring xdecrypt.
14495 * nis/nss_nis/nis-publickey.c: Likewise.
14497 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14500 * nscd/aicache.c: Include res_hconf.h.
14501 (addhstaiX): Initialize res_hconf.
14503 2013-08-26 Andreas Schwab <schwab@suse.de>
14505 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14506 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14508 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14510 * nscd/aicache.c (addhstaiX): Fix indentation.
14512 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14514 * configure.ac: Quote $build_pt_chown test.
14515 * configure: Regenerated.
14517 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14520 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14521 * math/s_cexpf.c (__cexpf): Likewise.
14522 * math/s_cexpl.c (__cexpl): Likewise.
14523 * math/libm-test.inc (cexp_test_data): Correct expected return
14524 value for NaN + i0. Add another test.
14526 2013-08-22 David S. Miller <davem@davemloft.net>
14528 * po/ca.po: Update Catalan translation from translation project.
14529 * po/uk.po: Add Ukrainian translations from translation project.
14531 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14534 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14535 is infinite, not alongside NaN test.
14536 * math/s_fdimf.c (__fdimf): Likewise.
14537 * math/s_fdiml.c (__fdiml): Likewise.
14538 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14539 errno is unchanged.
14541 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14543 * argp/argp-help.c: Fix typos.
14544 * crypt/speeds.c: Likewise.
14545 * csu/check_fds.c: Likewise.
14546 * elf/dl-load.c: Likewise.
14547 * elf/dl-open.c: Likewise.
14548 * elf/reldep3.c: Likewise.
14549 * elf/reldep.c: Likewise.
14550 * elf/sprof.c: Likewise.
14551 * iconv/iconv_charmap.c: Likewise.
14552 * iconv/skeleton.c: Likewise.
14553 * iconv/strtab.c: Likewise.
14554 * io/lockf64.c: Likewise.
14555 * libio/libioP.h: Likewise.
14556 * resolv/gai_notify.c: Likewise.
14557 * resolv/ns_name.c: Likewise.
14558 * resolv/ns_samedomain.c: Likewise.
14559 * resolv/res_send.c: Likewise.
14560 * stdlib/random.c: Likewise.
14561 * sunrpc/rpc/xdr.h: Likewise.
14562 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14563 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14564 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14565 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14567 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14570 * sysdeps/mach/hurd/check_fds.c: Likewise.
14571 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14572 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14573 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14574 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14575 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14576 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14577 * sysdeps/pthread/aio_notify.c: Likewise.
14578 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14579 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14580 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14581 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14582 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14584 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14586 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14587 version if bit_Slow_SSE4_2 is set.
14588 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14589 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14591 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14594 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14595 trampoline stack frame information.
14596 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14598 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14599 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14600 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14601 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14602 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14603 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14605 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14606 interrupting a syscall and set with option SA_SIGINFO.
14608 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14611 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14612 argument is infinite.
14613 * math/s_cprojf.c (__cprojf): Likewise.
14614 * math/s_cprojl.c (__cprojl): Likewise.
14615 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14616 * math/libm-test.inc (cproj_test_data): Add more tests.
14618 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14620 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14621 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14622 size. Use __ffs to determine corresponding shift.
14624 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14625 Roland McGrath <roland@hack.frob.com>
14627 * Makefile (INSTALL): Remove trailing blank lines from output of
14630 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14632 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14633 Align 32 bit compat elf_greg to 8 bytes.
14635 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14637 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14639 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14641 * string/strcoll_l.c (coll_seq): New structure.
14642 (get_next_seq_cached): New function.
14643 (get_next_seq): New function.
14644 (do_compare): New function.
14645 (STRCOLL): Use GNU style definition. Simplify implementation
14646 by using get_next_seq, get_next_seq_cached and do_compare.
14648 2013-08-16 Florian Weimer <fweimer@redhat.com>
14652 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14654 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14656 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14657 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14658 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14660 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14661 GETDENTS_64BIT_ALIGNED.
14662 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14663 * manual/filesys.texi (Reading/Closing Directory): Document
14664 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14666 * manual/conf.texi (Limits for Files): Add portability note to
14667 NAME_MAX, PATH_MAX.
14668 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14670 2013-08-13 Andreas Schwab <schwab@suse.de>
14673 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14675 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14676 LDBL_MAX_EXP >= 16384]: Add tests for it.
14678 2013-08-12 David S. Miller <davem@davemloft.net>
14680 * version.h (RELEASE): Set to "development".
14681 (VERSION): Set to "2.18.90".
14682 * NEWS: Add 2.19 section.
14684 2013-08-03 David S. Miller <davem@davemloft.net>
14686 * po/ko.po: Update Korean translation from translation project.
14688 2013-08-01 David S. Miller <davem@davemloft.net>
14690 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14691 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14694 2013-07-30 David S. Miller <davem@davemloft.net>
14696 * po/fr.po: Update French translation from translation project.
14698 2013-07-28 David S. Miller <davem@davemloft.net>
14700 * po/cs.po: Update Czech translation from translation project.
14702 * po/sv.po: Update Swedish translation from translation project.
14704 2013-07-27 David S. Miller <davem@davemloft.net>
14706 * po/eo.po: Update Esperanto translation from translation project.
14708 * po/vi.po: Update Vietnamese translation from translation project.
14710 * po/de.po: Update German translation from translation project.
14712 2013-07-26 David S. Miller <davem@davemloft.net>
14714 * po/bg.po: Update Bulgarian translation from translation project.
14716 * po/nl.po: Update Dutch translation from translation project.
14717 * po/pl.po: Update Polish translation from translation project.
14718 * po/ru.po: Update Russian translation from translation project.
14720 2013-07-24 David S. Miller <davem@davemloft.net>
14722 * po/libc.pot: Update.
14724 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14726 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14727 variable page size.
14728 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14729 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14730 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14732 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14734 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14736 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14737 Andreas Schwab <schwab@suse.de>
14738 Roland McGrath <roland@hack.frob.com>
14739 Joseph Myers <joseph@codesourcery.com>
14740 Carlos O'Donell <carlos@redhat.com>
14743 * config.h.in: Define HAVE_PT_CHOWN.
14744 * config.make.in (build-pt-chown): New variable.
14745 * configure.in (--enable-pt_chown): New configure option.
14746 * configure: Regenerate.
14747 * login/Makefile: Include Makeconfig. Build pt_chown only if
14748 build-pt-chown is enabled.
14749 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14750 pt_chown to fix pty ownership.
14751 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14753 * manual/install.texi (Configuring and compiling): Mention
14754 --enable-pt_chown. Add @findex for grantpt.
14755 * INSTALL: Regenerate.
14757 2013-07-20 David S. Miller <davem@davemloft.net>
14759 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14760 difference between 32-bit and 64-bit.
14762 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14765 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14766 Avoid system header dependency with -ffreestanding.
14767 ($(objpfx)bits/syscall%d): Likewise.
14769 2013-07-13 David S. Miller <davem@davemloft.net>
14771 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14772 underflows from atanl/atan2l due to bug 15319.
14773 (casinh_test_data): Likewise.
14775 2013-07-07 David S. Miller <davem@davemloft.net>
14777 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14779 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14781 * sysdeps/i386/fpu/libm-test-ulps: Update.
14782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14786 * configure.in (--enable-lock-elision): Fix message text.
14787 * INSTALL: Regenerate.
14788 * configure: Regenerate.
14790 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14794 2013-07-03 Andreas Jaeger <aj@suse.de>
14796 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14798 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14799 (ptrace_peeksiginfo_args): Add.
14800 (__ptrace_peeksiginfo_flags): Add.
14801 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14803 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14805 2013-07-03 Allan McRae <allan@archlinux.org>
14807 * sysdeps/i386/fpu/libm-test-ulps: Update.
14809 2013-07-02 David S. Miller <davem@davemloft.net>
14811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14813 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14817 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14819 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14822 2013-07-02 Andi Kleen <ak@linux.intel.com>
14824 * config.h.in (ENABLE_LOCK_ELISION): Add.
14825 * configure.in (--enable-lock-elision): Add option.
14826 * manual/install.texi: Document --enable lock elision.
14827 * configure: Regenerate
14828 * INSTALL: Regenerate.
14830 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14832 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14833 SSE4.2 strcasecmp for libc.a.
14834 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14836 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14839 * soft-fp/op-common.h (_FP_FMA): New macro.
14840 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14841 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14842 (_FP_MUL_MEAT_1_imm): ... here.
14843 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14844 (_FP_MUL_MEAT_1_wide): ... here.
14845 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14846 (_FP_MUL_MEAT_1_hard): ... here.
14847 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14848 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14849 (_FP_MUL_MEAT_2_wide): ... here.
14850 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14851 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14852 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14853 (_FP_MUL_MEAT_2_gmp): ... here.
14854 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14855 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14856 (_FP_MUL_MEAT_4_wide): ... here.
14857 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14858 (_FP_MUL_MEAT_4_gmp): ... here.
14859 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14860 (_FP_WFRACBITS_DW_S): Likewise.
14861 (_FP_WFRACXBITS_DW_S): Likewise.
14862 (_FP_HIGHBIT_DW_S): Likewise.
14863 (FP_FMA_S): Likewise.
14864 (_FP_FRAC_HIGH_DW_S): Likewise.
14865 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14866 (_FP_WFRACBITS_DW_D): Likewise.
14867 (_FP_WFRACXBITS_DW_D): Likewise.
14868 (_FP_HIGHBIT_DW_D): Likewise.
14869 (FP_FMA_D): Likewise.
14870 (_FP_FRAC_HIGH_DW_D): Likewise.
14871 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14872 (_FP_WFRACBITS_DW_E): Likewise.
14873 (_FP_WFRACXBITS_DW_E): Likewise.
14874 (_FP_HIGHBIT_DW_E): Likewise.
14875 (FP_FMA_E): Likewise.
14876 (_FP_FRAC_HIGH_DW_E): Likewise.
14877 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14878 (_FP_WFRACBITS_DW_Q): Likewise.
14879 (_FP_WFRACXBITS_DW_Q): Likewise.
14880 (_FP_HIGHBIT_DW_Q): Likewise.
14881 (FP_FMA_Q): Likewise.
14882 (_FP_FRAC_HIGH_DW_Q): Likewise.
14883 * soft-fp/fmasf4.c: New file.
14884 * soft-fp/fmadf4.c: Likewise.
14885 * soft-fp/fmatf4.c: Likewise.
14887 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14890 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14892 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14894 (index_Slow_SSE4_2): Likewise.
14895 (index_Prefer_PMINUB_for_stringop): Likewise.
14896 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14897 bit_Slow_SSE4_2 is set.
14898 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14899 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14901 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14903 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14904 rtld_global._dl_hwcap2.
14905 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14907 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14908 POWER8 feature descriptions defined in _dl_hwcap2.
14909 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14910 string handling for POWER8 feature bits.
14911 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14912 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14913 _dl_powerpc_cap_flags.
14914 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14915 * sysdeps/powerpc/rtld-global-offsets.sym
14916 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14917 _dl_hwcap2 in the rtld_global_ro structure.
14919 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14921 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14922 hardware capabilities in support of AT_HWCAP2.
14923 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14924 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14926 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14927 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14928 explicitly the unknown a_type display mechanism is used.
14929 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14930 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14932 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14933 to macro prototype for AT_HWCAP2 support.
14934 * sysdeps/i386/dl-procinfo.h: Likewise.
14935 * sysdeps/s390/dl-procinfo.h: Likewise.
14936 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14937 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14938 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14939 return -1 for unknown a_type display fallback.
14940 * sysdeps/sparc/dl-procinfo.h: Likewise.
14941 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14942 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14944 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14946 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14947 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14949 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14952 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14953 mprotect making __stack_prot writable.
14955 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14956 Joseph Myers <joseph@codesourcery.com>
14958 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14959 as being properly aligned.
14961 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14963 * dlfcn/modstatic5.c: New file.
14964 * dlfcn/tststatic5.c: New file.
14965 * dlfcn/Makefile (tests): Add tststatic5.
14966 (tests-static): Likewise.
14967 (modules-names): Add modstatic5.
14968 (tststatic5-ENV): New variable.
14969 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14972 * elf/dl-support.c (_dl_main_map): New variable.
14973 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14974 (_dl_nns, _dl_load_adds): Set to 1.
14975 (_dl_initial_searchlist): Refer to _dl_main_map.
14976 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14977 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14978 call to _dl_get_origin.
14979 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14981 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14982 * dlfcn/modstatic3.c: New file.
14983 * dlfcn/tststatic3.c: New file.
14984 * dlfcn/tststatic4.c: New file.
14985 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14986 (tests-static): Likewise.
14987 (modules-names): Add modstatic3.
14988 (tststatic3-ENV, tststatic4-ENV): New variables.
14989 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14990 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14992 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14994 * configure.in (CC): Require GCC version 4.4 or later.
14995 * configure: Regenerated.
14996 * manual/install.texi (Tools for Compilation): Update GCC version
14998 * INSTALL: Regenerated.
15000 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15003 * string/test-memcmp.c (check2): New.
15004 (main): Call check2.
15006 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15008 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15011 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15013 (dl_open_worker) [!SHARED]: ... here.
15015 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15017 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15019 2013-06-25 Richard Henderson <rth@redhat.com>
15021 * locale/programs/locarchive.c: Include <libc-internal.h>
15023 2013-06-25 Joseph Myers <joseph@codesourcery.com>
15025 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15026 trailing whitespace removed.
15028 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15031 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15032 * locale/programs/locarchive.c: Include libc-mmap.h.
15033 (prepare_address_space): Take two new outputs (the mmap base and len).
15034 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15036 (create_archive): Declare new mmap base and len values for
15037 prepare_address_space, and store the result in ah.
15038 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15039 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15040 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15041 Declare new mmap base and len values for
15042 prepare_address_space, and store the result in new_ah.
15043 (open_archive): Declare new mmap base and len values for
15044 prepare_address_space, and store the result in ah.
15045 (close_archive): If ah->mmap_base is not NULL, use that and
15046 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15047 * sysdeps/generic/libc-mmap.h: New file.
15049 2013-06-24 Mike Frysinger <vapier@gentoo.org>
15051 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15052 (ALIGN_UP): Likewise.
15053 (PTR_ALIGN_DOWN): Likewise.
15054 (PTR_ALIGN_UP): Likewise.
15056 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15058 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15059 entry mapped to PPC_PLATFORM_POWER8.
15060 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15062 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15063 (_dl_string_platform): Add case for exporting platform position for
15065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15066 search path to sysdeps/powerpc/powerpc32/power8 directory.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15068 search path to sysdeps/powerpc/powerpc64/power8 directory.
15069 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15070 power7 directories.
15071 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15072 power7 directories.
15074 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15076 * INSTALL: Regenerate.
15078 * nscd/connections.c (nscd_init): Fix comment.
15080 2013-06-22 Joseph Myers <joseph@codesourcery.com>
15082 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15085 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15086 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15088 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15090 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15092 (DL_DST_REQ_STATIC): Remove macro.
15094 2013-06-21 Joseph Myers <joseph@codesourcery.com>
15097 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15098 with a shift of 0 bits.
15100 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15102 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15105 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15108 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15110 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15112 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15113 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15114 accepts -fno-tree-loop-distribute-patterns.
15115 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15116 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15118 * string/memset.c (memset): Likewise.
15119 * string/test-memmove.c (simple_memmove): Disable loop transformation
15121 * string/test-memset.c (simple_memset): Likewise.
15122 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15123 * benchtests/bench-memset.c (simple_memset): Likewise.
15124 * configure: Regenerated.
15126 2013-06-20 Joseph Myers <joseph@codesourcery.com>
15128 * math/test-misc.c (main): Ignore fesetround failure when failures
15129 of subsequent rounding tests would be ignored.
15132 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15133 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15134 * math/fegetenv.c (__fegetenv): Return 0.
15135 * math/fegetexcept.c (fegetexcept): Return 0.
15136 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15138 * math/feholdexcpt.c (feholdexcept): Return 0.
15139 * math/fesetenv.c (__fesetenv): Return 0.
15140 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15141 argument FE_TONEAREST.
15142 * math/feupdateenv.c (__feupdateenv): Return 0.
15143 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15145 2013-06-18 Roland McGrath <roland@hack.frob.com>
15147 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15148 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15149 ($(objpfx)rtld-%.os rules): Use them.
15151 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15153 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15156 2013-06-17 Roland McGrath <roland@hack.frob.com>
15158 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15159 length of target pattern, then descending length of dependency pattern.
15160 * configure.in (AWK): Require gawk 3.1.2 or newer.
15161 * manual/install.texi (Tools for Compilation): Say that we do.
15162 * configure: Regenerated.
15164 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15165 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15166 * scripts/sysd-rules.awk: ... this new script.
15167 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15168 than a glob-style pattern.
15170 2013-06-17 Joseph Myers <joseph@codesourcery.com>
15172 * math/test-misc.c (main): Do not treat incorrectly rounded
15173 conversions as failure unless ROUNDING_TESTS passes.
15175 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15178 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15179 restore exception state around main square root computation, then
15180 check for inexactness explicitly.
15182 * math/libm-test.inc (fma_test_data): Add another test.
15184 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15186 * manual/threads.texi (Non-POSIX Extensions): New document
15187 node. Document pthread_getattr_default_np and
15188 pthread_setattr_default_np.
15190 * Versions.def (libpthread): Add GLIBC_2.18.
15191 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15200 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15211 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15214 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15216 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15217 H.J. Lu <hjl.tools@gmail.com>
15220 * sysdeps/x86_64/rtld-memset.c: Remove file.
15221 * sysdeps/x86_64/rtld-memset.S: New file.
15223 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15225 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15226 (test_in_one_mode): Take arguments for whether the rounding mode
15227 is supported for each floating-point type.
15228 (do_test): Pass new arguments to test_in_one_mode using
15231 2013-06-13 Roland McGrath <roland@hack.frob.com>
15233 * posix/tst-waitid.c (do_test): Distinguish different instances of
15234 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15235 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15236 before entering the kernel for waitpid.
15238 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15240 * NEWS: Fix note on clock function precision. Text by Roland
15243 2013-06-13 Roland McGrath <roland@hack.frob.com>
15245 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15246 it into place only when and if the sanity check passes.
15248 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15250 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15251 output for whether conversion result is exact. Take argument
15252 indicating whether type is IBM long double.
15253 (round_for_all): Change need_exact field to ibm_ld.
15254 * stdlib/tst-strtod-round.c (struct exactness): New type.
15255 (struct test): Change bool ld_ok field to struct exactness exact.
15256 (TEST): Update all definitions for change to field.
15257 (tests): Regenerate array contents.
15258 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15259 field value. Check for IBM long double here.
15260 (do_test): Update calls to test_in_one_mode.
15262 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15265 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15266 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15268 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15271 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15272 generated by the compiler on loop optimizations.
15273 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15274 general definitions.
15276 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15278 * math/bug-nextafter.c: Include <math-tests.h>.
15279 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15281 * math/bug-nexttoward.c: Include <math-tests.h>.
15282 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15284 * math/test-misc.c: Include <math-tests.h>.
15285 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15288 2013-06-12 Andreas Jaeger <aj@suse.de>
15290 * po/ia.po: Update Interlingua translation from translation
15293 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15295 * include/fenv.h: Include stdbool.h.
15296 (struct rm_ctx): New structure.
15297 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15299 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15300 (SET_RESTORE_ROUNDF): Likewise.
15301 (SET_RESTORE_ROUNDL): Likewise.
15302 (SET_RESTORE_ROUND_NOEX): Likewise.
15303 (SET_RESTORE_ROUND_NOEXF): Likewise.
15304 (SET_RESTORE_ROUND_NOEXL): Likewise.
15305 (SET_RESTORE_ROUND_53BIT): Likewise.
15306 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15307 (libc_feresetround_noexf_ctx): Likewise.
15308 (libc_feresetround_noexl_ctx): Likewise.
15309 (libc_feholdsetround_53bit_ctx): Likewise.
15310 (libc_feresetround_53bit_ctx): Likewise.
15311 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15312 (libc_feholdexcept_setround_sse_ctx): New function.
15313 (libc_fesetenv_sse_ctx): Likewise.
15314 (libc_feupdateenv_sse_ctx): Likewise.
15315 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15316 (libc_feholdexcept_setround_387_ctx): Likewise.
15317 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15318 (libc_feholdsetround_387_prec_ctx): Likewise.
15319 (libc_feholdsetround_387_ctx): Likewise.
15320 (libc_feholdsetround_387_53bit_ctx): Likewise.
15321 (libc_feholdsetround_sse_ctx): Likewise.
15322 (libc_feresetround_sse_ctx): Likewise.
15323 (libc_feresetround_387_ctx): Likewise.
15324 (libc_feupdateenv_387_ctx): Likewise.
15325 (libc_feholdexcept_setroundf_ctx): Define macro.
15326 (libc_fesetenvf_ctx): Likewise.
15327 (libc_feupdateenvf_ctx): Likewise.
15328 (libc_feholdsetroundf_ctx): Likewise.
15329 (libc_feresetroundf_ctx): Likewise.
15330 (libc_feholdexcept_setround_ctx): Likewise.
15331 (libc_fesetenv_ctx): Likewise.
15332 (libc_feupdateenv_ctx): Likewise.
15333 (libc_feholdsetround_ctx): Likewise.
15334 (libc_feresetround_ctx): Likewise.
15335 (libc_feholdexcept_setroundl_ctx): Likewise.
15336 (libc_feupdateenvl_ctx): Likewise.
15337 (libc_feholdsetroundl_ctx): Likewise.
15338 (libc_feresetroundl_ctx): Likewise.
15339 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15340 (libc_feresetround_53bit_ctx): Likewise.
15342 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15344 * locale/iso-639.def: Convert to UTF-8.
15346 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15348 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15349 (EXCEPTION_TESTS_double): Likewise.
15350 (EXCEPTION_TESTS_long_double): Likewise.
15351 (EXCEPTION_TESTS): Likewise.
15352 * math/libm-test.inc (test_exceptions): Only test exceptions if
15353 EXCEPTION_TESTS (FLOAT).
15355 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15357 * benchtests/Makefile (string-bench): Add strcpy_chk and
15359 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15360 * benchtests/bench-stpcpy_chk.c: New file.
15361 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15362 * benchtests/bench-strcpy_chk.c: New file.
15363 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15365 (do_test): Likewise.
15367 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15369 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15370 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15371 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15372 with tabs where appropriate.
15373 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15375 [PPC_PLATFORM_PPC440]: Likewise.
15376 [PPC_PLATFORM_PPC464]: Likewise.
15377 [PPC_PLATFORM_PPC476]: Likewise.
15378 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15379 ppc464, and ppc476 platform strings merging from ports/
15382 2013-06-11 Andreas Schwab <schwab@suse.de>
15385 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15386 (from_ucs4_idx): Regenerate.
15387 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15388 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15389 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15390 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15391 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15392 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15393 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15394 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15395 from FROM_LOOP and TO_LOOP specific macros.
15396 (BODY): Handle combining characters.
15397 * iconvdata/BIG5HKSCS.irreversible: Update.
15398 * iconvdata/BIG5HKSCS.precomposed: New file.
15399 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15401 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15403 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15405 * include/sys/time.h: Fix indentation and add copyright header.
15407 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15408 (do_test): Likewise.
15409 * string/test-memchr.c (do_one_test): Likewise.
15410 (do_test): Likewise.
15411 * string/test-memcmp.c (do_one_test): Likewise.
15412 (do_test): Likewise.
15413 * string/test-memcpy.c (do_one_test): Likewise.
15414 (do_test): Likewise.
15415 * string/test-memmem.c (do_one_test): Likewise.
15416 (do_test): Likewise.
15417 (do_random_tests): Likewise.
15418 * string/test-memmove.c (do_one_test): Likewise.
15419 (do_test): Likewise.
15420 * string/test-memset.c (do_one_test): Likewise.
15421 (do_test): Likewise.
15422 * string/test-rawmemchr.c (do_one_test): Likewise.
15423 (do_test): Likewise.
15424 * string/test-strcasecmp.c (do_one_test): Likewise.
15425 (do_test): Likewise.
15426 * string/test-strcasestr.c (do_one_test): Likewise.
15427 (do_test): Likewise.
15428 * string/test-strcat.c (do_one_test): Likewise.
15429 (do_test): Likewise.
15430 * string/test-strchr.c (do_one_test): Likewise.
15431 (do_test): Likewise.
15432 * string/test-strcmp.c (do_one_test): Likewise.
15433 (do_test): Likewise.
15434 * string/test-strcpy.c (do_one_test): Likewise.
15435 (do_test): Likewise.
15436 * string/test-string.h: Likewise.
15437 (test_init): Likewise.
15438 * string/test-strlen.c (do_one_test): Likewise.
15439 (do_test): Likewise.
15440 * string/test-strncasecmp.c (do_one_test): Likewise.
15441 (do_test): Likewise.
15442 * string/test-strncat.c (do_one_test): Likewise.
15443 (do_test): Likewise.
15444 * string/test-strncmp.c (do_one_test): Likewise.
15445 (do_test_limit): Likewise.
15446 (do_test): Likewise.
15447 * string/test-strncpy.c (do_one_test): Likewise.
15448 (do_test): Likewise.
15449 * string/test-strnlen.c (do_one_test): Likewise.
15450 (do_test): Likewise.
15451 * string/test-strpbrk.c (do_one_test): Likewise.
15452 (do_test): Likewise.
15453 * string/test-strrchr.c (do_one_test): Likewise.
15454 (do_test): Likewise.
15455 * string/test-strspn.c (do_one_test): Likewise.
15456 (do_test): Likewise.
15457 * string/test-strstr.c (do_one_test): Likewise.
15458 (do_test): Likewise.
15460 * benchtests/Makefile (string-bench): Add string benchmarks.
15461 * benchtests/bench-bcopy-ifunc.c: New file.
15462 * benchtests/bench-bcopy.c: New file.
15463 * benchtests/bench-bzero-ifunc.c: New file.
15464 * benchtests/bench-bzero.c: New file.
15465 * benchtests/bench-memccpy-ifunc.c: New file.
15466 * benchtests/bench-memccpy.c: New file.
15467 * benchtests/bench-memchr-ifunc.c: New file.
15468 * benchtests/bench-memchr.c: New file.
15469 * benchtests/bench-memcmp-ifunc.c: New file.
15470 * benchtests/bench-memcmp.c: New file.
15471 * benchtests/bench-memmem-ifunc.c: New file.
15472 * benchtests/bench-memmem.c: New file.
15473 * benchtests/bench-memmove-ifunc.c: New file.
15474 * benchtests/bench-memmove.c: New file.
15475 * benchtests/bench-mempcpy-ifunc.c: New file.
15476 * benchtests/bench-mempcpy.c: New file.
15477 * benchtests/bench-memset-ifunc.c: New file.
15478 * benchtests/bench-memset.c: New file.
15479 * benchtests/bench-rawmemchr-ifunc.c: New file.
15480 * benchtests/bench-rawmemchr.c: New file.
15481 * benchtests/bench-stpcpy-ifunc.c: New file.
15482 * benchtests/bench-stpcpy.c: New file.
15483 * benchtests/bench-stpncpy-ifunc.c: New file.
15484 * benchtests/bench-stpncpy.c: New file.
15485 * benchtests/bench-strcasecmp-ifunc.c: New file.
15486 * benchtests/bench-strcasecmp.c: New file.
15487 * benchtests/bench-strcasestr-ifunc.c: New file.
15488 * benchtests/bench-strcasestr.c: New file.
15489 * benchtests/bench-strcat-ifunc.c: New file.
15490 * benchtests/bench-strcat.c: New file.
15491 * benchtests/bench-strchr-ifunc.c: New file.
15492 * benchtests/bench-strchr.c: New file.
15493 * benchtests/bench-strchrnul-ifunc.c: New file.
15494 * benchtests/bench-strchrnul.c: New file.
15495 * benchtests/bench-strcmp-ifunc.c: New file.
15496 * benchtests/bench-strcmp.c: New file.
15497 * benchtests/bench-strcpy-ifunc.c: New file.
15498 * benchtests/bench-strcpy.c: New file.
15499 * benchtests/bench-strcspn-ifunc.c: New file.
15500 * benchtests/bench-strcspn.c: New file.
15501 * benchtests/bench-strlen-ifunc.c: New file.
15502 * benchtests/bench-strlen.c: New file.
15503 * benchtests/bench-strncasecmp-ifunc.c: New file.
15504 * benchtests/bench-strncasecmp.c: New file.
15505 * benchtests/bench-strncat-ifunc.c: New file.
15506 * benchtests/bench-strncat.c: New file.
15507 * benchtests/bench-strncmp-ifunc.c: New file.
15508 * benchtests/bench-strncmp.c: New file.
15509 * benchtests/bench-strncpy-ifunc.c: New file.
15510 * benchtests/bench-strncpy.c: New file.
15511 * benchtests/bench-strnlen-ifunc.c: New file.
15512 * benchtests/bench-strnlen.c: New file.
15513 * benchtests/bench-strpbrk-ifunc.c: New file.
15514 * benchtests/bench-strpbrk.c: New file.
15515 * benchtests/bench-strrchr-ifunc.c: New file.
15516 * benchtests/bench-strrchr.c: New file.
15517 * benchtests/bench-strspn-ifunc.c: New file.
15518 * benchtests/bench-strspn.c: New file.
15519 * benchtests/bench-strstr-ifunc.c: New file.
15520 * benchtests/bench-strstr.c: New file.
15522 * benchtests/Makefile: Disable parallel execution of targets.
15523 (string-bench): Add memcpy.
15524 (benchset): New variable to store a list of benchmark sets.
15525 (bench-func): Renamed from bench.
15526 (bench-set): New target.
15527 (bench): Depend on bench-func and bench-set.
15528 * benchtests/README: Add section on benchmark sets.
15529 * benchtests/bench-memcpy-ifunc.c: New file.
15530 * benchtests/bench-memcpy.c: New file.
15531 * benchtests/bench-string.h: New file.
15533 2013-06-11 Andreas Schwab <schwab@suse.de>
15536 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15537 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15538 values in the triple.
15539 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15540 terminator in the group key.
15542 2013-06-11 Andreas Jaeger <aj@suse.de>
15544 * po/zh_TW.po: Update Chinese (traditional) translation from
15545 translation project.
15547 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15549 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15550 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15551 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15553 (clock_getcpuclockid): Likewise.
15554 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15555 Add weak_alias and libc_hidden_def.
15556 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15557 * rt/clock_gettime.c (clock_gettime): Rename to
15558 __clock_gettime. Add weak_alias and libc_hidden_def.
15559 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15560 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15561 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15562 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15563 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15565 * rt/clock_settime.c (clock_settime): Rename to
15566 __clock_settime. Add weak_alias and libc_hidden_def.
15567 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15569 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15571 * mach/err_boot.sub: Remove trailing whitespace.
15572 * mach/err_ipc.sub: Likewise.
15573 * mach/err_mach.sub: Likewise.
15575 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15576 (ROUNDING_TESTS_double): Likewise.
15577 (ROUNDING_TESTS_long_double): Likewise.
15578 (ROUNDING_TESTS): Likewise.
15579 * math/libm-test.inc: Include <math-tests.h>.
15580 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15581 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15582 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15583 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15585 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15587 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15590 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15592 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15593 otherwise empty TRANS lines.
15594 * sysdeps/gnu/errlist.c: Regenerated.
15596 * catgets/gencat.c (error_print): Use (void) in function
15598 * crypt/crypt_util.c (__init_des): Likewise.
15599 * crypt/speeds.c (Stop): Likewise.
15601 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15602 * inet/ruserpass.c (token): Likewise.
15603 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15604 * intl/localealias.c (extend_alias_table): Likewise.
15605 * intl/plural-exp.c (init_germanic_plural): Likewise.
15606 * libio/fcloseall.c (__fcloseall): Likewise.
15607 * libio/genops.c (_IO_flush_all): Likewise.
15608 (_IO_flush_all_linebuffered): Likewise.
15609 (_IO_cleanup): Likewise.
15610 (_IO_iter_begin): Likewise.
15611 (_IO_iter_end): Likewise.
15612 (_IO_list_lock): Likewise.
15613 (_IO_list_unlock): Likewise.
15614 (_IO_list_resetlock): Likewise.
15615 * libio/getchar.c (getchar): Likewise.
15616 * libio/getchar_u.c (getchar_unlocked): Likewise.
15617 * libio/getwchar.c (getwchar): Likewise.
15618 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15619 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15620 * login/getpt.c (__getpt): Likewise.
15621 * login/tst-utmp.c (main): Likewise.
15622 * malloc/hooks.c (__malloc_check_init): Likewise.
15623 * malloc/malloc.c (__malloc_stats): Likewise.
15624 * malloc/mtrace.c (tr_break): Likewise.
15625 (mtrace): Likewise.
15626 (muntrace): Likewise.
15627 * misc/fstab.c (endfsent): Likewise.
15628 * misc/getclktck.c (__getclktck): Likewise.
15629 * misc/getdtsz.c (__getdtablesize): Likewise.
15630 * misc/gethostid.c (gethostid): Likewise.
15631 * misc/getpagesize.c (__getpagesize): Likewise.
15632 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15633 (__get_nprocs): Likewise.
15634 (__get_phys_pages): Likewise.
15635 (__get_avphys_pages): Likewise.
15636 * misc/getttyent.c (getttyent): Likewise.
15637 (setttyent): Likewise.
15638 (endttyent): Likewise.
15639 * misc/getusershell.c (getusershell): Likewise.
15640 (endusershell): Likewise.
15641 (setusershell): Likewise.
15642 (initshells): Likewise.
15643 * misc/hsearch.c (__hdestroy): Likewise.
15644 * misc/sync.c (sync): Likewise.
15645 * misc/syslog.c (closelog_internal): Likewise.
15646 (closelog): Likewise.
15647 * misc/ttyslot.c (ttyslot): Likewise.
15648 * misc/vhangup.c (vhangup): Likewise.
15649 * posix/fork.c (__fork): Likewise.
15650 * posix/getegid.c (__getegid): Likewise.
15651 * posix/geteuid.c (__geteuid): Likewise.
15652 * posix/getgid.c (__getgid): Likewise.
15653 * posix/getpid.c (__getpid): Likewise.
15654 * posix/getppid.c (__getppid): Likewise.
15655 * posix/getuid.c (__getuid): Likewise.
15656 * posix/pause.c (pause): Likewise.
15657 * posix/setpgrp.c (setpgrp): Likewise.
15658 * posix/setsid.c (__setsid): Likewise.
15659 * posix/test-vfork.c (noop): Likewise.
15660 * resolv/gethnamaddr.c (_endhtent): Likewise.
15661 (_gethtent): Likewise.
15662 (ht_endhostent): Likewise.
15663 (gethostent): Likewise.
15664 (dns_service): Likewise.
15665 * stdlib/drand48.c (drand48): Likewise.
15666 * stdlib/lrand48.c (lrand48): Likewise.
15667 * stdlib/mrand48.c (mrand48): Likewise.
15668 * stdlib/rand.c (rand): Likewise.
15669 * stdlib/random.c (__random): Likewise.
15670 * stdlib/setenv.c (clearenv): Likewise.
15671 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15672 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15673 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15674 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15675 (__get_nprocs): Likewise.
15676 (__get_phys_pages): Likewise.
15677 (__get_avphys_pages): Likewise.
15678 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15679 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15680 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15681 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15682 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15683 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15684 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15685 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15686 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15687 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15688 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15689 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15690 * sysdeps/posix/clock.c (clock): Likewise.
15691 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15692 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15693 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15694 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15695 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15697 (__get_nprocs_conf): Likewise.
15698 (__get_phys_pages): Likewise.
15699 (__get_avphys_pages): Likewise.
15700 * time/clock.c (clock): Likewise.
15701 * time/tzset.c (__tzname_max): Likewise.
15703 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15705 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15706 (__bswap_32): Do not use "register".
15707 * crypt/crypt.c (_ufc_doit_r): Likewise.
15708 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15709 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15710 * gmon/gmon.c (__monstartup): Likewise.
15711 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15712 * hurd/hurdmalloc.c (more_memory): Likewise.
15713 (malloc): Likewise.
15715 (realloc): Likewise.
15716 (malloc_fork_prepare): Likewise.
15717 (malloc_fork_parent): Likewise.
15718 (malloc_fork_child): Likewise.
15719 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15720 (_svcauth_des): Likewise.
15721 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15722 * inet/inet_net.c (inet_network): Likewise.
15723 * inet/inet_netof.c (inet_netof): Likewise.
15724 * inet/rcmd.c (__validuser2_sa): Likewise.
15725 * io/fts.c (fts_open): Likewise.
15726 (fts_load): Likewise.
15727 (fts_close): Likewise.
15728 (fts_read): Likewise.
15729 (fts_children): Likewise.
15730 (fts_build): Likewise.
15731 (fts_stat): Likewise.
15732 (fts_sort): Likewise.
15733 (fts_alloc): Likewise.
15734 (fts_lfree): Likewise.
15735 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15736 (_IO_file_xsgetn): Likewise.
15737 (_IO_file_xsgetn_mmap): Likewise.
15738 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15739 (_IO_cookie_write): Likewise.
15740 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15741 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15742 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15743 * malloc/obstack.c (_obstack_begin): Likewise.
15744 (_obstack_begin_1): Likewise.
15745 (_obstack_newchunk): Likewise.
15746 (_obstack_allocated_p): Likewise.
15747 (obstack_free): Likewise.
15748 (_obstack_memory_used): Likewise.
15749 * misc/getttyent.c (getttynam): Likewise.
15750 (getttyent): Likewise.
15753 * misc/getusershell.c (initshells): Likewise.
15754 * misc/syslog.c (__vsyslog_chk): Likewise.
15755 * misc/ttyslot.c (ttyslot): Likewise.
15756 * nis/nis_hash.c (__nis_hash): Likewise.
15757 * posix/fnmatch_loop.c (FCT): Likewise.
15758 * posix/getconf.c (print_all): Likewise.
15760 * posix/getopt.c (exchange): Likewise.
15761 * posix/glob.c (globfree): Likewise.
15762 (prefix_array): Likewise.
15763 (__glob_pattern_type): Likewise.
15764 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15765 (NS_GET32): Likewise.
15766 (NS_PUT16): Likewise.
15767 (NS_PUT32): Likewise.
15768 * resolv/gethnamaddr.c (getanswer): Likewise.
15769 (gethostbyname2): Likewise.
15770 (gethostbyaddr): Likewise.
15771 (_gethtent): Likewise.
15772 (_gethtbyname2): Likewise.
15773 (_gethtbyaddr): Likewise.
15774 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15775 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15776 * resolv/res_init.c (__res_vinit): Likewise.
15777 (net_mask): Likewise.
15778 * resolv/res_mkquery.c (outchar): Likewise.
15780 * stdio-common/printf_fp.c (outchar): Likewise.
15782 * stdio-common/printf_fphex.c (outchar): Likewise.
15784 * stdio-common/printf_size.c (outchar): Likewise.
15786 * stdio-common/test_rdwr.c (main): Likewise.
15787 * stdio-common/tfformat.c (matches): Likewise.
15788 * stdio-common/vfprintf.c (outchar): Likewise.
15789 (printf_unknown): Likewise.
15790 (buffered_vfprintf): Likewise.
15791 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15792 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15793 (ReadFile): Likewise.
15794 * stdlib/qsort.c (SWAP): Likewise.
15795 (_quicksort): Likewise.
15796 * stdlib/setenv.c (__add_to_environ): Likewise.
15797 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15798 * stdlib/strtol_l.c (__strtol_l): Likewise.
15799 * stdlib/tst-strtod.c (main): Likewise.
15800 * stdlib/tst-strtol.c (main): Likewise.
15801 * stdlib/tst-strtoll.c (main): Likewise.
15802 * string/bits/string2.h (__strcmp_cc): Likewise.
15803 (__strcmp_cg): Likewise.
15804 (__strcspn_c1): Likewise.
15805 (__strcspn_c2): Likewise.
15806 (__strcspn_c3): Likewise.
15807 (__strspn_c1): Likewise.
15808 (__strspn_c2): Likewise.
15809 (__strspn_c3): Likewise.
15810 (__strsep_1c): Likewise.
15811 (__strsep_2c): Likewise.
15812 (__strsep_3c): Likewise.
15813 * string/memccpy.c (__memccpy): Likewise.
15814 * string/stpcpy.c (__stpcpy): Likewise.
15815 * string/strcmp.c (strcmp): Likewise.
15816 * string/strrchr.c (strrchr): Likewise.
15817 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15819 * sysdeps/mach/hurd/getcwd.c
15820 (_hurd_canonicalize_directory_name_internal): Likewise.
15821 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15822 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15823 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15824 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15825 Likewise, in both definitions.
15826 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15828 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15829 64] (__bswap_64): Likewise.
15830 * time/test_time.c (main): Likewise.
15831 * time/tzfile.c (__tzfile_read): Likewise.
15832 (__tzfile_compute): Likewise.
15833 * time/tzset.c (__tzset_parse_tz): Likewise.
15834 (tzset_internal): Likewise.
15835 (compute_change): Likewise.
15836 * wcsmbs/wcscat.c (__wcscat): Likewise.
15837 * wcsmbs/wcschr.c (wcschr): Likewise.
15838 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15839 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15840 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15841 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15842 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15843 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15844 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15845 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15846 * wcsmbs/wmemset.c (wmemset): Likewise.
15848 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15850 * scripts/config.guess: Update to version 2013-05-16.
15851 * scripts/config.sub: Update to version 2013-04-24.
15852 * scripts/install-sh: Update to version 2011-11-20.07.
15853 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15854 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15856 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15858 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15859 * elf/sln.c: Likewise.
15860 * hurd/hurd/ioctl.h: Likewise.
15861 * hurd/hurdmalloc.c: Likewise.
15862 * hurd/xattr.c: Likewise.
15863 * include/shlib-compat.h: Likewise.
15864 * inet/ruserpass.c: Likewise.
15865 * libio/iofgets_u.c: Likewise.
15866 * libio/iofgetws_u.c: Likewise.
15867 * locale/programs/ld-identification.c: Likewise.
15868 * locale/programs/ld-time.c: Likewise.
15869 * mach/msg-destroy.c: Likewise.
15870 * nss/nss_files/files-netgrp.c: Likewise.
15871 * resolv/res_data.c: Likewise.
15872 * soft-fp/op-1.h: Likewise.
15873 * soft-fp/op-2.h: Likewise.
15874 * soft-fp/op-4.h: Likewise.
15875 * soft-fp/op-common.h: Likewise.
15876 * stdio-common/printf_fphex.c: Likewise.
15877 * stdlib/strtod_l.c: Likewise.
15878 * sunrpc/rpc/clnt.h: Likewise.
15879 * sysdeps/generic/framestate.c: Likewise.
15880 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15881 * sysdeps/i386/bsd-setjmp.S: Likewise.
15882 * sysdeps/i386/__longjmp.S: Likewise.
15883 * sysdeps/i386/setjmp.S: Likewise.
15884 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15885 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15887 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15889 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15893 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15894 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15895 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15896 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15897 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15899 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15900 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15901 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15902 * sysdeps/ieee754/support.c: Likewise.
15903 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15904 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15905 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15906 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15907 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15908 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15909 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15910 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15911 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15912 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15913 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15914 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15915 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15916 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15917 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15918 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15919 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15922 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15924 * posix/transbug.c: Remove executable mode.
15926 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15928 * crypt/speeds.c: Remove trailing whitespace.
15929 * dlfcn/default.c: Likewise.
15930 * elf/ifuncdep2.c: Likewise.
15931 * elf/ifuncmain1.c: Likewise.
15932 * elf/ifuncmain1vis.c: Likewise.
15933 * elf/testobj.h: Likewise.
15934 * elf/tst-stackguard1.c: Likewise.
15935 * gmon/sys/gmon.h: Likewise.
15936 * hurd/hurdmsg.c: Likewise.
15937 * hurd/new-fd.c: Likewise.
15938 * hurd/ports-get.c: Likewise.
15939 * iconvdata/ibm1008_420.c: Likewise.
15940 * inet/tst-getni1.c: Likewise.
15941 * inet/tst-getni2.c: Likewise.
15942 * libio/ioungetc.c: Likewise.
15943 * libio/wfiledoalloc.c: Likewise.
15944 * manual/libm-err-tab.pl: Likewise.
15945 * math/w_dremf.c: Likewise.
15946 * misc/ftruncate.c: Likewise.
15947 * posix/bug-glob2.c: Likewise.
15948 * posix/tst-pcre.c: Likewise.
15949 * posix/wait4.c: Likewise.
15950 * resolv/README: Likewise.
15951 * resolv/res_debug.h: Likewise.
15952 * resolv/tst-inet_ntop.c: Likewise.
15953 * setjmp/bug269-setjmp.c: Likewise.
15954 * soft-fp/extended.h: Likewise.
15955 * soft-fp/op-1.h: Likewise.
15956 * soft-fp/op-2.h: Likewise.
15957 * soft-fp/op-4.h: Likewise.
15958 * soft-fp/op-8.h: Likewise.
15959 * soft-fp/testit.c: Likewise.
15960 * stdio-common/bug16.c: Likewise.
15961 * stdlib/random.c: Likewise.
15962 * sunrpc/rpcsvc/rquota.x: Likewise.
15963 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15964 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15965 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15966 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15967 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15968 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15969 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15970 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15971 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15972 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15973 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15974 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15975 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15981 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15982 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15983 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15990 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15991 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15992 * sysdeps/ieee754/s_lib_version.c: Likewise.
15993 * sysdeps/mach/hurd/check_fds.c: Likewise.
15994 * sysdeps/mach/hurd/getsockname.c: Likewise.
15995 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15996 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15997 * sysdeps/powerpc/bits/link.h: Likewise.
15998 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15999 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16000 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16001 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16002 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16003 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16004 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16005 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16006 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16007 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16008 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16010 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16011 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16012 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16013 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16015 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16017 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16019 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16021 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16022 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16025 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16026 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16031 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16032 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16033 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16034 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16035 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16036 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16037 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16038 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16040 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16042 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16043 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16044 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16045 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16046 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16047 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16048 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16049 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16050 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16052 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16053 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16054 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16055 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16056 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16057 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16058 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16059 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16060 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16062 * sysdeps/powerpc/sysdep.h: Likewise.
16063 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16064 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16065 * sysdeps/sh/dl-trampoline.S: Likewise.
16066 * sysdeps/sh/memset.S: Likewise.
16067 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16068 * sysdeps/sh/strlen.S: Likewise.
16069 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16070 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16071 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16072 * sysdeps/sparc/sparc32/rem.S: Likewise.
16073 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16074 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16075 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16076 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16077 * sysdeps/sparc/sparc32/urem.S: Likewise.
16078 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16079 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16080 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16081 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16082 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16083 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16084 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16085 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16086 * sysdeps/unix/bsd/times.c: Likewise.
16087 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16088 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16092 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16093 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16094 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16095 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16096 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16097 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16098 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16099 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16100 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16101 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16102 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16103 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16104 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16105 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16106 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16107 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16108 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16109 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16110 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16111 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16112 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16113 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16114 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16115 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16116 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16117 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16118 * sysdeps/x86_64/strcspn.S: Likewise.
16120 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16122 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16123 generated file. Regenerate properly from gen-translit.pl.
16124 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16125 locale/C-translit.h.
16127 2013-06-05 Andreas Schwab <schwab@suse.de>
16130 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16131 week as 6 instead of -1.
16132 * time/tst-strptime.c (day_tests): Add test case.
16134 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16136 * sysdeps/generic/math_private.h
16137 (libc_feholdexcept_setround_53bit): Replace with
16138 libc_feholdsetround_53bit.
16139 (libc_feupdateenv_53bit): Replace with
16140 libc_feresetround_53bit.
16141 (SET_RESTORE_ROUND_53BIT): Adjust.
16143 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16145 * string/test-strchrnul.c: Add copyright header.
16147 * posix/tst-getaddrinfo4.c: Increase test timeout.
16149 2013-06-03 Carlos O'Donell <carlos@redhat.com>
16152 * math/libm-test.inc (MAX_EXP): Remove
16154 (ulp): Use MIN_EXP - MANT_DIG.
16155 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16157 2013-05-31 Carlos O'Donell <carlos@redhat.com>
16159 * po/be.po: Revert last change.
16160 * po/zh_CN.po: Likewise.
16161 * po/header.pot: Likewise.
16163 2013-05-31 Joseph Myers <joseph@codesourcery.com>
16165 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16166 link-libc-deps to empty as target-specific variable.
16167 * Makerules (link-libc-args): New variable.
16168 (libc-for-link): Likewise.
16169 (link-libc-deps): Likewise.
16170 (lib%.so): Depend on $(link-libc-deps). Link with
16172 (build-module): Link with $(link-libc-args).
16173 (build-module-asneeded): Likewise.
16174 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16176 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16177 target-specific variable.
16178 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16179 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16180 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16182 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16184 ($(objpfx)libpcprofile.so): Likewise.
16185 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16187 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16188 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16189 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16191 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16192 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16193 * login/Makefile ($(objpfx)libutil.so): Likewise.
16194 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16195 * math/Makefile ($(objpfx)libm.so): Likewise.
16196 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16197 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16198 variable instead of depending directly on libc.
16199 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16200 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16202 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16204 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16205 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16206 ($(objpfx)libanl.so): Likewise.
16207 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16209 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16211 * sysdeps/i386/fpu/Makefile: Remove file.
16212 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16213 ($(objpfx)libm.so): Remove dependency on ld.so.
16215 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16218 * nis/yp_xdr.c (XDRMAXNAME): Define.
16219 (XDRMAXRECORD): Define.
16220 (xdr_domainname): Use XDRMAXNAME.
16221 (xdr_mapname): Likewise.
16222 (xdr_peername): Likewise.
16223 (xdr_keydat): Use XDRMAXRECORD.
16224 (xdr_valdat): Likewise.
16226 2013-05-30 Jeff Law <law@redhat.com>
16229 * manual/errno.texi (ESTALE): Update to account for more than
16230 just NFS file systems.
16231 * sysdeps/gnu/errlist.c: Regenerated.
16233 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16236 * elf/Makefile (tests): Add tst-null-argv.
16237 (modules-names): Add tst-null-argv-lib.
16238 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16239 (tst-null-argv-ENV): Set environment for tst-null-argv.
16240 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16241 (RTLD_PROGNAME): New macro.
16242 * elf/tst-null-argv.c: New test case.
16243 * elf/tst-null-argv-lib.c: Library for test case.
16244 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16245 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16246 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16247 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16248 * elf/dl-init.c (call_init): Likewise.
16249 (_dl_init): Likewise.
16250 * elf/dl-load.c (print_search_path): Likewise.
16251 (_dl_map_object): Likewise.
16252 * elf/dl-lookup.c (do_lookup_x): Likewise.
16253 (add_dependency): Likewise.
16254 (_dl_lookup_symbol_x): Likewise.
16255 (_dl_debug_bindings): Likewise.
16256 * elf/dl-open.c (_dl_show_scope): Likewise.
16257 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16258 * elf/dl-version.c (match_symbol): Likewise.
16259 (_dl_check_map_versions): Likewise.
16260 * elf/rtld.c (dl_main): Likewise.
16261 (print_unresolved): Use RTLD_PROGNAME.
16262 (print_missing_version): Likewise.
16263 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16264 (elf_machine_rela): Likewise.
16265 * sysdeps/powerpc/powerpc32/dl-machine.c
16266 (__process_machine_rela): Likewise.
16267 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16269 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16271 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16273 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16274 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16276 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16278 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16280 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16282 * po/be.po: Add descriptive title.
16283 * po/zh_CN.po: Likewise.
16284 * po/header.pot: Likewise.
16286 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16288 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16290 (enlarge_archive): Likewise.
16292 2013-05-28 Ben North <ben@redfrontdoor.org>
16294 * manual/arith.texi (frexp): It is the magnitude of the return
16295 value which lies in [0.5, 1), not the return value itself.
16297 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16301 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16303 * stdio-common/bug26.c (main): Correct fscanf template.
16305 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16306 declare _dl_skip_args.
16308 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16311 * manual/platform.texi: Add missing @end deftypefun.
16313 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16316 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16317 bit of mantissa of 2^16382.
16318 * math/libm-test.inc (hypot_test_data): Add more tests.
16320 * math/libm-test.inc: Add drem and pow10 to list of tested
16322 (pow10_test): New function.
16323 (drem_test): Likewise.
16324 (drem_test_tonearest): Likewise.
16325 (drem_test_towardzero): Likewise.
16326 (drem_test_downward): Likewise.
16327 (drem_test_upward): Likewise.
16328 (main): Call the new functions.
16330 * math/libm-test.inc (finite_test_data): Remove.
16331 (finite_test): Run tests from isfinite_test_data.
16332 (gamma_test_data): Remove.
16333 (gamma_test): Run tests from lgamma_test_data.
16334 * sysdeps/i386/fpu/libm-test-ulps: Update.
16335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16337 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16339 * manual/platform.texi: Add PowerPC PPR function set documentation.
16340 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16343 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16345 * math/libm-test.inc (MAX_EXP): Define.
16347 (ulp): New function.
16348 (check_float_internal): Use ULPDIFF.
16349 (cpow_test): Disable failing test.
16350 (check_ulp): Test ulp() implemetnation.
16351 (main): Call check_ulp before starting tests.
16353 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16355 * math/gen-libm-test.pl (generate_testfile): Do not handle
16356 START_DATA and END_DATA.
16357 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16359 (acos_tonearest_test_data): Likewise.
16360 (acos_towardzero_test_data): Likewise.
16361 (acos_downward_test_data): Likewise.
16362 (acos_upward_test_data): Likewise.
16363 (acosh_test_data): Likewise.
16364 (asin_test_data): Likewise.
16365 (asin_tonearest_test_data): Likewise.
16366 (asin_towardzero_test_data): Likewise.
16367 (asin_downward_test_data): Likewise.
16368 (asin_upward_test_data): Likewise.
16369 (asinh_test_data): Likewise.
16370 (atan_test_data): Likewise.
16371 (atanh_test_data): Likewise.
16372 (atan2_test_data): Likewise.
16373 (cabs_test_data): Likewise.
16374 (cacos_test_data): Likewise.
16375 (cacosh_test_data): Likewise.
16376 (carg_test_data): Likewise.
16377 (casin_test_data): Likewise.
16378 (casinh_test_data): Likewise.
16379 (catan_test_data): Likewise.
16380 (catanh_test_data): Likewise.
16381 (cbrt_test_data): Likewise.
16382 (ccos_test_data): Likewise.
16383 (ccosh_test_data): Likewise.
16384 (ceil_test_data): Likewise.
16385 (cexp_test_data): Likewise.
16386 (cimag_test_data): Likewise.
16387 (clog_test_data): Likewise.
16388 (clog10_test_data): Likewise.
16389 (conj_test_data): Likewise.
16390 (copysign_test_data): Likewise.
16391 (cos_test_data): Likewise.
16392 (cos_tonearest_test_data): Likewise.
16393 (cos_towardzero_test_data): Likewise.
16394 (cos_downward_test_data): Likewise.
16395 (cos_upward_test_data): Likewise.
16396 (cosh_test_data): Likewise.
16397 (cosh_tonearest_test_data): Likewise.
16398 (cosh_towardzero_test_data): Likewise.
16399 (cosh_downward_test_data): Likewise.
16400 (cosh_upward_test_data): Likewise.
16401 (cpow_test_data): Likewise.
16402 (cproj_test_data): Likewise.
16403 (creal_test_data): Likewise.
16404 (csin_test_data): Likewise.
16405 (csinh_test_data): Likewise.
16406 (csqrt_test_data): Likewise.
16407 (ctan_test_data): Likewise.
16408 (ctan_tonearest_test_data): Likewise.
16409 (ctan_towardzero_test_data): Likewise.
16410 (ctan_downward_test_data): Likewise.
16411 (ctan_upward_test_data): Likewise.
16412 (ctanh_test_data): Likewise.
16413 (ctanh_tonearest_test_data): Likewise.
16414 (ctanh_towardzero_test_data): Likewise.
16415 (ctanh_downward_test_data): Likewise.
16416 (ctanh_upward_test_data): Likewise.
16417 (erf_test_data): Likewise.
16418 (erfc_test_data): Likewise.
16419 (exp_test_data): Likewise.
16420 (exp_tonearest_test_data): Likewise.
16421 (exp_towardzero_test_data): Likewise.
16422 (exp_downward_test_data): Likewise.
16423 (exp_upward_test_data): Likewise.
16424 (exp10_test_data): Likewise.
16425 (exp2_test_data): Likewise.
16426 (expm1_test_data): Likewise.
16427 (fabs_test_data): Likewise.
16428 (fdim_test_data): Likewise.
16429 (finite_test_data): Likewise.
16430 (floor_test_data): Likewise.
16431 (fma_test_data): Likewise.
16432 (fma_towardzero_test_data): Likewise.
16433 (fma_downward_test_data): Likewise.
16434 (fma_upward_test_data): Likewise.
16435 (fmax_test_data): Likewise.
16436 (fmin_test_data): Likewise.
16437 (fmod_test_data): Likewise.
16438 (fpclassify_test_data): Likewise.
16439 (frexp_test_data): Likewise.
16440 (gamma_test_data): Likewise.
16441 (hypot_test_data): Likewise.
16442 (ilogb_test_data): Likewise.
16443 (isfinite_test_data): Likewise.
16444 (isgreater_test_data): Likewise.
16445 (isgreaterequal_test_data): Likewise.
16446 (isinf_test_data): Likewise.
16447 (isless_test_data): Likewise.
16448 (islessequal_test_data): Likewise.
16449 (islessgreater_test_data): Likewise.
16450 (isnan_test_data): Likewise.
16451 (isnormal_test_data): Likewise.
16452 (issignaling_test_data): Likewise.
16453 (isunordered_test_data): Likewise.
16454 (j0_test_data): Likewise.
16455 (j1_test_data): Likewise.
16456 (jn_test_data): Likewise.
16457 (ldexp_test_data): Likewise.
16458 (lgamma_test_data): Likewise.
16459 (lrint_test_data): Likewise.
16460 (lrint_tonearest_test_data): Likewise.
16461 (lrint_towardzero_test_data): Likewise.
16462 (lrint_downward_test_data): Likewise.
16463 (lrint_upward_test_data): Likewise.
16464 (llrint_test_data): Likewise.
16465 (llrint_tonearest_test_data): Likewise.
16466 (llrint_towardzero_test_data): Likewise.
16467 (llrint_downward_test_data): Likewise.
16468 (llrint_upward_test_data): Likewise.
16469 (log_test_data): Likewise.
16470 (log10_test_data): Likewise.
16471 (log1p_test_data): Likewise.
16472 (log2_test_data): Likewise.
16473 (logb_test_data): Likewise.
16474 (logb_downward_test_data): Likewise.
16475 (lround_test_data): Likewise.
16476 (llround_test_data): Likewise.
16477 (modf_test_data): Likewise.
16478 (nearbyint_test_data): Likewise.
16479 (nextafter_test_data): Likewise.
16480 (nexttoward_test_data): Likewise.
16481 (pow_test_data): Likewise.
16482 (pow_tonearest_test_data): Likewise.
16483 (pow_towardzero_test_data): Likewise.
16484 (pow_downward_test_data): Likewise.
16485 (pow_upward_test_data): Likewise.
16486 (remainder_test_data): Likewise.
16487 (remainder_tonearest_test_data): Likewise.
16488 (remainder_towardzero_test_data): Likewise.
16489 (remainder_downward_test_data): Likewise.
16490 (remainder_upward_test_data): Likewise.
16491 (remquo_test_data): Likewise.
16492 (rint_test_data): Likewise.
16493 (rint_tonearest_test_data): Likewise.
16494 (rint_towardzero_test_data): Likewise.
16495 (rint_downward_test_data): Likewise.
16496 (rint_upward_test_data): Likewise.
16497 (round_test_data): Likewise.
16498 (scalb_test_data): Likewise.
16499 (scalbn_test_data): Likewise.
16500 (scalbln_test_data): Likewise.
16501 (signbit_test_data): Likewise.
16502 (sin_test_data): Likewise.
16503 (sin_tonearest_test_data): Likewise.
16504 (sin_towardzero_test_data): Likewise.
16505 (sin_downward_test_data): Likewise.
16506 (sin_upward_test_data): Likewise.
16507 (sincos_test_data): Likewise.
16508 (sinh_test_data): Likewise.
16509 (sinh_tonearest_test_data): Likewise.
16510 (sinh_towardzero_test_data): Likewise.
16511 (sinh_downward_test_data): Likewise.
16512 (sinh_upward_test_data): Likewise.
16513 (sqrt_test_data): Likewise.
16514 (tan_test_data): Likewise.
16515 (tan_tonearest_test_data): Likewise.
16516 (tan_towardzero_test_data): Likewise.
16517 (tan_downward_test_data): Likewise.
16518 (tan_upward_test_data): Likewise.
16519 (tanh_test_data): Likewise.
16520 (tgamma_test_data): Likewise.
16521 (trunc_test_data): Likewise.
16522 (y0_test_data): Likewise.
16523 (y1_test_data): Likewise.
16524 (yn_test_data): Likewise.
16525 (significand_test_data): Likewise.
16527 * math/gen-libm-test.pl (@functions): Remove variable.
16528 (generate_testfile): Don't handle START and END lines.
16529 * math/libm-test.inc (START): New macro.
16531 (END_COMPLEX): Likewise.
16532 (acos_test): Use END macro without arguments.
16533 (acos_test_tonearest): Likewise.
16534 (acos_test_towardzero): Likewise.
16535 (acos_test_downward): Likewise.
16536 (acos_test_upward): Likewise.
16537 (acosh_test): Likewise.
16538 (asin_test): Likewise.
16539 (asin_test_tonearest): Likewise.
16540 (asin_test_towardzero): Likewise.
16541 (asin_test_downward): Likewise.
16542 (asin_test_upward): Likewise.
16543 (asinh_test): Likewise.
16544 (atan_test): Likewise.
16545 (atanh_test): Likewise.
16546 (atan2_test): Likewise.
16547 (cabs_test): Likewise.
16548 (cacos_test): Use END_COMPLEX macro without arguments.
16549 (cacosh_test): Likewise.
16550 (carg_test): Use END macro without arguments.
16551 (casin_test): Use END_COMPLEX macro without arguments.
16552 (casinh_test): Likewise.
16553 (catan_test): Likewise.
16554 (catanh_test): Likewise.
16555 (cbrt_test): Use END macro without arguments.
16556 (ccos_test): Use END_COMPLEX macro without arguments.
16557 (ccosh_test): Likewise.
16558 (ceil_test): Use END macro without arguments.
16559 (cexp_test): Use END_COMPLEX macro without arguments.
16560 (cimag_test): Use END macro without arguments.
16561 (clog_test): Use END_COMPLEX macro without arguments.
16562 (clog10_test): Likewise.
16563 (conj_test): Likewise.
16564 (copysign_test): Use END macro without arguments.
16565 (cos_test): Likewise.
16566 (cos_test_tonearest): Likewise.
16567 (cos_test_towardzero): Likewise.
16568 (cos_test_downward): Likewise.
16569 (cos_test_upward): Likewise.
16570 (cosh_test): Likewise.
16571 (cosh_test_tonearest): Likewise.
16572 (cosh_test_towardzero): Likewise.
16573 (cosh_test_downward): Likewise.
16574 (cosh_test_upward): Likewise.
16575 (cpow_test): Use END_COMPLEX macro without arguments.
16576 (cproj_test): Likewise.
16577 (creal_test): Use END macro without arguments.
16578 (csin_test): Use END_COMPLEX macro without arguments.
16579 (csinh_test): Likewise.
16580 (csqrt_test): Likewise.
16581 (ctan_test): Likewise.
16582 (ctan_test_tonearest): Likewise.
16583 (ctan_test_towardzero): Likewise.
16584 (ctan_test_downward): Likewise.
16585 (ctan_test_upward): Likewise.
16586 (ctanh_test): Likewise.
16587 (ctanh_test_tonearest): Likewise.
16588 (ctanh_test_towardzero): Likewise.
16589 (ctanh_test_downward): Likewise.
16590 (ctanh_test_upward): Likewise.
16591 (erf_test): Use END macro without arguments.
16592 (erfc_test): Likewise.
16593 (exp_test): Likewise.
16594 (exp_test_tonearest): Likewise.
16595 (exp_test_towardzero): Likewise.
16596 (exp_test_downward): Likewise.
16597 (exp_test_upward): Likewise.
16598 (exp10_test): Likewise.
16599 (exp2_test): Likewise.
16600 (expm1_test): Likewise.
16601 (fabs_test): Likewise.
16602 (fdim_test): Likewise.
16603 (finite_test): Likewise.
16604 (floor_test): Likewise.
16605 (fma_test): Likewise.
16606 (fma_test_towardzero): Likewise.
16607 (fma_test_downward): Likewise.
16608 (fma_test_upward): Likewise.
16609 (fmax_test): Likewise.
16610 (fmin_test): Likewise.
16611 (fmod_test): Likewise.
16612 (fpclassify_test): Likewise.
16613 (frexp_test): Likewise.
16614 (gamma_test): Likewise.
16615 (hypot_test): Likewise.
16616 (ilogb_test): Likewise.
16617 (isfinite_test): Likewise.
16618 (isgreater_test): Likewise.
16619 (isgreaterequal_test): Likewise.
16620 (isinf_test): Likewise.
16621 (isless_test): Likewise.
16622 (islessequal_test): Likewise.
16623 (islessgreater_test): Likewise.
16624 (isnan_test): Likewise.
16625 (isnormal_test): Likewise.
16626 (issignaling_test): Likewise.
16627 (isunordered_test): Likewise.
16628 (j0_test): Likewise.
16629 (j1_test): Likewise.
16630 (jn_test): Likewise.
16631 (ldexp_test): Likewise.
16632 (lgamma_test): Likewise.
16633 (lrint_test): Likewise.
16634 (lrint_test_tonearest): Likewise.
16635 (lrint_test_towardzero): Likewise.
16636 (lrint_test_downward): Likewise.
16637 (lrint_test_upward): Likewise.
16638 (llrint_test): Likewise.
16639 (llrint_test_tonearest): Likewise.
16640 (llrint_test_towardzero): Likewise.
16641 (llrint_test_downward): Likewise.
16642 (llrint_test_upward): Likewise.
16643 (log_test): Likewise.
16644 (log10_test): Likewise.
16645 (log1p_test): Likewise.
16646 (log2_test): Likewise.
16647 (logb_test): Likewise.
16648 (logb_test_downward): Likewise.
16649 (lround_test): Likewise.
16650 (llround_test): Likewise.
16651 (modf_test): Likewise.
16652 (nearbyint_test): Likewise.
16653 (nextafter_test): Likewise.
16654 (nexttoward_test): Likewise.
16655 (pow_test): Likewise.
16656 (pow_test_tonearest): Likewise.
16657 (pow_test_towardzero): Likewise.
16658 (pow_test_downward): Likewise.
16659 (pow_test_upward): Likewise.
16660 (remainder_test): Likewise.
16661 (remainder_test_tonearest): Likewise.
16662 (remainder_test_towardzero): Likewise.
16663 (remainder_test_downward): Likewise.
16664 (remainder_test_upward): Likewise.
16665 (remquo_test): Likewise.
16666 (rint_test): Likewise.
16667 (rint_test_tonearest): Likewise.
16668 (rint_test_towardzero): Likewise.
16669 (rint_test_downward): Likewise.
16670 (rint_test_upward): Likewise.
16671 (round_test): Likewise.
16672 (scalb_test): Likewise.
16673 (scalbn_test): Likewise.
16674 (scalbln_test): Likewise.
16675 (signbit_test): Likewise.
16676 (sin_test): Likewise.
16677 (sin_test_tonearest): Likewise.
16678 (sin_test_towardzero): Likewise.
16679 (sin_test_downward): Likewise.
16680 (sin_test_upward): Likewise.
16681 (sincos_test): Likewise.
16682 (sinh_test): Likewise.
16683 (sinh_test_tonearest): Likewise.
16684 (sinh_test_towardzero): Likewise.
16685 (sinh_test_downward): Likewise.
16686 (sinh_test_upward): Likewise.
16687 (sqrt_test): Likewise.
16688 (tan_test): Likewise.
16689 (tan_test_tonearest): Likewise.
16690 (tan_test_towardzero): Likewise.
16691 (tan_test_downward): Likewise.
16692 (tan_test_upward): Likewise.
16693 (tanh_test): Likewise.
16694 (tgamma_test): Likewise.
16695 (trunc_test): Likewise.
16696 (y0_test): Likewise.
16697 (y1_test): Likewise.
16698 (yn_test): Likewise.
16699 (significand_test): Likewise.
16701 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16704 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16706 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16709 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16710 __ppc_mdoio and __ppc_mdoom.
16711 * manual/platform.texi: Document new functions __ppc_yield,
16712 __ppc_mdoio and __ppc_mdoom.
16714 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16716 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16717 (main): Mention "tls" pseudo-hwcap is legacy.
16718 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16720 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16722 * math/gen-libm-test.pl (parse_args): Output only string of
16723 arguments as text for test name, not full call or descriptions of
16724 tests for extra outputs.
16725 (generate_testfile): Do not pass function name to parse_args.
16726 Generate this_func variable from START.
16727 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16729 (struct test_ff_f_data): Likewise.
16730 (test_ff_f_data_nexttoward): Likewise.
16731 (struct test_fi_f_data): Likewise.
16732 (struct test_fl_f_data): Likewise.
16733 (struct test_if_f_data): Likewise.
16734 (struct test_fff_f_data): Likewise.
16735 (struct test_c_f_data): Likewise.
16736 (struct test_f_f1_data): Likewise. Remove field extra_name.
16737 (struct test_fF_f1_data): Likewise.
16738 (struct test_ffI_f1_data): Likewise.
16739 (struct test_c_c_data): Rename test_name field to arg_str.
16740 (struct test_cc_c_data): Likewise.
16741 (struct test_f_i_data): Likewise.
16742 (struct test_ff_i_data): Likewise.
16743 (struct test_f_l_data): Likewise.
16744 (struct test_f_L_data): Likewise.
16745 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16747 (COMMON_TEST_SETUP): New macro.
16748 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16749 (COMMON_TEST_CLEANUP): Likewise.
16750 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16751 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16753 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16754 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16756 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16757 (RUN_TEST_fff_f): Take argument string. Call new setup and
16759 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16760 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16762 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16763 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16765 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16766 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16768 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16769 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16771 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16772 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16774 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16775 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16777 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16778 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16780 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16781 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16783 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16784 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16786 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16787 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16789 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16790 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16792 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16793 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16795 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16796 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16798 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16799 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16801 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16802 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16804 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16806 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16808 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16809 to _sifields.sigfault.
16810 (si_addr_lsb): Define new macro.
16811 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16812 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16813 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16815 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16818 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16820 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16822 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16823 loading the domain.
16825 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16827 * math/gen-libm-test.pl (parse_args): Do not include expected
16828 result in test name.
16829 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16831 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16832 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16833 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16836 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16838 * benchtests/Makefile: Sort function entries.
16840 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16841 tanh, asinh, acosh, atanh.
16842 * benchtests/acos-inputs: New file.
16843 * benchtests/acosh-inputs: New file.
16844 * benchtests/asin-inputs: New file.
16845 * benchtests/asinh-inputs: New file.
16846 * benchtests/atanh-inputs: New file.
16847 * benchtests/cosh-inputs: New file.
16848 * benchtests/log-inputs: New file.
16849 * benchtests/sinh-inputs: New file.
16850 * benchtests/tanh-inputs: New file.
16852 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16855 * posix/tst-getaddrinfo4.c: New test.
16856 * posix/Makefile (tests): Add it.
16858 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16861 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16862 when no services were used.
16863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16864 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16866 2013-05-21 Andreas Schwab <schwab@suse.de>
16869 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16870 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16872 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16873 redundant variable declarations and reallocation of buffer when
16874 parsing as IPv6 address. Always set NSS status when called from
16875 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16876 buffer too small. Correct computation of needed size.
16877 * nss/Makefile (tests): Add test-digits-dots.
16878 * nss/test-digits-dots.c: New test.
16880 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16882 * benchtests/Makefile: Remove instructions for adding
16884 * benchtests/README: New file to explain how to execute and
16885 enhance the benchmark tests.
16887 2013-05-21 Andreas Schwab <schwab@suse.de>
16890 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16891 * setjmp/tst-sigsetjmp.c: New test.
16893 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16895 * sysdeps/x86_64/memset.S (memset): New implementation.
16896 (__bzero): Likewise.
16897 (__memset_tail): New function.
16899 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16901 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16902 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16903 __memcpy_sse2_unaligned ifunc selection.
16904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16905 Add memcpy-sse2-unaligned.S.
16906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16907 Add: __memcpy_sse2_unaligned.
16909 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16913 math_force_eval before restoring floating-point envrionment.
16914 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16915 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16917 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16919 (__nearbyintl): Use math_force_eval before restoring
16920 floating-point environment.
16921 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16923 * math/gen-libm-test.pl (special_functions): Remove.
16924 (parse_args): Don't handle TEST_extra. Handle functions with no
16926 * math/libm-test.inc (struct test_sincos_data): Replace with
16927 struct test_fFF_11_data.
16928 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16929 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16930 (sincos_test_data): Change element type to struct
16931 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16932 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16933 RUN_TEST_LOOP_sincos.
16934 * math/README.libm-test: Don't mention special handling of
16935 individual functions.
16936 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16938 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16939 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16940 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16943 * math/gen-libm-test.pl (get_variable): Remove function.
16944 (parse_args): Don't show pointer parameters to call in test
16945 names. Use "extra output N" in test names for extra outputs
16946 rather than naming variables.
16948 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16951 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16952 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16953 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16955 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16957 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16960 * math/gen-libm-test.pl (@tests): Remove variable.
16961 ($count): Likewise.
16962 (new_test): Remove function.
16963 (show_exceptions): New function.
16964 (special_functions): Use show_exceptions instead of new_test.
16965 (parse_args): Likewise.
16966 (generate_testfile): Pass only function name in generated call to
16967 print_max_error or print_complex_max_error.
16968 (get_ulps): Do not handle complex tests specially.
16969 (output_test): Rename to ...
16970 (get_all_ulps_for_test): ... this. Return a string rather than
16971 printing to a file. Require ulps to be present.
16972 (output_ulps): Generate arrays rather than #defines.
16973 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16974 (struct ulp_data): New type.
16975 (BUILD_COMPLEX_ULP): Remove macro.
16976 (compare_ulp_data): New function.
16977 (find_ulps): Likewise.
16978 (find_test_ulps): Likewise.
16979 (find_function_ulps): Likewise.
16980 (find_complex_function_ulps): Likewise.
16981 (print_max_error): Determine allowed ulps using
16982 find_function_ulps.
16983 (print_complex_max_error): Determine allowed ulps using
16984 find_complex_function_ulps.
16985 (check_float_internal): Determine max ulps using find_test_ulps.
16986 (check_float): Do not take max_ulp parameter. Update call to
16987 check_float_internal.
16988 (check_complex): Likewise.
16989 (check_int): Do not take max_ulp parameter.
16990 (check_long): Likewise.
16991 (check_bool): Likewise.
16992 (check_longlong): Likewise.
16993 (struct test_f_f_data): Remove max_ulp field.
16994 (struct test_ff_f_data): Likewise.
16995 (struct test_ff_f_data_nexttoward): Likewise.
16996 (struct test_fi_f_data): Likewise.
16997 (struct test_fl_f_data): Likewise.
16998 (struct test_if_f_data): Likewise.
16999 (struct test_fff_f_data): Likewise.
17000 (struct test_c_f_data): Likewise.
17001 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17002 (struct test_fF_f1_data): Likewise.
17003 (struct test_ffI_f1_data): Likewise.
17004 (struct test_c_c_data): Remove max_ulp field.
17005 (struct test_cc_c_data): Likewise.
17006 (struct test_f_i_data): Likewise.
17007 (struct test_ff_i_data): Likewise.
17008 (struct test_f_l_data): Likewise.
17009 (struct test_f_L_data): Likewise.
17010 (struct test_sincos_data): Likewise.
17011 (RUN_TEST_f_f): Do not handle ulps.
17012 (RUN_TEST_LOOP_f_f): Likewise.
17013 (RUN_TEST_2_f): Likewise.
17014 (RUN_TEST_LOOP_2_f): Likewise.
17015 (RUN_TEST_fff_f): Likewise.
17016 (RUN_TEST_LOOP_fff_f): Likewise.
17017 (RUN_TEST_c_f): Likewise.
17018 (RUN_TEST_LOOP_c_f): Likewise.
17019 (RUN_TEST_f_f1): Likewise.
17020 (RUN_TEST_LOOP_f_f1): Likewise.
17021 (RUN_TEST_fF_f1): Likewise.
17022 (RUN_TEST_LOOP_fF_f1): Likewise.
17023 (RUN_TEST_fI_f1): Likewise.
17024 (RUN_TEST_LOOP_fI_f1): Likewise.
17025 (RUN_TEST_ffI_f1): Likewise.
17026 (RUN_TEST_LOOP_ffI_f1): Likewise.
17027 (RUN_TEST_c_c): Likewise.
17028 (RUN_TEST_LOOP_c_c): Likewise.
17029 (RUN_TEST_cc_c): Likewise.
17030 (RUN_TEST_LOOP_cc_c): Likewise.
17031 (RUN_TEST_f_i): Likewise.
17032 (RUN_TEST_LOOP_f_i): Likewise.
17033 (RUN_TEST_f_i_tg): Likewise.
17034 (RUN_TEST_LOOP_f_i_tg): Likewise.
17035 (RUN_TEST_ff_i_tg): Likewise.
17036 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17037 (RUN_TEST_f_b): Likewise.
17038 (RUN_TEST_LOOP_f_b): Likewise.
17039 (RUN_TEST_f_b_tg): Likewise.
17040 (RUN_TEST_LOOP_f_b_tg): Likewise.
17041 (RUN_TEST_f_l): Likewise.
17042 (RUN_TEST_LOOP_f_l): Likewise.
17043 (RUN_TEST_f_L): Likewise.
17044 (RUN_TEST_LOOP_f_L): Likewise.
17045 (RUN_TEST_sincos): Likewise.
17046 (RUN_TEST_LOOP_sincos): Likewise.
17048 2013-05-17 Joseph Myers <joseph@codesourcery.com>
17052 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17053 main case of finite arguments, set rounding mode to FE_TONEAREST
17054 and discard exceptions.
17055 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17057 (remainder_tonearest_test_data): New variable.
17058 (remainder_test_tonearest): New function.
17059 (remainder_towardzero_test_data): New variable.
17060 (remainder_test_towardzero): New function.
17061 (remainder_downward_test_data): New variable.
17062 (remainder_test_downward): New function.
17063 (remainder_upward_test_data): New variable.
17064 (remainder_test_upward): New function.
17065 (main): Call the new test functions.
17067 * math/libm-test.inc (struct test_f_f1_data): Remove field
17069 (struct test_fF_f1_data): Likewise.
17070 (struct test_ffI_f1_data): Likewise.
17071 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17072 based on value of EXTRA_EXPECTED.
17073 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17074 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17075 EXTRA_VAR based on value of EXTRA_EXPECTED.
17076 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17077 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17078 EXTRA_VAR based on value of EXTRA_EXPECTED.
17079 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17080 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17081 EXTRA_VAR based on value of EXTRA_EXPECTED.
17082 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17083 * math/gen-libm-test.pl (parse_args): Don't output initializers
17084 for extra output values.
17086 * math/libm-test.inc (check_int): Expect result to be exactly
17087 equal to expected value and do not handle ulps.
17088 (check_long): Likewise.
17089 (check_longlong): Likewise.
17091 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17093 (cimag_test_data): Likewise.
17094 (conj_test_data): Likewise.
17095 (copysign_test_data): Likewise.
17096 (cproj_test_data): Likewise.
17097 (creal_test_data): Likewise.
17098 (fabs_test_data): Likewise.
17099 (fdim_test_data): Likewise.
17100 (finite_test_data): Likewise.
17101 (floor_test_data): Likewise.
17102 (fmax_test_data): Likewise.
17103 (fmin_test_data): Likewise.
17104 (fmod_test_data): Likewise.
17105 (fpclassify_test_data): Likewise.
17106 (frexp_test_data): Likewise.
17107 (ilogb_test_data): Likewise.
17108 (isfinite_test_data): Likewise.
17109 (isgreater_test_data): Likewise.
17110 (isgreaterequal_test_data): Likewise.
17111 (isinf_test_data): Likewise.
17112 (isless_test_data): Likewise.
17113 (islessequal_test_data): Likewise.
17114 (islessgreater_test_data): Likewise.
17115 (isnan_test_data): Likewise.
17116 (isnormal_test_data): Likewise.
17117 (issignaling_test_data): Likewise.
17118 (isunordered_test_data): Likewise.
17119 (ldexp_test_data): Likewise.
17120 (lrint_test_data): Likewise.
17121 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17122 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17123 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17124 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17125 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17126 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17128 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17129 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17130 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17131 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17133 (lrint_downward_test_data): Test for "inexact" exceptions.
17134 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17135 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17136 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17138 (lrint_upward_test_data): Test for "inexact" exceptions.
17139 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17141 (llrint_test_data): Test for "inexact" exceptions.
17142 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17143 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17144 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17145 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17146 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17147 (llrint_downward_test_data): Test for "inexact" exceptions.
17148 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17149 (llrint_upward_test_data): Test for "inexact" exceptions.
17150 (logb_test_data): Likewise.
17151 (logb_downward_test_data): Likewise.
17152 (nextafter_test_data): Likewise.
17153 (nexttoward_test_data): Likewise.
17154 (remainder_test_data): Likewise.
17155 (remquo_test_data): Likewise.
17156 (scalbn_test_data): Likewise.
17157 (scalbln_test_data): Likewise.
17158 (signbit_test_data): Likewise.
17159 (sqrt_test_data): Likewise.
17160 (significand_test_data): Likewise.
17162 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17165 * benchtests/bench-modf.c (struct args): Mark arg0 as
17167 * scripts/bench.pl: Mark members of struct args as volatile.
17169 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17172 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17173 negative infinity on POWER6 or lower.
17174 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17176 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17179 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17180 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17181 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17182 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17183 (_FP_SETQNAN): New macro.
17184 (_FP_SETQNAN_SEMIRAW): Likewise.
17185 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17186 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17187 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17188 (FP_EXTEND): Use _FP_FRAC_SNANP.
17189 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17190 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17192 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17194 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17197 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17199 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17200 with DIVIDE_BY_ZERO_EXCEPTION.
17201 (gamma_test_data): Likewise.
17202 (lgamma_test_data): Likewise.
17203 (log_test_data): Likewise.
17204 (log10_test_data): Likewise.
17205 (log2_test_data): Likewise.
17206 (tgamma_test_data): Likewise.
17208 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17209 (acos_test_tonearest): Likewise.
17210 (acos_test_towardzero): Likewise.
17211 (acos_test_downward): Likewise.
17212 (acos_test_upward): Likewise.
17213 (acosh_test): Likewise.
17214 (asin_test): Likewise.
17215 (asin_test_tonearest): Likewise.
17216 (asin_test_towardzero): Likewise.
17217 (asin_test_downward): Likewise.
17218 (asin_test_upward): Likewise.
17219 (asinh_test): Likewise.
17220 (atan_test): Likewise.
17221 (atanh_test): Likewise.
17222 (atan2_test): Likewise.
17223 (cabs_test): Likewise.
17224 (cacos_test): Likewise.
17225 (cacosh_test): Likewise.
17226 (casin_test): Likewise.
17227 (casinh_test): Likewise.
17228 (catan_test): Likewise.
17229 (catanh_test): Likewise.
17230 (cbrt_test): Likewise.
17231 (ccos_test): Likewise.
17232 (ccosh_test): Likewise.
17233 (cexp_test): Likewise.
17234 (clog_test): Likewise.
17235 (clog10_test): Likewise.
17236 (cos_test): Likewise.
17237 (cos_test_tonearest): Likewise.
17238 (cos_test_towardzero): Likewise.
17239 (cos_test_downward): Likewise.
17240 (cos_test_upward): Likewise.
17241 (cosh_test): Likewise.
17242 (cosh_test_tonearest): Likewise.
17243 (cosh_test_towardzero): Likewise.
17244 (cosh_test_downward): Likewise.
17245 (cosh_test_upward): Likewise.
17246 (cpow_test): Likewise.
17247 (csin_test): Likewise.
17248 (csinh_test): Likewise.
17249 (csqrt_test): Likewise.
17250 (ctan_test): Likewise.
17251 (ctan_test_tonearest): Likewise.
17252 (ctan_test_towardzero): Likewise.
17253 (ctan_test_downward): Likewise.
17254 (ctan_test_upward): Likewise.
17255 (ctanh_test): Likewise.
17256 (ctanh_test_tonearest): Likewise.
17257 (ctanh_test_towardzero): Likewise.
17258 (ctanh_test_downward): Likewise.
17259 (ctanh_test_upward): Likewise.
17260 (erf_test): Likewise.
17261 (erfc_test): Likewise.
17262 (exp_test): Likewise.
17263 (exp_test_tonearest): Likewise.
17264 (exp_test_towardzero): Likewise.
17265 (exp_test_downward): Likewise.
17266 (exp_test_upward): Likewise.
17267 (exp10_test): Likewise.
17268 (exp2_test): Likewise.
17269 (expm1_test): Likewise.
17270 (fmod_test): Likewise.
17271 (gamma_test): Likewise.
17272 (hypot_test): Likewise.
17273 (j0_test): Likewise.
17274 (j1_test): Likewise.
17275 (jn_test): Likewise.
17276 (lgamma_test): Likewise.
17277 (log_test): Likewise.
17278 (log10_test): Likewise.
17279 (log1p_test): Likewise.
17280 (log2_test): Likewise.
17281 (logb_test_downward): Likewise.
17282 (pow_test): Likewise.
17283 (pow_test_tonearest): Likewise.
17284 (pow_test_towardzero): Likewise.
17285 (pow_test_downward): Likewise.
17286 (pow_test_upward): Likewise.
17287 (remainder_test): Likewise.
17288 (remquo_test): Likewise.
17289 (sin_test): Likewise.
17290 (sin_test_tonearest): Likewise.
17291 (sin_test_towardzero): Likewise.
17292 (sin_test_downward): Likewise.
17293 (sin_test_upward): Likewise.
17294 (sincos_test): Likewise.
17295 (sinh_test): Likewise.
17296 (sinh_test_tonearest): Likewise.
17297 (sinh_test_towardzero): Likewise.
17298 (sinh_test_downward): Likewise.
17299 (sinh_test_upward): Likewise.
17300 (sqrt_test): Likewise.
17301 (tan_test): Likewise.
17302 (tan_test_tonearest): Likewise.
17303 (tan_test_towardzero): Likewise.
17304 (tan_test_downward): Likewise.
17305 (tan_test_upward): Likewise.
17306 (tanh_test): Likewise.
17307 (tgamma_test): Likewise.
17308 (y0_test): Likewise.
17309 (y1_test): Likewise.
17310 (yn_test): Likewise.
17312 * math/gen-libm-test.pl (adjust_arg): Remove function.
17313 (special_function): Remove argument $in_func. Only handle
17314 generating output for tables of tests, not inside functions.
17315 (parse_args): Likewise.
17316 (generate_testfile): Remove variable $in_func. Update call to
17318 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17319 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17320 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17321 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17322 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17323 (MAX_VALUE_INIT): Rename macro to max_value.
17324 (MIN_VALUE_INIT): Rename macro to min_value.
17325 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17326 (plus_zero): Remove variable.
17327 (minus_zero): Likewise.
17328 (plus_infty): Likewise.
17329 (minus_infty): Likewise.
17330 (qnan_value): Likewise.
17331 (max_value): Likewise.
17332 (min_value): Likewise.
17333 (min_subnorm_value): Likewise.
17335 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17337 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17338 uint64_t or uint32_t usage.
17339 * crypt/sha256-block.c: Likewise.
17340 * crypt/sha256-crypt.c: Likewise.
17341 * crypt/sha256.c: Likewise.
17342 * crypt/sha512-block.c: Likewise.
17343 * crypt/sha512-crypt.c: Likewise.
17344 * crypt/sha512.c: Likewise.
17345 * debug/backtrace-tst.c: Likewise.
17346 * debug/pcprofiledump.c: Likewise.
17347 * elf/cache.c: Likewise.
17348 * elf/dl-cache.c: Likewise.
17349 * elf/dl-misc.c: Likewise.
17350 * elf/dl-profile.c: Likewise.
17351 * elf/dl-support.c: Likewise.
17352 * elf/ldconfig.c: Likewise.
17353 * elf/sprof.c: Likewise.
17354 * iconv/dummy-repertoire.c: Likewise.
17355 * iconv/iconv_charmap.c: Likewise.
17356 * iconv/skeleton.c: Likewise.
17357 * iconvdata/8bit-generic.c: Likewise.
17358 * iconvdata/cp737.h: Likewise.
17359 * iconvdata/cp775.h: Likewise.
17360 * iconvdata/ibm1008.h: Likewise.
17361 * iconvdata/ibm1025.h: Likewise.
17362 * iconvdata/ibm1046.h: Likewise.
17363 * iconvdata/ibm1097.h: Likewise.
17364 * iconvdata/ibm1112.h: Likewise.
17365 * iconvdata/ibm1122.h: Likewise.
17366 * iconvdata/ibm1123.h: Likewise.
17367 * iconvdata/ibm1124.h: Likewise.
17368 * iconvdata/ibm1129.h: Likewise.
17369 * iconvdata/ibm1130.h: Likewise.
17370 * iconvdata/ibm1132.h: Likewise.
17371 * iconvdata/ibm1133.h: Likewise.
17372 * iconvdata/ibm1137.h: Likewise.
17373 * iconvdata/ibm1140.h: Likewise.
17374 * iconvdata/ibm1141.h: Likewise.
17375 * iconvdata/ibm1142.h: Likewise.
17376 * iconvdata/ibm1143.h: Likewise.
17377 * iconvdata/ibm1144.h: Likewise.
17378 * iconvdata/ibm1145.h: Likewise.
17379 * iconvdata/ibm1146.h: Likewise.
17380 * iconvdata/ibm1147.h: Likewise.
17381 * iconvdata/ibm1148.h: Likewise.
17382 * iconvdata/ibm1149.h: Likewise.
17383 * iconvdata/ibm1153.h: Likewise.
17384 * iconvdata/ibm1154.h: Likewise.
17385 * iconvdata/ibm1155.h: Likewise.
17386 * iconvdata/ibm1156.h: Likewise.
17387 * iconvdata/ibm1157.h: Likewise.
17388 * iconvdata/ibm1158.h: Likewise.
17389 * iconvdata/ibm1160.h: Likewise.
17390 * iconvdata/ibm1161.h: Likewise.
17391 * iconvdata/ibm1162.h: Likewise.
17392 * iconvdata/ibm1163.h: Likewise.
17393 * iconvdata/ibm1164.h: Likewise.
17394 * iconvdata/ibm1166.h: Likewise.
17395 * iconvdata/ibm1167.h: Likewise.
17396 * iconvdata/ibm12712.h: Likewise.
17397 * iconvdata/ibm1390.h: Likewise.
17398 * iconvdata/ibm1399.h: Likewise.
17399 * iconvdata/ibm16804.h: Likewise.
17400 * iconvdata/ibm4517.h: Likewise.
17401 * iconvdata/ibm4899.h: Likewise.
17402 * iconvdata/ibm4909.h: Likewise.
17403 * iconvdata/ibm4971.h: Likewise.
17404 * iconvdata/ibm5347.h: Likewise.
17405 * iconvdata/ibm803.h: Likewise.
17406 * iconvdata/ibm856.h: Likewise.
17407 * iconvdata/ibm901.h: Likewise.
17408 * iconvdata/ibm902.h: Likewise.
17409 * iconvdata/ibm9030.h: Likewise.
17410 * iconvdata/ibm9066.h: Likewise.
17411 * iconvdata/ibm921.h: Likewise.
17412 * iconvdata/ibm922.h: Likewise.
17413 * iconvdata/ibm9448.h: Likewise.
17414 * iconvdata/isiri-3342.h: Likewise.
17415 * iconvdata/jis0201.h: Likewise.
17416 * include/link.h: Likewise.
17417 * include/netdb.h: Likewise.
17418 * inet/check_native.c: Likewise.
17419 * inet/check_pf.c: Likewise.
17420 * inet/getipv4sourcefilter.c: Likewise.
17421 * inet/getnameinfo.c: Likewise.
17422 * inet/getsourcefilter.c: Likewise.
17423 * inet/htonl.c: Likewise.
17424 * inet/setipv4sourcefilter.c: Likewise.
17425 * inet/setsourcefilter.c: Likewise.
17426 * inet/test-inet6_opt.c: Likewise.
17427 * inet/tst-network.c: Likewise.
17428 * locale/C-collate.c: Likewise.
17429 * locale/C-ctype.c: Likewise.
17430 * locale/C-time.c: Likewise.
17431 * locale/C-translit.h: Likewise.
17432 * locale/loadarchive.c: Likewise.
17433 * locale/programs/3level.h: Likewise.
17434 * locale/programs/charmap.c: Likewise.
17435 * locale/programs/charmap.h: Likewise.
17436 * locale/programs/ld-address.c: Likewise.
17437 * locale/programs/ld-collate.c: Likewise.
17438 * locale/programs/ld-ctype.c: Likewise.
17439 * locale/programs/ld-identification.c: Likewise.
17440 * locale/programs/ld-measurement.c: Likewise.
17441 * locale/programs/ld-messages.c: Likewise.
17442 * locale/programs/ld-monetary.c: Likewise.
17443 * locale/programs/ld-name.c: Likewise.
17444 * locale/programs/ld-numeric.c: Likewise.
17445 * locale/programs/ld-paper.c: Likewise.
17446 * locale/programs/ld-telephone.c: Likewise.
17447 * locale/programs/ld-time.c: Likewise.
17448 * locale/programs/linereader.c: Likewise.
17449 * locale/programs/locale.c: Likewise.
17450 * locale/programs/locarchive.c: Likewise.
17451 * locale/programs/locfile.h: Likewise.
17452 * locale/programs/repertoire.c: Likewise.
17453 * locale/programs/simple-hash.c: Likewise.
17454 * locale/programs/simple-hash.h: Likewise.
17455 * malloc/memusage.c: Likewise.
17456 * malloc/memusagestat.c: Likewise.
17457 * nis/nis_defaults.c: Likewise.
17458 * nis/nis_hash.c: Likewise.
17459 * nis/nis_print.c: Likewise.
17460 * nis/nis_xdr.c: Likewise.
17461 * nscd/connections.c: Likewise.
17462 * nscd/hstcache.c: Likewise.
17463 * nscd/nscd_gethst_r.c: Likewise.
17464 * nscd/nscd_getserv_r.c: Likewise.
17465 * nscd/nscd_helper.c: Likewise.
17466 * nscd/servicescache.c: Likewise.
17467 * nss/makedb.c: Likewise.
17468 * nss/nss_db/db-XXX.c: Likewise.
17469 * nss/nss_db/db-initgroups.c: Likewise.
17470 * nss/nss_db/db-netgrp.c: Likewise.
17471 * nss/nss_files/files-network.c: Likewise.
17472 * nss/nss_files/files-parse.c: Likewise.
17473 * posix/bug-regex5.c: Likewise.
17474 * posix/fnmatch_loop.c: Likewise.
17475 * posix/regcomp.c: Likewise.
17476 * posix/regexec.c: Likewise.
17477 * posix/tst-rfc3484-2.c: Likewise.
17478 * posix/tst-rfc3484-3.c: Likewise.
17479 * posix/tst-rfc3484.c: Likewise.
17480 * resolv/nss_dns/dns-canon.c: Likewise.
17481 * resolv/nss_dns/dns-network.c: Likewise.
17482 * resolv/res_init.c: Likewise.
17483 * resolv/res_mkquery.c: Likewise.
17484 * resolv/tst-aton.c: Likewise.
17485 * stdlib/cxa_atexit.c: Likewise.
17486 * stdlib/cxa_finalize.c: Likewise.
17487 * stdlib/gen-fpioconst.c: Likewise.
17488 * stdlib/strtol_l.c: Likewise.
17489 * string/tst-endian.c: Likewise.
17490 * sunrpc/auth_des.c: Likewise.
17491 * sunrpc/clnt_udp.c: Likewise.
17492 * sunrpc/rtime.c: Likewise.
17493 * sunrpc/svcauth_des.c: Likewise.
17494 * sunrpc/xdr.c: Likewise.
17495 * sunrpc/xdr_intXX_t.c: Likewise.
17496 * sunrpc/xdr_rec.c: Likewise.
17497 * sysdeps/generic/ldconfig.h: Likewise.
17498 * sysdeps/generic/ldsodefs.h: Likewise.
17499 * sysdeps/generic/memusage.h: Likewise.
17500 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17501 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17502 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17510 * sysdeps/posix/getaddrinfo.c: Likewise.
17511 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17512 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17513 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17514 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17515 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17516 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17517 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17518 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17519 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17520 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17521 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17522 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17523 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17524 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17525 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17526 * sysdeps/x86_64/dl-tls.h: Likewise.
17527 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17528 * time/alt_digit.c: Likewise.
17529 * time/era.c: Likewise.
17530 * wcsmbs/tst-c16c32-1.c: Likewise.
17532 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17534 * math/libm-test.inc (struct test_sincos_data): New type.
17535 (RUN_TEST_LOOP_sincos): New macro.
17536 (sincos_test_data): New variable.
17537 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17539 2013-05-16 Richard Henderson <rth@redhat.com>
17541 * math/atest-exp2.c (LIMB64): New macro.
17542 (CONSTSZ): New macro.
17543 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17545 (print_mpn_fp): ... to function scope.
17546 (read_mpn_hex): Remove.
17547 (get_log2): Remove.
17548 (exp2_mpn): Use mp_log2.
17549 (main): Use mp_exp1.
17551 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17553 * math/libm-test.inc: Remove comment about not testing "inexact"
17555 (INEXACT_EXCEPTION): New macro.
17556 (NO_INEXACT_EXCEPTION): Likewise.
17557 (INVALID_EXCEPTION_OK): Update value.
17558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17559 (OVERFLOW_EXCEPTION_OK): Likewise.
17560 (UNDERFLOW_EXCEPTION_OK): Likewise.
17561 (IGNORE_ZERO_INF_SIGN): Likewise.
17562 (ERRNO_UNCHANGED): Likewise.
17563 (ERRNO_EDOM): Likewise.
17564 (ERRNO_ERANGE): Likewise.
17565 (test_exceptions): Handle testing "inexact" exceptions.
17566 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17567 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17568 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17569 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17571 (rint_towardzero_test_data): Likewise.
17572 (rint_downward_test_data): Likewise.
17573 (rint_upward_test_data): Likewise.
17575 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17576 with OVERFLOW_EXCEPTION.
17577 (exp10_test_data): Likewise.
17578 (exp2_test_data): Likewise.
17579 (expm1_test_data): Likewise.
17580 (lgamma_test_data): Likewise.
17581 (pow_test_data): Likewise.
17582 (tgamma_test_data): Likewise.
17583 (yn_test_data): Remove duplicate test of overflow.
17585 * math/libm-test.inc (struct test_cc_c_data): New type.
17586 (RUN_TEST_LOOP_cc_c): New macro.
17587 (cpow_test_data): New variable.
17588 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17590 * math/libm-test.inc (struct test_f_L_data): New type.
17591 (RUN_TEST_LOOP_f_L): New macro.
17592 (llrint_test_data): New variable.
17593 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17594 (llrint_tonearest_test_data): New variable.
17595 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17596 (llrint_towardzero_test_data): New variable.
17597 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17598 (llrint_downward_test_data): New variable.
17599 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17600 (llrint_upward_test_data): New variable.
17601 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17602 (llround_test_data): New variable.
17603 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17605 2013-05-13 Peter Collingbourne <pcc@google.com>
17607 * math/atest-exp2.c (get_log2): Remove const attribute.
17609 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17611 * math/libm-test.inc (struct test_f_l_data): New type.
17612 (RUN_TEST_LOOP_f_l): New macro.
17613 (lrint_test_data): New variable.
17614 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17615 (lrint_tonearest_test_data): New variable.
17616 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17617 (lrint_towardzero_test_data): New variable.
17618 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17619 (lrint_downward_test_data): New variable.
17620 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17621 (lrint_upward_test_data): New variable.
17622 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17623 (lround_test_data): New variable.
17624 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17626 2013-05-15 Peter Collingbourne <pcc@google.com>
17628 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17629 (EXTRACT_WORDS64) Use where appropriate.
17630 (INSERT_WORDS64) Likewise.
17632 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17633 constraints with x constraints.
17634 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17636 * malloc/obstack.c (_obstack_compat): Add initializer.
17638 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17641 si_trapno and add si_addr_lsb to _sifields.sigfault.
17642 (si_trapno): Remove macro.
17643 (si_addr_lsb): Define new macro.
17644 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17646 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17648 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17649 instead of TEST_f_l.
17650 (llrint_test_tonearest): Likewise.
17651 (llrint_test_towardzero): Likewise.
17652 (llrint_test_downward): Likewise.
17653 (llrint_test_upward): Likewise.
17654 (llround_test): Likewise.
17656 * math/libm-test.inc (struct test_f_i_data): Add comment.
17657 (RUN_TEST_LOOP_f_b): New macro.
17658 (RUN_TEST_LOOP_f_b_tg): Likewise.
17659 (finite_test_data): New variable.
17660 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17661 (isfinite_test_data): New variable.
17662 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17663 (isinf_test_data): New variable.
17664 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17665 (isnan_test_data): New variable.
17666 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17667 (isnormal_test_data): New variable.
17668 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17669 (issignaling_test_data): New variable.
17670 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17671 (signbit_test_data): New variable.
17672 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17674 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17675 with INVALID_EXCEPTION.
17676 (acosh_test_data): Likewise.
17677 (asin_test_data): Likewise.
17678 (atanh_test_data): Likewise.
17679 (fmod_test_data): Likewise.
17680 (log_test_data): Likewise.
17681 (log10_test_data): Likewise.
17682 (log2_test_data): Likewise.
17683 (pow_test_data): Likewise.
17684 (sqrt_test_data): Likewise.
17685 (y0_test_data): Likewise.
17686 (y1_test_data): Likewise.
17687 (yn_test_data): Likewise.
17689 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17692 * math/libm-test.inc (struct test_ff_i_data): New type.
17693 (RUN_TEST_LOOP_ff_i_tg): New macro.
17694 (isgreater_test_data): New variable.
17695 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17696 (isgreaterequal_test_data): New variable.
17697 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17698 (isless_test_data): New variable.
17699 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17700 (islessequal_test_data): New variable.
17701 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17702 (islessgreater_test_data): New variable.
17703 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17704 (isunordered_test_data): New variable.
17705 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17707 2013-05-14 David S. Miller <davem@davemloft.net>
17709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17711 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17713 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17715 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17717 (struct test_f_i_data): Change type of max_ulp to int.
17719 * math/libm-test.inc (test_ffI_f1_data): New type.
17720 (RUN_TEST_LOOP_ffI_f1): New macro.
17721 (remquo_test_data): New variable.
17722 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17724 * setjmp/tst-setjmp-fp.c: New file.
17725 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17726 (link-libm): New variable.
17727 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17729 * math/libm-test.inc (struct test_f_i_data): New type.
17730 (RUN_TEST_LOOP_f_i): New macro.
17731 (RUN_TEST_LOOP_f_i_tg): Likewise.
17732 (fpclassify_test_data): New variable.
17733 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17734 (ilogb_test_data): New variable.
17735 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17737 * math/libm-test.inc (scalbln_test): Correct function name in END
17740 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17741 (RUN_TEST_LOOP_fI_f1): New macro.
17742 (frexp_test_data): New variable.
17743 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17745 * math/libm-test.inc (struct test_fF_f1_data): New type.
17746 (RUN_TEST_LOOP_fF_f1): New macro.
17747 (modf_test_data): New variable.
17748 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17750 * math/libm-test.inc (struct test_f_f1_data): New type.
17751 (RUN_TEST_LOOP_f_f1): New macro.
17752 (gamma_test_data): New variable.
17753 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17754 (lgamma_test_data): New variable.
17755 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17757 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17759 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17760 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17761 (main): Comment "tls" pseudo-hwcap.
17763 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17765 * math/libm-test.inc (struct test_fl_f_data): New type.
17766 (RUN_TEST_LOOP_fl_f): New variable.
17767 (scalbln_test_data): New variable.
17768 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17770 * math/libm-test.inc (struct test_fi_f_data): New type.
17771 (RUN_TEST_LOOP_fi_f): New macro.
17772 (ldexp_test_data): New variable.
17773 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17774 (scalbn_test_data): New variable.
17775 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17777 * math/libm-test.inc (struct test_c_f_data): New type.
17778 (RUN_TEST_LOOP_c_f): New macro.
17779 (cabs_test_data): New variable.
17780 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17781 (carg_test_data): New variable.
17782 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17783 (cimag_test_data): New variable.
17784 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17785 (creal_test_data): New variable.
17786 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17788 * math/libm-test.inc (struct test_if_f_data): New type.
17789 (RUN_TEST_LOOP_if_f): New macro.
17790 (jn_test_data): New variable.
17791 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17792 (yn_test_data): New variable.
17793 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17795 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17797 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17799 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17800 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17802 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17804 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17805 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17806 (bench-deps): Add bench-timing.h.
17807 * benchtests-bench-skeleton.c: Include bench-timing.h.
17808 (main): Use TIMING_* macros instead of clock_gettime.
17809 * benchtests/bench-timing.h: New file.
17812 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17813 Renamed from _LIB_VERSION.
17814 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17816 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17818 * math/libm-test.inc (struct test_fff_f_data): New type.
17819 (RUN_TEST_LOOP_fff_f): New macro.
17820 (fma_test_data): New variable.
17821 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17822 (fma_towardzero_test_data): New variable.
17823 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17824 (fma_downward_test_data): New variable.
17825 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17826 (fma_upward_test_data): New variable.
17827 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17829 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17830 (struct test_c_c_data): New type.
17831 (RUN_TEST_LOOP_c_c): New macro.
17832 (cacos_test_data): New variable.
17833 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17834 (cacosh_test_data): New variable.
17835 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17836 (casin_test_data): New variable.
17837 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17838 (casinh_test_data): New variable.
17839 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17840 (catan_test_data): New variable.
17841 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17842 (catanh_test_data): New variable.
17843 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17844 (ccos_test_data): New variable.
17845 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17846 (ccosh_test_data): New variable.
17847 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17848 (cexp_test_data): New variable.
17849 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17850 (clog_test_data): New variable.
17851 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17852 (clog10_test_data): New variable.
17853 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17854 (conj_test_data): New variable.
17855 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17856 (cproj_test_data): New variable.
17857 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17858 (csin_test_data): New variable.
17859 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17860 (csinh_test_data): New variable.
17861 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17862 (csqrt_test_data): New variable.
17863 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17864 (ctan_test_data): New variable.
17865 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17866 (ctan_tonearest_test_data): New variable.
17867 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17868 (ctan_towardzero_test_data): New variable.
17869 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17870 (ctan_downward_test_data): New variable.
17871 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17872 (ctan_upward_test_data): New variable.
17873 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17874 (ctanh_test_data): New variable.
17875 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17876 (ctanh_tonearest_test_data): New variable.
17877 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17878 (ctanh_towardzero_test_data): New variable.
17879 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17880 (ctanh_downward_test_data): New variable.
17881 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17882 (ctanh_upward_test_data): New variable.
17883 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17884 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17887 * math/libm-test.inc (struct test_ff_f_data): New type.
17888 (struct test_ff_f_data_nexttoward): Likewise.
17889 (RUN_TEST_LOOP_2_f): New macro.
17890 (RUN_TEST_LOOP_ff_f): Likewise.
17891 (atan2_test_data): New variable.
17892 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17893 (copysign_test_data): New variable.
17894 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17895 (fdim_test_data): New variable.
17896 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17897 (fmax_test_data): New variable.
17898 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17899 (fmin_test_data): New variable.
17900 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17901 (fmod_test_data): New variable.
17902 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17903 (hypot_test_data): New variable.
17904 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17905 (nextafter_test_data): New variable.
17906 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17907 (nexttoward_test_data): New variable.
17908 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17909 (pow_test_data): New variable.
17910 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17911 (pow_tonearest_test_data): New variable.
17912 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17913 (pow_towardzero_test_data): New variable.
17914 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17915 (pow_downward_test_data): New variable.
17916 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17917 (pow_upward_test_data): New variable.
17918 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17919 (remainder_test_data): New variable.
17920 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17921 (scalb_test_data): New variable.
17922 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17923 * sysdeps/i386/fpu/libm-test-ulps: Update.
17925 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17927 * math/libm-test.inc (fma_test): Use max_value instead of local
17929 (nextafter_test): Likewise.
17931 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17932 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17933 (acos_downward_test_data): New variable.
17934 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17935 (acos_upward_test_data): New variable.
17936 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17937 (acosh_test_data): New variable.
17938 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17939 (asin_test_data): New variable.
17940 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17941 (asin_tonearest_test_data): New variable.
17942 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17943 (asin_towardzero_test_data): New variable.
17944 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17945 (asin_downward_test_data): New variable.
17946 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17947 (asin_upward_test_data): New variable.
17948 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17949 (asinh_test_data): New variable.
17950 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17951 (atan_test_data): New variable.
17952 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17953 (atanh_test_data): New variable.
17954 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17955 (cbrt_test_data): New variable.
17956 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17957 (ceil_test_data): New variable.
17958 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17959 (cos_test_data): New variable.
17960 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17961 (cos_tonearest_test_data): New variable.
17962 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17963 (cos_towardzero_test_data): New variable.
17964 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17965 (cos_downward_test_data): New variable.
17966 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17967 (cos_upward_test_data): New variable.
17968 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17969 (cosh_test_data): New variable.
17970 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17971 (cosh_tonearest_test_data): New variable.
17972 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17973 (cosh_towardzero_test_data): New variable.
17974 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17975 (cosh_downward_test_data): New variable.
17976 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17977 (cosh_upward_test_data): New variable.
17978 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17979 (erf_test_data): New variable.
17980 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17981 (erfc_test_data): New variable.
17982 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17983 (exp_test_data): New variable.
17984 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17985 (exp_tonearest_test_data): New variable.
17986 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17987 (exp_towardzero_test_data): New variable.
17988 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17989 (exp_downward_test_data): New variable.
17990 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17991 (exp_upward_test_data): New variable.
17992 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17993 (exp10_test_data): New variable.
17994 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17995 (exp2_test_data): New variable.
17996 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17997 (expm1_test_data): New variable.
17998 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17999 (fabs_test_data): New variable.
18000 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18001 (floor_test_data): New variable.
18002 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18003 (j0_test_data): New variable.
18004 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18005 (j1_test_data): New variable.
18006 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18007 (log_test_data): New variable.
18008 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18009 (log10_test_data): New variable.
18010 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18011 (log1p_test_data): New variable.
18012 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18013 (log2_test_data): New variable.
18014 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18015 (logb_test_data): New variable.
18016 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18017 (logb_downward_test_data): New variable.
18018 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18019 (nearbyint_test_data): New variable.
18020 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18021 (rint_test_data): New variable.
18022 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18023 (rint_tonearest_test_data): New variable.
18024 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18025 (rint_towardzero_test_data): New variable.
18026 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18027 (rint_downward_test_data): New variable.
18028 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18029 (rint_upward_test_data): New variable.
18030 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18031 (round_test_data): New variable.
18032 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18033 (sin_test_data): New variable.
18034 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18035 (sin_tonearest_test_data): New variable.
18036 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18037 (sin_towardzero_test_data): New variable.
18038 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18039 (sin_downward_test_data): New variable.
18040 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18041 (sin_upward_test_data): New variable.
18042 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18043 (sinh_test_data): New variable.
18044 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18045 (sinh_tonearest_test_data): New variable.
18046 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18047 (sinh_towardzero_test_data): New variable.
18048 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18049 (sinh_downward_test_data): New variable.
18050 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18051 (sinh_upward_test_data): New variable.
18052 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18053 (sqrt_test_data): New variable.
18054 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18055 (tan_test_data): New variable.
18056 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18057 (tan_tonearest_test_data): New variable.
18058 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18059 (tan_towardzero_test_data): New variable.
18060 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18061 (tan_downward_test_data): New variable.
18062 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18063 (tan_upward_test_data): New variable.
18064 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18065 (tanh_test_data): New variable.
18066 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18067 (tgamma_test_data): New variable.
18068 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18069 (trunc_test_data): New variable.
18070 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18071 (y0_test_data): New variable.
18072 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18073 (y1_test_data): New variable.
18074 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18075 (significand_test_data): New variable.
18076 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18078 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18081 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18083 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18085 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18087 2013-05-10 Andreas Jaeger <aj@suse.de>
18090 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18091 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18093 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18095 * math/gen-libm-test.pl (adjust_arg): New function.
18096 (special_functions): Handle generating output in both functions
18098 (parse_args): Likewise.
18099 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18100 $in_func argument to parse_args.
18101 * math/libm-test.inc (struct test_f_f_data): New type.
18102 (IF_ROUND_INIT_): New macro.
18103 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18104 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18105 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18106 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18107 (ROUND_RESTORE_): Likewise.
18108 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18109 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18110 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18111 (ROUND_RESTORE_FE_UPWARD): Likewise.
18112 (RUN_TEST_LOOP_f_f): New macro.
18113 (acos_test_data): New variable.
18114 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18115 (acos_tonearest_test_data): New variable.
18116 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18118 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18120 * benchtests/bench-skeleton.c (startup): Fix coding style.
18122 2013-05-10 Joseph Myers <joseph@codesourcery.com>
18125 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18126 negative infinity argument.
18127 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18128 negative infinity argument.
18129 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18130 negative infinity argument.
18131 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18134 2013-05-10 Florian Weimer <fweimer@redhat.com>
18136 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18137 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18138 * iconv/iconv_prog.c (main): Likewise.
18139 * locale/programs/charmap-dir.c (charmap_readdir)
18140 (fopen_uncompressed): Likewise.
18141 * locale/programs/locfile.c (siblings_uncached)
18142 (write_locale_data): Use lstat64 instead of lstat.
18143 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18146 2013-05-10 Andreas Jaeger <aj@suse.de>
18149 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18151 Include <locale.h>.
18153 2013-05-09 Carlos O'Donell <carlos@redhat.com>
18155 * elf/dl-close.c (_dl_close_worker): Add comments.
18157 2013-05-09 Joseph Myers <joseph@codesourcery.com>
18160 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18162 (__ieee754_rem_pio2l): Update comments.
18165 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18167 (__ieee754_rem_pio2l): Update comments.
18169 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18170 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18172 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18175 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18176 (M_PI_34_LOG10El): Likewise.
18177 (M_PI2_LOG10El): Likewise.
18178 (M_PI4_LOG10El): Likewise.
18179 (M_PI_LOG10El): Likewise.
18181 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18185 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18187 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18188 (MINUS_ZERO_INIT): Likewise.
18189 (PLUS_INFTY_INIT): Likewise.
18190 (MINUS_INFTY_INIT): Likewise.
18191 (QNAN_VALUE_INIT): Likewise.
18192 (MAX_VALUE_INIT): Likewise.
18193 (MIN_VALUE_INIT): Likewise.
18194 (MIN_SUBNORM_VALUE_INIT): Likewise.
18195 (plus_zero): Initialize with PLUS_ZERO_INIT.
18196 (minus_zero): Initialize with MINUS_ZERO_INIT.
18197 (plus_infty): Initialize with PLUS_INFTY_INIT.
18198 (minus_infty): Initialize with MINUS_INFTY_INIT.
18199 (qnan_value): Initialize with QNAN_VALUE_INIT.
18200 (max_value): Initialize with MAX_VALUE_INIT.
18201 (min_value): Initialize with MIN_VALUE_INIT.
18202 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18204 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18205 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18206 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18207 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18209 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18210 (RUN_TEST_2_f): Likewise.
18211 (RUN_TEST_ff_f): Likewise.
18212 (RUN_TEST_fi_f): Likewise.
18213 (RUN_TEST_fl_f): Likewise.
18214 (RUN_TEST_fff_f): Likewise.
18215 (RUN_TEST_c_f): Likewise.
18216 (RUN_TEST_f_f1): Likewise.
18217 (RUN_TEST_fF_f1): Likewise.
18218 (RUN_TEST_fI_f1): Likewise.
18219 (RUN_TEST_ffI_f1): Likewise.
18220 (RUN_TEST_c_c): Likewise.
18221 (RUN_TEST_cc_c): Likewise.
18222 (RUN_TEST_f_i): Likewise.
18223 (RUN_TEST_f_i_tg): Likewise.
18224 (RUN_TEST_ff_i_tg): Likewise.
18225 (RUN_TEST_f_b): Likewise.
18226 (RUN_TEST_f_b_tg): Likewise.
18227 (RUN_TEST_f_l): Likewise.
18228 (RUN_TEST_f_L): Likewise.
18229 (RUN_TEST_sincos): Likewise.
18230 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18231 whether to show exceptions. Do not include ");\n" in return
18233 (special_functions): Output call to RUN_TEST_sincos instead of
18234 check_float calls. Update calls to new_test.
18235 (parse_args): Output call to single RUN_TEST_* macro instead of
18236 check_* calls and other assignments. Update calls to new_test.
18242 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18243 input to result for tgamma overflow.
18244 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18245 (gamma_coeff): New variable.
18246 (NCOEFF): New macro.
18247 (gamma_positive): New function.
18248 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18249 underflow here. Use gamma_positive instead of exp (lgamma) for
18251 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18252 (gamma_coeff): New variable.
18253 (NCOEFF): New macro.
18254 (gammaf_positive): New function.
18255 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18256 underflow here. Use gamma_positive instead of exp (lgamma) for
18258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18259 (gamma_coeff): New variable.
18260 (NCOEFF): New macro.
18261 (gammal_positive): New function.
18262 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18263 underflow here. Use gamma_positive instead of exp (lgamma) for
18265 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18266 (gamma_coeff): New variable.
18267 (NCOEFF): New macro.
18268 (gammal_positive): New function.
18269 (__ieee754_gammal_r): Handle positive infinity, overflow and
18270 underflow here. Handle NaN the same as positive infinity. Remove
18271 check x < 0xffffffff for negative integers. Use gamma_positive
18272 instead of exp (lgamma) for other arguments.
18273 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18274 (gamma_coeff): New variable.
18275 (NCOEFF): New macro.
18276 (gammal_positive): New function.
18277 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18278 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18283 * sysdeps/generic/math_private.h (__gamma_productf): New
18285 (__gamma_product): Likewise.
18286 (__gamma_productl): Likewise.
18287 * math/Makefile (libm-calls): Add gamma_product.
18288 * math/libm-test.inc (tgamma_test): Add more tests.
18289 * sysdeps/i386/fpu/libm-test-ulps: Update.
18290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18292 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18294 * benchtests/bench-skeleton.c (main): Preheat CPU.
18296 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18298 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18300 2013-05-07 Roland McGrath <roland@hack.frob.com>
18302 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18303 and _dl_skip_args_internal.
18305 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18307 * manual/message.texi (Message Translation): Talk about users.
18308 Message to key mapping impacts design.
18310 2013-05-06 Roland McGrath <roland@hack.frob.com>
18312 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18314 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18316 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18317 * sysdeps/wordsize-64/glob64.c: ... here.
18319 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18320 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18323 * debug/getlogin_r_chk.c: Moved to ...
18324 * login/getlogin_r_chk.c: ... here.
18325 * debug/Makefile (routines): Move getlogin_r_chk to ...
18326 * login/Makefile (routines): ... here.
18327 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18328 * login/Versions (libc: GLIBC_2.4): ... here.
18330 * io/poll.c (__poll): Renamed from poll.
18331 Add libc_hidden_def.
18332 (poll): Define as weak alias.
18334 * debug/ptsname_r_chk.c: Moved to ...
18335 * login/ptsname_r_chk.c: ... here.
18336 * debug/Makefile (routines): Move ptsname_r_chk to ...
18337 * login/Makefile (routines): ... here.
18338 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18339 * login/Versions (libc: GLIBC_2.4): ... here.
18341 * posix/getlogin.c: Moved to ...
18342 * login/getlogin.c: ... here.
18343 * posix/getlogin_r.c: Moved to ...
18344 * login/getlogin_r.c: ... here.
18345 * posix/getlogin_r.c: Moved to ...
18346 * login/getlogin_r.c: ... here.
18347 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18348 * login/Makefile (routines): ... here.
18349 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18350 * login/Versions (libc: GLIBC_2.0): ... here.
18352 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18353 (setrlimit): Define as weak alias.
18355 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18356 Call __ names for open, ftruncate, and close.
18357 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18358 (truncate): Define as weak alias.
18360 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18362 * math/gen-libm-test.pl (parse_args): Initialize x before each
18363 test of frexp, modf and remquo.
18365 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18366 test signgam value.
18368 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18372 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18374 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18376 2013-05-06 Roland McGrath <roland@hack.frob.com>
18378 * elf/dl-writev.h: New file.
18379 * elf/dl-misc.c: Include it.
18380 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18381 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18383 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18385 * math/libm-test.inc (noXFails): Remove variable.
18386 (noXPasses): Likewise.
18387 (BUILD_COMPLEX_INT): Remove macro.
18388 (print_screen): Remove xfail argument.
18389 (print_screen_max_error): Likewise.
18390 (update_stats): Likewise.
18391 (print_max_error): Likewise. Update calls to other affected
18393 (print_complex_max_error): Likewise.
18394 (test_single_exception): Update calls to print_screen.
18395 (test_single_errno): Likewise.
18396 (check_float_internal): Remove xfail argument. Update calls to
18397 other affected functions.
18398 (check_float): Likewise.
18399 (check_complex): Likewise.
18400 (check_int): Likewise.
18401 (check_long): Likewise.
18402 (check_bool): Likewise.
18403 (check_longlong): Likewise.
18404 (main): Don't print noXFails and noXPasses.
18405 * math/gen-libm-test.pl (top level): Don't mention expected
18406 failure handling in comment.
18407 (new_test): Don't handle expected failures.
18408 (parse_args): Don't mention expected failure handling in comment.
18409 (generate_testfile): Don't handle expected failures.
18410 (parse_ulps): Likewise.
18411 (print_ulps_file): Likewise.
18412 (get_failure): Remove function.
18413 (output_test): Don't handle expected failures.
18414 * make/README.libm-test: Don't mention expected failure handling.
18416 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18417 (minus_zero): Likewise.
18418 (plus_infty): Likewise.
18419 (minus_infty): Likewise.
18420 (qnan_value): Likewise.
18421 (max_value): Likewise.
18422 (min_value): Likewise.
18423 (min_subnorm_value): Likewise.
18424 (initialize): Do not initialize those variables dynamically.
18426 2013-05-03 Roland McGrath <roland@hack.frob.com>
18428 * io/open.c (__open_2): Moved to ...
18429 * io/open_2.c: ... this new file.
18430 * io/open64.c (__open64_2): Moved to ...
18431 * io/open64_2.c: ... this new file.
18432 * io/openat.c (__openat_2): Moved to ...
18433 * io/openat_2.c: ... this new file.
18434 * io/openat64.c (__openat64_2): Moved to ...
18435 * io/openat64_2.c: ... this new file.
18436 * io/Makefile (routines): Add them.
18437 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18438 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18439 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18440 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18441 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18442 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18443 (__openat64): Add hidden_ver.
18444 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18445 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18447 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18448 Separately conditionalize setting of GLRO(dl_sysinfo) so
18449 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18450 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18452 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18454 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18455 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18457 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18458 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18459 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18460 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18461 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18463 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18465 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18466 test signgam value.
18468 * math/libm-test.inc (hypot_test): Do not use
18469 IGNORE_ZERO_INF_SIGN.
18471 2013-05-03 Andreas Jaeger <aj@suse.de>
18473 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18475 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18476 (PF_MAX): Adjust for VSOCK change.
18478 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18482 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18485 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18486 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18487 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18489 2013-05-02 David S. Miller <davem@davemloft.net>
18491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18493 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18495 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18497 2013-05-01 Roland McGrath <roland@hack.frob.com>
18499 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18501 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18504 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18505 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18506 Use __attribute__ ((__gnu_inline__)).
18507 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18508 Don't use __attribute__ ((__gnu_inline__)).
18510 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18513 * math/s_catan.c (__catan): Handle small real or imaginary part of
18514 input specially to avoid spurious underflow.
18515 * math/s_catanf.c (__catanf): Likewise.
18516 * math/s_catanh.c (__catanh): Likewise.
18517 * math/s_catanhf.c (__catanhf): Likewise.
18518 * math/s_catanhl.c (__catanhl): Likewise.
18519 * math/s_catanl.c (__catanl): Likewise.
18520 * math/libm-test.inc (catan_test): Add more tests.
18521 (catanh_test): Likewise.
18522 * sysdeps/i386/fpu/libm-test-ulps: Update.
18523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18525 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18529 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18532 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18533 accurately for denominator in atan2.
18534 * math/s_catanf.c (__catanf): Likewise.
18535 * math/s_catanh.c (__catanh): Likewise.
18536 * math/s_catanhf.c (__catanhf): Likewise.
18537 * math/s_catanhl.c (__catanhl): Likewise.
18538 * math/s_catanl.c (__catanl): Likewise.
18539 * math/libm-test.inc (catan_test): Add more tests.
18540 (catanh_test): Likewise.
18541 * sysdeps/i386/fpu/libm-test-ulps: Update.
18542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18546 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18548 * benchtests/Makefile (bench): Remove slow benchmarks.
18549 * benchtests/atan-inputs: Add slow benchmark inputs.
18550 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18551 (BENCH_FUNC): Accept variant offset.
18553 * benchtests/bench-skeleton.c (main): Run benchmark for each
18555 * benchtests/cos-inputs: Add slow benchmark inputs.
18556 * benchtests/exp-inputs: Likewise.
18557 * benchtests/pow-inputs: Likewise.
18558 * benchtests/sin-inputs: Likewise.
18559 * benchtests/slowatan-inputs: Remove.
18560 * benchtests/slowatan.c: Remove.
18561 * benchtests/slowcos-inputs: Remove.
18562 * benchtests/slowcos.c: Remove.
18563 * benchtests/slowexp-inputs: Remove.
18564 * benchtests/slowexp.c: Remove.
18565 * benchtests/slowpow-inputs: Remove.
18566 * benchtests/slowpow.c: Remove.
18567 * benchtests/slowsin-inputs: Remove.
18568 * benchtests/slowsin.c: Remove.
18569 * benchtests/slowtan-inputs: Remove.
18570 * benchtests/slowtan.c: Remove.
18571 * benchtests/tan-inputs: Add slow benchmark inputs.
18572 * scripts/bench.pl: Parse comments and directives.
18574 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18576 ($(objpfx)bench-%.c): Remove *-ITER.
18577 * benchtests/bench-modf.c: Remove definition of ITER.
18578 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18579 (main): Loop for DURATION seconds instead of fixed number of
18581 * scripts/bench.pl: Don't expect iterations in parameters.
18583 2013-04-29 Roland McGrath <roland@hack.frob.com>
18585 * io/fchdir.c (__fchdir): Renamed from fchdir.
18586 (fchdir): Define as weak alias.
18588 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18590 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18591 (ERRNO_EDOM): Likewise.
18592 (ERRNO_ERANGE): Likewise.
18593 (noErrnoTests): New variable.
18594 (init_max_error): Set errno to 0.
18595 (test_single_errno): New function.
18596 (test_errno): Likewise.
18597 (check_float_internal): Call test_errno. Set errno to 0.
18598 (check_complex): Refer to errno tests in comment.
18599 (check_int): Call test_errno. Set errno to 0.
18600 (check_long): Likewise.
18601 (check_bool): Likewise.
18602 (check_longlong): Likewise.
18603 (cos_test): Use ERRNO_* flags for errno tests instead of
18605 (expm1_test): Likewise.
18606 (fmod_test): Likewise.
18607 (ilogb_test): Likewise.
18608 (lgamma_test): Likewise.
18609 (pow_test): Likewise.
18610 (remainder_test): Likewise.
18611 (sin_test): Likewise.
18612 (tan_test): Likewise.
18613 (yn_test): Likewise.
18614 (initialize): Set errno to 0.
18615 (main): Print number of errno tests.
18616 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18618 2013-04-29 Andreas Jaeger <aj@suse.de>
18621 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18625 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18626 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18630 * stdlib/random.c (__initstate): Return NULL if
18634 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18635 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18638 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18642 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18644 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18645 of individual tests.
18646 (casin_test): Likewise.
18647 (casinh_test): Likewise.
18649 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18652 * math/s_catan.c (__catan): Handle arguments with large real or
18653 imaginary part separately without squaring.
18654 * math/s_catanf.c (__catanf): Likewise.
18655 * math/s_catanh.c (__catanh): Likewise.
18656 * math/s_catanhf.c (__catanhf): Likewise.
18657 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18659 (__catanhl): Handle arguments with large real or imaginary part
18660 separately without squaring.
18661 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18663 (__catanl): Handle arguments with large real or imaginary part
18664 separately without squaring.
18665 * math/libm-test.inc (catan_test): Add more tests.
18666 (catanh_test): Likewise.
18667 * sysdeps/i386/fpu/libm-test-ulps: Update.
18668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18670 2013-04-27 Andreas Jaeger <aj@suse.de>
18673 * stdlib/stdlib.h: Update guards for qecvt.
18674 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18677 2013-04-27 Allan McRae <allan@archlinux.org>
18679 * sysdeps/i386/fpu/libm-test-ulps: Update.
18681 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18684 * math/s_catan.c: Include <float.h>.
18685 (__catan): Ensure underflow exception occurs for underflowed
18687 * math/s_catanf.c: Include <float.h>.
18688 (__catanf): Ensure underflow exception occurs for underflowed
18690 * math/s_catanh.c: Include <float.h>.
18691 (__catanh): Ensure underflow exception occurs for underflowed
18693 * math/s_catanhf.c: Include <float.h>.
18694 (__catanhf): Ensure underflow exception occurs for underflowed
18696 * math/s_catanhl.c: Include <float.h>.
18697 (__catanhl): Ensure underflow exception occurs for underflowed
18699 * math/s_catanl.c: Include <float.h>.
18700 (__catanl): Ensure underflow exception occurs for underflowed
18702 * math/libm-test.inc (catan_test): Add more tests.
18703 (catanh_test): Likewise.
18706 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18707 underflowed result.
18708 * math/s_ccoshf.c (__ccoshf): Likewise.
18709 * math/s_ccoshl.c (__ccoshl): Likewise.
18710 * math/s_csin.c (__csin): Likewise.
18711 * math/s_csinf.c (__csinf): Likewise.
18712 * math/s_csinh.c (__csinh): Likewise.
18713 * math/s_csinhf.c (__csinhf): Likewise.
18714 * math/s_csinhl.c (__csinhl): Likewise.
18715 * math/s_csinl.c (__csinl): Likewise.
18716 * math/libm-test.inc (ccos_test): Add more tests.
18717 (ccosh_test): Likewise.
18718 (csin_test): Likewise.
18719 (csinh_test): Likewise.
18721 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18723 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18724 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18725 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18726 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18727 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18728 powerpc/power5+/fpu folders.
18729 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18732 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18736 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18738 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18739 additions to variable.
18740 [$(config-machine) = x86_64] (modules-names): Likewise.
18741 ($(objpfx)tst-audit3): Remove dependency.
18742 ($(objpfx)tst-audit3.out): Likewise.
18743 ($(objpfx)tst-audit4): Likewise.
18744 ($(objpfx)tst-audit4.out): Likewise.
18745 ($(objpfx)tst-audit5): Likewise.
18746 ($(objpfx)tst-audit5.out): Likewise.
18747 ($(objpfx)tst-audit6): Likewise.
18748 ($(objpfx)tst-audit6.out): Likewise.
18749 ($(objpfx)tst-audit7): Likewise.
18750 ($(objpfx)tst-audit7.out): Likewise.
18751 (tst-audit3-ENV): Remove variable.
18752 (tst-audit4-ENV): Likewise.
18753 (tst-audit5-ENV): Likewise.
18754 (tst-audit6-ENV): Likewise.
18755 (tst-audit7-ENV): Likewise.
18756 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18757 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18758 addition to variable.
18759 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18760 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18761 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18762 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18763 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18764 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18765 tst-audit3, tst-audit4 and tst-audit5.
18766 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18767 tst-audit6 and tst-audit7.
18768 [$(subdir) = elf] (modules-names): Add audit modules for those
18770 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18771 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18772 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18773 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18774 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18775 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18776 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18777 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18778 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18779 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18780 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18781 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18782 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18783 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18784 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18785 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18787 [$(subdir) = elf && $(config-cflags-avx) = yes]
18788 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18789 [$(subdir) = elf && $(config-cflags-avx) = yes]
18790 (CFLAGS-tst-auditmod4a.c): Likewise.
18791 [$(subdir) = elf && $(config-cflags-avx) = yes]
18792 (CFLAGS-tst-auditmod4b.c): Likewise.
18793 [$(subdir) = elf && $(config-cflags-avx) = yes]
18794 (CFLAGS-tst-auditmod6b.c): Likewise.
18795 [$(subdir) = elf && $(config-cflags-avx) = yes]
18796 (CFLAGS-tst-auditmod6c.c): Likewise.
18797 [$(subdir) = elf && $(config-cflags-avx) = yes]
18798 (CFLAGS-tst-auditmod7b.c): Likewise.
18799 * elf/tst-audit3.c: Move to ...
18800 * sysdeps/x86_64/tst-audit3.c: ... here.
18801 * elf/tst-audit4.c: Move to ...
18802 * sysdeps/x86_64/tst-audit4.c: ... here.
18803 * elf/tst-audit5.c: Move to ...
18804 * sysdeps/x86_64/tst-audit5.c: ... here.
18805 * elf/tst-audit6.c: Move to ...
18806 * sysdeps/x86_64/tst-audit6.c: ... here.
18807 * elf/tst-audit7.c: Move to ...
18808 * sysdeps/x86_64/tst-audit7.c: ... here.
18809 * elf/tst-auditmod3a.c: Move to ...
18810 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18811 * elf/tst-auditmod3b.c: Move to ...
18812 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18813 * elf/tst-auditmod4a.c: Move to ...
18814 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18815 * elf/tst-auditmod4b.c: Move to ...
18816 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18817 * elf/tst-auditmod5a.c: Move to ...
18818 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18819 * elf/tst-auditmod5b.c: Move to ...
18820 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18821 * elf/tst-auditmod6a.c: Move to ...
18822 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18823 * elf/tst-auditmod6b.c: Move to ...
18824 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18825 * elf/tst-auditmod6c.c: Move to ...
18826 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18827 * elf/tst-auditmod7a.c: Move to ...
18828 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18829 * elf/tst-auditmod7b.c: Move to ...
18830 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18832 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18835 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18836 define unconditionally.
18837 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18838 define unconditionally.
18839 (INT8_C, INT16_C, etc.): Likewise.
18841 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18843 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18844 __ehdr_start with hidden visibility.
18846 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18848 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18850 * math/libm-test.inc (cos_test): Use accurate hex constants.
18851 (sincost_test): Likewise.
18853 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18855 * math/libm-test.inc (catan_test): Add more tests.
18856 (catanh_test): Likewise.
18858 * math/s_catanf.c (__catanf): Use suffixed floating-point
18860 * math/s_catanhf.c (__catanhf): Likewise.
18861 * math/s_catanhl.c (__catanhl): Likewise.
18862 * math/s_catanl.c (__catanl): Likewise.
18865 * math/s_catan.c (__catan): Calculate imaginary part of result
18866 with log1p not log unless computing log of number close to 0.
18867 * math/s_catanf.c (__catanf): Likewise.
18868 * math/s_catanl.c (__catanl): Likewise.
18869 * math/s_catanh.c (__catanh): Calculate real part of result with
18870 log1p not log unless computing log of number close to 0.
18871 * math/s_catanhf.c (__catanhf): Likewise.
18872 * math/s_catanhl.c (__catanhl): Likewise.
18873 * math/libm-test.inc (catan_test): Add more tests.
18874 (catanh_test): Likewise.
18875 * sysdeps/i386/fpu/libm-test-ulps: Update.
18876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18878 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18880 * benchtests/Makefile: Mention files in which fast and slow
18881 paths of math functions are implemented.
18883 2013-04-23 Roland McGrath <roland@hack.frob.com>
18885 * sysdeps/posix/timespec_get.c: New file.
18887 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18889 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18891 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18893 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18894 powerpc/power5/fpu folders.
18895 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18896 * benchtests/Makefile: Add modf testcase.
18897 * benchtests/bench-modf.c: New file: Benchmark test for mo
18899 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18902 * time/Makefile (tests): Add tst-strptime-whitespace.
18903 * time/strptime_l.c (get_number): Use ISSPACE.
18904 (__strptime_internal): Likewise.
18905 * time/tst-strptime-whitespace.c: New test case.
18907 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18909 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18911 (_nss_files_init): Set it here.
18913 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18915 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18916 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18919 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18921 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18923 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18925 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18928 2013-04-21 David S. Miller <davem@davemloft.net>
18930 * po/ru.po: Update Russion translation from translation project.
18932 2013-04-17 Adam Conrad <adconrad@0c3.net>
18934 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18937 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18939 * configure.in: Remove i386 configure warning. Remove i386 case.
18940 * configure: Regenerate.
18941 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18942 Add example to error message.
18943 * sysdeps/i386/configure: Regenerate.
18945 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18947 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18949 * benchtests/cos-inputs: New file.
18950 * benchtests/slowcos-inputs: New file.
18951 * benchtests/slowcos.c: New file.
18952 * benchtests/slowtan-inputs: New file.
18953 * benchtests/slowtan.c: New file.
18954 * benchtests/tan-inputs: New file.
18956 2013-04-16 Roland McGrath <roland@hack.frob.com>
18958 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18961 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18963 * benchtests/Makefile: Include cppflags-iterator.mk to add
18964 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18966 * Makefile.in (bench-clean): New target.
18967 * benchtests/Makefile (bench-clean): Likewise.
18969 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18971 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18973 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18975 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18977 2013-04-15 Andreas Schwab <schwab@suse.de>
18979 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18981 * nscd/pwdcache.c (cache_addpw): Likewise.
18982 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18985 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18987 * benchtests/Makefile (bench): Write all output to
18988 bench-out.tmp together.
18990 2013-04-15 Andreas Schwab <schwab@suse.de>
18992 * nscd/nscd.c (main): Don't fork again after closing files.
18994 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18996 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18998 * benchtests/Rules (bench-deps): Collect dependencies into a
18999 single variable. Add Makefile to dependencies.
19000 ($(objpfx)bench-%.c): Depend on bench-deps.
19002 2013-04-12 Roland McGrath <roland@hack.frob.com>
19003 Xavier Roche <roche+kml2@exalead.com>
19006 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19007 just that it's a file descriptor.
19008 * manual/llio.texi (Synchronizing AIO Operations): Update description
19009 for EBADF error from aio_fsync.
19011 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19013 * Rules (bench): Move target definition...
19014 * benchtests/Makefile: ... here.
19016 2013-04-11 Carlos O'Donell <carlos@redhat.com>
19018 * math/libm-test.inc (cos_test): Fix PI/2 test.
19019 (sincos_test): Likewise.
19020 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19021 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19023 2013-04-11 Andreas Schwab <schwab@suse.de>
19026 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19027 accept exponent character only when digits were seen.
19028 * stdio-common/Makefile (tests): Add bug26.
19029 * stdio-common/bug26.c: New file.
19032 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19035 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19037 * Makeconfig (rtld-prefix): Define built linker prefix.
19038 * Rules (run-bench): Use it.
19039 * math/Makefile (run-regen-ulps): Likewise.
19041 * Rules (bench): Remove eval.
19043 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19044 Roland McGrath <roland@hack.frob.com>
19045 Ondrej Bilka <neleai@seznam.cz>
19048 * time/getdate.c: Include ctype.h and alloca.h.
19049 (__getdate_r): Trim leading and trailing spaces of input.
19050 * time/tst-getdate.c (tests): Add tests with leading and
19053 2013-04-08 Roland McGrath <roland@hack.frob.com>
19056 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19057 when computing value.
19059 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19061 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19062 Use testrun.sh to run libm tests.
19065 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19067 2013-04-06 Marko Myllynen <myllynen@redhat.com>
19070 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19072 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19074 * Makefile.in (regen-ulps): New target.
19075 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19076 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19077 [ifneq (no,$(PERL)] (regen-ulps): New target.
19078 [ifeq (no,$(PERL)] (regen-ulps): New target.
19079 * math/libm-test.inc (ulps_file_name): Define.
19080 (output_dir): New variable.
19081 (options): Add "output-dir" option.
19082 (parse_opt): Handle 'o' case.
19083 (main): If output_dir is non-NULL use it as a prefix
19085 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19087 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19089 [BZ #10060, #10062]
19090 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19091 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19092 fail configure if __sync_val_compare_and_swap is not inlined.
19093 * sysdeps/i386/configure: Regenerate.
19094 * configure.in: Build for i686 when configured for i386.
19095 * configure: Regenerate.
19096 * README: Remove i386 reference.
19098 2013-04-06 Carlos O'Donell <carlos@redhat.com>
19100 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19103 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19105 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19106 (lmsnanval): New variables.
19107 (F): Add conversion tests.
19108 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19109 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19111 * stdio-common/tstdiomisc.c (F): Properly collect individual
19114 [BZ #14686, #15336]
19115 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19116 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19117 Instead, use input NaN values or generate a qNaN by arithmetic
19118 operation. Also fix bugs to comply with the standard.
19119 * math/libm-test.inc (remainder_test): Add more tests.
19121 [BZ #15335, #15342]
19122 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19124 input NaN values or generate a qNaN by arithmetic operation.
19126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19129 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19132 2013-04-03 Joseph Myers <joseph@codesourcery.com>
19135 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19136 underflowed result.
19137 * math/s_cexpf.c (__cexpf): Likewise.
19138 * math/s_cexpl.c (__cexpl): Likewise.
19139 * math/libm-test.inc (cexp_test): Add more tests.
19141 2013-04-03 Andreas Schwab <schwab@suse.de>
19144 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19145 order arrays from heap if bigger than alloca cutoff.
19147 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19149 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19150 (SNAN_TESTS_double): Refer to GCC PR56831.
19151 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19154 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19156 * Rules (bench): Move bench.out after the run is complete.
19158 * Rules (bench): Echo currently running benchmark.
19160 * benchtests/Makefile (bench): Add atan and slowatan.
19161 * benchtests/atan-inputs: New file.
19162 * benchtests/slowatan-inputs: New file.
19163 * benchtests/slowatan.c: New file.
19165 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19170 * sysdeps/unix/sysv/linux/kernel-features.h
19171 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19172 __ASSUME_XFS_RESTRICTED_CHOWN.
19173 * sysdeps/unix/sysv/linux/pathconf.c
19174 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19175 Save and restore errno.
19177 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19180 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19181 arguments using __kernel_casinh.
19182 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19183 arguments using __kernel_casinhf.
19184 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19185 arguments using __kernel_casinhl.
19186 * math/libm-test.inc (cacosh_test): Add more tests.
19187 * sysdeps/i386/fpu/libm-test-ulps: Update.
19188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19190 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19192 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19193 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19195 * bench/Makefile (bench): Add sin and slowsin.
19196 * benchtests/sin-inputs: New file.
19197 * benchtests/slowsin-inputs: New file.
19198 * benchtests/slowsin.c: New file.
19200 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19201 (bench): Add slowexp and slowpow.
19202 (exp-ITER): Increase iterations.
19203 (pow-ITER): Likewise.
19204 * benchtests/exp-inputs: Change input.
19205 * benchtests/pow-inputs: Likewise.
19206 * benchtests/slowexp-inputs: New file.
19207 * benchtests/slowexp.c: New file.
19208 * benchtests/slowpow-inputs: New file.
19209 * benchtests/slowpow.c: New file.
19211 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19213 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19215 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19216 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19217 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19218 * benchtests/Makefile: Add rint benchtest.
19219 * benchtests/rint-inputs: Input for rint benchtest.
19221 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19223 * Versions.def (libm): Add GLIBC_2.18.
19224 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19225 hidden libm prototypes.
19226 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19227 * math/Makefile (libm-calls): Add s_issignaling.
19228 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19229 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19230 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19232 * math/math.h [__USE_GNU] (issignaling): New macro.
19233 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19234 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19236 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19237 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19238 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19239 * manual/arith.texi (issignaling): New section.
19240 * manual/libm-err-tab.pl (@all_functions): Update comment.
19241 * math/gen-libm-test.pl (parse_args): Apply special handling for
19243 * math/libm-test.inc (print_float, issignaling_test): New
19245 (check_float_internal): Add issignaling checks.
19246 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19247 default definition.
19248 * sysdeps/powerpc/math-tests.h: New file.
19249 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19251 * math/test-snan.c (TEST_FUNC): Likewise.
19253 2013-03-30 David S. Miller <davem@davemloft.net>
19255 * po/de.po: Update from translation team.
19257 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19260 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19261 imaginary part less than 1.0 and real part less than 0.5
19263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19265 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19266 (cacos_test): Add more tests.
19267 (casin_test): Likewise.
19268 (casinh_test): Likewise.
19269 * sysdeps/i386/fpu/libm-test-ulps: Update.
19270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19272 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19274 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19275 ONE with its value.
19277 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19278 (__pow_mp): Replace ONE and MONE with their values.
19279 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19280 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19281 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19282 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19283 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19284 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19286 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19288 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19289 (__pow_mp): Replace ZERO and MZERO with their values.
19290 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19294 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19295 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19298 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19300 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19302 2013-03-28 Roland McGrath <roland@hack.frob.com>
19304 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19305 Declare with __attribute__ ((weak)).
19306 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19307 Call __call_tls_dtors only if it's not NULL.
19309 2013-03-28 Roland McGrath <roland@hack.frob.com>
19311 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19312 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19313 magic __ehdr_start linker symbol if it's defined.
19314 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19315 them up here if it was already done.
19317 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19318 (_dl_aux_init): Use const in cast when setting it.
19319 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19320 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19321 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19323 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19325 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19326 * csu/libc-tls.c: Nor here.
19327 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19329 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19330 (__libc_message): Never call vsyslog.
19332 2013-03-28 Alan Modra <amodra@gmail.com>
19334 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19336 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19339 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19342 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19346 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19349 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19350 Don't add gid passed as argument.
19352 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19354 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19357 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19358 imaginary part between 1.0 and 1.5 and real part less than 0.5
19360 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19361 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19362 * math/libm-test.inc (cacos_test): Add more tests.
19363 (casin_test): Likewise.
19364 (casinh_test): Likewise.
19365 * sysdeps/i386/fpu/libm-test-ulps: Update.
19366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19368 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19370 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19373 (denorm): Likewise.
19374 (__dbl_mp): Likewise.
19375 (add_magnitudes): Likewise.
19376 (sub_magnitudes): Likewise.
19384 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19386 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19387 (__dubcos): Likewise.
19388 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19389 (__ieee754_acos): Likewise.
19390 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19391 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19392 (__exp1): Likewise.
19393 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19396 (my_log2): Likewise.
19397 (checkint): Likewise.
19398 * sysdeps/ieee754/dbl-64/e_remainder.c
19399 (__ieee754_remainder): Likewise.
19400 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19402 (bsloww): Likewise.
19403 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19405 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19406 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19407 MANTISSA_STORE_T to store computations on mantissa. Use
19408 macros for rounding and division.
19409 (denorm): Likewise.
19410 (__dbl_mp): Likewise.
19411 (add_magnitudes): Likewise.
19412 (sub_magnitudes): Likewise.
19415 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19416 powers of two in terms of TWOPOW macro.
19417 (mp_no): Make type of mantissa as MANTISSA_T.
19418 [!RADIXI]: Define RADIXI.
19419 [!TWO52]: Define TWO52.
19420 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19422 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19424 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19425 llroundl symbol when building for PPC32.
19427 2013-03-24 Mark H Weaver <mhw@netris.org>
19429 * manual/arith.texi (Normalization Functions): Fix prototypes for
19430 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19432 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19436 high value to check if expl overflow.
19437 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19438 to check for underflow and overflow.
19439 * math/libm-test.inc: Add exp test.
19441 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19444 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19447 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19449 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19452 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19454 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19455 wrap blocks consisting of several statements.
19457 * sysdeps/generic/math-tests.h: New file.
19458 * sysdeps/i386/fpu/math-tests.h: Likewise.
19459 * math/test-snan.c: Include it.
19460 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19462 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19465 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19466 (__ieee754_j0l): Do not improve calculations using cos of twice
19467 input for inputs above LDBL_MAX / 2.0L.
19468 (__ieee754_y0l): Likewise.
19469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19470 (__ieee754_j1l): Do not improve calculations using cos of twice
19471 input for inputs above LDBL_MAX / 2.0L.
19472 (__ieee754_y1l): Likewise.
19473 * math/libm-test.inc (j0_test): Add another test.
19474 (j1_test): Likewise.
19475 (y0_test): Likewise.
19476 (y1_test): Likewise.
19477 * sysdeps/i386/fpu/libm-test-ulps: Update.
19479 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19481 * Rules ($(objpfx)bench-%.c): Include code from a C source
19484 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19487 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19488 imaginary part 1.0 and real part less than 0.5 specially.
19489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19491 * math/libm-test.inc (cacos_test): Add more tests.
19492 (casin_test): Likewise.
19493 (casinh_test): Likewise.
19494 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19497 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19499 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19500 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19502 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19504 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19505 * config.make.in (config-cflags-sse4): Remove variable.
19506 (config-cflags-avx): Likewise.
19507 (config-cflags-sse2avx): Likewise.
19508 (config-cflags-novzeroupper): Likewise.
19509 (config-asflags-i686): Likewise.
19510 (have-mfma4): Likewise.
19511 (have-as-vis3): Likewise.
19513 * configure.in (MIG): Do not AC_SUBST.
19514 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19515 (libc_cv_cc_sse4): Do not AC_SUBST.
19516 (libc_cv_cc_avx): Likewise.
19517 (libc_cv_cc_sse2avx): Likewise.
19518 (libc_cv_cc_novzeroupper): Likewise.
19519 (libc_cv_cc_fma4): Likewise.
19520 (libc_cv_as_i686): Likewise.
19521 (libc_cv_sparc_as_vis3): Likewise.
19522 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19524 (config-asflags-i686): Likewise.
19525 (config-cflags-avx): Likewise.
19526 (config-cflags-sse2avx): Likewise.
19527 (have-mfma4): Likewise.
19528 (config-cflags-novzeroupper): Likewise.
19529 * sysdeps/mach/configure.in (MIG): Likewise.
19530 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19531 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19533 (config-cflags-avx): Likewise.
19534 (config-cflags-sse2avx): Likewise.
19535 (have-mfma4): Likewise.
19536 (config-cflags-novzeroupper): Likewise.
19537 * configure: Regenerated.
19538 * sysdeps/i386/configure: Likewise.
19539 * sysdeps/mach/configure: Likewise.
19540 * sysdeps/sparc/configure: Likewise.
19541 * sysdeps/x86_64/configure: Likewise.
19543 2013-03-20 Roland McGrath <roland@hack.frob.com>
19546 * locale/programs/localedef.c (options): Put N_ translation marker
19547 on argument names, not just descriptions.
19549 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19551 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19553 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19556 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19558 2013-03-19 Roland McGrath <roland@hack.frob.com>
19560 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19561 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19562 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19563 [!BEFORE_ABORT] (before_abort): New function.
19564 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19565 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19566 (writev_for_fatal): New function.
19567 (WRITEV_FOR_FATAL): New macro; call that.
19568 (backtrace_and_maps): New function.
19569 (BEFORE_ABORT): New macro; call that.
19570 (struct str_list): Type removed.
19571 (__libc_message, __libc_fatal): Functions removed.
19572 Include <sysdeps/posix/libc_fatal.c> instead.
19574 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19576 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19578 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19581 2013-03-19 Andreas Schwab <schwab@suse.de>
19583 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19584 * sysdeps/gnu/configure: Regenerate.
19586 * configure.in: Substitute libc_cv_rtlddir.
19587 * configure: Regenerate.
19588 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19589 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19590 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19591 * elf/Makefile (install-others, CFLAGS-interp.c)
19592 (ldso_install, common-ldd-rewrite): Likewise.
19593 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19594 $(inst_slibdir)/$(rtld-installed-name).
19595 * scripts/rellns-sh: Add -p option.
19596 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19599 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19601 * manual/nptl.texi: Renamed to ...
19602 * manual/threads.texi: ... this.
19603 * manual/Makefile (chapters): Update.
19605 2013-03-18 Roland McGrath <roland@hack.frob.com>
19608 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19609 on argument names, not just descriptions.
19610 * malloc/memusagestat.c (options): Likewise.
19611 * nss/getent.c (options): Likewise.
19613 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19616 * iconv/iconv_prog.c (options): Put N_ translation marker
19617 on argument names, not just descriptions.
19618 * iconv/iconvconfig.c (options): Likewise.
19620 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19622 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19623 implementation which is faster on all x86_64 architectures.
19624 Tested on AMD, Intel Nehalem, SNB, IVB.
19625 * sysdeps/x86_64/strnlen.S: Likewise.
19627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19628 Remove all multiarch strlen and strnlen versions.
19629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19630 Remove strlen and strnlen related parts.
19632 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19633 Inline strlen part.
19634 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19636 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19637 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19638 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19639 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19640 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19641 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19643 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19645 * manual/memory.texi (Malloc Tunable Parameters):
19646 Sort parameters alphabetically. Add comments for missing entries.
19648 2013-03-17 David S. Miller <davem@davemloft.net>
19650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19652 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19655 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19656 for arguments at most half maximum finite value.
19657 * math/libm-test.inc (j0_test): Add more tests.
19658 (j1_test): Likewise.
19659 (y0_test): Likewise.
19660 (y1_test): Likewise.
19661 * sysdeps/i386/fpu/libm-test-ulps: Update.
19662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19665 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19666 1 / x and functions P and Q for arguments above 0x1p256L.
19667 (__ieee754_y0l): Likewise.
19668 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19669 (__ieee754_y1l): Likewise.
19670 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19671 (j1_test): Likewise.
19672 (y0_test): Likewise.
19673 (y1_test): Likewise.
19675 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19677 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19680 2013-03-15 Roland McGrath <roland@hack.frob.com>
19682 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19683 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19684 zero since it's initialized to EXEC_PAGESIZE.
19686 * sysdeps/unix/sysv/linux/ldsodefs.h
19687 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19688 * sysdeps/generic/ldsodefs.h: ... here.
19690 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19692 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19694 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19696 * math/test-snan.c: Renamed from
19697 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19698 * math/Makefile (tests): Add test-snan.
19699 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19702 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19703 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19705 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19706 __builtin_nan family of functions.
19707 * math/libm-test.inc (initialize): Initialize qnan_value with
19708 __builtin_nan family of functions.
19709 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19711 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19713 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19714 storage class. Initialize qNaN_var and sNaN_var with
19715 __builtin_nan and __builtin_nans families of functions,
19718 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19719 (sqrt_test): Remove duplicate test with qNaN input.
19720 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19721 (round_test, signbit_test, significand_test): Note missing +/-Inf
19722 as well as qNaN tests.
19724 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19725 qNaN_var. Fix a few strings, too.
19726 * math/libm-test.inc (nan_value): Rename to qnan_value.
19727 * math/gen-libm-test.pl (%beautify): Adjust to that.
19728 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19729 * math/test-misc.c (main): Likewise.
19730 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19731 to __qnan_bytes, and __qnan_union, respectively.
19732 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19734 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19735 and lqnanval, respectively.
19736 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19737 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19738 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19739 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19741 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19742 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19745 * math/test-misc.c (main): Fix copy'n'pastos.
19746 * misc/tst-efgcvt.c (special): Likewise.
19748 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19749 Remove declarations.
19751 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19753 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19754 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19755 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19756 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19758 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19761 macro to return vdso values correctly in IFUNC implementations.
19762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19763 Optimization by using IFUNC.
19765 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19766 Richard Henderson <rth@redhat.com>
19767 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19769 * Makefile.in (bench): New target.
19770 * NEWS: Mention the benchmark framework.
19771 * Rules (bench): Likewise.
19772 (binaries-bench): Generate binaries for functions to
19774 * benchtests/Makefile: New makefile for benchmark tests.
19775 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19777 * benchtests/exp-inputs: New input file for EXP function.
19778 * benchtests/pow-inputs: New input file for POW function.
19779 * scripts/bench.pl: New script to generate source files for
19780 benchmark programs.
19782 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19784 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19785 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19786 computations on mantissa. Use macros for rounding and
19788 (denorm): Likewise.
19789 (__dbl_mp): Likewise.
19790 (add_magnitudes): Likewise.
19791 (sub_magnitudes): Likewise.
19794 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19795 powers of two in terms of TWOPOW macro.
19796 (mp_no): Make type of mantissa as MANTISSA_T.
19797 [!RADIXI]: Define RADIXI.
19798 [!TWO52]: Define TWO52.
19799 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19801 * manual/nptl.texi (cindex): Modify threads to pthreads.
19803 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19805 * sysdeps/x86_64/preconfigure: Regenerated.
19807 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19810 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19812 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19813 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19815 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19816 * math/libm-test.inc (j0_test): Do not allow one spurious
19817 underflow exception.
19818 (y1_test): Likewise.
19820 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19822 * manual/Makefile (chapters): Add nptl.
19823 * manual/debug.texi (Debugging Support): Add link to Threads
19825 * manual/nptl.texi: New file.
19827 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19829 2013-03-14 Petr Baudis <pasky@ucw.cz>
19831 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19832 for non-NULL pointer before the memory validity test. Pointed
19833 out by Holger Brunck <holger.brunck@keymile.com>.
19835 2013-03-13 Andreas Schwab <schwab@suse.de>
19837 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19840 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19842 * timezone/zic.c: Update from tzcode 2013b.
19844 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19846 * manual/install.texi (Configuring and compiling):
19847 Mention i686 and i586.
19848 * INSTALL: Regenerate.
19850 2013-03-12 Roland McGrath <roland@hack.frob.com>
19852 * sysdeps/init_array/elf-init.c: New file.
19854 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19855 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19857 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19858 __gmon_start__ as global, but as static with a .preinit_array pointer.
19859 * sysdeps/init_array/gmon-start.c: New file. Use that.
19860 * sysdeps/init_array/crti.S: New file, empty except for comments.
19861 * sysdeps/init_array/crtn.S: Likewise.
19863 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19865 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19868 Remove Prefer_SSE_for_memop.
19869 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19870 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19871 HAS_PREFER_SSE_FOR_MEMOP.
19872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19875 Remove bzero, memset ifunc support.
19876 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19877 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19878 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19879 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19881 2013-03-11 Andreas Schwab <schwab@suse.de>
19884 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19887 (GLIBC_2.16): Remove pthread_atfork.
19889 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19891 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19892 (ptestcases.h): Likewise.
19894 2013-03-08 Roland McGrath <roland@hack.frob.com>
19896 * Makeconfig ($(common-objpfx)config.status): Depend on
19897 sysdeps/*/preconfigure{,.in} too.
19899 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19901 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19902 (__free_hook): Use void * instead of __malloc_ptr_t.
19903 (__malloc_hook): Likewise.
19904 (__realloc_hook): Likewise.
19905 (__memalign_hook): Likewise.
19906 (__after_morecore_hook): Likewise.
19907 * malloc/arena.c (save_malloc_hook): Likewise.
19908 (save_free_hook): Likewise.
19909 * malloc/hooks.c (malloc_hook_ini): Likewise.
19910 (realloc_hook_ini): Likewise.
19911 (memalign_hook_ini): Likewise.
19912 * malloc/malloc.c (malloc_hook_ini): Likewise.
19913 (realloc_hook_ini): Likewise.
19914 (memalign_hook_ini): Likewise.
19915 (__free_hook): Likewise.
19916 (__malloc_hook): Likewise.
19917 (__realloc_hook): Likewise.
19918 (__memalign_hook): Likewise.
19919 (__libc_malloc): Likewise.
19920 (__libc_free): Likewise.
19921 (__libc_realloc): Likewise.
19922 (__libc_memalign): Likewise.
19923 (__libc_valloc): Likewise.
19924 (__libc_pvalloc): Likewise.
19925 (__libc_calloc): Likewise.
19926 (__posix_memalign): Likewise.
19927 * malloc/morecore.c (__sbrk): Likewise.
19928 (__default_morecore): Likewise.
19930 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19932 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19933 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19934 __malloc_ptrdiff_t.
19936 * malloc/malloc.h (__malloc_size_t): Remove macro.
19937 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19939 (old_memalign_hook): Likewise.
19940 (old_realloc_hook): Likewise.
19941 (struct hdr): Likewise.
19943 (mallochook): Likewise.
19944 (memalignhook): Likewise.
19945 (reallochook): Likewise.
19946 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19947 (tr_old_realloc_hook): Likewise.
19948 (tr_old_memalign_hook): Likewise.
19949 (tr_mallochook): Likewise.
19950 (tr_reallochook): Likewise.
19951 (tr_memalignhook): Likewise.
19953 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19956 default_ldbl_pack and using as default implementation.
19957 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19959 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19960 redundant definition.
19961 (ldbl_insert_mantissa): Likewise.
19962 (ldbl_canonicalize): Likewise.
19963 (ldbl_nearbyint): Likewise.
19964 (ldbl_pack): Rename to ldbl_pack_ppc.
19965 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19966 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19967 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19969 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19972 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19973 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19974 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19976 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19977 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19978 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19980 2013-03-07 Andreas Jaeger <aj@suse.de>
19982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19985 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19987 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19988 Include mpa.h and declare __MPEXP.
19989 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19990 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19991 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19992 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19993 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19994 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19995 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19997 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19998 (__slowpow): Use long double EXPL and LOGL functions to
20000 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20001 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20003 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20004 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20008 intermediate variable to calculate exponent.
20010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20014 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20015 [!NO__SQR]: Define __sqr.
20016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20017 and NO__SQR. Remove all code except __mul and __sqr. Include
20018 sysdeps/ieee754/dbl-64/mpa.c.
20019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20022 * posix/Makefile (tests): Add tst-pathconf.
20023 * posix/tst-pathconf.c: New test case.
20024 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20026 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20028 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
20030 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20032 2013-03-06 Andreas Jaeger <aj@suse.de>
20034 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20035 definition via __MAP_ANONYMOUS.
20037 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20038 it's not part of Linux headers.
20040 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20041 (MAP_HUGE_MASK): Define.
20043 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20045 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20046 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20048 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20049 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20051 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20054 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20056 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20057 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20058 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20059 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20060 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20061 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20063 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20066 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20067 Handle f2fs and efivarfs.
20069 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20072 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20073 (EFIVARFS_MAGIC): Add.
20074 (F2FS_LINK_MAX): Add.
20076 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20078 * stdio-common/vfprintf.c: Replace __builtin_expect with
20081 2013-03-06 Joseph Myers <joseph@codesourcery.com>
20084 * sysdeps/generic/bp-sym.h: Remove file.
20085 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20086 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20087 <bp-sym.h> and <bp-asm.h>.
20088 (__longjmp): Don't use BP_SYM.
20089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20091 (memcpy): Don't use BP_SYM.
20092 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20093 <bp-sym.h> and <bp-asm.h>.
20094 (memcpy): Don't use BP_SYM.
20095 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20097 (memcpy): Don't use BP_SYM.
20098 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20100 (memset): Don't use BP_SYM.
20101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20103 (__bzero): Don't use BP_SYM.
20104 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20105 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20106 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20107 <bp-sym.h> and <bp-asm.h>.
20108 (memcmp): Don't use BP_SYM. Remove comment about bounded
20110 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20111 <bp-sym.h> and <bp-asm.h>.
20112 (memcpy): Don't use BP_SYM.
20113 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20114 <bp-sym.h> and <bp-asm.h>.
20115 (memset): Don't use BP_SYM.
20116 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20117 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20118 (__bzero): Don't use BP_SYM.
20119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20121 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20122 <bp-sym.h> and <bp-asm.h>.
20123 (strncmp): Don't use BP_SYM. Remove comment about bounded
20125 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20126 <bp-sym.h> and <bp-asm.h>.
20127 (memcpy): Don't use BP_SYM.
20128 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20129 <bp-sym.h> and <bp-asm.h>.
20130 (memset): Don't use BP_SYM.
20131 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20132 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20133 (__bzero): Don't use BP_SYM.
20134 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20135 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20136 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20137 <bp-sym.h> and <bp-asm.h>.
20138 (__memchr): Don't use BP_SYM.
20139 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20140 <bp-sym.h> and <bp-asm.h>.
20141 (memcmp): Don't use BP_SYM. Remove comment about bounded
20143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20144 <bp-sym.h> and <bp-asm.h>.
20145 (memcpy): Don't use BP_SYM.
20146 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20147 <bp-sym.h> and <bp-asm.h>.
20148 (__mempcpy): Don't use BP_SYM.
20149 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20150 <bp-sym.h> and <bp-asm.h>.
20151 (__memrchr): Don't use BP_SYM.
20152 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20153 <bp-sym.h> and <bp-asm.h>.
20154 (memset): Don't use BP_SYM.
20155 (__bzero): Likewise.
20156 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20157 <bp-sym.h> and <bp-asm.h>.
20158 (__rawmemchr): Don't use BP_SYM.
20159 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20160 <bp-sym.h> and <bp-asm.h>.
20161 (__STRCMP): Don't use BP_SYM.
20162 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20163 <bp-sym.h> and <bp-asm.h>.
20164 (strchr): Don't use BP_SYM.
20165 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20166 <bp-sym.h> and <bp-asm.h>.
20167 (__strchrnul): Don't use BP_SYM.
20168 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20169 <bp-sym.h> and <bp-asm.h>.
20170 (strlen): Don't use BP_SYM.
20171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20172 <bp-sym.h> and <bp-asm.h>.
20173 (strncmp): Don't use BP_SYM. Remove comment about bounded
20175 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20176 <bp-sym.h> and <bp-asm.h>.
20177 (__strnlen): Don't use BP_SYM.
20178 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20179 <bp-sym.h> and <bp-asm.h>.
20180 (__GI__setjmp): Don't use BP_SYM.
20181 (_setjmp): Likewise.
20182 (__sigsetjmp): Likewise.
20183 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20184 (L(start_addresses)): Don't use BP_SYM.
20185 (_start): Likewise.
20186 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20188 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20189 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20190 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20191 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20192 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20194 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20195 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20196 about bounded pointers.
20197 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20198 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20199 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20201 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20202 about bounded pointers. Remove GKM FIXME comments.
20203 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20204 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20206 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20207 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20208 Remove GKM FIXME comments.
20209 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20210 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20211 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20213 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20214 about bounded pointers. Remove GKM FIXME comment.
20215 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20217 (strncmp): Don't use BP_SYM. Remove comment about bounded
20219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20220 <bp-sym.h> and <bp-asm.h>.
20221 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20223 <bp-sym.h> and <bp-asm.h>.
20224 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20227 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20229 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20232 2013-03-05 David S. Miller <davem@davemloft.net>
20234 * po/es.po: Update from translation team.
20236 2013-03-05 Andreas Jaeger <aj@suse.de>
20238 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20239 <bits/mman-linux.h>.
20240 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20243 <bits/mman-linux.h> to end of file.
20244 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20246 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20247 <bits/mman-linux.h> to end of file.
20248 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20250 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20251 <bits/mman-linux.h> to end of file.
20253 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20254 (MCL_CURRENT, MCL_FUTURE): Define here.
20256 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20261 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20263 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20265 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20266 fourth parameter needed for rt_sigprocmask syscall.
20267 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20268 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20270 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20271 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20272 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20274 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20277 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20278 comment about bounded pointers.
20279 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20280 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20282 2013-03-04 Andreas Jaeger <aj@suse.de>
20284 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20285 common definitions.
20287 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20288 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20289 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20290 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20291 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20292 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20294 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20298 __ieee754_sqrl instead of __sqrl.
20300 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20302 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20303 * sysdeps/powerpc/fpu_control.h: ... here.
20304 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20305 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20306 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20307 * sysdeps/powerpc/bits/mathinline.h: ... here.
20309 2013-03-01 Roland McGrath <roland@hack.frob.com>
20311 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20312 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20313 to just [NEED_DL_SYSINFO_DSO].
20314 * elf/dl-support.c: Likewise.
20315 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20316 * elf/rtld.c (dl_main): Likewise.
20317 * elf/setup-vdso.h (setup_vdso): Likewise.
20318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20319 * sysdeps/unix/sysv/linux/dl-sysdep.c
20320 (_dl_discover_osversion): Likewise.
20322 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20324 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20325 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20327 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20329 * NEWS: Mention libm performance improvements and non-x86 PI
20332 * csu/libc-start.c (__pthread_initialize_minimal): Change
20333 function arguments.
20334 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20336 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20339 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20340 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20341 <bp-sym.h> and <bp-asm.h>.
20342 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20343 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20345 (memcpy): Don't use BP_SYM.
20346 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20348 (__mpn_add_n): Don't use BP_SYM.
20349 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20350 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20352 (__mpn_addmul_1): Don't use BP_SYM.
20353 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20354 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20356 (_setjmp): Don't use BP_SYM.
20357 (__novmx_setjmp): Likewise.
20358 (__GI__setjmp): Likewise.
20359 (__vmx_setjmp): Likewise.
20360 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20362 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20363 (__bzero): Don't use BP_SYM.
20364 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20365 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20366 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20367 <bp-sym.h> and <bp-asm.h>.
20368 (memcpy): Don't use BP_SYM.
20369 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20370 <bp-sym.h> and <bp-asm.h>.
20371 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20372 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20373 <bp-sym.h> and <bp-asm.h>.
20374 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20375 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20377 (__mpn_lshift): Don't use BP_SYM.
20378 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20379 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20381 (memset): Don't use BP_SYM.
20382 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20383 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20384 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20386 (__mpn_mul_1): Don't use BP_SYM.
20387 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20389 <bp-sym.h> and <bp-asm.h>.
20390 (memcmp): Don't use BP_SYM.
20391 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20392 <bp-sym.h> and <bp-asm.h>.
20393 (memcpy): Don't use BP_SYM.
20394 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20395 <bp-sym.h> and <bp-asm.h>.
20396 (memset): Don't use BP_SYM.
20397 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20398 <bp-sym.h> and <bp-asm.h>.
20399 (strncmp): Don't use BP_SYM.
20400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20401 <bp-sym.h> and <bp-asm.h>.
20402 (memcpy): Don't use BP_SYM.
20403 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20404 <bp-sym.h> and <bp-asm.h>.
20405 (memset): Don't use BP_SYM.
20406 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20407 <bp-sym.h> and <bp-asm.h>.
20408 (__memchr): Don't use BP_SYM.
20409 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20410 <bp-sym.h> and <bp-asm.h>.
20411 (memcmp): Don't use BP_SYM.
20412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20413 <bp-sym.h> and <bp-asm.h>.
20414 (memcpy): Don't use BP_SYM.
20415 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20416 <bp-sym.h> and <bp-asm.h>.
20417 (__mempcpy): Don't use BP_SYM.
20418 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20419 <bp-sym.h> and <bp-asm.h>.
20420 (__memrchr): Don't use BP_SYM.
20421 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20422 <bp-sym.h> and <bp-asm.h>.
20423 (memset): Don't use BP_SYM.
20424 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20425 <bp-sym.h> and <bp-asm.h>.
20426 (__rawmemchr): Don't use BP_SYM.
20427 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20428 <bp-sym.h> and <bp-asm.h>.
20429 (__STRCMP): Don't use BP_SYM.
20430 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20431 <bp-sym.h> and <bp-asm.h>.
20432 (strchr): Don't use BP_SYM.
20433 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20434 <bp-sym.h> and <bp-asm.h>.
20435 (__strchrnul): Don't use BP_SYM.
20436 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20437 <bp-sym.h> and <bp-asm.h>.
20438 (strlen): Don't use BP_SYM.
20439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20440 <bp-sym.h> and <bp-asm.h>.
20441 (strncmp): Don't use BP_SYM.
20442 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20443 <bp-sym.h> and <bp-asm.h>.
20444 (__strnlen): Don't use BP_SYM.
20445 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20447 (__mpn_rshift): Don't use BP_SYM.
20448 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20449 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20450 <bp-sym.h> and <bp-asm.h>.
20451 (__sigsetjmp): Don't use BP_SYM.
20452 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20453 (L(start_addresses)): Don't use BP_SYM.
20454 (_start): Likewise.
20455 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20457 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20458 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20459 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20460 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20462 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20463 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20464 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20465 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20467 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20469 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20470 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20472 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20474 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20475 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20476 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20478 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20480 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20482 (strncmp): Don't use BP_SYM,
20483 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20485 (__mpn_sub_n): Don't use BP_SYM.
20486 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20487 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20489 (__mpn_submul_1): Don't use BP_SYM.
20490 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20492 <bp-sym.h> and <bp-asm.h>.
20493 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20495 <bp-sym.h> and <bp-asm.h>.
20496 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20499 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20502 Use ZK to minimize writes to Z.
20503 (sub_magnitudes): Simplify code a bit.
20504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20505 Use ZK to minimize writes to Z.
20506 (sub_magnitudes): Simplify code a bit.
20508 2013-02-27 Roland McGrath <roland@hack.frob.com>
20510 * csu/gmon-start.c: Add special exception to license text.
20512 2013-02-27 Richard Henderson <rth@redhat.com>
20514 * scripts/config.guess: Update from config.git.
20515 * scripts/config.sub: Likewise.
20517 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20519 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20521 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20523 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20525 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20527 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20529 2013-02-26 Roland McGrath <roland@hack.frob.com>
20531 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20532 [$(build-shared = yes].
20534 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20536 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20537 (__mul): Reduce iterations for calculating mantissa.
20539 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20541 (__mpranred): Likewise.
20544 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20545 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20547 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20549 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20550 Define __attribute__.
20552 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20554 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20556 * posix/regex_internal.h (__attribute): Remove.
20557 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20558 (re_string_context_at): Likewise.
20559 (bitset_not): Use __attribute__ and mark function as possibly
20561 (bitset_merge): Likewise.
20562 (bitset_mask): Likewise.
20563 (re_string_char_size_at): Likewise.
20564 (re_string_wchar_at): Likewise.
20565 (re_string_elem_size_at): Likewise.
20567 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20569 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20573 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20577 (denorm): Likewise.
20578 (__dbl_mp): Likewise.
20579 (add_magnitudes): Likewise.
20580 (sub_magnitudes): Likewise.
20584 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20587 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20590 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20594 up changes with default code.
20595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20598 2013-02-24 Allan McRae <allan@archlinux.org>
20600 * manual/socket.texi (The Internet Namespace): Order menu items
20601 to match that in the file.
20603 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20604 node listing of the info page menu.
20606 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20609 * sysdeps/i386/bp-asm.h: Remove file.
20610 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20611 (PARMS): Do not use macros from bp-asm.h.
20615 (__mpn_add_n): Do not use BP_SYM
20616 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20618 (PARMS): Do not use macros from bp-asm.h.
20621 (__mpn_addmul_1): Do not use BP_SYM
20622 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20624 (PARMS): Do not use macros from bp-asm.h.
20625 (SIGMSK): Likewise.
20626 (_setjmp): Likewise. Do not use BP_SYM.
20627 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20629 (PARMS): Do not use macros from bp-asm.h.
20630 (SIGMSK): Likewise.
20631 (setjmp): Likewise. Do not use BP_SYM.
20632 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20634 (PARMS): Do not use macros from bp-asm.h.
20635 (__frexp): Do not use BP_SYM.
20637 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20639 (PARMS): Do not use macros from bp-asm.h.
20640 (__frexpf): Do not use BP_SYM.
20641 (frexpf): Likewise.
20642 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20644 (PARMS): Do not use macros from bp-asm.h.
20645 (__frexpl): Do not use BP_SYM.
20646 (frexpl): Likewise.
20647 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20649 (PARMS): Do not use macros from bp-asm.h.
20650 (__remquo): Do not use BP_SYM.
20651 (remquo): Likewise.
20652 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20654 (PARMS): Do not use macros from bp-asm.h.
20655 (__remquof): Do not use BP_SYM.
20656 (remquof): Likewise.
20657 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20659 (PARMS): Do not use macros from bp-asm.h.
20660 (__remquol): Do not use BP_SYM.
20661 (remquol): Likewise.
20662 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20664 (PARMS): Do not use macros from bp-asm.h.
20667 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20668 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20670 (PARMS): Do not use macros from bp-asm.h.
20671 (strlen): Do not use BP_SYM.
20672 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20674 (PARMS): Do not use macros from bp-asm.h.
20678 (__mpn_add_n): Do not use BP_SYM.
20679 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20681 (PARMS): Do not use macros from bp-asm.h.
20684 (__mpn_addmul_1): Do not use BP_SYM.
20685 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20688 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20690 (PARMS): Do not use macros from bp-asm.h.
20693 (__mpn_lshift): Do not use BP_SYM.
20694 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20696 (PARMS): Do not use macros from bp-asm.h.
20700 (memcpy): Likewise. Do not use BP_SYM.
20701 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20702 libc_hidden_def and weak_alias.
20703 (mempcpy): Do not use BP_SYM in weak_alias.
20704 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20706 (PARMS): Do not use macros from bp-asm.h.
20709 [!BZERO_P] (CHR): Likewise.
20710 (memset): Likewise. Do not use BP_SYM.
20711 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20713 (PARMS): Do not use macros from bp-asm.h.
20716 (__mpn_mul_1): Do not use BP_SYM.
20717 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20719 (PARMS): Do not use macros from bp-asm.h.
20722 (__mpn_rshift): Do not use BP_SYM.
20723 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20725 (PARMS): Do not use macros from bp-asm.h.
20728 (strchr): Likewise. Do not use BP_SYM.
20729 (index): Do not use BP_SYM in weak_alias.
20730 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20732 (PARMS): Do not use macros from bp-asm.h.
20735 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20736 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20738 (PARMS): Do not use macros from bp-asm.h.
20739 (strlen): Do not use BP_SYM.
20740 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20742 (PARMS): Do not use macros from bp-asm.h.
20746 (__mpn_sub_n): Do not use BP_SYM.
20747 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20749 (PARMS): Do not use macros from bp-asm.h.
20752 (__mpn_submul_1): Do not use BP_SYM.
20753 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20755 (PARMS): Do not use macros from bp-asm.h.
20759 (__mpn_add_n): Do not use BP_SYM.
20760 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20763 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20765 (PARMS): Do not use macros from bp-asm.h.
20768 (memcmp): Do not use BP_SYM.
20769 (bcmp): Do not use BP_SYM in weak_alias.
20770 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20772 (PARMS): Do not use macros from bp-asm.h.
20776 (memcpy): Likewise. Do not use BP_SYM.
20777 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20779 (PARMS): Do not use macros from bp-asm.h.
20783 (memmove): Likewise. Do not use BP_SYM.
20784 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20786 (PARMS): Do not use macros from bp-asm.h.
20790 (__mempcpy): Likewise. Do not use BP_SYM.
20791 (mempcpy): Do not use BP_SYM in weak_alias.
20792 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20794 (PARMS): Do not use macros from bp-asm.h.
20797 [!BZERO_P] (CHR): Likewise.
20798 (memset): Likewise. Do not use BP_SYM.
20799 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20801 (PARMS): Do not use macros from bp-asm.h.
20803 (strcmp): Do not use BP_SYM.
20804 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20806 (PARMS): Do not use macros from bp-asm.h.
20809 [USE_AS_STRTOK_R] (SAVE): Likewise.
20810 (FUNCTION): Likewise. Do not use BP_SYM.
20811 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20813 (strtok_r): Likewise.
20814 (__GI___strtok_r): Likewise.
20815 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20816 (PARMS): Do not use macros from bp-asm.h.
20819 (__mpn_lshift): Do not use BP_SYM.
20820 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20821 (PARMS): Do not use macros from bp-asm.h.
20824 (__memchr): Do not use BP_SYM.
20825 (memchr): Do not use BP_SYM in weak_alias.
20826 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20827 (PARMS): Do not use macros from bp-asm.h.
20830 (memcmp): Do not use BP_SYM.
20831 (bcmp): Do not use BP_SYM in weak_alias.
20832 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20833 (PARMS): Do not use macros from bp-asm.h.
20836 (__mpn_mul_1): Do not use BP_SYM.
20837 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20839 (PARMS): Do not use macros from bp-asm.h.
20842 (__rawmemchr): Do not use BP_SYM.
20843 (rawmemchr): Do not use BP_SYM in weak_alias.
20844 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20845 (PARMS): Do not use macros from bp-asm.h.
20848 (__mpn_rshift): Do not use BP_SYM.
20849 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20850 (PARMS): Do not use macros from bp-asm.h.
20851 (SIGMSK): Likewise.
20852 (__sigsetjmp): Likewise. Do not use BP_SYM.
20853 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20854 (_start): Do not use BP_SYM.
20855 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20856 (PARMS): Do not use macros from bp-asm.h.
20859 (__stpcpy): Likewise. Do not use BP_SYM.
20860 (stpcpy): Do not use BP_SYM in weak_alias.
20861 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20863 (PARMS): Do not use macros from bp-asm.h.
20867 (__stpncpy): Likewise. Do not use BP_SYM.
20868 (stpncpy): Do not use BP_SYM in weak_alias.
20869 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20870 (PARMS): Do not use macros from bp-asm.h.
20873 (strchr): Likewise. Do not use BP_SYM.
20874 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20876 (PARMS): Do not use macros from bp-asm.h.
20879 (__strchrnul): Likewise. Do not use BP_SYM.
20880 (strchrnul): Do not use BP_SYM in weak_alias.
20881 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20883 (PARMS): Do not use macros from bp-asm.h.
20885 (strcspn): Do not use BP_SYM.
20886 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20888 (PARMS): Do not use macros from bp-asm.h.
20891 (strpbrk): Likewise. Do not use BP_SYM.
20892 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20894 (PARMS): Do not use macros from bp-asm.h.
20897 (strrchr): Likewise. Do not use BP_SYM.
20898 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20899 (PARMS): Do not use macros from bp-asm.h.
20901 (strspn): Do not use BP_SYM.
20902 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20903 (PARMS): Do not use macros from bp-asm.h.
20907 (FUNCTION): Likewise. Do not use BP_SYM.
20908 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20910 (strtok_r): Likewise.
20911 (__GI___strtok_r): Likewise.
20912 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20913 (PARMS): Do not use macros from bp-asm.h.
20917 (__mpn_sub_n): Do not use BP_SYM.
20918 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20920 (PARMS): Do not use macros from bp-asm.h.
20923 (__mpn_submul_1): Do not use BP_SYM.
20924 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20926 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20928 (PARMS): Do not use macros from bp-asm.h.
20933 (__clone): Do not use BP_SYM.
20934 (clone): Do not use BP_SYM in weak_alias.
20935 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20937 (PARMS): Do not use macros from bp-asm.h.
20939 (__mmap64): Do not use BP_SYM.
20940 (mmap64): Do not use BP_SYM in weak_alias.
20941 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20942 <bp-sym.h> and <bp-asm.h>.
20943 (PARMS): Do not use macros from bp-asm.h.
20944 (__posix_fadvise64_l64): Do not use BP_SYM.
20945 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20946 (PARMS): Do not use macros from bp-asm.h.
20948 (semtimedop): Do not use BP_SYM.
20949 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20952 2013-02-21 Allan McRae <allan@archlinux.org>
20954 * manual/message.texi (Charset conversion in gettext):
20955 Move @end statement to beginning of line.
20957 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20964 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20965 (denorm): Likewise.
20966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20969 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20971 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20972 tail-call to the resolved function if pltexit isn't needed.
20974 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20977 or Y being zero as being unlikely.
20978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20981 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20983 * manual/nss.texi (System Databases and Name Service Switch):
20984 Remove frobnicate @pxref.
20986 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20988 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20989 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20991 2013-02-20 Petr Machata <pmachata@redhat.com>
20993 * elf/elf.h (R_ARM_TARGET1): New macro.
20994 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20995 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20996 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20997 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20998 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20999 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21000 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21001 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21002 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21003 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21004 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21005 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21006 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21007 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21008 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21009 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21010 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21011 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21012 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21013 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21014 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21015 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21016 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21017 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21018 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21019 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21020 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21021 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21022 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21023 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21024 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21025 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21026 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21027 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21028 (R_ARM_THM_GOT_BREL12): Likewise.
21029 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21030 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21031 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21032 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21033 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21034 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21035 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21036 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21037 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21039 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21041 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21042 __attribute_used__ to __attribute__ ((unused)).
21044 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21046 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21049 comment formatting.
21050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21052 2013-02-19 Joseph Myers <joseph@codesourcery.com>
21055 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21057 (ENTER): Remove both macro definitions.
21059 (CHECK_BOUNDS_LOW): Likewise.
21060 (CHECK_BOUNDS_HIGH): Likewise.
21061 (CHECK_BOUNDS_BOTH): Likewise.
21062 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21063 (RETURN_BOUNDED_POINTER): Likewise.
21064 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21065 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21066 (POP_ERRNO_LOCATION_RETURN): Likewise.
21067 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21068 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21069 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21071 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21072 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21073 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21074 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21075 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21076 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21077 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21078 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21079 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21080 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21081 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21082 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21083 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21084 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21086 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21087 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21089 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21090 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21091 * sysdeps/i386/i586/memset.S (memset): Likewise.
21092 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21093 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21094 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21096 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21097 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21098 Change uses of L(2) to L(out).
21099 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21100 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21101 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21102 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21103 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21105 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21106 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21108 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21109 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21110 (RETURN): Do not use macro LEAVE.
21111 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21112 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21113 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21114 * sysdeps/i386/i686/memset.S (memset): Likewise.
21115 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21116 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21118 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21120 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21121 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21122 L(1_2) and L(1_3) into L(1).
21123 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21124 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21125 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21126 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21127 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21128 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21129 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21130 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21131 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21133 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21134 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21135 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21136 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21137 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21138 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21139 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21140 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21141 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21142 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21143 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21144 * sysdeps/i386/strspn.S (strspn): Likewise.
21145 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21147 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21148 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21149 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21150 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21151 L(1_3) into L(1_1).
21152 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21153 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21154 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21156 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21158 2013-02-19 Jakub Jelinek <jakub@redhat.com>
21160 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21163 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21165 * math/atest-exp.c (exp_mpn): Remove ROUND.
21166 * math/atest-exp2.c (exp_mpn): Likewise.
21167 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21169 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21170 * stdlib/tst-tls-atexit-lib.c: Likewise.
21171 * stdlib/tst-tls-atexit.c: Likewise.
21173 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21175 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21176 and __attribute_alloc_size__.
21178 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21180 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21181 __attribute_alloc_size__.
21182 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21183 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21185 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21187 * include/programs/xmalloc.h: New file.
21188 * catgets/gencat.c: Include it.
21189 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21190 * elf/pldd.c: Likewise.
21191 * iconv/iconv_charmap.c: Likewise.
21192 * iconv/iconvconfig.c: Likewise.
21193 * iconv/strtab.c: Likewise.
21194 * locale/programs/locale.c: Likewise.
21195 * locale/programs/localedef.h: Likewise.
21196 * locale/programs/simple-hash.c: Likewise.
21197 * nscd/nscd.h: Likewise.
21198 * nss/makedb.c: Likewise.
21199 * sysdeps/generic/ldconfig.h: Likewise.
21201 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21203 * Versions.def: Add GLIBC_2.18.
21204 * include/link.h (struct link_map): New member l_tls_dtor_count.
21205 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21206 (__call_tls_dtors): Likewise.
21207 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21208 __cxa_thread_atexit_impl.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21225 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21226 (tests): Add test case tst-tls-atexit.
21227 (modules-names): Add shared library for tst-tls-atexit.
21228 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21229 (GLIBC_PRIVATE): Add __call_tls_dtors.
21230 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21232 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21233 * stdlib/tst-tls-atexit.c: New test case.
21234 * stdlib/tst-tls-atexit-lib.c: New test case.
21236 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21238 * elf/Versions (ld): Add _dl_find_dso_for_object.
21239 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21240 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21241 (dl_open_worker): Use _dl_find_dso_for_object.
21242 * elf/dl-sym.c (do_sym): Likewise.
21243 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21245 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21247 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21248 Syntactic changes only.
21249 (_dl_runtime_profile): Do a tail-call to the resolved function.
21251 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21254 * sysdeps/x86_64/bp-asm.h: Remove file.
21255 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21256 <bp-sym.h> and <bp-asm.h>.
21257 (__clone): Do not use BP_SYM.
21258 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21259 <bp-sym.h> and <bp-asm.h>.
21260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21261 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21263 (_setjmp): Do not use BP_SYM.
21264 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21266 (setjmp): Do not use BP_SYM.
21267 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21269 (mempcpy): Do not use BP_SYM in weak_alias.
21270 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21272 (strchr): Do not use BP_SYM.
21273 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21275 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21276 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21277 (_start): Do not use BP_SYM.
21278 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21280 (strcat): Do not use BP_SYM.
21281 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21283 (STRCMP): Do not use BP_SYM.
21284 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21286 (STRCPY): Do not use BP_SYM.
21287 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21289 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21291 (FUNCTION): Do not use BP_SYM.
21292 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21294 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21296 2013-02-17 Andreas Jaeger <aj@suse.de>
21298 * time/Versions: Sort entries.
21299 * string/Versions: Likewise.
21300 * resolv/Versions: Likewise.
21301 * posix/Versions: Likewise.
21302 * iconv/Versions: Likewise.
21303 * elf/Versions: Likewise.
21304 * wcsmbs/Versions: Likewise.
21306 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21308 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21309 loop termination condition.
21311 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21312 variable to calculate EZ.
21315 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21316 the lower precision input.
21318 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21321 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21322 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21323 (run-via-rtld-prefix): Do not handle %-bp tests.
21324 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21325 (all-object-suffixes): Remove .ob.
21326 (bppfx): Remove variable.
21327 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21328 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21329 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21330 [$(build-bounded) = yes] (libtype.ob): Likewise.
21331 * Makerules (elide-routines.ob): Remove variable.
21332 (do-tests-clean): Do not handle *-bp.out.
21333 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21334 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21335 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21336 (tests): Do not include $(tests-bp.out).
21337 (xtests): Do not include $(xtests-bp.out).
21338 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21339 [$(build-bounded) = yes] ($(addprefix
21340 $(objpfx),$(binaries-bounded))): Remove rule.
21341 ($(objpfx)%-bp.out): Remove rule.
21342 * config.make.in (build-bounded): Remove variable.
21343 * crypt/Makefile [$(build-bounded) = yes]
21344 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21345 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21346 append to variable.
21347 [$(build-bounded) = yes] (install-lib): Likewise.
21348 [$(build-bounded) = yes] (generated): Likewise.
21349 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21351 * intl/Makefile [$(build-bounded) = yes]
21352 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21353 * math/Makefile [$(build-bounded) = yes]
21354 ($(tests:%=$(objpfx)%-bp): Likewise.
21355 * misc/Makefile [$(build-bounded) = yes]
21356 ($(objpfx)tst-tsearch-bp): Likewise.
21357 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21358 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21360 * string/Makefile (o-objects.ob): Remove variable.
21361 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21362 (CFLAGS-.ob): Remove variable.
21363 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21364 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21365 both definitions of variable.
21366 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21367 (ASFLAGS-.ob): Remove variable.
21369 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21372 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21373 Remove __BOUNDED_POINTERS__ from condition.
21374 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21375 * string/bits/string2.h [!__NO_STRING_INLINES &&
21376 !__BOUNDED_POINTERS__]: Likewise.
21377 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21379 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21380 Remove conditional code.
21381 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21382 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21383 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21387 * csu/libc-start.c: Do not include <bp-sym.h>.
21388 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21389 * elf/dl-open.c: Do not include <bp-sym.h>.
21390 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21391 * math/fegetenv.c: Do not include <bp-sym.h>.
21392 (fegetenv): Do not use BP_SYM in versioned symbols.
21393 * nptl/sysdeps/pthread/bits/libc-lockP.h
21394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21397 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21399 (__pthread_mutex_destroy): Likewise.
21400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21401 (__pthread_mutex_lock): Likewise.
21402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21403 (__pthread_mutex_trylock): Likewise.
21404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21405 (__pthread_mutex_unlock): Likewise.
21406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21407 (__pthread_mutexattr_init): Likewise.
21408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21409 (__pthread_mutexattr_destroy): Likewise.
21410 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21411 (__pthread_mutexattr_settype): Likewise.
21412 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21413 (__pthread_rwlock_init): Likewise.
21414 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21415 (__pthread_rwlock_destroy): Likewise.
21416 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21417 (__pthread_rwlock_rdlock): Likewise.
21418 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21419 (__pthread_rwlock_tryrdlock): Likewise.
21420 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21421 (__pthread_rwlock_wrlock): Likewise.
21422 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21423 (__pthread_rwlock_trywrlock): Likewise.
21424 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21425 (__pthread_rwlock_unlock): Likewise.
21426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21427 (__pthread_key_create): Likewise.
21428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21429 (__pthread_setspecific): Likewise.
21430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21431 (__pthread_getspecific): Likewise.
21432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21435 (_pthread_cleanup_push_defer): Likewise.
21436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21437 (_pthread_cleanup_pop_restore): Likewise.
21438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21439 (pthread_setcancelstate): Likewise.
21440 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21442 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21443 (memchr): Do not use BP_SYM in weak_alias.
21444 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21445 (fegetenv): Do not use BP_SYM in versioned symbols.
21446 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21447 (fesetenv): Do not use BP_SYM in versioned symbols.
21448 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21449 (feupdateenv): Do not use BP_SYM in versioned symbols.
21450 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21451 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21452 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21453 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21454 (open64): Do not use BP_SYM in weak_alias.
21455 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21456 (fegetenv): Do not use BP_SYM in versioned symbols.
21457 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21458 (fesetenv): Do not use BP_SYM in versioned symbols.
21459 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21460 (feupdateenv): Do not use BP_SYM in versioned symbols.
21461 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21462 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21463 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21464 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21465 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21466 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21467 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21469 (__libc_start_main): Do not use BP_SYM.
21471 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21474 redundant return line.
21476 (denorm): Likewise.
21477 (dbl_mp): Likewise.
21478 (sub_magnitudes): Likewise.
21484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21486 (denorm): Likewise.
21487 (dbl_mp): Likewise.
21488 (sub_magnitudes): Likewise.
21495 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21497 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21498 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21501 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21502 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21503 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21504 of __mul for squares.
21505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21509 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21510 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21512 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21515 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21517 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21518 prototype or function definition. Rename ubp_* variables and
21519 parameters. Remove argv definitions conditional on
21520 [__BOUNDED_POINTERS__].
21521 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21522 * elf/dl-runtime.c (_dl_fixup): Likewise.
21523 * include/set-hooks.h (RUN_HOOK): Likewise.
21524 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21526 * string/strcpy.c (strcpy): Do not use __unbounded.
21527 * sysdeps/generic/frame.h (struct layout): Likewise.
21528 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21529 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21530 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21531 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21532 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21533 (__backtrace): Likewise.
21534 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21536 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21537 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21538 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21540 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21541 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21542 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21543 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21544 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21545 Do not use __unbounded.
21546 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21547 Rename __unboundedrlimits parameter to rlimits in prototype.
21548 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21549 Do not use __unbounded.
21550 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21551 not use __ptrvalue.
21552 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21553 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21554 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21555 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21556 __ptrvalue or __unbounded.
21557 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21558 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21560 (__new_msgctl): Do not use __ptrvalue.
21561 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21563 (__libc_msgrcv): Do not use __ptrvalue.
21564 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21565 startup_info): Do not use __unbounded.
21566 (__libc_start_main): Likewise. Rename ubp_* variables and
21567 parameters. Remove argv definitions conditional on
21568 [__BOUNDED_POINTERS__].
21569 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21571 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21573 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21575 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21577 (__new_shmctl): Do not use __ptrvalue.
21578 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21579 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21581 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21583 (__libc_sigaction): Likewise.
21584 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21585 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21587 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21589 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21591 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21593 * string/mempcpy.c: Implement by calling memcpy.
21595 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21602 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21603 values in the mantissa.
21605 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21606 minimize writes to Z.
21607 (sub_magnitudes): Simplify code a bit.
21609 2013-02-12 Roland McGrath <roland@hack.frob.com>
21611 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21612 from the message. The linker prefixes all warnings with that already.
21614 2013-02-12 Andreas Schwab <schwab@suse.de>
21617 * posix/regexec.c (extend_buffers): Add parameter min_len.
21618 (check_matching): Pass minimum needed length.
21619 (clean_state_log_if_needed): Likewise.
21620 (get_subexp): Likewise.
21621 * posix/Makefile (tests): Add bug-regex34.
21622 (bug-regex34-ENV): Define.
21623 * posix/bug-regex34.c: New file.
21626 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21627 elements compare against the byte sequence of it, not its name.
21628 * posix/Makefile (tests): Add bug-regex35.
21629 (bug-regex35-ENV): Define.
21630 * posix/bug-regex35.c: New file.
21632 2013-02-11 Tom de Vries <tom@codesourcery.com>
21634 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21636 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21637 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21638 (CHECK_EOL): Add undef.
21640 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21642 * bits/stdlib-bsearch.h: New file.
21643 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21644 * stdlib/stdlib.h: Likewise.
21646 2013-02-11 Roland McGrath <roland@hack.frob.com>
21648 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21649 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21651 * manual/search.texi (Array Search Function): Add missing const in
21653 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21654 declaration to use rlim_t.
21655 (Basic Scheduling Functions): Remove erroneous const from
21656 sched_getparam prototype. Remove erroneous * from
21657 sched_get_priority_max and sched_get_priority_min prototypes.
21658 (Resource Usage): Fix summary @comment on vtimes to refer to
21659 sys/vtimes.h rather than vtimes.h.
21660 Add missing *s in vtimes prototype.
21661 (Limits on Resources): Fix ulimit prototype to return long int.
21662 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21663 prototypes to use long int rather than double.
21664 (BSD Random): Fix initstate and setstate to use char *, not void *.
21665 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21666 prototype to make second argument 'struct aiocb64 *const[]'.
21667 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21668 (Status of AIO Operations): Remove erroneous const in aio_return and
21669 aio_return64 prototypes.
21670 (Synchronizing I/O): Fix sync prototype to return void.
21671 * manual/startup.texi (Suboptions): Remove an erroneous const in
21672 getsubopt prototype.
21673 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21674 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21675 use size_t rather than int.
21676 (Scanning All Users): Likewise for getpwent_r.
21677 (Setting Groups): Add missing const to setgroups prototype.
21678 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21679 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21680 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21681 'const void *' rather than 'const char *'.
21682 (Host Address Functions): Likewise for inet_ntop.
21683 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21684 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21685 ssize_t for return value.
21686 (Sending Data): Likewise for send, sendto, sendmsg.
21687 (Socket Option Functions): Add a missing const in setsockopt prototype.
21688 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21689 use wchar_t for the argument.
21690 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21691 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21693 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21694 double/float/long double for second argument.
21695 Fix return types of significand, significandf, significandl.
21696 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21697 argument in fchmod prototype.
21698 (File Owner): Use uid_t and gid_t in fchown prototype.
21699 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21700 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21701 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21702 use 'const struct dirent **' as argument types to CMP function pointer
21704 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21705 (File Times): Fix summary magic @comment for struct utimbuf and utime
21706 to refer to utime.h, not time.h.
21707 * manual/string.texi (Argz Functions): Add missing const in
21708 argz_extract and argz_next prototypes.
21709 (Finding Tokens in a String): Likewise for basename.
21710 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21711 (Copying and Concatenation): Fix typo in wmemmove prototype.
21712 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21713 (Signal Stack): Remove erroneous const in sigstack prototype.
21714 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21716 (Simple Calendar Time): Likewise for stime.
21717 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21719 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21720 say sys/sysctl.h instead.
21721 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21722 and vsyslog prototypes.
21724 2013-02-11 Tom de Vries <tom@codesourcery.com>
21726 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21729 2013-02-11 Roland McGrath <roland@hack.frob.com>
21731 * misc/sys/mman.h: Fix typo in mremap comment.
21733 2013-02-08 Roland McGrath <roland@hack.frob.com>
21735 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21736 the '\0' terminator.
21738 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21741 * debug/segfault.c: Don't include <bp-checks.h>.
21742 * sysdeps/generic/bp-checks.h: Remove file.
21743 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21744 (__GETDENTS): Don't use CHECK_N.
21745 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21746 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21747 (__getgroups): Don't use CHECK_N.
21748 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21749 (setgroups): Don't use CHECK_N.
21750 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21751 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21752 (__libc_msgrcv): Don't use CHECK_N.
21753 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21754 (__libc_msgsnd): Don't use CHECK_N.
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21757 (__libc_pread): Don't use CHECK_N.
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21759 include <bp-checks.h>.
21760 (__libc_pread64): Don't use CHECK_N.
21761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21762 include <bp-checks.h>.
21763 (__libc_pwrite): Don't use CHECK_N.
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21765 include <bp-checks.h>.
21766 (__libc_pwrite64): Don't use CHECK_N.
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21769 (__libc_pread): Don't use CHECK_N.
21770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21771 include <bp-checks.h>.
21772 (__libc_pread64): Don't use CHECK_N.
21773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21774 include <bp-checks.h>.
21775 (__libc_pwrite): Don't use CHECK_N.
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21777 include <bp-checks.h>.
21778 (__libc_pwrite64): Don't use CHECK_N.
21779 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21780 (do_pread): Don't use CHECK_N.
21781 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21782 (do_pread64): Don't use CHECK_N.
21783 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21784 (do_pwrite): Don't use CHECK_N.
21785 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21786 (do_pwrite64): Don't use CHECK_N.
21787 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21788 (__libc_readv): Don't use CHECK_N.
21789 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21790 (semop): Don't use CHECK_N.
21791 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21793 (semtimedop): Don't use CHECK_N.
21794 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21795 (__libc_pread): Don't use CHECK_N.
21796 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21798 (__libc_pread64): Don't use CHECK_N.
21799 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21801 (__libc_pwrite): Don't use CHECK_N.
21802 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21804 (__libc_pwrite64): Don't use CHECK_N.
21805 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21807 (__libc_msgrcv): Don't use CHECK_N.
21808 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21809 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21810 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21811 (__libc_writev): Don't use CHECK_N.
21813 2013-02-08 Roland McGrath <roland@hack.frob.com>
21815 * string/strcpy.c: Removed unused variable.
21817 * Makeconfig (+sysdep-includes): Define with := rather than =.
21818 Use an existing include/ subdir of each sysdeps dir before it.
21820 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21822 * nscd/connection.c (register_traced_file): Comment function.
21823 [HAVE_INOTIFY] (union __inev): Define.
21824 [HAVE_INOTIFY] (inotify_check_files): New function.
21825 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21826 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21828 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21830 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21832 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21833 loaded if not already and that a failure is permanent.
21835 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21838 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21839 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21841 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21844 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21845 (CHECK_1_NULL_OK): Likewise.
21846 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21847 (__fxstat): Do not use CHECK_1.
21848 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21850 (___fxstat64): Do not use CHECK_1.
21851 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21853 (__fxstatat): Do not use CHECK_1.
21854 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21856 (__fxstatat64): Do not use CHECK_1.
21857 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21859 (__fxstat): Do not use CHECK_1.
21860 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21862 (__fxstatat): Do not use CHECK_1.
21863 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21865 (__getresgid): Do not use CHECK_1.
21866 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21868 (__getresuid): Do not use CHECK_1.
21869 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21871 (__lxstat): Do not use CHECK_1.
21872 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21874 (__old_msgctl): Do not use CHECK_1.
21875 (__new_msgctl): Likewise.
21876 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21878 (__new_setrlimit): Do not use CHECK_1.
21879 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21881 (__old_shmctl): Do not use CHECK_1.
21882 (__new_shmctl): Likewise.
21883 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21885 (__xstat): Do not use CHECK_1.
21886 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21887 (__lxstat): Do not use CHECK_1.
21888 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21890 (___lxstat64): Do not use CHECK_1.
21891 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21892 (__old_msgctl): Do not use CHECK_1.
21893 (__new_msgctl): Likewise.
21894 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21896 (__gettimeofday): Do not use CHECK_1.
21897 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21898 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21899 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21901 (__gettimeofday): Do not use CHECK_1.
21902 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21903 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21904 (__new_shmctl): Do not use CHECK_1.
21905 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21907 (do_sigtimedwait): Do not use CHECK_1.
21908 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21910 (do_sigwaitinfo): Do not use CHECK_1.
21911 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21913 (msgctl): Do not use CHECK_1.
21914 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21916 (shmctl): Do not use CHECK_1.
21917 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21918 (ustat): Do not use CHECK_1.
21919 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21921 (__fxstat): Do not use CHECK_1.
21922 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21924 (__fxstatat): Do not use CHECK_1.
21925 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21927 (__lxstat): Do not use CHECK_1.
21928 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21930 (__xstat): Do not use CHECK_1.
21931 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21932 (__xstat): Do not use CHECK_1.
21933 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21934 (___xstat64): Do not use CHECK_1.
21937 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21939 (CHECK_BOUNDS_HIGH): Likewise.
21940 * string/strcpy.c: Do not include <bp-checks.h>.
21941 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21943 2013-02-07 Roland McGrath <roland@hack.frob.com>
21945 * nscd/nscd-client.h (__nscd_drop_map_ref):
21946 Add __attribute__ ((unused)).
21947 * nis/nss-nisplus.h (niserr2nss): Likewise.
21949 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21950 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21952 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21953 Remove inline keyword.
21954 * include/rounding-mode.h (round_away): Likewise.
21955 * libio/wfileops.c (adjust_wide_data): Likewise.
21956 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21957 (__m128i_strloadu_tolower): Likewise.
21958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21959 (__m128i_strloadu_tolower): Likewise.
21960 * time/mktime.c (ydhms_diff): Likewise.
21961 * locale/elem-hash.h (elem_hash): Likewise.
21962 * locale/setlocale.c (setdata): Likewise.
21963 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21964 (re_string_wchar_at): Likewise.
21965 (bitset_not, bitset_merge, bitset_mask): Likewise.
21966 [!(__GNUC__ > 3)] (inline): Remove macro.
21967 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21968 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21969 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21970 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21971 * string/memcmp.c (memcmp_bytes): Likewise.
21972 * locale/programs/locarchive.c (compute_hashval): Likewise.
21973 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21974 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21975 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21976 * nss/getent.c (print_rpc, print_protocols): Likewise.
21977 (print_passwd, print_group, print_aliases): Likewise.
21978 * nis/nss-nisplus.h (niserr2nss): Likewise.
21979 * nscd/connections.c (restart_p): Likewise.
21980 Change return type to bool.
21982 2013-02-05 Roland McGrath <roland@hack.frob.com>
21984 * Makeconfig (all-Depend-files): Add existing
21985 $(sorted-subdirs:=/Depend) files.
21986 (all-subdirs): Remove nss.
21987 * sysdeps/unix/inet/Subdirs: Add it here instead.
21988 * hesiod/Depend: New file.
21990 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21991 instead of calling alloca.
21993 * io/lseek.c (__lseek): Rename to __libc_lseek.
21994 Define __lseek as an alias.
21996 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21998 2013-02-04 Carlos O'Donell <carlos@redhat.com>
22000 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22001 else clause and remove check for non-standard endianness.
22003 2013-02-04 David S. Miller <davem@davemloft.net>
22005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22007 2013-02-04 Joseph Myers <joseph@codesourcery.com>
22010 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22011 (__ubp_memchr): Remove prototype.
22012 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22013 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22014 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22015 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22016 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22018 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22019 (__ubp_memchr): Likewise.
22020 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22021 (__ubp_memchr): Likewise.
22022 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22023 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22024 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22025 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22027 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22028 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22029 (__getcwd): Do not use CHECK_STRING.
22030 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22032 (__real_chown): Do not use CHECK_STRING.
22033 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22035 (fchownat): Do not use CHECK_STRING.
22036 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22038 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22040 (__lchown): Do not use CHECK_STRING.
22041 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22042 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22043 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22044 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22046 include <bp-checks.h>.
22047 (truncate64): Do not use CHECK_STRING.
22048 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22050 (__real_chown): Do not use CHECK_STRING.
22051 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22053 (__lchown): Do not use CHECK_STRING.
22054 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22056 (__chown): Do not use CHECK_STRING.
22057 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22059 (truncate64): Do not use CHECK_STRING.
22060 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22062 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22063 (__xmknod): Do not use CHECK_STRING.
22064 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22066 (__xmknodat): Do not use CHECK_STRING.
22067 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22068 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22070 2013-02-04 Andreas Schwab <schwab@suse.de>
22073 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22074 * include/netdb.h: Likewise for h_errno.
22075 * elf/tst-stackguard1.c: Include <tls.h>.
22077 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22079 * elf/link.h (struct link_map): Extend the l_addr comment.
22080 * include/link.h (struct link_map): Likewise.
22082 2013-02-01 Joseph Myers <joseph@codesourcery.com>
22085 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22086 (BOUNDED_1): Remove macro.
22087 * debug/backtrace.c: Don't include <bp-checks.h>.
22088 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22089 (__backtrace): Likewise.
22090 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22092 (__backtrace): Don't use BOUNDED_1.
22093 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22095 (__backtrace): Don't use BOUNDED_1.
22096 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22097 (__backtrace): Don't use BOUNDED_1.
22098 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22099 (shmat): Don't use BOUNDED_N.
22101 2013-01-31 Joseph Myers <joseph@codesourcery.com>
22104 * sysdeps/generic/bp-start.h: Remove file.
22105 * csu/libc-start.c: Don't include <bp-start.h>.
22106 (LIBC_START_MAIN): Set up __environ directly instead of using
22107 INIT_ARGV_and_ENVIRON.
22108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22112 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22114 (CHECK_FCNTL): Likewise.
22115 (CHECK_N_PAGES): Likewise.
22118 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22120 (CHECK_SIGSET_NULL_OK): Likewise.
22121 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22123 (sigpending): Don't use CHECK_SIGSET.
22124 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22126 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22127 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22129 (do_sigsuspend): Don't use CHECK_SIGSET.
22130 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22132 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22133 (do_sigwait): Don't use CHECK_SIGSET.
22134 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22136 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22137 include <bp-checks.h>.
22138 (sigpending): Don't use CHECK_SIGSET.
22139 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22140 include <bp-checks.h>.
22141 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22142 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22144 (sigpending): Don't use CHECK_SIGSET.
22145 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22147 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22150 * sysdeps/generic/bp-semctl.h: Remove file.
22151 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22152 <bp-checks.h> and <bp-semctl.h>.
22153 (__old_semctl): Don't use CHECK_SEMCTL.
22154 (__new_semctl): Likewise.
22155 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22157 (__old_semctl): Don't use CHECK_SEMCTL.
22158 (__new_semctl): Likewise.
22159 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22160 <bp-checks.h> and <bp-semctl.h>.
22161 (__old_semctl): Don't use CHECK_SEMCTL.
22162 (__new_semctl): Likewise.
22163 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22164 <bp-checks.h> and <bp-semctl.h>.
22165 (semctl): Don't use CHECK_SEMCTL.
22168 * Makerules (elide-bp-thunks): Remove variable.
22169 (elide-routines.oS): Don't use $(elide-bp-thunks).
22170 (elide-routines.os): Likewise.
22171 (elide-routines.o): Likewise.
22172 (elide-routines.op): Likewise.
22173 (elide-routines.og): Likewise.
22174 (objects): Don't use $(bp-thunks).
22175 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22177 (common-generated): Do not add s-proto-bp.d.
22178 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22181 Do not generate makefile rules for bounded-pointer thunks.
22182 * sysdeps/generic/bp-thunks.h: Remove file.
22183 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22184 * sysdeps/unix/s-proto-bp.S: Likewise.
22187 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22188 parts of result separately when argument is not close to line from
22189 -i to i and one part of argument is small.
22190 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22191 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22192 * math/libm-test.inc (cacos_test): Add more tests.
22193 (casin_test): Likewise.
22194 (casinh_test): Likewise.
22195 * sysdeps/i386/fpu/libm-test-ulps: Update.
22196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22198 2013-01-31 David S. Miller <davem@davemloft.net>
22200 * po/de.po: Update from translation team.
22202 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22204 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22206 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22208 * configure.in (_AC_PROG_CC_C89): New definition.
22209 * configure: Regenerate.
22211 * configure.in (AC_PROG_CPP): New definition.
22212 * configure: Regenerate.
22214 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22216 * debug/tst-backtrace.h: New file.
22217 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22218 (ret): Remove variable.
22220 (FAIL): Remove macro.
22221 (NO_INLINE): Likewise.
22222 (fn1): Use match function instead of strstr.
22223 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22224 (ret): Remove variable.
22226 (FAIL): Remove macro.
22227 (NO_INLINE): Likewise.
22228 (fn): Use match function instead of strstr.
22229 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22230 (ret): Remove variable.
22232 (FAIL): Remove macro.
22233 (NO_INLINE): Likewise.
22234 (handle_signal): Use match function instead of strstr.
22235 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22236 (ret): Remove variable.
22238 (FAIL): Remove macro.
22239 (NO_INLINE): Likewise.
22240 (handle_signal): Use match function instead of strstr.
22242 2013-01-23 Roland McGrath <roland@hack.frob.com>
22244 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22246 2013-01-23 David S. Miller <davem@davemloft.net>
22248 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22249 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22250 argument of CAS if possible.
22251 * sysdeps/sparc/sparc64/bits/atomic.h
22252 (__arch_compare_and_exchange_val_32_acq): Likewise.
22253 (__arch_compare_and_exchange_val_64_acq): Likewise.
22255 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22257 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22258 * sysdeps/posix/ulimit.c: ... this.
22259 Include <limits.h>.
22260 * sysdeps/unix/bsd/ulimit.c: Remove file.
22262 2013-01-23 Adam Conrad <adconrad@0c3.net>
22264 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22265 (LDFLAGS-tst-array5): Likewise.
22267 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22270 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22271 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22272 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22273 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22275 2013-01-21 David S. Miller <davem@davemloft.net>
22277 * sysdeps/sparc/backtrace.c: New file.
22278 * sysdeps/sparc/sparc32/backtrace.h: New file.
22279 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22280 * sysdeps/sparc/sparc64/backtrace.h: New file.
22281 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22282 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22285 2013-01-21 Andreas Schwab <schwab@suse.de>
22288 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22291 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22297 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22298 Mark Mitchell <mark@codesourcery.com>
22299 Tom de Vries <tom@codesourcery.com>
22300 Paul Pluzhnikov <ppluzhnikov@google.com>
22302 * debug/tst-backtrace2.c: New file.
22303 * debug/tst-backtrace3.c: Likewise.
22304 * debug/tst-backtrace4.c: Likewise.
22305 * debug/tst-backtrace5.c: Likewise.
22306 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22307 (CFLAGS-tst-backtrace3.c): Likewise.
22308 (CFLAGS-tst-backtrace4.c): Likewise.
22309 (CFLAGS-tst-backtrace5.c): Likewise.
22310 (LDFLAGS-tst-backtrace2): Likewise.
22311 (LDFLAGS-tst-backtrace3): Likewise.
22312 (LDFLAGS-tst-backtrace4): Likewise.
22313 (LDFLAGS-tst-backtrace5): Likewise.
22314 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22315 tst-backtrace4 and tst-backtrace5.
22317 2013-01-18 Anton Blanchard <anton@samba.org>
22318 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22320 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22321 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22322 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22323 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22325 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22326 "+r" and remove output regs list as redundant. Add explicit inline
22327 asm to specify register of return val to work around compiler codegen
22328 bug. Remove (int) cast on return value. Add return type parameter to
22329 use in macro so that this macro does not truncate return value for
22331 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22332 pass to INTERNAL_VSYSCALL_NCS.
22333 (INLINE_VSYSCALL): Add 'long int' as return type to
22334 INTERNAL_VSYSCALL_NCS macro invocation.
22335 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22336 INTERNAL_VSYSCALL_NCS macro invocation.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22339 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22342 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22343 Fix application of SIMD FP exception mask.
22345 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22346 mp_no from a power of two.
22347 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22348 __mpexp_twomm1. Use __pow_mp.
22350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22353 2013-01-17 David S. Miller <davem@davemloft.net>
22355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22357 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22360 * include/complex.h: Condition contents on [!_COMPLEX_H].
22361 (__kernel_casinhf): New prototype.
22362 (__kernel_casinh): Likewise.
22363 (__kernel_casinhl): Likewise.
22364 * math/Makefile (libm_calls): Add k_casinh.
22365 * math/k_casinh.c: New file.
22366 * math/k_casinhf.c: Likewise.
22367 * math/k_casinhl.c: Likewise.
22368 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22369 finite nonzero arguments.
22370 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22371 finite nonzero arguments.
22372 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22373 finite nonzero arguments.
22374 * math/s_casinh.c: Do not include <float.h>.
22375 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22376 * math/s_casinhf.c: Do not include <float.h>.
22377 (__casinhf): Move code for finite nonzero arguments to
22379 * math/s_casinhl.c: Do not include <float.h>.
22380 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22382 (__casinhl): Move code for finite nonzero arguments to
22384 * math/libm-test.inc (cacos_test): Add more tests.
22385 * sysdeps/i386/fpu/libm-test-ulps: Update.
22386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22388 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22390 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22391 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22392 [!HAVE_MREMAP]: Remove [defined linux] case.
22393 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22395 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22397 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22399 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22401 * elf/elf.h (R_386_SIZE32): New relocation.
22402 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22404 (elf_machine_rela): Likewise.
22405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22406 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22408 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22410 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22411 (FP_FAST_FMA): Do not define.
22412 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22413 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22414 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22415 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22416 !_SOFT_FLOAT]: Likewise.
22417 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22418 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22420 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22421 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22422 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22423 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22424 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22425 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22428 2013-01-16 Andreas Schwab <schwab@suse.de>
22431 * include/stdlib.h (__mktemp): Add declaration.
22432 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22433 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22435 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22437 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22439 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22440 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22441 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22443 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22444 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22446 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22448 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22449 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22450 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22452 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22453 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22455 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22457 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22459 2013-01-15 David S. Miller <davem@davemloft.net>
22461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22462 trunc{,f} to libm-sysdep_routes.
22463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22473 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22474 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22475 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22476 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22477 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22478 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22481 nearbyint{,f} to libm-sysdep_routes.
22482 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22493 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22495 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22498 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22499 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22500 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22502 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22503 libc_feholdexcept and libc_fesetenv.
22505 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22507 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22509 2013-01-14 David S. Miller <davem@davemloft.net>
22511 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22512 (SPARC_ASM_VIS2_IFUNC): Likewise.
22513 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22515 use of 'siam' instruction.
22516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22549 routines to libm-sysdep_routines.
22550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22553 fdim/fdimf to libm-sysdep_routines.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22562 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22563 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22564 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22565 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22567 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22570 to optimize copies.
22572 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22577 local variable MPTWO.
22578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22581 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22583 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22586 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22588 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22590 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22592 * manual/pattern.texi (glob_t): Document gl_flags.
22593 (glob64_t): Likewise.
22595 2013-01-11 David S. Miller <davem@davemloft.net>
22597 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22598 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22599 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22600 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22601 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22602 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22603 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22604 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22605 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22606 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22607 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22608 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22609 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22611 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22612 sparc V9 rather than using V8 code.
22613 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22614 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22616 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22618 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22621 2013-01-11 Roland McGrath <roland@hack.frob.com>
22623 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22624 not in the main loop.
22625 * configure: Regenerated.
22627 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22629 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22630 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22632 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22633 [!__GLIBC_HAVE_LONG_LONG] case.
22634 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22635 condition to just #else.
22636 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22637 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22638 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22639 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22641 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22642 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22643 #elif condition to just #else.
22644 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22645 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22646 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22647 #elif condition to just #else.
22649 2013-01-11 Steve Ellcey <sellcey@mips.com>
22651 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22652 (EF_MIPS_ARCH_64): Fix value.
22653 (EF_MIPS_ARCH_32R2): New.
22654 (EF_MIPS_ARCH_64R2): New.
22656 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22658 * Makeconfig (+link-pie-before-libc): New.
22659 (+link-pie-after-libc): Likewise.
22660 (+link-pie-tests): Likewise.
22661 (+link-pie): Rewritten.
22662 (link-before-libc): Remove $(config-LDFLAGS).
22663 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22664 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22665 (config-LDFLAGS): Renamed to ...
22666 (rtld-LDFLAGS): This.
22667 (rtld-tests-LDFLAGS): New macro.
22668 (link-libc-rpath-link): Likewise.
22669 (link-libc-tests-rpath-link): Likewise.
22670 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22671 (link-libc): Prepand $(link-libc-rpath-link).
22672 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22673 (test-program-prefix): New macro.
22674 (test-via-rtld-prefix): Likewise.
22675 (test-program-cmd): Likewise.
22676 (host-test-program-cmd): Likewise.
22677 * Makefile ($(common-objpfx)testrun.sh): Replace
22678 $(run-program-prefix) with $(test-program-prefix).
22679 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22681 ($(common-objpfx)shlib.lds): Likewise.
22682 (build-module-helper): Likewise.
22683 ($(common-objpfx)format.lds): Likewise.
22684 * Rules (binaries-pie-tests): New.
22685 (binaries-pie-notests): Likewise.
22686 (binaries-pie): Rewritten.
22687 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22688 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22689 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22690 (make-test-out): Replace $(host-built-program-cmd) with
22691 $(host-test-program-cmd).
22692 * config.make.in (build-hardcoded-path-in-tests): New variable.
22693 * configure.in (--enable-hardcoded-path-in-tests): New configure
22695 (hardcoded_path_in_tests): New AC_SUBST.
22696 * configure: Regenerated.
22697 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22698 $(built-program-cmd) with $(test-program-cmd).
22699 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22700 (test_program_cmd): This.
22701 * elf/Makefile ($(objpfx)order.out): Run test with
22702 $(test-program-prefix).
22703 ($(objpfx)order2.out): Likewise.
22704 ($(objpfx)tst-initorder.out): Likewise.
22705 ($(objpfx)tst-initorder2.out): Likewise.
22706 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22707 $(test-program-cmd).
22708 ($(objpfx)tst-array1-static.out): Likewise.
22709 ($(objpfx)tst-array2.out): Likewise.
22710 ($(objpfx)tst-array3.out): Likewise.
22711 ($(objpfx)tst-array4.out): Likewise.
22712 ($(objpfx)tst-array5.out): Likewise.
22713 ($(objpfx)tst-array5-static.out): Likewise.
22714 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22715 $(test-program-cmd).
22716 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22717 $(run-program-prefix) with $(test-program-prefix).
22718 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22719 (test_program_prefix): This.
22720 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22721 $(run-program-prefix) with $(test-program-prefix).
22722 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22723 (test_program_prefix): This.
22724 * iconvdata/tst-tables.sh: Likewise.
22725 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22726 $(run-program-prefix) with $(test-program-prefix).
22727 ($(objpfx)tst-translit.out): Likewise.
22728 ($(objpfx)tst-gettext2.out): Likewise.
22729 ($(objpfx)tst-gettext4.out): Likewise.
22730 ($(objpfx)tst-gettext6.out): Likewise.
22731 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22732 (test_program_prefix): This.
22733 * intl/tst-gettext2.sh: Likewise.
22734 * intl/tst-gettext4.sh Likewise.
22735 * intl/tst-gettext6.sh: Likewise.
22736 * intl/tst-translit.sh: Likewise.
22737 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22738 with $(test-program-cmd).
22739 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22740 $(run-program-prefix) with $(test-program-prefix).
22741 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22742 (test_program_prefix): This.
22743 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22744 $(run-program-prefix) with $(test-program-prefix).
22745 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22746 (test_program_prefix): This.
22747 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22748 * posix/Makefile ($(objpfx)globtest.out): Replace
22749 $(run-via-rtld-prefix) and $(test-wrapper) with
22750 $(test-program-prefix) and $(test-via-rtld-prefix).
22751 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22752 $(test-program-prefix).
22753 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22754 $(host-test-program-cmd).
22755 (tst-spawn-ARGS): Likewise.
22756 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22757 $(test-program-prefix).
22758 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22759 (test_via_rtld_prefix): This.
22760 (test_wrapper): Renamed to ...
22761 (test_program_prefix): This.
22762 (run_program_prefix): Replaced by test_program_prefix.
22763 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22764 (test_program_prefix): This.
22765 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22766 with $(host-test-program-cmd).
22767 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22768 $(run-program-prefix) with $(test-program-prefix).
22769 ($(objpfx)tst-printf.out): Likewise.
22770 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22771 $(test-program-cmd).
22772 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22773 (test_program_prefix): This.
22774 * stdio-common/tst-unbputc.sh: Likewise.
22775 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22776 $(run-program-prefix) with $(test-program-prefix).
22777 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22778 (test_program_prefix): This.
22779 * string/Makefile ($(objpfx)tst-svc.out): Replace
22780 $(built-program-cmd) with $(test-program-cmd).
22782 2013-01-11 Andreas Jaeger <aj@suse.de>
22785 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22786 value. Sync with Linux 3.7.
22788 2013-01-10 David S. Miller <davem@davemloft.net>
22790 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22791 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22792 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22794 2013-01-10 Roland McGrath <roland@hack.frob.com>
22796 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22798 * configure: Regenerated.
22800 2013-01-10 David S. Miller <davem@davemloft.net>
22802 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22803 sparc V9 rather than using V8 code.
22804 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22805 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22807 2013-01-10 Roland McGrath <roland@hack.frob.com>
22809 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22810 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22811 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22812 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22813 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22814 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22815 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22816 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22817 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22818 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22819 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22820 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22821 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22822 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22823 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22824 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22825 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22826 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22827 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22828 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22829 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22830 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22831 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22832 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22833 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22834 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22835 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22837 2013-01-10 David S. Miller <davem@davemloft.net>
22839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22841 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22843 * posix/Makefile (tests-static): New variable.
22844 (tests): Add $(tests-static).
22845 (tst-exec-static-ARGS): New variable.
22846 (tst-spawn-static-ARGS): Likewise.
22847 * posix/tst-exec-static.c: New file.
22848 * posix/tst-spawn-static.c: Likewise.
22849 * posix/tst-exec.c: Support run directly.
22850 * posix/tst-spawn.c: Likewise.
22852 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22854 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22856 * math/bits/mathcalls.h (llrint): Likewise.
22857 (llround): Likewise.
22858 * stdlib/stdlib.h (struct drand48_data): Likewise.
22859 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22860 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22861 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22863 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22865 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22866 (elf_greg_t): Likewise.
22867 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22868 (__jmp_buf): Likewise.
22869 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22871 (llrint): Likewise, for all definitions.
22872 (llrintl): Likewise.
22874 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22875 Remove [__GNUC__] condition.
22876 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22877 condition to just [__USE_ISOC99].
22878 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22880 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22883 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22884 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22886 (_POSIX_V6_ILP32_OFF32): Likewise.
22887 (_XBS5_ILP32_OFF32): Likewise.
22888 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22889 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22891 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22893 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22895 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22896 doubles __mpexp_twomm1. Adjust usage.
22897 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22900 2013-01-10 Andreas Schwab <schwab@suse.de>
22903 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22904 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22906 2013-01-09 David S. Miller <davem@davemloft.net>
22909 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22910 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22911 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22912 (TCP_FASTOPEN): Define.
22913 (tcp_repair_opt): New structure.
22914 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22916 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22917 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22918 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22919 (tcp_cookie_transactions): New structure.
22921 2013-01-09 Anton Blanchard <anton@samba.org>
22923 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22924 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22925 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22926 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22928 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22930 * include/features.h (__USE_ANSI): Remove.
22932 2013-01-09 Roland McGrath <roland@hack.frob.com>
22934 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22936 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22938 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22940 * sysdeps/s390/fpu/libm-test-ulps: Update.
22942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22944 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22948 (denorm): Likewise.
22949 (__mp_dbl): Likewise.
22950 (__dbl_mp): Likewise.
22951 (add_magnitudes): Likewise.
22952 (sub_magnitudes): Likewise.
22958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22962 (denorm): Likewise.
22963 (__mp_dbl): Likewise.
22964 (__dbl_mp): Likewise.
22965 (add_magnitudes): Likewise.
22966 (sub_magnitudes): Likewise.
22972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22976 (denorm): Likewise.
22977 (__mp_dbl): Likewise.
22978 (__dbl_mp): Likewise.
22979 (add_magnitudes): Likewise.
22980 (sub_magnitudes): Likewise.
22987 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22989 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22990 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22991 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22992 2 && __USE_EXTERN_INLINES]: Likewise.
22994 2013-01-08 Andreas Jaeger <aj@suse.de>
22997 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22999 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23000 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23002 2013-01-07 Anton Blanchard <anton@samba.org>
23004 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23005 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23006 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23007 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23008 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23009 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23010 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23011 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23013 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23014 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23015 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23017 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23021 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23022 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23023 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23024 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23025 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23028 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23029 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23030 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23031 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23033 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23034 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23036 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23037 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23038 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23039 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23041 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23043 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23044 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23045 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23046 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23048 2013-01-07 Joseph Myers <joseph@codesourcery.com>
23050 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23051 (__MALLOC_PMT): Likewise.
23052 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23053 [__GNUC__], only on [_LIBC].
23054 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23055 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23056 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23057 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23058 forward declaration.
23059 (realloc_hook_ini): Likewise.
23060 (memalign_hook_ini): Likewise.
23061 (__libc_memalign): Do not use __MALLOC_PMT in variable
23063 (__libc_valloc): Likewise.
23064 (__libc_pvalloc): Likewise.
23065 (__libc_calloc): Likewise.
23066 (__posix_memalign): Likewise.
23069 * math/s_casinh.c: Include <float.h>.
23070 (__casinh): Do not do computation with squaring and square root
23071 for large arguments.
23072 * math/s_casinhf.c: Include <float.h>.
23073 (__casinhf): Do not do computation with squaring and square root
23074 for large arguments.
23075 * math/s_casinhl.c: Include <float.h>.
23076 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23077 (__casinhl): Do not do computation with squaring and square root
23078 for large arguments.
23079 * math/libm-test.inc (casin_test): Add more tests.
23080 (casinh_test): Likewise.
23081 * sysdeps/i386/fpu/libm-test-ulps: Update.
23082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23084 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23086 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23087 (__x86_64_raw_data_cache_size): Likewise.
23088 (__x86_64_data_cache_size_half): Likewise.
23089 (__x86_64_raw_data_cache_size_half): Likewise.
23090 (__x86_64_shared_cache_size): Likewise.
23091 (__x86_64_raw_shared_cache_size): Likewise.
23092 (__x86_64_shared_cache_size_half): Likewise.
23093 (__x86_64_raw_shared_cache_size_half): Likewise.
23094 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23096 (__x86_data_cache_size): This.
23097 (__x86_64_raw_data_cache_size): Renamed to ...
23098 (__x86_raw_data_cache_size): This.
23099 (__x86_64_data_cache_size_half): Renamed to ...
23100 (__x86_data_cache_size_half): This.
23101 (__x86_64_raw_data_cache_size_half): Renamed to ...
23102 (__x86_raw_data_cache_size_half): This.
23103 (__x86_64_shared_cache_size): Renamed to ...
23104 (__x86_shared_cache_size): This.
23105 (__x86_64_raw_shared_cache_size): Renamed to ...
23106 (__x86_raw_shared_cache_size): This.
23107 (__x86_64_shared_cache_size_half): Renamed to ...
23108 (__x86_shared_cache_size_half): This.
23109 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23110 (__x86_raw_shared_cache_size_half): This.
23111 * sysdeps/x86_64/memcpy.S: Updated.
23112 * sysdeps/x86_64/memset.S: Likewise.
23113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23114 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23115 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23117 2013-01-04 David S. Miller <davem@davemloft.net>
23119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23121 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23123 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23124 1 to avoid redefinition warning.
23125 (__USE_GNU): Don't define.
23126 (init_signaling_nan): Protoize.
23128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23130 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23132 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23134 (__cpymn): Likewise.
23135 (norm): Remove commented code.
23136 (denorm): Likewise.
23137 (__mp_dbl): Likewise.
23139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23140 (__cpymn): Likewise.
23141 (norm): Remove commented code.
23142 (denorm): Likewise.
23143 (__mp_dbl): Likewise.
23146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23147 mp_no value for 1.0 and 2.0.
23148 (norm): Use RADIXI instead of radixi.d.
23149 (denorm): Likewise.
23150 (__mul): Use 0.0 instead of zero.d.
23151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23152 mp_no value for 1.0 and 2.0.
23153 (norm): Use RADIXI instead of radixi.d.
23154 (denorm): Likewise.
23155 (__mul): Use 0.0 instead of zero.d.
23157 2013-01-04 Joseph Myers <joseph@codesourcery.com>
23160 * math/s_casinh.c (__casinh): Reduce finite argument to first
23161 quadrant then set signs of results at the end.
23162 * math/s_casinhf.c (__casinhf): Likewise.
23163 * math/s_casinhl.c (__casinhl): Likewise.
23164 * math/libm-test.inc (casin_test): Add more tests.
23165 (casinh_test): Likewise.
23166 * sysdeps/i386/fpu/libm-test-ulps: Update.
23167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23171 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23173 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23175 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23177 (denorm): Likewise.
23178 (__mp_dbl): Likewise.
23181 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23182 and adjust the header comment.
23184 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23185 variable name from declaration.
23187 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23190 Initialize COMMON_CPUID_INDEX_7 element.
23191 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23192 (CPUID_RTM): Likewise.
23193 (HAS_RTM): Likewise.
23194 (COMMON_CPUID_INDEX_7): New enum.
23196 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23199 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23200 size is zero, record memory as freed.
23202 2013-01-03 Andreas Jaeger <aj@suse.de>
23204 * po/ia.po: Add new Interlingua translation.
23206 2012-01-03 Allan McRae <allan@archlinux.org>
23208 * locale/programs/localedef.c: Fix description of '--posix' flag.
23210 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23212 * NEWS: Update dates in second copyright notice.
23213 * README: Update copyright dates in example.
23214 * manual/libc.texinfo: Update copyright dates.
23215 * scripts/test-installation.pl: Update copyright date in --version
23218 * hurd/ctty-input.c: Fix copyright notice formatting.
23219 * hurd/ctty-output.c: Likewise.
23220 * hurd/dtable.c: Likewise.
23221 * hurd/hurd-raise.c: Likewise.
23222 * hurd/hurdprio.c: Likewise.
23223 * hurd/msgportdemux.c: Likewise.
23224 * misc/sys/file.h: Likewise.
23225 * misc/sys/ioctl.h: Likewise.
23226 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23227 * sysdeps/mach/hurd/chdir.c: Likewise.
23228 * sysdeps/mach/hurd/fchdir.c: Likewise.
23229 * sysdeps/mach/hurd/rename.c: Likewise.
23230 * sysdeps/mach/hurd/rmdir.c: Likewise.
23231 * sysdeps/mach/hurd/seekdir.c: Likewise.
23232 * sysdeps/mach/hurd/setsid.c: Likewise.
23233 * sysdeps/posix/wait3.c: Likewise.
23235 * All files with FSF copyright notices: Update copyright dates
23236 using scripts/update-copyrights.
23237 * intl/plural.c: Regenerated.
23238 * locale/programs/charmap-kw.h: Likewise.
23239 * locale/programs/locfile-kw.h: Likewise.
23241 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23243 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23246 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23247 calculation loop and add branch prediction.
23249 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23250 check access beyond bounds of m1np.
23252 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23254 (__inv): Remove local variable MPTWO to use the global
23256 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23259 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23260 MP3HALFS static const.
23262 2013-01-01 David S. Miller <davem@davemloft.net>
23264 * po/ca.po: Update from translation team.
23266 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23268 * scripts/update-copyrights: New file.
23269 * Makeconfig: Reformat copyright notice.
23270 * ctype/ctype.h: Likewise.
23271 * debug/swprintf_chk.c: Likewise.
23272 * elf/dl-cache.c: Likewise.
23273 * elf/dl-debug.c: Likewise.
23274 * elf/dl-object.c: Likewise.
23275 * grp/initgroups.c: Likewise.
23276 * hurd/Makefile: Likewise.
23277 * hurd/hurd/signal.h: Likewise.
23278 * hurd/hurdfault.c: Likewise.
23279 * hurd/hurdioctl.c: Likewise.
23280 * hurd/hurdlookup.c: Likewise.
23281 * hurd/intr-msg.c: Likewise.
23282 * iconv/gconv_open.c: Likewise.
23283 * libio/swprintf.c: Likewise.
23284 * locale/lc-ctype.c: Likewise.
23285 * locale/nl_langinfo.c: Likewise.
23286 * mach/Machrules: Likewise.
23287 * mach/Makefile: Likewise.
23288 * malloc/obstack.h: Likewise.
23289 * manual/Makefile: Likewise.
23290 * manual/tsort.awk: Likewise.
23291 * misc/bits/stab.def: Likewise.
23292 * nis/nis_print_group_entry.c: Likewise.
23293 * nis/nis_table.c: Likewise.
23294 * nis/nss_compat/compat-pwd.c: Likewise.
23295 * nis/nss_compat/compat-spwd.c: Likewise.
23296 * po/Makefile: Likewise.
23297 * posix/fnmatch.c: Likewise.
23298 * posix/regex.h: Likewise.
23299 * resolv/Makefile: Likewise.
23300 * resolv/nss_dns/dns-network.c: Likewise.
23301 * resolv/res_hconf.c: Likewise.
23302 * scripts/gen-sorted.awk: Likewise.
23303 * soft-fp/soft-fp.h: Likewise.
23304 * stdio-common/printf.h: Likewise.
23305 * stdlib/monetary.h: Likewise.
23306 * stdlib/random.c: Likewise.
23307 * stdlib/random_r.c: Likewise.
23308 * sysdeps/generic/Makefile: Likewise.
23309 * sysdeps/gnu/Makefile: Likewise.
23310 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23324 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23325 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23330 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23338 * sysdeps/mach/hurd/errnos.awk: Likewise.
23339 * sysdeps/mach/hurd/fork.c: Likewise.
23340 * sysdeps/mach/hurd/getcwd.c: Likewise.
23341 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23342 * sysdeps/mach/hurd/mmap.c: Likewise.
23343 * sysdeps/mach/hurd/utimes.c: Likewise.
23344 * sysdeps/mach/hurd/xmknod.c: Likewise.
23345 * sysdeps/posix/profil.c: Likewise.
23346 * sysdeps/posix/readdir_r.c: Likewise.
23347 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23348 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23349 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23350 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23352 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23353 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23356 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23357 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23358 * sysdeps/pthread/lio_listio.c: Likewise.
23359 * sysdeps/sparc/dl-procinfo.h: Likewise.
23360 * sysdeps/unix/i386/sysdep.S: Likewise.
23361 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23362 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23363 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23364 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23366 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23367 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23368 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23369 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23370 * sysdeps/wordsize-32/divdi3.c: Likewise.
23371 * time/sys/time.h: Likewise.
23372 * wcsmbs/Makefile: Likewise.
23374 2013-01-01 David S. Miller <davem@davemloft.net>
23376 * po/fr.po: Update from translation team.
23378 * catgets/gencat.c: Update copyright year.
23379 * csu/version.c: Likewise.
23380 * debug/catchsegv.sh: Likewise.
23381 * debug/pcprofiledump.c: Likewise.
23382 * debug/xtrace.sh: Likewise.
23383 * elf/ldconfig.c: Likewise.
23384 * elf/ldd.bash.in: Likewise.
23385 * elf/pldd.c: Likewise.
23386 * elf/sotruss.ksh: Likewise.
23387 * elf/sprof.c: Likewise.
23388 * iconv/iconv_prog.c: Likewise.
23389 * iconv/iconvconfig.c: Likewise.
23390 * locale/programs/locale.c: Likewise.
23391 * locale/programs/localedef.c: Likewise.
23392 * login/programs/pt_chown.c: Likewise.
23393 * malloc/memusage.sh: Likewise.
23394 * malloc/memusagestat.c: Likewise.
23395 * malloc/mtrace.pl: Likewise.
23396 * nscd/nscd.c: Likewise.
23397 * nss/getent.c: Likewise.
23398 * nss/makedb.c: Likewise.
23399 * posix/getconf.c: Likewise.
23401 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23403 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23406 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23408 * math/bits/mathcalls.h (modf): Use __nonnull.
23410 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23412 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23413 (split): Use macro CN instead of the bare value.
23414 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23417 instead of the bare value.
23418 (power1): Likewise.
23420 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23422 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23424 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23426 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23428 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23430 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23431 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23433 2012-12-28 Andreas Jaeger <aj@suse.de>
23435 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23436 values are from Linux 3.7.
23438 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23439 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23441 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23443 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23446 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23448 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23449 variables with preprocessor constants.
23450 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23451 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23452 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23454 2012-12-27 Bruno Haible <bruno@clisp.org>
23457 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23460 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23463 and use variable directly.
23464 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23466 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23468 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23469 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23471 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23473 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23474 include directive. Remove local variable MPONE.
23475 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23476 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23477 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23479 2012-12-25 David S. Miller <davem@davemloft.net>
23481 * version.h (RELEASE): Set to "development".
23482 (VERSION): Set to "2.17.90".
23483 * NEWS: Add 2.18 section.
23485 2012-12-21 David S. Miller <davem@davemloft.net>
23487 * po/hr.po: Update from translation team.
23489 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23491 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23493 2012-12-19 Steve Ellcey <sellcey@mips.com>
23495 * NEWS: Mention new memcpy for MIPS.
23497 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23499 * manual/contrib.texi (Contributors): Spelling correction.
23501 2012-12-15 David S. Miller <davem@davemloft.net>
23503 * po/ru.po: Update from translation team.
23505 2012-12-13 David S. Miller <davem@davemloft.net>
23507 * NEWS: Mention IFUNC testsuite enhancements.
23509 * po/pl.po: Update from translation team.
23510 * po/bg.po: Likewise.
23512 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23513 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23515 2012-12-11 David S. Miller <davem@davemloft.net>
23517 * po/sv.po: Update from translation team.
23519 * po/vi.po: Update from translation team.
23521 * po/cs.po: Update from translation team.
23523 * po/de.po: Update from translation team.
23524 * po/eo.po: Likewise.
23525 * po/nl.po: Likewise.
23527 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23530 * manual/argp.texi (Argp Helper Functions): Move node to follow
23531 Argp Parsing State.
23534 * manual/conf.texi (Limits on File System Capacity): Mention if
23535 terminating null is included in the max size.
23537 2012-12-10 Andreas Jaeger <aj@suse.de>
23539 * po/cs.po: Update from translation team.
23541 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23543 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23544 void pointer and cast to uintptr_t.
23545 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23547 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23548 * sysdeps/s390/s390-64/memset.S: Likewise.
23550 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23553 * menual/message.texi (Message Translation): Fix typos.
23554 (Helper programs for gettext): Likewise.
23556 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23559 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23562 2012-12-07 David S. Miller <davem@davemloft.net>
23564 * po/libc.pot: Update.
23566 2012-12-07 Richard Henderson <rth@redhat.com>
23569 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23570 normal/normal case to before the switch.
23571 (_FP_DIV): Likewise.
23573 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23574 Mike Frysinger <vapier@gentoo.org>
23576 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23577 check for __NR_fadvise64_64.
23579 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23581 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23582 0, not just to plain "0" as a statement.
23583 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23586 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23588 * NEWS: Use sourceware.org in Bugzilla URL.
23590 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23593 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23595 * stdio-common/tst-put-error.c (do_test): Add newline to the
23596 padded test to ensure flush.
23598 2012-12-05 Jeff Law <law@redhat.com>
23600 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23602 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23604 * README: Don't refer to ports add-on as distributed separately.
23605 Mention AArch64 in list of systems supported in the ports add-on.
23607 * LICENSES: Add more non-FSF copyright and license notices.
23609 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23612 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23614 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23615 10000 as width of padded output.
23617 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23619 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23621 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23622 variable LX with __attribute__ ((unused)).
23623 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23625 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23628 with __attribute__ ((unused)).
23630 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23632 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23634 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23636 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23637 (CFLAGS-nldbl-acos.c): New variable.
23638 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23639 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23640 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23641 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23642 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23643 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23648 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23649 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23650 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23655 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23656 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23657 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23658 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23659 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23664 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23665 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23666 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23667 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23668 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23669 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23670 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23671 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23672 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23673 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23674 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23675 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23676 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23677 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23678 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23679 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23680 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23681 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23682 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23683 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23684 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23685 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23686 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23687 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23688 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23689 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23690 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23691 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23692 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23693 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23694 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23695 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23696 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23697 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23698 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23699 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23700 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23701 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23702 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23703 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23704 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23705 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23706 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23707 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23708 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23709 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23710 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23711 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23716 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23717 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23718 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23719 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23720 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23721 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23722 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23723 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23724 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23725 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23726 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23727 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23728 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23729 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23730 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23731 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23732 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23733 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23734 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23737 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23740 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23741 whole low double instead of just low 47 bits when splitting values
23744 2012-12-03 Allan McRae <allan@archlinux.org>
23746 * manual/stdio.texi (Predefined Printf Handlers): Remove
23747 @hsep and @vsep usage.
23749 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23751 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23752 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23754 2012-12-03 Jeff Law <law@redhat.com>
23756 * time/sys/time.h (settimeofday): Do not mark TV argument
23759 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23761 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23762 when currently writing and seek to current position when not.
23763 * libio/Makefile (tests): Remove bug-fclose1.
23764 * libio/bug-fclose1.c: Delete.
23766 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23768 * manual/arith.texi (feenableexcept): Fix typo.
23769 (fedisableexcept): Likewise.
23771 2012-11-30 Roland McGrath <roland@hack.frob.com>
23773 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23774 second, differently-typed declaration, rather than a cast.
23776 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23778 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23779 * include/rpc/svc.h: ... here.
23781 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23784 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23785 depending n and resplen2 to catch cases where answer
23788 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23790 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23791 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23793 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23795 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23797 2012-11-29 Roland McGrath <roland@hack.frob.com>
23799 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23801 2012-11-28 Jeff Law <law@redhat.com>
23804 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23805 dataset_temporary. Track alloca usage into alloca_used.
23806 If dataset is large allocate and release it via malloc/free.
23808 2012-06-04 Florian Weimer <fweimer@redhat.com>
23811 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23813 2012-11-28 David S. Miller <davem@davemloft.net>
23815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23817 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23820 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23821 of pi/2 rounded to nearest to 64 bits.
23822 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23823 nearest to 64 bits.
23824 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23827 2012-11-28 Jeff Law <law@redhat.com>
23828 Martin Osvald <mosvald@redhat.com>
23831 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23832 * sunrpc/svc.c: Include time.h.
23833 (__svc_accept_failed): New function.
23834 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23835 any reason other than EINTR, call __svc_accept_failed.
23836 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23837 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23839 2012-11-28 Andreas Schwab <schwab@suse.de>
23841 * scripts/abilist.awk: Also handle indirect functions in .opd
23844 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23847 * sysdeps/x86/fpu/powl_helper.c: New file.
23848 * sysdeps/x86/fpu/Makefile: Likewise.
23849 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23851 (__ieee754_powl): Use __powl_helper for finite arguments except
23852 integer exponents below 8.
23853 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23855 (__ieee754_powl): Use __powl_helper for finite arguments except
23856 integer exponents below 8.
23857 * math/libm-test.inc (pow_test): Add more tests and enable some
23858 previously disabled tests.
23859 * sysdeps/i386/fpu/libm-test-ulps: Update.
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23862 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23863 Carlos O'Donell <carlos_odonell@mentor.com>
23865 * nss/makedb.c (is_prime): Assert that input is odd and greater
23866 than 4. Note that fact in a comment too.
23867 (next_prime): Add 4 to input.
23869 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23872 * libio/Makefile (tests): Add test case tst-fwrite-error.
23873 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23874 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23875 * libio/tst-fwrite-error.c: New test case.
23877 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23879 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23880 before casting to void *.
23881 * include/libc-internal.h (__pointer_type): New macro.
23882 (__integer_if_pointer_type_sub): Likewise.
23883 (__integer_if_pointer_type): Likewise.
23884 (cast_to_integer): Likewise.
23885 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23886 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23887 before casting to atomic64_t.
23888 (atomic_exchange_acq): Likewise.
23889 (__arch_exchange_and_add_body): Likewise.
23890 (__arch_add_body): Likewise.
23891 (atomic_add_negative): Likewise.
23892 (atomic_add_zero): Likewise.
23894 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23896 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23897 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23898 (add_fdes): Likewise.
23899 (linear_search_fdes): Likewise.
23900 (binary_search_unencoded_fdes): Likewise.
23902 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23904 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23906 2012-11-24 Adam Conrad <adconrad@0c3.net>
23908 * configure.in: Autodetect C++ header directories.
23909 * configure: Regenerated.
23911 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23913 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23915 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23919 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23921 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23922 LDBL_MANT_DIG == 106]: Disable some tests.
23923 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23925 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23929 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23930 input for small inputs. Return +/- pi/2 for large inputs.
23931 * math/libm-test.inc (atan_test): Add more tests.
23933 * sysdeps/generic/unwind-dw2-fde-glibc.c
23934 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23935 __attribute__ ((unused)).
23938 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23939 x * y if x and y are nonzero and z is zero.
23942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23943 nonzero exponents with absolute value below 0x1p-117 to +/-
23947 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23948 up arguments below 2**-450, not just those below 2**-500.
23949 * math/libm-test.inc (hypot_test): Add another test.
23952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23953 Return a+b for ratio over 2**120, not 2**60.
23954 * math/libm-test.inc (hypot_test): Add another test.
23956 * math/libm-test.inc (clog_test): Use
23957 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23958 (clog10_test): Likewise.
23961 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23963 2012-11-22 Andreas Schwab <schwab@suse.de>
23965 * sysdeps/i386/fpu/libm-test-ulps: Update.
23967 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23969 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23970 printf output with newline.
23972 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23975 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23976 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23977 -z nodlopen, -z initfirst and -z execstack support.
23978 * configure: Regenerated.
23980 * elf/elf.h (DF_1_NODIRECT): New macro.
23981 (DF_1_IGNMULDEF): Likewise.
23982 (DF_1_NOKSYMS): Likewise.
23983 (DF_1_NOHDR): Likewise.
23984 (DF_1_EDITED): Likewise.
23985 (DF_1_NORELOC): Likewise.
23986 (DF_1_SYMINTPOSE): Likewise.
23987 (DF_1_GLOBAUDIT): Likewise.
23988 (DF_1_SINGLETON): Likewise.
23989 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23990 DT_1_SUPPORTED_MASK bits.
23991 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23993 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23995 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23997 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23999 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24002 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24003 (sendmmsg): Move declarations...
24004 * socket/sys/socket.h: ... here.
24005 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24006 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24008 * socket/recvmmsg.c: ... this new file.
24009 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24010 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24011 definition of __sendmmsg hidden.
24012 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24013 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24014 Move ENOSYS stub into and include it from...
24015 * socket/sendmmsg.c: ... this new file.
24016 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24017 (sysdep_routines): Move recvmmsg and sendmmsg...
24018 * socket/Makefile (routines): ... here.
24019 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24020 (GLIBC_PRIVATE): Add __sendmmsg.
24021 * include/sys/socket.h (__sendmmsg): Add declarations.
24022 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24025 2012-11-20 Joseph Myers <joseph@codesourcery.com>
24027 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24028 variable I1 with __attribute__ ((unused)).
24029 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24031 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24033 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24034 DUMMY variables with __attribute__ ((unused)).
24036 * bits/byteswap.h: Include <bits/types.h>.
24037 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24039 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24041 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24042 string_t. Do not manually set errno.
24043 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24044 length with __strnlen. Make sure to both set errno and return it on
24047 2012-11-19 David S. Miller <davem@davemloft.net>
24049 With help from Joseph Myers.
24050 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24051 very large arguments properly.
24052 * math/libm-test.inc (atan_test): New tests.
24053 (atan2_test): New tests.
24054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24057 2012-11-19 Joseph Myers <joseph@codesourcery.com>
24060 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24063 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24064 [POSIX] (EADDRNOTAVAIL): Likewise.
24065 [POSIX] (EAFNOSUPPORT): Likewise.
24066 [POSIX] (EALREADY): Likewise.
24067 [POSIX] (ECONNABORTED): Likewise.
24068 [POSIX] (ECONNREFUSED): Likewise.
24069 [POSIX] (ECONNRESET): Likewise.
24070 [POSIX] (EDESTADDRREQ): Likewise.
24071 [POSIX] (EDQUOT): Likewise.
24072 [POSIX] (EHOSTUNREACH): Likewise.
24073 [POSIX] (EIDRM): Likewise.
24074 [POSIX] (EISCONN): Likewise.
24075 [POSIX] (ELOOP): Likewise.
24076 [POSIX] (EMULTIHOP): Likewise.
24077 [POSIX] (ENETDOWN): Likewise.
24078 [POSIX] (ENETUNREACH): Likewise.
24079 [POSIX] (ENOBUFS): Likewise.
24080 [POSIX] (ENODATA): Likewise.
24081 [POSIX] (ENOLINK): Likewise.
24082 [POSIX] (ENOMSG): Likewise.
24083 [POSIX] (ENOPROTOOPT): Likewise.
24084 [POSIX] (ENOSR): Likewise.
24085 [POSIX] (ENOSTR): Likewise.
24086 [POSIX] (ENOTCONN): Likewise.
24087 [POSIX] (ENOTSOCK): Likewise.
24088 [POSIX] (EOPNOTSUPP): Likewise.
24089 [POSIX] (EOVERFLOW): Likewise.
24090 [POSIX] (EPROTO): Likewise.
24091 [POSIX] (EPROTONOSUPPORT): Likewise.
24092 [POSIX] (EPROTOTYPE): Likewise.
24093 [POSIX] (ESTALE): Likewise.
24094 [POSIX] (ETIME): Likewise.
24095 [POSIX] (ETXTBSY): Likewise.
24096 [POSIX] (EWOULDBLOCK): Likewise.
24097 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24098 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24099 [POSIX] (SEEK_CUR): Likewise.
24100 [POSIX] (SEEK_END): Likewise.
24101 [POSIX || UNIX98] (mode_t): Do not require.
24102 [POSIX] (off_t): Likewise.
24103 [POSIX] (pid_t): Likewise.
24104 [POSIX] (sys/stat.h): Do not allow header.
24105 [POSIX] (unistd.h): Likewise.
24106 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24107 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24108 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24109 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24111 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24112 sigevent): Specify elements.
24113 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24115 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24116 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24118 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24119 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24120 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24121 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24122 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24123 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24124 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24125 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24126 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24127 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24128 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24129 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24130 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24131 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24133 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24135 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24137 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24139 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24140 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24141 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24142 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24143 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24144 Specify lower bound on value.
24145 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24146 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24147 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24148 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24149 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24150 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24151 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24152 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24154 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24156 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24157 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24158 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24159 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24160 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24161 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24162 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24163 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24164 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24165 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24166 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24167 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24168 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24169 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24170 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24171 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24173 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24175 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24176 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24177 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24178 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24179 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24180 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24182 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24183 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24184 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24185 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24186 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24187 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24188 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24190 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24192 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24193 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24194 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24195 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24196 specify as optional.
24197 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24198 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24199 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24200 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24201 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24202 [XPG3] (NL_LANGMAX): Likewise.
24203 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24204 [POSIX || XPG3] (NL_NMAX): Likewise.
24205 [POSIX || XPG3] (NL_SETMAX): Likewise.
24206 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24207 [XPG3] (NZERO): Likewise.
24208 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24209 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24210 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24211 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24212 (REG_ERANGE): Expect.
24213 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24215 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24216 Use (void) in prototype.
24217 [POSIX] (*_t): Allow.
24218 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24219 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24220 (WRDE_BADVAL): Expect.
24222 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24224 [XPG3 || XPG4] (O_RSYNC): Likewise.
24225 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24227 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24228 [XPG3 || XPG4] (sigqueue): Likewise.
24229 [XPG3 || XPG4] (sigtimedwait): Likewise.
24230 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24231 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24232 [XPG3 || XPG4] (vsnprintf): Likewise.
24233 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24235 [XPG3 || XPG4] (blksize_t): Likewise.
24236 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24238 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24239 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24240 [XPG3 || XPG4] (struct itimerspec): Likewise.
24241 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24242 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24243 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24244 [XPG3 || XPG4] (clockid_t): Likewise.
24245 [XPG3 || XPG4] (timer_t): Likewise.
24246 [XPG3 || XPG4] (clock_getres): Likewise.
24247 [XPG3 || XPG4] (clock_gettime): Likewise.
24248 [XPG3 || XPG4] (clock_settime): Likewise.
24249 [XPG3 || XPG4] (nanosleep): Likewise.
24250 [XPG3 || XPG4] (timer_create): Likewise.
24251 [XPG3 || XPG4] (timer_delete): Likewise.
24252 [XPG3 || XPG4] (timer_gettime): Likewise.
24253 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24254 [XPG3 || XPG4] (timer_settime): Likewise.
24255 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24256 [XPG3 || XPG4] (getlogin_r): Likewise.
24257 [XPG3 || XPG4] (pread): Likewise.
24258 [XPG3 || XPG4] (pthread_atfork): Likewise.
24259 [XPG3 || XPG4] (pwrite): Likewise.
24262 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24265 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24267 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24268 finalizing MALLSTREAM.
24270 * sysdeps/mach/hurd/syncfs.c: New file.
24272 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24275 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24276 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24277 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24278 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24279 (_nss_dns_gethostbyname4_r): Likewise.
24280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24281 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24283 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24286 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24288 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24290 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24291 * elf/cache.c (print_entry): Print ",AArch64" for
24294 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24295 * elf/cache.c (print_entry): Print ",hard-float" for
24298 2012-11-18 David S. Miller <davem@davemloft.net>
24300 With help from Joseph Myers.
24301 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24303 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24305 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24306 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24308 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24309 * math/libm-test.inc (y0_test): New tests.
24310 (y1_test): New tests.
24311 * sysdeps/i386/fpu/libm-test-ulps: Update.
24312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24315 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24317 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24319 * configure: Regenerated.
24321 2012-11-17 David S. Miller <davem@davemloft.net>
24324 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24325 nonzero exponents with absolute value below 0x1p-128 to +/-
24328 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24330 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24332 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24334 * posix/getconf-speclist.c: New file.
24335 * posix/posix-envs.def: Likewise.
24336 * posix/confstr.c (START_ENV_GROUP): New macro.
24337 (END_ENV_GROUP): Likewise.
24338 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24339 (KNOWN_PRESENT_ENV_STRING): Likewise.
24340 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24341 (UNKNOWN_ENVIRONMENT): Likewise.
24342 (confstr): Include posix-envs.def instead of handling
24343 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24344 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24345 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24346 (END_ENV_GROUP): Likewise.
24347 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24348 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24349 (UNKNOWN_ENVIRONMENT): Likewise.
24350 (__sysconf): Include posix-envs.def instead of handling associated
24351 cases directly here.
24352 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24353 preprocessing getconf-speclist.c rather than running getconf or
24354 generating empty file.
24356 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24358 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24360 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24363 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24365 2012-11-16 David S. Miller <davem@davemloft.net>
24367 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24368 smaller than LDBL_EPSILON/2.0L, just return xm1.
24370 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24372 * elf/tst-array1.c (init): Set constructor priority to 1000.
24373 (fini): Set destructor priority to 1000.
24374 * elf/tst-array2dep.c: Likewise.
24376 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24379 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24380 (_IO_new_file_xsputn): Also return EOF if none of the input
24381 data was written when overflow failed.
24382 * libio/iopadn.c (_IO_padn): Likewise.
24383 * libio/iowpadn.c (_IO_wpadn): Likewise.
24384 * stdio-common/tst-put-error.c: Add copyright notice.
24385 (do_test): Add case for printing padded string.
24386 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24387 _IO_padn returned error.
24388 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24389 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24392 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24394 * libio/libioP.h: Add comment note that the references to C++
24395 bits are now obsolete.
24397 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24399 * math/libm-test.inc (check_complex): Use asprintf.
24401 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24403 * debug/pcprofiledump.c (print_version): Update copyright year.
24404 * malloc/memusagestat.c (print_version): Likewise.
24406 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24409 * elf/Makefile (tests): Add tst-audit8.
24410 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24411 ($(objpfx)tst-audit8.out): New target.
24412 (tst-audit8-ENV): New variable.
24413 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24414 audit if l_reloc_result is NULL.
24415 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24416 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24417 * elf/tst-audit8.c: New file.
24419 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24421 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24422 * misc/Makefile (CFLAGS-select.c): Define.
24423 * posix/Makefile (CFLAGS-pause.c): Define.
24425 2012-11-13 David S. Miller <davem@davemloft.net>
24427 * crypt/Makefile: Move test targets after toplevel Rules
24428 inclusion. Grab any necessary sysdep routines when linking.
24429 * crypt/md5.c (md5_process_block): Remove define, we will always
24430 name it __md5_process_block.
24431 (md5_finish_ctx): Update md5_process_block call.
24432 (md5_stream): Likewise.
24433 (md5_process_bytes): Likewise.
24434 (md5_process_block): Rename to __md5_process_block and move to ...
24435 * crypt/md5-block.c: ... here.
24436 * crypt/sha256.c (sha256_process_block): Move to ...
24437 * crypt/sha256-block.c: ... here.
24438 * crypt/sha512.c (sha512_process_block): Move to ...
24439 * crypt/sha512-block.c: ... here.
24440 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24442 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24443 * sysdeps/sparc/sparc64/multiarch/Makefile
24444 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24446 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24447 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24449 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24450 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24451 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24452 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24453 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24454 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24455 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24456 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24457 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24459 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24462 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24464 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24466 * timezone/tzselect.ksh: Update from tzcode git revision
24467 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24468 * timezone/zdump.c: Likewise.
24469 * timezone/zic.c: Likewise.
24470 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24471 in TZVERSION setting, not $(PKGVERSION).
24472 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24473 REPORT_BUGS_TO settings.
24476 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24479 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24481 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24482 detection to immediately after _FP_ROUND().
24483 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24486 2012-11-11 David S. Miller <davem@davemloft.net>
24488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24490 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24491 __close rather than their public counterparts.
24493 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24495 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24497 [UNIX98] (sem_timedwait): Do not expect.
24498 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24499 [XPG4 || UNIX98] (sockatmark): Do not expect.
24500 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24501 (clock_getcpuclockid): Do not expect.
24502 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24503 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24505 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24506 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24507 [UNIX98] (vwscanf): Likewise.
24508 [UNIX98] (vswscanf): Likewise.
24510 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24512 * timezone/version.h: Remove file.
24513 * timezone/README: Do not refer to version.h.
24514 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24515 $(objpfx)version.h.
24516 ($(objpfx)zdump.o): Likewise.
24517 ($(objpfx)version.h): New target.
24519 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24521 * timezone/README: Don't mention modification to tzselect.ksh.
24522 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24523 work on unmodified tzselect.ksh. Substitute version numbers in
24526 * Makefile (format-me): Remove.
24527 (INSTALL): Adjust indentation. Use commands directly instead of
24528 using $(format-me).
24530 * aclocal.m4 (ACX_PKGVERSION): New macro.
24531 (ACX_BUGURL): Likewise.
24532 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24533 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24534 (REPORT_BUGS_TO): Likewise.
24535 * configure: Regenerated.
24536 * config.h.in (PKGVERSION): New macro.
24537 (REPORT_BUGS_TO): Likewise.
24538 * config.make.in (PKGVERSION): New variable.
24539 (PKGVERSION_TEXI): Likewise.
24540 (REPORT_BUGS_TO): Likewise.
24541 (REPORT_BUGS_TEXI): Likewise.
24542 * Makefile (format-me): Use -I$(common-objpfx)manual.
24543 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24544 ($(common-objpfx)manual/%): New target.
24545 (manual/%): Remove target.
24546 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24547 (print_version): Use PKGVERSION.
24548 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24549 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24550 and REPORT_BUGS_TO.
24551 ($(objpfx)xtrace): Likewise.
24552 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24553 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24554 (print_version): Use PKGVERSION.
24555 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24556 (do_version): Use PKGVERSION.
24557 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24559 (common-ldd-rewrite): Likewise.
24560 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24561 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24562 (print_version): Use PKGVERSION.
24563 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24564 * elf/pldd.c (argp_program_bug_address): Remove variable.
24565 (more_help): New function.
24566 (argp): Use more_help.
24567 (print_version): Use PKGVERSION.
24568 * elf/sln.c (main): Use PKGVERSION.
24569 (usage): Use REPORT_BUGS_TO.
24570 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24571 (top level): Use PKGVERSION.
24572 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24573 (print_version): Use PKGVERSION.
24574 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24575 (print_version): Use PKGVERSION.
24576 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24577 (print_version): Use PKGVERSION.
24578 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24579 (print_version): Use PKGVERSION.
24580 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24581 (print_version): Use PKGVERSION.
24582 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24583 (print_version): Use PKGVERSION.
24584 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24586 ($(objpfx)memusage): Likewise.
24587 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24588 (do_version): Use PKGVERSION.
24589 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24590 (print_version): Use PKGVERSION.
24591 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24592 ($PKGVERSION): New variable.
24593 ($REPORT_BUGS_TO): Likewise.
24594 (usage): Use $REPORT_BUGS_TO.
24595 (top level): Use $PKGVERSION.
24596 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24597 ($(objpfx)pkgvers.texi): New rule.
24598 ($(objpfx)stamp-pkgvers): Likewise.
24599 * manual/install.texi: Include pkgvers.texi.
24600 (--with-pkgversion): Document new configure option.
24601 (--with-bugurl): Likewise.
24602 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24603 than necessarily for this particular distribution. Use
24604 REPORT_BUGS_TO for where to report bugs.
24605 * INSTALL: Regenerated.
24606 * manual/libc.texinfo: Include pkgvers.texi.
24607 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24608 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24609 (print_version): Use PKGVERSION.
24610 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24611 (print_version): Use PKGVERSION.
24612 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24613 (print_version): Use PKGVERSION.
24614 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24615 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24617 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24618 (print_version): Use PKGVERSION.
24619 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24620 (print_version): Use PKGVERSION.
24621 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24624 * timezone/checktab.awk: Update from tzcode 2012i.
24625 * timezone/ialloc.c: Likewise.
24626 * timezone/private.h: Likewise.
24627 * timezone/scheck.c: Likewise.
24628 * timezone/tzfile.h: Likewise.
24629 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24630 (TZVERSION): Hardcode tzcode version number.
24631 * timezone/zdump.c: Update from tzcode 2012i.
24632 * timezone/zic.c: Likewise.
24633 * timezone/version.h: New file.
24634 * timezone/README: Describe version.h. Update upstream location.
24637 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24638 (mktemp): Enable declaration.
24639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24644 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24646 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24648 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24650 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24652 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24656 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24657 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24658 for copies of such integer values.
24659 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24660 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24662 2012-11-09 Andreas Jaeger <aj@suse.de>
24664 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24665 definitions and declarations that are provided by
24666 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24668 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24670 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24671 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24672 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24675 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24677 * elf/elf.h: Update comment before AArch64 relocations.
24679 2012-11-07 David S. Miller <davem@davemloft.net>
24681 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24682 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24683 (__start_context): Declare.
24684 (__makecontext_ret): Delete.
24685 (__makecontext): Hook up __start_context instead of
24687 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24688 (sysdep_routines): Add __start_context when in stdlib.
24690 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24692 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24693 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24694 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24696 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24697 (READELF): New variable. Use it instead of hardcoded "readelf".
24699 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24701 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24702 * sysdeps/x86/Makefile: Here.
24703 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24704 * sysdeps/x86/tst-xmmymm.sh: This.
24706 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24708 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24710 [UNIX98] (pthread_barrier_t): Do not expect.
24711 [UNIX98] (pthread_barrierattr_t): Likewise.
24712 [UNIX98] (pthread_spinlock_t): Likewise.
24713 [UNIX98] (pthread_barrier_destroy): Likewise.
24714 [UNIX98] (pthread_barrier_init): Likewise.
24715 [UNIX98] (pthread_barrier_wait): Likewise.
24716 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24717 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24718 [UNIX98] (pthread_barrierattr_init): Likewise.
24719 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24720 [UNIX98] (pthread_getcpuclockid): Likewise.
24721 [UNIX98] (pthread_mutex_timedlock): Likewise.
24722 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24723 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24724 [UNIX98] (pthread_sigmask): Likewise.
24725 [UNIX98] (pthread_spin_destroy): Likewise.
24726 [UNIX98] (pthread_spin_init): Likewise.
24727 [UNIX98] (pthread_spin_lock): Likewise.
24728 [UNIX98] (pthread_spin_trylock): Likewise.
24729 [UNIX98] (pthread_spin_unlock): Likewise.
24730 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24732 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24733 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24734 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24735 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24736 [XPG3 || XPG4] (pthread_key_t): Likewise.
24737 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24738 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24739 [XPG3 || XPG4] (pthread_once_t): Likewise.
24740 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24741 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24742 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24743 [XPG3 || XPG4] (pthread_t): Likewise.
24745 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24747 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24749 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24750 Change function return type to int.
24752 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24753 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24754 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24755 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24756 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24757 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24758 [!POSIX] (posix_madvise): Likewise.
24759 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24761 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24762 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24763 (mode_t): Likewise.
24764 (posix_mem_offset): Likewise.
24765 (posix_typed_mem_get_info): Likewise.
24766 (posix_typed_mem_open): Likewise.
24768 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24769 Change condition to [XOPEN2K8].
24771 * conform/conformtest.pl: Preprocess allow-header data with -x c
24772 instead of from stdin.
24773 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24774 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24775 [C99-based standards] (cerfc): Likewise.
24776 [C99-based standards] (cexp2): Likewise.
24777 [C99-based standards] (cexpm1): Likewise.
24778 [C99-based standards] (clog10): Likewise.
24779 [C99-based standards] (clog1p): Likewise.
24780 [C99-based standards] (clog2): Likewise.
24781 [C99-based standards] (clgamma): Likewise.
24782 [C99-based standards] (ctgamma): Likewise.
24783 [C99-based standards] (cerff): Likewise.
24784 [C99-based standards] (cerfcf): Likewise.
24785 [C99-based standards] (cexp2f): Likewise.
24786 [C99-based standards] (cexpm1f): Likewise.
24787 [C99-based standards] (clog10f): Likewise.
24788 [C99-based standards] (clog1pf): Likewise.
24789 [C99-based standards] (clog2f): Likewise.
24790 [C99-based standards] (clgammaf): Likewise.
24791 [C99-based standards] (ctgammaf): Likewise.
24792 [C99-based standards] (cerfl): Likewise.
24793 [C99-based standards] (cerfcl): Likewise.
24794 [C99-based standards] (cexp2l): Likewise.
24795 [C99-based standards] (cexpm1l): Likewise.
24796 [C99-based standards] (clog10l): Likewise.
24797 [C99-based standards] (clog1pl): Likewise.
24798 [C99-based standards] (clog2l): Likewise.
24799 [C99-based standards] (clgammal): Likewise.
24800 [C99-based standards] (ctgammal): Likewise.
24801 * conform/data/inttypes.h-data [C99-based standards]: Include
24802 stdint.h-data. Remove all expectations for stdint.h contents.
24803 [C99-based standards] (PRI*): Do not allow.
24804 [C99-based standards] (SCN*): Likewise.
24805 [C99-based standards] (*_t): Likewise.
24806 [C99-based-standards] (PRId8): Expect macro.
24807 [C99-based-standards] (PRIi8): Likewise.
24808 [C99-based-standards] (PRIo8): Likewise.
24809 [C99-based-standards] (PRIu8): Likewise.
24810 [C99-based-standards] (PRIx8): Likewise.
24811 [C99-based-standards] (PRIX8): Likewise.
24812 [C99-based-standards] (SCNd8): Likewise.
24813 [C99-based-standards] (SCNi8): Likewise.
24814 [C99-based-standards] (SCNo8): Likewise.
24815 [C99-based-standards] (SCNu8): Likewise.
24816 [C99-based-standards] (SCNx8): Likewise.
24817 [C99-based-standards] (PRIdLEAST8): Likewise.
24818 [C99-based-standards] (PRIiLEAST8): Likewise.
24819 [C99-based-standards] (PRIoLEAST8): Likewise.
24820 [C99-based-standards] (PRIuLEAST8): Likewise.
24821 [C99-based-standards] (PRIxLEAST8): Likewise.
24822 [C99-based-standards] (PRIXLEAST8): Likewise.
24823 [C99-based-standards] (SCNdLEAST8): Likewise.
24824 [C99-based-standards] (SCNiLEAST8): Likewise.
24825 [C99-based-standards] (SCNoLEAST8): Likewise.
24826 [C99-based-standards] (SCNuLEAST8): Likewise.
24827 [C99-based-standards] (SCNxLEAST8): Likewise.
24828 [C99-based-standards] (PRIdFAST8): Likewise.
24829 [C99-based-standards] (PRIiFAST8): Likewise.
24830 [C99-based-standards] (PRIoFAST8): Likewise.
24831 [C99-based-standards] (PRIuFAST8): Likewise.
24832 [C99-based-standards] (PRIxFAST8): Likewise.
24833 [C99-based-standards] (PRIXFAST8): Likewise.
24834 [C99-based-standards] (SCNdFAST8): Likewise.
24835 [C99-based-standards] (SCNiFAST8): Likewise.
24836 [C99-based-standards] (SCNoFAST8): Likewise.
24837 [C99-based-standards] (SCNuFAST8): Likewise.
24838 [C99-based-standards] (SCNxFAST8): Likewise.
24839 [C99-based-standards] (PRId16): Likewise.
24840 [C99-based-standards] (PRIi16): Likewise.
24841 [C99-based-standards] (PRIo16): Likewise.
24842 [C99-based-standards] (PRIu16): Likewise.
24843 [C99-based-standards] (PRIx16): Likewise.
24844 [C99-based-standards] (PRIX16): Likewise.
24845 [C99-based-standards] (SCNd16): Likewise.
24846 [C99-based-standards] (SCNi16): Likewise.
24847 [C99-based-standards] (SCNo16): Likewise.
24848 [C99-based-standards] (SCNu16): Likewise.
24849 [C99-based-standards] (SCNx16): Likewise.
24850 [C99-based-standards] (PRIdLEAST16): Likewise.
24851 [C99-based-standards] (PRIiLEAST16): Likewise.
24852 [C99-based-standards] (PRIoLEAST16): Likewise.
24853 [C99-based-standards] (PRIuLEAST16): Likewise.
24854 [C99-based-standards] (PRIxLEAST16): Likewise.
24855 [C99-based-standards] (PRIXLEAST16): Likewise.
24856 [C99-based-standards] (SCNdLEAST16): Likewise.
24857 [C99-based-standards] (SCNiLEAST16): Likewise.
24858 [C99-based-standards] (SCNoLEAST16): Likewise.
24859 [C99-based-standards] (SCNuLEAST16): Likewise.
24860 [C99-based-standards] (SCNxLEAST16): Likewise.
24861 [C99-based-standards] (PRIdFAST16): Likewise.
24862 [C99-based-standards] (PRIiFAST16): Likewise.
24863 [C99-based-standards] (PRIoFAST16): Likewise.
24864 [C99-based-standards] (PRIuFAST16): Likewise.
24865 [C99-based-standards] (PRIxFAST16): Likewise.
24866 [C99-based-standards] (PRIXFAST16): Likewise.
24867 [C99-based-standards] (SCNdFAST16): Likewise.
24868 [C99-based-standards] (SCNiFAST16): Likewise.
24869 [C99-based-standards] (SCNoFAST16): Likewise.
24870 [C99-based-standards] (SCNuFAST16): Likewise.
24871 [C99-based-standards] (SCNxFAST16): Likewise.
24872 [C99-based-standards] (PRId32): Likewise.
24873 [C99-based-standards] (PRIi32): Likewise.
24874 [C99-based-standards] (PRIo32): Likewise.
24875 [C99-based-standards] (PRIu32): Likewise.
24876 [C99-based-standards] (PRIx32): Likewise.
24877 [C99-based-standards] (PRIX32): Likewise.
24878 [C99-based-standards] (SCNd32): Likewise.
24879 [C99-based-standards] (SCNi32): Likewise.
24880 [C99-based-standards] (SCNo32): Likewise.
24881 [C99-based-standards] (SCNu32): Likewise.
24882 [C99-based-standards] (SCNx32): Likewise.
24883 [C99-based-standards] (PRIdLEAST32): Likewise.
24884 [C99-based-standards] (PRIiLEAST32): Likewise.
24885 [C99-based-standards] (PRIoLEAST32): Likewise.
24886 [C99-based-standards] (PRIuLEAST32): Likewise.
24887 [C99-based-standards] (PRIxLEAST32): Likewise.
24888 [C99-based-standards] (PRIXLEAST32): Likewise.
24889 [C99-based-standards] (SCNdLEAST32): Likewise.
24890 [C99-based-standards] (SCNiLEAST32): Likewise.
24891 [C99-based-standards] (SCNoLEAST32): Likewise.
24892 [C99-based-standards] (SCNuLEAST32): Likewise.
24893 [C99-based-standards] (SCNxLEAST32): Likewise.
24894 [C99-based-standards] (PRIdFAST32): Likewise.
24895 [C99-based-standards] (PRIiFAST32): Likewise.
24896 [C99-based-standards] (PRIoFAST32): Likewise.
24897 [C99-based-standards] (PRIuFAST32): Likewise.
24898 [C99-based-standards] (PRIxFAST32): Likewise.
24899 [C99-based-standards] (PRIXFAST32): Likewise.
24900 [C99-based-standards] (SCNdFAST32): Likewise.
24901 [C99-based-standards] (SCNiFAST32): Likewise.
24902 [C99-based-standards] (SCNoFAST32): Likewise.
24903 [C99-based-standards] (SCNuFAST32): Likewise.
24904 [C99-based-standards] (SCNxFAST32): Likewise.
24905 [C99-based-standards] (PRId64): Likewise.
24906 [C99-based-standards] (PRIi64): Likewise.
24907 [C99-based-standards] (PRIo64): Likewise.
24908 [C99-based-standards] (PRIu64): Likewise.
24909 [C99-based-standards] (PRIx64): Likewise.
24910 [C99-based-standards] (PRIX64): Likewise.
24911 [C99-based-standards] (SCNd64): Likewise.
24912 [C99-based-standards] (SCNi64): Likewise.
24913 [C99-based-standards] (SCNo64): Likewise.
24914 [C99-based-standards] (SCNu64): Likewise.
24915 [C99-based-standards] (SCNx64): Likewise.
24916 [C99-based-standards] (PRIdLEAST64): Likewise.
24917 [C99-based-standards] (PRIiLEAST64): Likewise.
24918 [C99-based-standards] (PRIoLEAST64): Likewise.
24919 [C99-based-standards] (PRIuLEAST64): Likewise.
24920 [C99-based-standards] (PRIxLEAST64): Likewise.
24921 [C99-based-standards] (PRIXLEAST64): Likewise.
24922 [C99-based-standards] (SCNdLEAST64): Likewise.
24923 [C99-based-standards] (SCNiLEAST64): Likewise.
24924 [C99-based-standards] (SCNoLEAST64): Likewise.
24925 [C99-based-standards] (SCNuLEAST64): Likewise.
24926 [C99-based-standards] (SCNxLEAST64): Likewise.
24927 [C99-based-standards] (PRIdFAST64): Likewise.
24928 [C99-based-standards] (PRIiFAST64): Likewise.
24929 [C99-based-standards] (PRIoFAST64): Likewise.
24930 [C99-based-standards] (PRIuFAST64): Likewise.
24931 [C99-based-standards] (PRIxFAST64): Likewise.
24932 [C99-based-standards] (PRIXFAST64): Likewise.
24933 [C99-based-standards] (SCNdFAST64): Likewise.
24934 [C99-based-standards] (SCNiFAST64): Likewise.
24935 [C99-based-standards] (SCNoFAST64): Likewise.
24936 [C99-based-standards] (SCNuFAST64): Likewise.
24937 [C99-based-standards] (SCNxFAST64): Likewise.
24938 [C99-based-standards] (PRIdMAX): Likewise.
24939 [C99-based-standards] (PRIiMAX): Likewise.
24940 [C99-based-standards] (PRIoMAX): Likewise.
24941 [C99-based-standards] (PRIuMAX): Likewise.
24942 [C99-based-standards] (PRIxMAX): Likewise.
24943 [C99-based-standards] (PRIXMAX): Likewise.
24944 [C99-based-standards] (SCNdMAX): Likewise.
24945 [C99-based-standards] (SCNiMAX): Likewise.
24946 [C99-based-standards] (SCNoMAX): Likewise.
24947 [C99-based-standards] (SCNuMAX): Likewise.
24948 [C99-based-standards] (SCNxMAX): Likewise.
24949 [C99-based-standards] (PRIdPTR): Likewise.
24950 [C99-based-standards] (PRIiPTR): Likewise.
24951 [C99-based-standards] (PRIoPTR): Likewise.
24952 [C99-based-standards] (PRIuPTR): Likewise.
24953 [C99-based-standards] (PRIxPTR): Likewise.
24954 [C99-based-standards] (PRIXPTR): Likewise.
24955 [C99-based-standards] (SCNdPTR): Likewise.
24956 [C99-based-standards] (SCNiPTR): Likewise.
24957 [C99-based-standards] (SCNoPTR): Likewise.
24958 [C99-based-standards] (SCNuPTR): Likewise.
24959 [C99-based-standards] (SCNxPTR): Likewise.
24960 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24962 * conform/data/stdint.h-data: Update comments to clarify
24964 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24966 [C99-based standards] (INT8_MAX): Likewise.
24967 [C99-based standards] (INT16_MIN): Likewise.
24968 [C99-based standards] (INT16_MAX): Likewise.
24969 [C99-based standards] (INT32_MIN): Likewise.
24970 [C99-based standards] (INT32_MAX): Likewise.
24971 [C99-based standards] (INT64_MIN): Likewise.
24972 [C99-based standards] (INT64_MAX): Likewise.
24973 [C99-based standards] (UINT8_MAX): Likewise.
24974 [C99-based standards] (UINT16_MAX): Likewise.
24975 [C99-based standards] (UINT32_MAX): Likewise.
24976 [C99-based standards] (UINT64_MAX): Likewise.
24977 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24978 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24979 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24980 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24981 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24982 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24983 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24984 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24985 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24986 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24987 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24988 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24989 [C99-based standards] (INT_FAST8_MIN): Likewise.
24990 [C99-based standards] (INT_FAST8_MAX): Likewise.
24991 [C99-based standards] (INT_FAST16_MIN): Likewise.
24992 [C99-based standards] (INT_FAST16_MAX): Likewise.
24993 [C99-based standards] (INT_FAST32_MIN): Likewise.
24994 [C99-based standards] (INT_FAST32_MAX): Likewise.
24995 [C99-based standards] (INT_FAST64_MIN): Likewise.
24996 [C99-based standards] (INT_FAST64_MAX): Likewise.
24997 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24998 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24999 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25000 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25001 [C99-based standards] (INTPTR_MIN): Likewise.
25002 [C99-based standards] (INTPTR_MAX): Likewise.
25003 [C99-based standards] (UINTPTR_MAX): Likewise.
25004 [C99-based standards] (INTMAX_MIN): Likewise.
25005 [C99-based standards] (INTMAX_MAX): Likewise.
25006 [C99-based standards] (UINTMAX_MAX): Likewise.
25007 [C99-based standards] (PTRDIFF_MIN): Likewise.
25008 [C99-based standards] (PTRDIFF_MAX): Likewise.
25009 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25010 [C99-based standards] (SIZE_MAX): Likewise.
25011 [C99-based standards] (WCHAR_MAX): Likewise.
25012 [C99-based standards] (WINT_MAX): Likewise.
25013 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25014 constraint on value.
25015 [C99-based standards] (WCHAR_MIN): Likewise.
25016 [C99-based standards] (WINT_MIN): Likewise.
25017 [C99-based standards] (*_t): Allow.
25018 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25019 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25020 Include math.h-data and complex.h-data. Remove all expectations
25021 of math.h and complex.h contents.
25022 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25024 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25025 (struct tm): Expect tag.
25026 [C99-based-standards] (wcstof): Expect function.
25027 [C99-based-standards] (wcstold): Likewise.
25028 [C99-based-standards] (wcstoll): Likewise.
25029 [C99-based-standards] (wcstoull): Likewise.
25030 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25031 macro-int-constant. Specify type.
25032 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25033 constraint on value.
25034 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25036 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25038 [ISO C standards]: Do not allow headers.
25039 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25040 wcs[abcdefghijklmnopqrstuvwxyz]*.
25041 [ISO C standards] (*_t): Do not allow.
25042 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25044 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25045 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25047 [ISO C standards]: Do not allow headers.
25048 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25049 is[abcdefghijklmnopqrstuvwxyz]*.
25050 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25051 to[abcdefghijklmnopqrstuvwxyz]*.
25052 [ISO C standards] (*_t): Do not allow.
25053 * conform/data/stdalign.h-data: New file.
25054 * conform/data/stdbool.h-data: Likewise.
25055 * conform/data/stdnoreturn.h-data: Likewise.
25057 2012-11-07 Roland McGrath <roland@hack.frob.com>
25060 * manual/filesys.texi (Directory Entries): Typo fix.
25061 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25063 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25065 * elf/elf.h (EM_AARCH64): New macro.
25066 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25067 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25068 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25069 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25070 (R_AARCH64_TLSDESC): Likewise.
25071 (NT_ARM_TLS): Likewise.
25072 (NT_ARM_HW_BREAK): Likewise.
25073 (NT_ARM_HW_WATCH): Likewise.
25075 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25078 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25079 (__ieee754_powl): Saturate nonzero exponents with absolute value
25080 below 0x1p-79 to +/- 0x1p-79.
25081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25082 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25083 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25084 nonzero exponents with absolute value below 0x1p-32 to +/-
25086 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25087 (__ieee754_powl): Saturate nonzero exponents with absolute value
25088 below 0x1p-79 to +/- 0x1p-79.
25089 * math/libm-test.inc (pow_test): Add more tests.
25091 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25093 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25094 _dl_s390_cap_flags with kernel. Increase string length.
25095 (_dl_s390_platforms): Add z196 and zEC12.
25097 2012-11-07 Joseph Myers <joseph@codesourcery.com>
25099 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25100 Change XOPEN21K to XOPEN2K.
25102 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25104 * string/memmove.c: Use memcpy when possible.
25106 2012-11-06 Andreas Jaeger <aj@suse.de>
25108 * po/eo.po: Update from translation team.
25110 2012-11-06 Joseph Myers <joseph@codesourcery.com>
25113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25114 exponent and small x and y exponents, scale x or y up. Increase
25115 by 2 the exponent used in scaling up.
25116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25118 * math/libm-test.inc (fma_test): Add more tests.
25119 (fma_test_towardzero): Likewise.
25120 (fma_test_downward): Likewise.
25121 (fma_test_upward): Likewise.
25123 2012-11-05 Joseph Myers <joseph@codesourcery.com>
25126 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25130 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25131 namespace for names of struct fields.
25132 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25134 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25135 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25137 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25140 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25142 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25144 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25148 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25151 2012-11-04 Joseph Myers <joseph@codesourcery.com>
25154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25155 definitely overflow as x * y not x * y + z.
25156 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25158 * math/libm-test.inc (fma_test): Add more tests.
25159 (fma_test_towardzero): Likewise.
25160 (fma_test_downward): Likewise.
25161 (fma_test_upward): Likewise.
25163 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25167 * include/stub-tag.h: Remove file.
25168 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25170 * manual/maint.texi (Porting): Don't reference it.
25171 * Makerules ($(objpfx)stubs): Likewise.
25172 * dirent/closedir.c: Don't include <stub-tag.h>.
25173 * dirent/dirfd.c: Likewise.
25174 * dirent/fdopendir.c: Likewise.
25175 * dirent/getdents.c: Likewise.
25176 * dirent/getdents64.c: Likewise.
25177 * dirent/opendir.c: Likewise.
25178 * dirent/readdir.c: Likewise.
25179 * dirent/readdir64.c: Likewise.
25180 * dirent/readdir64_r.c: Likewise.
25181 * dirent/readdir_r.c: Likewise.
25182 * dirent/rewinddir.c: Likewise.
25183 * dirent/seekdir.c: Likewise.
25184 * dirent/telldir.c: Likewise.
25185 * gmon/profil.c: Likewise.
25186 * grp/setgroups.c: Likewise.
25187 * inet/if_index.c: Likewise.
25188 * io/access.c: Likewise.
25189 * io/chdir.c: Likewise.
25190 * io/chmod.c: Likewise.
25191 * io/chown.c: Likewise.
25192 * io/close.c: Likewise.
25193 * io/dup.c: Likewise.
25194 * io/dup2.c: Likewise.
25195 * io/dup3.c: Likewise.
25196 * io/euidaccess.c: Likewise.
25197 * io/faccessat.c: Likewise.
25198 * io/fchdir.c: Likewise.
25199 * io/fchmod.c: Likewise.
25200 * io/fchmodat.c: Likewise.
25201 * io/fchown.c: Likewise.
25202 * io/fchownat.c: Likewise.
25203 * io/fcntl.c: Likewise.
25204 * io/flock.c: Likewise.
25205 * io/fstatfs.c: Likewise.
25206 * io/fstatfs64.c: Likewise.
25207 * io/fstatvfs.c: Likewise.
25208 * io/fstatvfs64.c: Likewise.
25209 * io/futimens.c: Likewise.
25210 * io/fxstat.c: Likewise.
25211 * io/fxstat64.c: Likewise.
25212 * io/fxstatat.c: Likewise.
25213 * io/fxstatat64.c: Likewise.
25214 * io/getcwd.c: Likewise.
25215 * io/isatty.c: Likewise.
25216 * io/lchmod.c: Likewise.
25217 * io/lchown.c: Likewise.
25218 * io/link.c: Likewise.
25219 * io/linkat.c: Likewise.
25220 * io/lseek.c: Likewise.
25221 * io/lseek64.c: Likewise.
25222 * io/lxstat64.c: Likewise.
25223 * io/mkdir.c: Likewise.
25224 * io/mkdirat.c: Likewise.
25225 * io/mkfifo.c: Likewise.
25226 * io/mkfifoat.c: Likewise.
25227 * io/open.c: Likewise.
25228 * io/open64.c: Likewise.
25229 * io/openat.c: Likewise.
25230 * io/openat64.c: Likewise.
25231 * io/pipe.c: Likewise.
25232 * io/pipe2.c: Likewise.
25233 * io/poll.c: Likewise.
25234 * io/posix_fadvise.c: Likewise.
25235 * io/posix_fadvise64.c: Likewise.
25236 * io/posix_fallocate.c: Likewise.
25237 * io/posix_fallocate64.c: Likewise.
25238 * io/read.c: Likewise.
25239 * io/readlink.c: Likewise.
25240 * io/readlinkat.c: Likewise.
25241 * io/rmdir.c: Likewise.
25242 * io/sendfile.c: Likewise.
25243 * io/sendfile64.c: Likewise.
25244 * io/statfs.c: Likewise.
25245 * io/statfs64.c: Likewise.
25246 * io/statvfs.c: Likewise.
25247 * io/statvfs64.c: Likewise.
25248 * io/symlink.c: Likewise.
25249 * io/symlinkat.c: Likewise.
25250 * io/ttyname.c: Likewise.
25251 * io/ttyname_r.c: Likewise.
25252 * io/umask.c: Likewise.
25253 * io/unlink.c: Likewise.
25254 * io/unlinkat.c: Likewise.
25255 * io/utime.c: Likewise.
25256 * io/utimensat.c: Likewise.
25257 * io/write.c: Likewise.
25258 * io/xmknod.c: Likewise.
25259 * io/xmknodat.c: Likewise.
25260 * io/xstat.c: Likewise.
25261 * io/xstat64.c: Likewise.
25262 * login/getpt.c: Likewise.
25263 * login/grantpt.c: Likewise.
25264 * login/unlockpt.c: Likewise.
25265 * math/e_acoshl.c: Likewise.
25266 * math/e_acosl.c: Likewise.
25267 * math/e_asinl.c: Likewise.
25268 * math/e_atan2l.c: Likewise.
25269 * math/e_atanhl.c: Likewise.
25270 * math/e_coshl.c: Likewise.
25271 * math/e_expl.c: Likewise.
25272 * math/e_fmodl.c: Likewise.
25273 * math/e_gammal_r.c: Likewise.
25274 * math/e_hypotl.c: Likewise.
25275 * math/e_j0l.c: Likewise.
25276 * math/e_j1l.c: Likewise.
25277 * math/e_jnl.c: Likewise.
25278 * math/e_lgammal_r.c: Likewise.
25279 * math/e_log10l.c: Likewise.
25280 * math/e_log2l.c: Likewise.
25281 * math/e_logl.c: Likewise.
25282 * math/e_powl.c: Likewise.
25283 * math/e_rem_pio2l.c: Likewise.
25284 * math/e_sinhl.c: Likewise.
25285 * math/e_sqrtl.c: Likewise.
25286 * math/fclrexcpt.c: Likewise.
25287 * math/fedisblxcpt.c: Likewise.
25288 * math/feenablxcpt.c: Likewise.
25289 * math/fegetenv.c: Likewise.
25290 * math/fegetexcept.c: Likewise.
25291 * math/fegetround.c: Likewise.
25292 * math/feholdexcpt.c: Likewise.
25293 * math/fesetenv.c: Likewise.
25294 * math/fesetround.c: Likewise.
25295 * math/feupdateenv.c: Likewise.
25296 * math/fgetexcptflg.c: Likewise.
25297 * math/fraiseexcpt.c: Likewise.
25298 * math/fsetexcptflg.c: Likewise.
25299 * math/ftestexcept.c: Likewise.
25300 * math/k_cosl.c: Likewise.
25301 * math/k_rem_pio2l.c: Likewise.
25302 * math/k_sinl.c: Likewise.
25303 * math/k_tanl.c: Likewise.
25304 * math/s_asinhl.c: Likewise.
25305 * math/s_atanl.c: Likewise.
25306 * math/s_cbrtl.c: Likewise.
25307 * math/s_erfl.c: Likewise.
25308 * math/s_expm1l.c: Likewise.
25309 * math/s_log1pl.c: Likewise.
25310 * math/s_tanhl.c: Likewise.
25311 * misc/acct.c: Likewise.
25312 * misc/brk.c: Likewise.
25313 * misc/chflags.c: Likewise.
25314 * misc/chroot.c: Likewise.
25315 * misc/fchflags.c: Likewise.
25316 * misc/fgetxattr.c: Likewise.
25317 * misc/flistxattr.c: Likewise.
25318 * misc/fremovexattr.c: Likewise.
25319 * misc/fsetxattr.c: Likewise.
25320 * misc/fsync.c: Likewise.
25321 * misc/ftruncate.c: Likewise.
25322 * misc/futimes.c: Likewise.
25323 * misc/futimesat.c: Likewise.
25324 * misc/getdomain.c: Likewise.
25325 * misc/getdtsz.c: Likewise.
25326 * misc/gethostid.c: Likewise.
25327 * misc/gethostname.c: Likewise.
25328 * misc/getloadavg.c: Likewise.
25329 * misc/getpagesize.c: Likewise.
25330 * misc/getsysstats.c: Likewise.
25331 * misc/getxattr.c: Likewise.
25332 * misc/gtty.c: Likewise.
25333 * misc/ioctl.c: Likewise.
25334 * misc/lgetxattr.c: Likewise.
25335 * misc/listxattr.c: Likewise.
25336 * misc/llistxattr.c: Likewise.
25337 * misc/lremovexattr.c: Likewise.
25338 * misc/lsetxattr.c: Likewise.
25339 * misc/lutimes.c: Likewise.
25340 * misc/madvise.c: Likewise.
25341 * misc/mincore.c: Likewise.
25342 * misc/mlock.c: Likewise.
25343 * misc/mlockall.c: Likewise.
25344 * misc/mmap.c: Likewise.
25345 * misc/mprotect.c: Likewise.
25346 * misc/msync.c: Likewise.
25347 * misc/munlock.c: Likewise.
25348 * misc/munlockall.c: Likewise.
25349 * misc/munmap.c: Likewise.
25350 * misc/preadv.c: Likewise.
25351 * misc/preadv64.c: Likewise.
25352 * misc/ptrace.c: Likewise.
25353 * misc/pwritev.c: Likewise.
25354 * misc/pwritev64.c: Likewise.
25355 * misc/readv.c: Likewise.
25356 * misc/reboot.c: Likewise.
25357 * misc/remap_file_pages.c: Likewise.
25358 * misc/removexattr.c: Likewise.
25359 * misc/revoke.c: Likewise.
25360 * misc/select.c: Likewise.
25361 * misc/setdomain.c: Likewise.
25362 * misc/setegid.c: Likewise.
25363 * misc/seteuid.c: Likewise.
25364 * misc/sethostid.c: Likewise.
25365 * misc/sethostname.c: Likewise.
25366 * misc/setregid.c: Likewise.
25367 * misc/setreuid.c: Likewise.
25368 * misc/setxattr.c: Likewise.
25369 * misc/sstk.c: Likewise.
25370 * misc/stty.c: Likewise.
25371 * misc/swapoff.c: Likewise.
25372 * misc/swapon.c: Likewise.
25373 * misc/sync.c: Likewise.
25374 * misc/syncfs.c: Likewise.
25375 * misc/syscall.c: Likewise.
25376 * misc/truncate.c: Likewise.
25377 * misc/ualarm.c: Likewise.
25378 * misc/usleep.c: Likewise.
25379 * misc/ustat.c: Likewise.
25380 * misc/utimes.c: Likewise.
25381 * misc/vhangup.c: Likewise.
25382 * misc/writev.c: Likewise.
25383 * posix/_exit.c: Likewise.
25384 * posix/alarm.c: Likewise.
25385 * posix/execve.c: Likewise.
25386 * posix/fexecve.c: Likewise.
25387 * posix/fork.c: Likewise.
25388 * posix/fpathconf.c: Likewise.
25389 * posix/getaddrinfo.c: Likewise.
25390 * posix/getegid.c: Likewise.
25391 * posix/geteuid.c: Likewise.
25392 * posix/getgid.c: Likewise.
25393 * posix/getgroups.c: Likewise.
25394 * posix/getlogin.c: Likewise.
25395 * posix/getlogin_r.c: Likewise.
25396 * posix/getpgid.c: Likewise.
25397 * posix/getpid.c: Likewise.
25398 * posix/getppid.c: Likewise.
25399 * posix/getresgid.c: Likewise.
25400 * posix/getresuid.c: Likewise.
25401 * posix/getsid.c: Likewise.
25402 * posix/getuid.c: Likewise.
25403 * posix/glob64.c: Likewise.
25404 * posix/nanosleep.c: Likewise.
25405 * posix/pathconf.c: Likewise.
25406 * posix/pause.c: Likewise.
25407 * posix/posix_madvise.c: Likewise.
25408 * posix/pread.c: Likewise.
25409 * posix/pread64.c: Likewise.
25410 * posix/pwrite.c: Likewise.
25411 * posix/pwrite64.c: Likewise.
25412 * posix/sched_getaffinity.c: Likewise.
25413 * posix/sched_getp.c: Likewise.
25414 * posix/sched_gets.c: Likewise.
25415 * posix/sched_primax.c: Likewise.
25416 * posix/sched_primin.c: Likewise.
25417 * posix/sched_rr_gi.c: Likewise.
25418 * posix/sched_setaffinity.c: Likewise.
25419 * posix/sched_setp.c: Likewise.
25420 * posix/sched_sets.c: Likewise.
25421 * posix/sched_yield.c: Likewise.
25422 * posix/setgid.c: Likewise.
25423 * posix/setlogin.c: Likewise.
25424 * posix/setpgid.c: Likewise.
25425 * posix/setresgid.c: Likewise.
25426 * posix/setresuid.c: Likewise.
25427 * posix/setsid.c: Likewise.
25428 * posix/setuid.c: Likewise.
25429 * posix/sleep.c: Likewise.
25430 * posix/spawni.c: Likewise.
25431 * posix/sysconf.c: Likewise.
25432 * posix/times.c: Likewise.
25433 * posix/wait.c: Likewise.
25434 * posix/wait3.c: Likewise.
25435 * posix/wait4.c: Likewise.
25436 * posix/waitpid.c: Likewise.
25437 * resolv/gai_sigqueue.c: Likewise.
25438 * resource/getpriority.c: Likewise.
25439 * resource/getrlimit.c: Likewise.
25440 * resource/getrusage.c: Likewise.
25441 * resource/nice.c: Likewise.
25442 * resource/setpriority.c: Likewise.
25443 * resource/setrlimit.c: Likewise.
25444 * resource/ulimit.c: Likewise.
25445 * rt/aio_cancel.c: Likewise.
25446 * rt/aio_fsync.c: Likewise.
25447 * rt/aio_read.c: Likewise.
25448 * rt/aio_sigqueue.c: Likewise.
25449 * rt/aio_suspend.c: Likewise.
25450 * rt/aio_write.c: Likewise.
25451 * rt/clock_getres.c: Likewise.
25452 * rt/clock_gettime.c: Likewise.
25453 * rt/clock_nanosleep.c: Likewise.
25454 * rt/clock_settime.c: Likewise.
25455 * rt/lio_listio.c: Likewise.
25456 * rt/mq_close.c: Likewise.
25457 * rt/mq_getattr.c: Likewise.
25458 * rt/mq_notify.c: Likewise.
25459 * rt/mq_open.c: Likewise.
25460 * rt/mq_receive.c: Likewise.
25461 * rt/mq_send.c: Likewise.
25462 * rt/mq_setattr.c: Likewise.
25463 * rt/mq_timedreceive.c: Likewise.
25464 * rt/mq_timedsend.c: Likewise.
25465 * rt/mq_unlink.c: Likewise.
25466 * rt/shm_open.c: Likewise.
25467 * rt/shm_unlink.c: Likewise.
25468 * rt/timer_create.c: Likewise.
25469 * rt/timer_delete.c: Likewise.
25470 * rt/timer_getoverr.c: Likewise.
25471 * rt/timer_gettime.c: Likewise.
25472 * rt/timer_settime.c: Likewise.
25473 * setjmp/__longjmp.c: Likewise.
25474 * setjmp/setjmp.c: Likewise.
25475 * signal/kill.c: Likewise.
25476 * signal/killpg.c: Likewise.
25477 * signal/raise.c: Likewise.
25478 * signal/sigaction.c: Likewise.
25479 * signal/sigaltstack.c: Likewise.
25480 * signal/sigblock.c: Likewise.
25481 * signal/sigignore.c: Likewise.
25482 * signal/sigintr.c: Likewise.
25483 * signal/signal.c: Likewise.
25484 * signal/sigpause.c: Likewise.
25485 * signal/sigpending.c: Likewise.
25486 * signal/sigqueue.c: Likewise.
25487 * signal/sigreturn.c: Likewise.
25488 * signal/sigset.c: Likewise.
25489 * signal/sigsetmask.c: Likewise.
25490 * signal/sigstack.c: Likewise.
25491 * signal/sigsuspend.c: Likewise.
25492 * signal/sigtimedwait.c: Likewise.
25493 * signal/sigvec.c: Likewise.
25494 * signal/sigwait.c: Likewise.
25495 * signal/sigwaitinfo.c: Likewise.
25496 * signal/sysv_signal.c: Likewise.
25497 * socket/accept.c: Likewise.
25498 * socket/accept4.c: Likewise.
25499 * socket/bind.c: Likewise.
25500 * socket/connect.c: Likewise.
25501 * socket/getpeername.c: Likewise.
25502 * socket/getsockname.c: Likewise.
25503 * socket/getsockopt.c: Likewise.
25504 * socket/isfdtype.c: Likewise.
25505 * socket/listen.c: Likewise.
25506 * socket/recv.c: Likewise.
25507 * socket/recvfrom.c: Likewise.
25508 * socket/recvmsg.c: Likewise.
25509 * socket/send.c: Likewise.
25510 * socket/sendmsg.c: Likewise.
25511 * socket/sendto.c: Likewise.
25512 * socket/setsockopt.c: Likewise.
25513 * socket/shutdown.c: Likewise.
25514 * socket/sockatmark.c: Likewise.
25515 * socket/socket.c: Likewise.
25516 * socket/socketpair.c: Likewise.
25517 * stdio-common/ctermid.c: Likewise.
25518 * stdio-common/cuserid.c: Likewise.
25519 * stdio-common/remove.c: Likewise.
25520 * stdio-common/rename.c: Likewise.
25521 * stdio-common/renameat.c: Likewise.
25522 * stdio-common/tempname.c: Likewise.
25523 * stdlib/getcontext.c: Likewise.
25524 * stdlib/makecontext.c: Likewise.
25525 * stdlib/setcontext.c: Likewise.
25526 * stdlib/swapcontext.c: Likewise.
25527 * stdlib/system.c: Likewise.
25528 * streams/fattach.c: Likewise.
25529 * streams/fdetach.c: Likewise.
25530 * streams/getmsg.c: Likewise.
25531 * streams/getpmsg.c: Likewise.
25532 * streams/putmsg.c: Likewise.
25533 * streams/putpmsg.c: Likewise.
25534 * sysdeps/unix/bsd/getpt.c: Likewise.
25535 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25536 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25537 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25540 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25541 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25542 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25543 * sysvipc/msgctl.c: Likewise.
25544 * sysvipc/msgget.c: Likewise.
25545 * sysvipc/msgrcv.c: Likewise.
25546 * sysvipc/msgsnd.c: Likewise.
25547 * sysvipc/semctl.c: Likewise.
25548 * sysvipc/semget.c: Likewise.
25549 * sysvipc/semop.c: Likewise.
25550 * sysvipc/semtimedop.c: Likewise.
25551 * sysvipc/shmat.c: Likewise.
25552 * sysvipc/shmctl.c: Likewise.
25553 * sysvipc/shmdt.c: Likewise.
25554 * sysvipc/shmget.c: Likewise.
25555 * termios/tcdrain.c: Likewise.
25556 * termios/tcflow.c: Likewise.
25557 * termios/tcflush.c: Likewise.
25558 * termios/tcgetattr.c: Likewise.
25559 * termios/tcgetpgrp.c: Likewise.
25560 * termios/tcsendbrk.c: Likewise.
25561 * termios/tcsetattr.c: Likewise.
25562 * termios/tcsetpgrp.c: Likewise.
25563 * time/adjtime.c: Likewise.
25564 * time/clock.c: Likewise.
25565 * time/getitimer.c: Likewise.
25566 * time/gettimeofday.c: Likewise.
25567 * time/setitimer.c: Likewise.
25568 * time/settimeofday.c: Likewise.
25569 * time/stime.c: Likewise.
25570 * time/time.c: Likewise.
25572 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25574 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25577 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25579 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25581 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25585 FE_TONEAREST before applying Dekker multiplication and Knuth
25586 addition. Clear inexact exceptions and check for exact zero
25587 results afterwards.
25588 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25589 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25591 * math/libm-test.inc (fma_test): Add more tests.
25592 (fma_test_towardzero): Likewise.
25593 (fma_test_downward): Likewise.
25594 (fma_test_upward): Likewise.
25595 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25597 (libc_fesetround): New macro.
25598 (libc_fesetroundf): Likewise.
25599 (libc_fesetroundl): Likewise.
25600 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25602 (libc_fesetround_387): Likewise.
25603 (libc_fesetroundf): New macro.
25604 (libc_fesetround): Likewise.
25605 (libc_fesetroundl): Likewise.
25606 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25608 (libc_fesetroundf): New macro.
25609 (libc_fesetround): Likewise.
25610 (libc_fesetroundl): Likewise.
25611 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25612 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25613 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25615 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25616 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25618 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25619 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25621 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25625 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25626 integer constant usable in #if and use that to give value to enum
25628 (FE_DIVBYZERO): Likewise.
25629 (FE_UNDERFLOW): Likewise.
25630 (FE_OVERFLOW): Likewise.
25631 (FE_INVALID): Likewise.
25632 (FE_INVALID_SNAN): Likewise.
25633 (FE_INVALID_ISI): Likewise.
25634 (FE_INVALID_IDI): Likewise.
25635 (FE_INVALID_ZDZ): Likewise.
25636 (FE_INVALID_IMZ): Likewise.
25637 (FE_INVALID_COMPARE): Likewise.
25638 (FE_INVALID_SOFTWARE): Likewise.
25639 (FE_INVALID_SQRT): Likewise.
25640 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25641 (FE_TONEAREST): Likewise.
25642 (FE_TOWARDZERO): Likewise.
25643 (FE_UPWARD): Likewise.
25644 (FE_DOWNWARD): Likewise.
25645 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25646 (FE_DIVBYZERO): Likewise.
25647 (FE_OVERFLOW): Likewise.
25648 (FE_UNDERFLOW): Likewise.
25649 (FE_INEXACT): Likewise.
25650 (FE_TONEAREST): Likewise.
25651 (FE_DOWNWARD): Likewise.
25652 (FE_UPWARD): Likewise.
25653 (FE_TOWARDZERO): Likewise.
25654 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25655 (FE_UNDERFLOW): Likewise.
25656 (FE_OVERFLOW): Likewise.
25657 (FE_DIVBYZERO): Likewise.
25658 (FE_INVALID): Likewise.
25659 (FE_TONEAREST): Likewise.
25660 (FE_TOWARDZERO): Likewise.
25661 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25662 (FE_OVERFLOW): Likewise.
25663 (FE_UNDERFLOW): Likewise.
25664 (FE_DIVBYZERO): Likewise.
25665 (FE_INEXACT): Likewise.
25666 (FE_TONEAREST): Likewise.
25667 (FE_TOWARDZERO): Likewise.
25668 (FE_UPWARD): Likewise.
25669 (FE_DOWNWARD): Likewise.
25670 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25671 (FE_DIVBYZERO): Likewise.
25672 (FE_OVERFLOW): Likewise.
25673 (FE_UNDERFLOW): Likewise.
25674 (FE_INEXACT): Likewise.
25675 (FE_TONEAREST): Likewise.
25676 (FE_DOWNWARD): Likewise.
25677 (FE_UPWARD): Likewise.
25678 (FE_TOWARDZERO): Likewise.
25680 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25682 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25684 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25686 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25687 commands. Quote $PWD.
25688 (blacklist_exports): Don't use remove_newlines. Replace "declare
25690 (remove_newlines): Remove.
25692 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25694 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25695 * stdlib/stdlib.h (atof): Moved to ...
25696 * include/bits/stdlib-float.h: Here. New file.
25697 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25698 * stdlib/bits/stdlib-float.h: New file.
25699 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25701 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25704 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25706 * conform/conformtest.pl (@headers): Add fenv.h.
25707 * conform/data/fenv.h-data: New file.
25708 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25709 include of <math/fenv.h>.
25711 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25712 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25713 && !UNIX98]. Enables tests for XOPEN2K8.
25714 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25715 POSIX2008]: Likewise.
25717 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25718 (struct rusage): Do not expect type or its members.
25721 * math/math.h (FP_NAN): Define macro to integer constant usable in
25722 #if and use that to give value to enum constant.
25723 (FP_INFINITE): Likewise.
25724 (FP_ZERO): Likewise.
25725 (FP_SUBNORMAL): Likewise.
25726 (FP_NORMAL): Likewise.
25728 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25730 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25731 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25734 2012-11-02 Roland McGrath <roland@hack.frob.com>
25736 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25737 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25738 autoconf-time if not.
25739 * configure.in: Remove AC_PREREQ.
25741 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25743 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25744 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25745 of the internal implementation.
25747 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25749 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25750 except include of <misc/sys/syslog.h>.
25752 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25755 function returns with a NULL context exit with zero.
25757 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25759 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25761 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25763 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25764 (run_program_cmd): This.
25765 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25766 (tst_langinfo): New variable. Use it.
25768 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25770 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25771 floating point opcodes.
25773 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25775 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25778 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25780 * sysdeps/mach/hurd/powerpc: Remove directory.
25781 * sysdeps/mach/powerpc: Likewise.
25783 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25785 * scripts/check-local-headers.sh: Ignore c++ headers.
25787 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25789 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25790 __libc_cleanup_region_start argument.
25792 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25797 x * y using scaling, not as x * y + z.
25798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25800 * math/libm-test.inc (fma_test): Add more tests.
25801 (fma_test_towardzero): Likewise.
25802 (fma_test_downward): Likewise.
25803 (fma_test_upward): Likewise.
25805 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25807 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25809 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25811 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25814 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25816 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25818 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25825 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25828 Fix the order of the list for glibc 2.17.
25829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25832 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25836 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25839 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25840 for low part of x being zero before using __atanl (y).
25841 * math/libm-test.inc (atan2_test): Add another test.
25843 * manual/install.texi (Configuring and compiling): Document
25844 general use of test-wrapper and test-wrapper-env.
25845 * INSTALL: Regenerated.
25847 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25848 (__fma): Do not extract and scale down low bits on after-rounding
25849 systems when result rounded to normal precision would have normal
25851 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25852 (__fmal): Do not extract and scale down low bits on after-rounding
25853 systems when result rounded to normal precision would have normal
25855 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25856 (__fmal): Do not extract and scale down low bits on after-rounding
25857 systems when result rounded to normal precision would have normal
25859 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25861 (fma_test): Add more tests.
25862 (fma_test_towardzero): Likewise.
25863 (fma_test_downward): Likewise.
25864 (fma_test_upward): Likewise.
25866 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25868 * sysdeps/i386/tininess.h: Renamed to ...
25869 * sysdeps/x86/tininess.h: This.
25870 * sysdeps/x86_64/tininess.h: Removed.
25872 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25874 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25875 input. Use $(build-program-cmd).
25876 ($(objpfx)tst-array1-static.out): Likewise.
25877 ($(objpfx)tst-array2.out): Likewise.
25878 ($(objpfx)tst-array3.out): Likewise.
25879 ($(objpfx)tst-array4.out): Likewise.
25880 ($(objpfx)tst-array5.out): Likewise.
25881 ($(objpfx)tst-array5-static.out): Likewise.
25883 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25885 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25888 * nss/nsswitch.h (nss_interface_function): Provide new
25889 macro for use with NSS functions.
25890 * grp/initgroups.c: Use new macro.
25891 * nss/getXXbyYY.c: Likewise.
25892 * nss/getXXbyYY_r.c: Likewise.
25893 * nss/getXXent.c: Likewise.
25894 * nss/getXXent_r.c: Likewise.
25895 * sysdeps/posix/getaddrinfo.c: Likewise.
25897 2012-10-30 Andreas Jaeger <aj@suse.de>
25899 * po/ru.po: Update Russion translation from translation project.
25901 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25905 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25906 result and shift together with sticky bit instead of replicating
25907 round-to-nearest rounding.
25908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25910 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25911 missing underflow exceptions.
25912 (fma_test_towardzero): Add more tests.
25913 (fma_test_downward): Likewise.
25914 (fma_test_upward): Likewise.
25917 * sysdeps/generic/tininess.h: New file.
25918 * sysdeps/i386/tininess.h: Likewise.
25919 * sysdeps/sh/tininess.h: Likewise.
25920 * sysdeps/x86_64/tininess.h: Likewise.
25921 * stdlib/tst-strtod-underflow.c: Likewise.
25922 * stdlib/tst-tininess.c: Likewise.
25923 * stdlib/strtod_l.c: Include <tininess.h>.
25924 (round_and_return): Do not set errno for exact underflow cases.
25925 Force an underflow exception when setting errno for underflow.
25926 Determine underflow based on rounding to normal precision if
25927 TININESS_AFTER_ROUNDING.
25928 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25929 ERANGE for exact underflow cases.
25930 * stdlib/Makefile (tests): Add tst-tininess and
25931 tst-strtod-underflow.
25932 ($(objpfx)tst-tininess): Use $(link-libm).
25933 ($(objpfx)tst-strtod-underflow): Likewise.
25935 2012-10-30 Andreas Jaeger <aj@suse.de>
25938 * elf/Makefile (tests): Remove conditional for have-initfini-array
25939 since this is now always required and the variable does not exist
25941 (tests-static): Likewise.
25942 (modules-names): Likewise.
25944 * po/eo.po: Add Esperanto translation from translation project.
25946 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25947 merged with constructor/destructor.
25948 (init_array): Likewise.
25949 * elf/tst-array2dep.c (fini_array): Likewise.
25950 (init_array): Likewise.
25952 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25954 * manual/message.texi: Delete @cartouche tags.
25956 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25958 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25960 * sysdeps/mach/hurd/fsync.c: Likewise.
25962 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25963 [_POSIX_REALTIME_SIGNALS]: Change condition to
25964 [_POSIX_REALTIME_SIGNALS > 0].
25966 2012-10-27 Andreas Jaeger <aj@suse.de>
25968 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25969 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25971 [__WORDSIZE != 64]: Likewise.
25973 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25975 * iconvdata/tst-table.sh: Remove ${SHELL}.
25976 * iconvdata/tst-tables.sh: Likewise.
25978 2012-10-25 David S. Miller <davem@davemloft.net>
25980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25981 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25984 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25986 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25987 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25988 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25991 2012-10-25 Roland McGrath <roland@hack.frob.com>
25993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25994 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25997 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25998 Jim Blandy <jimb@codesourcery.com>
26000 * scripts/cross-test-ssh.sh: New file.
26001 * manual/install.texi (Configuring and compiling): Document use of
26003 * INSTALL: Regenerated.
26005 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26007 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26010 2012-10-25 Joseph Myers <joseph@codesourcery.com>
26012 * Makeconfig (run-program-prefix): Fix comment.
26014 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26015 Jim Blandy <jimb@codesourcery.com>
26017 * Makeconfig (test-wrapper): New variable,
26018 (test-wrapper-env): Likewise.
26019 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26020 (run-built-tests): Define to yes.
26021 (run-program-prefix): Use $(test-wrapper).
26022 (built-program-cmd): Likewise.
26023 * Rules (make-test-out): Use $(test-wrapper-env) and
26024 $(host-built-program-cmd).
26025 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26026 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26028 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26029 $(test-wrapper-env) to tst-rtld-load-self.sh.
26030 ($(objpfx)order2.out): Use $(test-wrapper).
26031 ($(objpfx)tst-initorder.out): Likewise.
26032 ($(objpfx)tst-initorder2.out): Likewise.
26033 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26034 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26035 (test_wrapper_env): New variable. Use it to run ld.so.
26036 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26037 Use it to run ld.so.
26038 (test_wrapper_env): Likewise.
26039 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26040 $(test-wrapper) to run-iconv-test.sh.
26041 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26042 (ICONV): Use $test_wrapper.
26043 * posix/Makefile ($(objpfx)globtest.out): Pass
26044 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26045 globtest.sh, not $(run-program-prefix).
26046 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26047 (test_wrapper): Likewise.
26048 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26049 set together with run_via_rtld_prefix.
26050 (run_program_prefix): Define in terms of test_wrapper and
26051 run_via_rtld_prefix.
26053 2012-10-24 Roland McGrath <roland@hack.frob.com>
26055 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26056 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26060 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26061 Declare __clock_getres, __clock_gettime, __clock_settime,
26062 __clock_nanosleep, and __clock_getcpuclockid.
26063 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26064 Remove librt_hidden_def (clock_gettime).
26065 * sysdeps/unix/clock_gettime.c: Likewise.
26066 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26067 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26068 * rt/clock_getres.c: Define __clock_getres as an alias.
26069 * sysdeps/posix/clock_getres.c: Likewise.
26070 * rt/clock_settime.c: Define __clock_settime as an alias.
26071 * sysdeps/unix/clock_settime.c: Likewise.
26072 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26073 * sysdeps/unix/clock_nanosleep.c: Likewise.
26074 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26075 * rt/clock-compat.c: New file.
26076 * rt/Makefile (librt-routines): Add clock-compat and move
26077 $(clock-routines) to ...
26078 (routines): ... here, new variable.
26079 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26080 Don't add get_clockfreq here.
26081 * rt/Versions (libc: GLIBC_2.17): New version set.
26082 Add clock_* symbols here.
26083 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26084 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26085 (GLIBC_2.17): Add clock_* symbols.
26086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26097 * NEWS: Mention the move.
26099 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26100 Use __open, __read, __close rather than their public counterparts.
26101 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26102 (__get_clockfreq_via_cpuinfo): Likewise.
26103 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26104 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26106 * config.h.in (HAVE_IFUNC): New #undef.
26107 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26109 * configure: Regenerated.
26111 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26113 * configure.in: Move READELF check to start of file.
26114 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26115 libc_cv_asm_gnu_indirect_function in the process.
26116 * configure: Regenerated.
26118 2012-10-24 Mike Frysinger <vapier@gentoo.org>
26120 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26121 send the output to /dev/null.
26122 (libc_cv_cc_with_libunwind): Likewise.
26123 (libc_cv_as_noexecstack): Likewise.
26124 * configure: Regenerate.
26126 2012-10-24 Joseph Myers <joseph@codesourcery.com>
26128 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26130 * posix/globtest.sh (TMPDIR): Do not set.
26131 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26132 (testout): Likewise.
26134 2012-10-24 Andreas Jaeger <aj@suse.de>
26136 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26137 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26138 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26139 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26140 posix_fadvise64, posix_fallocate64.
26142 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26143 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26144 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26146 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26148 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26151 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26152 <bits/fcntl-linux.h>.
26153 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26156 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26157 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26158 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26159 [__WORDSIZE != 64]: Likewise.
26161 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26163 * Makeconfig (run-built-tests): New variable.
26164 * Rules [$(cross-compiling) = yes]: Change condition to
26165 [$(run-built-tests) = no].
26166 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26167 to [$(run-built-tests) = yes].
26168 * elf/Makefile [$(cross-compiling) = no]: Likewise
26169 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26170 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26171 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26172 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26173 * io/Makefile [$(cross-compiling) = no]: Likewise.
26174 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26175 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26176 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26177 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26178 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26179 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26180 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26181 * string/Makefile [$(cross-compiling) = no]: Likewise.
26183 * posix/Makefile ($(objpfx)globtest.out): Pass
26184 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26185 $(rtld-installed-name).
26186 * posix/globtest.sh (elf_objpfx): Remove variable.
26187 (rtld_installed_name): Likewise.
26188 (library_path): Likewise.
26189 (run_program_prefix): New variable. Use for running globtest
26192 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26193 Joseph Myers <joseph@codesourcery.com>
26195 * Makeconfig (host-built-program-cmd): New variable.
26196 * elf/Makefile (tst-stackguard1-ARGS): Use
26197 $(host-built-program-cmd).
26198 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26199 (tst-spawn-ARGS): Likewise.
26200 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26202 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26203 Jim Blandy <jimb@codesourcery.com>
26205 * Makeconfig (run-via-rtld-prefix): New variable.
26206 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26207 (built-program-cmd): Likewise.
26209 2012-10-22 Andreas Jaeger <aj@suse.de>
26211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26212 __O_RSYNC if it exists, otherwise to O_SYNC.
26214 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26215 Joseph Myers <joseph@codesourcery.com>
26217 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26219 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26221 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26224 2012-10-22 Andreas Jaeger <aj@suse.de>
26226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26231 bits/fcntl-linux.h.
26233 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26234 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26241 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26242 Joseph Myers <joseph@codesourcery.com>
26244 * config.make.in (NM): New variable.
26246 2012-10-21 Andreas Jaeger <aj@suse.de>
26248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26249 definitions and declarations that are provided by
26250 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26252 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26255 * elf/Makefile (tests-static): Add tst-leaks1-static.
26256 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26257 ($(objpfx)tst-leaks1-static): New rule.
26258 ($(objpfx)tst-leaks1-static-mem): Likewise.
26259 (tst-leaks1-static-ENV): New macro.
26260 * elf/dl-open.c (dl_open_worker): Check the main application
26261 only if SHARED is defined.
26262 * elf/tst-leaks1-static.c: New file.
26264 2012-10-20 Andreas Jaeger <aj@suse.de>
26266 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26267 generic values for Linux.
26268 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26269 and declarations that are provided by <bits/fcntl-linux.h> and
26270 include <bits/fcntl-linux.h>.
26271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26274 2012-10-20 Roland McGrath <roland@hack.frob.com>
26276 * io/fcntl.h: Move include of <bits/types.h> to the top and
26277 include it unconditionally.
26279 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26281 * wcsmbs/Makefile (tests-ifunc): New variable.
26282 (tests): Add $(tests-ifunc).
26283 * wcsmbs/test-wcschr-ifunc.c: New file.
26284 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26285 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26286 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26287 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26288 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26290 * string/Makefile (tests-ifunc): New variable.
26291 (tests): Add $(tests-ifunc).
26292 * string/test-memccpy.c (TEST_NAME): New macro.
26293 * string/test-memchr.c (TEST_NAME): Likewise.
26294 * string/test-memcmp.c (TEST_NAME): Likewise.
26295 * string/test-memcpy.c (TEST_NAME): Likewise.
26296 * string/test-memmem.c (TEST_NAME): Likewise.
26297 * string/test-memmove.c (TEST_NAME): Likewise.
26298 * string/test-memset.c (TEST_NAME): Likewise.
26299 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26300 * string/test-stpcpy.c (TEST_NAME): Likewise.
26301 * string/test-stpncpy.c (TEST_NAME): Likewise.
26302 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26303 * string/test-strcasestr.c (TEST_NAME): Likewise.
26304 * string/test-strcat.c (TEST_NAME): Likewise.
26305 * string/test-strchr.c (TEST_NAME): Likewise.
26306 * string/test-strcmp.c(TEST_NAME): Likewise.
26307 * string/test-strcpy.c (TEST_NAME): Likewise.
26308 * string/test-strcspn.c (TEST_NAME): Likewise.
26309 * string/test-strlen.c (TEST_NAME): Likewise.
26310 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26311 * string/test-strncmp.c (TEST_NAME): Likewise.
26312 * string/test-strncpy.c (TEST_NAME): Likewise.
26313 * string/test-strnlen.c (TEST_NAME): Likewise.
26314 * string/test-strpbrk.c (TEST_NAME): Likewise.
26315 * string/test-strrchr.c (TEST_NAME): Likewise.
26316 * string/test-strspn.c (TEST_NAME): Likewise.
26317 * string/test-strstr.c (TEST_NAME): Likewise.
26318 * string/test-bcopy-ifunc.c: New file.
26319 * string/test-bzero-ifunc.c: Likewise.
26320 * string/test-memccpy-ifunc.c: Likewise.
26321 * string/test-memchr-ifunc.c: Likewise.
26322 * string/test-memcmp-ifunc.c: Likewise.
26323 * string/test-memcpy-ifunc.c: Likewise.
26324 * string/test-memmem-ifunc.c: Likewise.
26325 * string/test-memmove-ifunc.c: Likewise.
26326 * string/test-mempcpy-ifunc.c: Likewise.
26327 * string/test-memset-ifunc.c: Likewise.
26328 * string/test-rawmemchr-ifunc.c: Likewise.
26329 * string/test-stpcpy-ifunc.c: Likewise.
26330 * string/test-stpncpy-ifunc.c: Likewise.
26331 * string/test-strcasecmp-ifunc.c: Likewise.
26332 * string/test-strcasestr-ifunc.c: Likewise.
26333 * string/test-strcat-ifunc.c: Likewise.
26334 * string/test-strchr-ifunc.c: Likewise.
26335 * string/test-strchrnul-ifunc.c: Likewise.
26336 * string/test-strcmp-ifunc.c: Likewise.
26337 * string/test-strcpy-ifunc.c: Likewise.
26338 * string/test-strcspn-ifunc.c: Likewise.
26339 * string/test-strlen-ifunc.c: Likewise.
26340 * string/test-strncasecmp-ifunc.c: Likewise.
26341 * string/test-strncat-ifunc.c: Likewise.
26342 * string/test-strncmp-ifunc.c: Likewise.
26343 * string/test-strncpy-ifunc.c: Likewise.
26344 * string/test-strnlen-ifunc.c: Likewise.
26345 * string/test-strpbrk-ifunc.c: Likewise.
26346 * string/test-strrchr-ifunc.c: Likewise.
26347 * string/test-strspn-ifunc.c: Likewise.
26348 * string/test-strstr-ifunc.c: Likewise.
26350 * debug/Makefile (tests-ifunc): New variable.
26351 (tests): Add $(tests-ifunc).
26352 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26353 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26354 * debug/test-stpcpy_chk-ifunc.c: New file.
26355 * debug/test-strcpy_chk-ifunc.c: Likewise.
26357 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26360 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26361 header is not read in.
26363 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26365 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26366 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26367 directly. Pass built executable to script as
26368 $(built-program-cmd).
26369 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26370 $testprogram without using LD_LIBRARY_PATH and $ldso.
26372 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26373 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26374 $(rtld-installed-name).
26375 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26376 (rtld_installed_name): Likewise.
26377 (library_path): Likewise.
26378 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26379 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26380 $(run-program-prefix) to tst-tables.sh.
26381 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26382 it to run tst-table-from and tst-table-to.
26383 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26384 Pass it to tst-table.sh.
26385 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26386 $(run-program-prefix) to tst-gettext.sh.
26387 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26389 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26391 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26392 to run tst-gettext.
26393 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26394 to run tst-gettext2.
26395 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26396 to run tst-translit.
26397 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26398 $(run-program-prefix) to tst-mtrace.sh.
26399 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26401 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26402 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26403 $(rtld-installed-name).
26404 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26405 (rtld_installed_name): Likewise.
26406 (run_program_prefix): New variable. Use it to run wordexp-test.
26408 * Makeconfig (ARCH): Remove all definitions.
26409 (machine): Likewise.
26410 [ARCH]: Remove conditional code.
26411 [!objdir]: Give error.
26412 [!objdir] (objpfx): Remove.
26413 [!objdir] (common-objpfx): Likewise.
26414 [!objdir] (common-objdir): Likewise.
26415 * configure.in (config_makefile): Remove. Hardcode Makefile in
26416 AC_CONFIG_FILES call.
26417 * configure: Regenerated.
26420 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26422 (testout): Likewise.
26424 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26425 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26426 $(rtld-installed-name).
26427 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26428 (rtld_installed_name): Likwise.
26429 (runit): Remove function.
26430 (run_getconf): New variable, Use it for running getconf binary.
26432 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26435 * string/test-memmem.c (check_result): New function.
26436 (do_one_test): Use it.
26437 (check1): New function.
26438 (test_main): Use it.
26440 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26442 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26444 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26446 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26447 (_G_LSEEK64): Likewise.
26448 (_G_MMAP64): Likewise.
26449 (_G_FSTAT64): Likewise.
26450 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26451 (_G_LSEEK64): Likewise.
26452 (_G_MMAP64): Likewise.
26453 (_G_FSTAT64): Likewise.
26454 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26455 unconditional. Call __mmap64 directly.
26456 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26457 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26458 __lseek64 directly.
26459 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26460 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26462 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26463 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26464 __lseek64 directly.
26465 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26466 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26467 __lseek64 directly.
26468 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26469 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26470 __lseek64 directly.
26471 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26472 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26473 __fxstat64 directly.
26474 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26475 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26477 (freopen64) [!_G_OPEN64]: Remove conditional code.
26478 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26480 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26481 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26483 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26484 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26486 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26487 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26489 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26490 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26492 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26493 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26495 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26496 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26498 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26500 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26503 * manual/memory.texi (Malloc Tunable Parameters): Add note
26504 about free list pointers overwriting some perturb bytes.
26505 Wording suggested by Roland McGrath.
26507 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26509 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26510 (lgamma_test): Likewise.
26511 (tgamma_test): Likewise.
26513 2012-10-16 Florian Weimer <fweimer@redhat.com>
26516 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26517 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26519 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26521 * NEWS: Mention BZ #14716.
26522 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26523 when removing AVAILABLE1_USES_J macro.
26525 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26527 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26528 (__bswap_64): __uint64_t for unsigned 64-bit int.
26530 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26532 * include/string.h (memmem): Declare libc hidden alias.
26533 * string/memmem.c (memmem): Define libc hidden alias.
26534 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26535 __read, __close instead of open, read, close.
26537 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26539 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26540 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26542 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26543 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26544 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26546 (__rawmemchr_sse2): Likewise.
26547 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26548 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26549 (__strchr_sse2): Likewise.
26550 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26551 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26552 (__strcasecmp_sse2): Likewise.
26553 (__strncasecmp_sse2): Likewise.
26554 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26555 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26556 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26557 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26558 (__strrchr_sse2): Likewise.
26559 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26561 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26562 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26563 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26564 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26565 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26566 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26567 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26568 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26569 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26570 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26571 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26572 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26573 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26574 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26575 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26576 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26577 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26578 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26579 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26580 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26581 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26582 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26583 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26584 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26585 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26586 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26587 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26588 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26589 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26590 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26592 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26594 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26595 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26596 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26597 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26599 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26601 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26602 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26603 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26604 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26606 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26607 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26608 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26609 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26610 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26611 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26612 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26613 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26614 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26615 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26616 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26617 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26618 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26619 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26620 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26621 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26622 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26623 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26624 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26625 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26626 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26627 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26628 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26629 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26630 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26631 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26632 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26633 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26634 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26635 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26636 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26637 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26638 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26639 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26640 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26641 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26642 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26643 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26644 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26645 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26646 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26648 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26649 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26650 * include/ifunc-impl-list.h: New file.
26651 * misc/ifunc-impl-list.c: Likewise.
26652 * misc/Makefile (routines): Add ifunc-impl-list.
26653 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26654 * string/test-string.h: Include <ifunc-impl-list.h>.
26655 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26656 TEST_NAME]: New variables.
26657 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26659 (test_init): Call __libc_ifunc_impl_list to initialize
26660 func_list if TEST_IFUNC and TEST_NAME are defined.
26662 * string/Makefile (strop-tests): Add bcopy and bzero.
26663 * string/test-bcopy.c: New file.
26664 * string/test-bzero.c: Likewise.
26665 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26667 * string/test-memset.c: Support bzero test if TEST_BZERO is
26669 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26671 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26673 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26676 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26678 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26679 * configure: Regenerated.
26681 * Makeconfig (+link-static-before-libc): Don't include
26682 $(link-static-libc).
26684 * libio/libio.h (_IO_pos_t): Remove.
26686 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26688 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26691 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26693 * crypt/crypt-entry.c: Include fips-private.h.
26694 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26695 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26696 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26697 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26699 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26701 * crypt/crypt-private.h: Include stdbool.h.
26702 (_ufc_setup_salt_r): Return bool.
26703 * crypt/crypt-entry.c: Include errno.h.
26704 (__crypt_r): Return NULL with EINVAL for bad salt.
26705 * crypt/crypt_util.c (bad_for_salt): New.
26706 (_ufc_setup_salt_r): Check that salt is long enough and within
26707 the specified alphabet.
26708 * crypt/badsalttest.c: New file.
26709 * crypt/Makefile (tests): Add it.
26710 ($(objpfx)badsalttest): New.
26712 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26714 * NEWS: Add entry for BZ #14602.
26716 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26718 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26720 * math/libm-test.inc: Update comment listing what functions and
26722 (isgreater_test): New function.
26723 (isgreaterequal_test): Likewise.
26724 (isless_test): Likewise.
26725 (islessequal_test): Likewise.
26726 (islessgreater_test): Likewise.
26727 (isunordered_test): Likewise.
26728 (main): Call the new functions.
26730 2012-10-09 Roland McGrath <roland@hack.frob.com>
26732 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26733 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26734 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26735 * sysdeps/i386/configure: Regenerated.
26736 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26737 * sysdeps/mach/configure: Regenerated.
26738 * sysdeps/mach/hurd/configure: Regenerated.
26739 * sysdeps/powerpc/configure: Regenerated.
26740 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26741 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26742 * sysdeps/s390/s390-32/configure: Regenerated.
26743 * sysdeps/s390/s390-64/configure: Regenerated.
26744 * sysdeps/sh/configure: Regenerated.
26745 * sysdeps/sparc/configure: Regenerated.
26746 * sysdeps/unix/sysv/linux/configure: Regenerated.
26747 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26748 * sysdeps/x86_64/configure: Regenerated.
26750 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26751 defined. Don't check if MAP is NULL.
26753 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26755 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26756 (_G_stat64): Likewise.
26757 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26758 (_G_stat64): Likewise.
26759 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26760 instead of struct _G_stat64.
26761 * libio/fileops.c (mmap_remap_check): Likewise.
26762 (decide_maybe_mmap): Likewise.
26763 (_IO_new_file_seekoff): Likewise.
26764 (_IO_file_stat): Likewise.
26765 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26767 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26768 instead of struct _G_stat64.
26769 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26771 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26774 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26776 (CHECK_EOL): New macro.
26777 (two_way_short_needle): Check beginning of haystack for EOL. Use
26779 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26780 Replace with CHECK_EOL.
26781 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26782 Replace with CHECK_EOL.
26784 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26786 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26788 * math/libm-test.inc: Update comment listing what functions and
26790 (finite_test): New function.
26791 (isinf_test): Likewise.
26792 (isnan_test): Likewise.
26793 (fpclassify_test): Test subnormal input.
26794 (isfinite_test): Likewise.
26795 (isnormal_test): Likewise.
26796 (main): Call the new functions.
26798 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26801 * Makerules (%.dynsym): Force C locale when running
26802 $(OBJDUMP) --dynamic-syms.
26804 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26806 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26809 2012-10-06 David S. Miller <davem@davemloft.net>
26811 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26812 upper 32-bits of the length value in %o2 since we use branch-on-register
26813 tests which consider the entire 64-bit register.
26815 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26817 * string/test-strstr.c (check2): Add a test for page boundary.
26819 2012-10-05 David S. Miller <davem@davemloft.net>
26821 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26822 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26824 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26827 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26828 and bzero when HWCAP_SPARC_CRYPTO is present.
26830 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26833 * string/test-strstr.c (check2): New function.
26834 (test_main): Call check2.
26836 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26838 * string/bug-strcasestr1.c (do_test): Moved to ...
26839 * string/test-strcasestr.c (check1): Here. New function.
26840 (do_one_test): Break out result checking code into ...
26841 (check_result): This. New function.
26842 (do_one_test): Call check_result.
26843 (test_main): Call check1.
26844 * string/bug-strchr1.c (do_test): Moved to ...
26845 * string/test-strchr.c (check1): Here. New function.
26846 (do_one_test): Break out result checking code into ...
26847 (check_result): This. New function.
26848 (do_one_test): Call check_result.
26849 (test_main): Call check1.
26850 * string/bug-strstr1.c (main): Moved to ...
26851 * string/test-strstr.c (check1): Here. New function.
26852 (do_one_test): Break out result checking code into ...
26853 (check_result): This. New function.
26854 (do_one_test): Call check_result.
26855 (test_main): Call check1.
26856 * string/bug-strcasestr1.c: Removed.
26857 * string/bug-strchr1.c: Likewise.
26858 * string/bug-strstr1.c: Likewise.
26860 * elf/Makefile (dl-routines): Add hwcaps.
26861 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26862 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26863 (_dl_important_hwcaps): Moved to ...
26864 * elf/dl-hwcaps.c: Here. New file.
26865 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26868 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26869 if IS_IN_rtld isn't defined.
26871 * elf/dl-support.c (_dl_sysinfo_map): New.
26872 Include "get-dynamic-info.h" and "setup-vdso.h".
26873 (_dl_non_dynamic_init): Call setup_vdso.
26874 * elf/dynamic-link.h: Don't include <assert.h>.
26875 (elf_get_dynamic_info): Moved to ...
26876 * elf/get-dynamic-info.h: Here. New file.
26877 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26878 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26879 * elf/setup-vdso.h: Here. New file.
26880 * elf/rtld.c: Include "setup-vdso.h".
26881 (dl_main): Call setup_vdso.
26883 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26885 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26886 creal in comment listing functions tested. List finite, isinf,
26887 isnan, isless, islessequal, isgreater, isgreaterequal,
26888 islessgreater, isunordered, lgamma_r and pow10 as functions and
26889 macros not tested. Mention which functions not tested are aliases
26890 for other functions. Fix typo. Note that signs of NaNs are not
26893 * scripts/config.guess: Update from config.git.
26894 * scripts/config.sub: Likewise.
26896 2012-10-04 Roland McGrath <roland@hack.frob.com>
26898 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26899 * misc/madvise.c (madvise): Renamed to __madvise.
26900 Make madvise a weak alias.
26901 * include/sys/mman.h: Declare __madvise.
26902 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26903 * sysdeps/unix/syscalls.list
26904 (madvise): Make __madvise the strong name, and madvise a weak alias.
26905 * sysdeps/unix/sysv/linux/syscalls.list
26906 (madvise, mmap): Remove redundant entries.
26907 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26908 * malloc/malloc.c (mtrim): Likewise.
26909 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26911 2012-10-03 Roland McGrath <roland@hack.frob.com>
26913 * sysdeps/mach/hurd/dl-cache.c: File removed.
26914 * config.h.in (USE_LDCONFIG): New #undef.
26915 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26916 * configure: Regenerated.
26917 * elf/Makefile (dl-routines): Add dl-cache only under
26918 [$(use-ldconfig) = yes].
26919 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26920 cache on [USE_LDCONFIG].
26921 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26923 * elf/rtld.c (dl_main): Likewise.
26925 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26927 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26928 _SC_LEVEL4_CACHE_LINESIZE.
26930 2012-10-03 Roland McGrath <roland@hack.frob.com>
26932 * sysdeps/unix/bsd/confstr.h: File removed.
26934 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26936 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26939 2012-10-02 Roland McGrath <roland@hack.frob.com>
26941 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26942 Make 'mapoff' field ElfW(Off) rather than off_t.
26944 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26946 * nscd/Makefile: Remove nscd-cflags and all its users.
26947 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26948 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26951 * malloc.c (malloc_printerr): Clarify error message.
26953 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26957 Set bit_FMA_Usable if FMA is supported.
26958 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26960 (bit_FMA4_Usable): Updated.
26961 (index_FMA_Usable): New macro.
26962 (CPUID_FMA): Likewise
26963 (HAS_FMA): Defined with bit_FMA_Usable.
26965 2012-10-01 Roland McGrath <roland@hack.frob.com>
26967 * bits/types.h (__swblk_t): Type removed.
26968 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26969 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26971 (__SWBLK_T_TYPE): Likewise.
26972 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26973 (__SWBLK_T_TYPE): Likewise.
26974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26975 (__SWBLK_T_TYPE): Likewise.
26976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26977 (__SWBLK_T_TYPE): Likewise.
26979 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26980 Honza Horak <hhorak@redhat.com>
26982 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26983 (xdr_mapname): Use YPMAXMAP as maxsize.
26984 (xdr_peername): Use YPMAXPEER as maxsize.
26985 (xdr_keydat): Use YPAXRECORD as maxsize.
26986 (xdr_valdat): Use YPMAXRECORD as maxsize.
26988 2012-10-01 Roland McGrath <roland@hack.frob.com>
26990 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26992 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26993 * csu/init-first.c: ... here.
26994 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26995 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26996 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26997 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26998 * sysdeps/i386/init-first.c: File removed.
26999 * sysdeps/sh/init-first.c: File removed.
27001 2012-10-01 Joseph Myers <joseph@codesourcery.com>
27004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27005 if x * y might underflow to zero and z is zero.
27006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27008 * math/libm-test.inc (min_subnorm_value): New variable.
27009 (fma_test): Add more tests.
27010 (fma_test_towardzero): Likewise.
27011 (fma_test_downward): Likewise
27012 (fma_test_upward): Likewise.
27013 (initialize): Set min_subnorm_value.
27015 2012-09-29 Joseph Myers <joseph@codesourcery.com>
27018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27021 mode for addition resulting in exact zero.
27022 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27025 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27027 * math/libm-test.inc (fma_test): Add more tests.
27028 (fma_test_towardzero): New function.
27029 (fma_test_downward): Likewise.
27030 (fma_test_upward): Likewise.
27031 (main): Call the new functions.
27033 2012-09-28 David S. Miller <davem@davemloft.net>
27035 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27037 2012-09-28 Roland McGrath <roland@hack.frob.com>
27039 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27040 instead of SIGALRM.
27042 * sysdeps/gnu/_G_config.h: Moved to ...
27043 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27044 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27045 * sysdeps/generic/_G_config.h: ... here.
27047 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27049 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27051 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27052 Conditionalize target on [libnss_test1.so-version].
27054 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27056 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27057 (elfobjdir): Move out of conditionals.
27059 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27060 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27061 (__nss_lookup_function): Conditionalize label remove_from_tree on
27062 [!DO_STATIC_NSS || SHARED], matching its only use.
27064 2012-09-28 David S. Miller <davem@davemloft.net>
27066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27067 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27069 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27071 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27073 when HWCAP_SPARC_CRYPTO is present.
27075 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27077 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27079 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27082 * stdio-common/vfprintf.c (process_string_arg): Revert
27085 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27087 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27089 * stdio-common/tst-sprintf.c: Include <locale.h>
27090 (main): Test sprintf's handling of incomplete multibyte
27093 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27095 * elf/dl-runtime.c (VERSYMIDX): Removed.
27096 * elf/dl-version.c (VERSYMIDX): Likewise.
27097 * elf/do-rel.h (VERSYMIDX): Likewise.
27098 (VALIDX): Likewise.
27099 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27100 * elf/rtld.c (VALIDX): Likewise.
27101 (ADDRIDX): Likewise.
27102 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27103 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27104 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27105 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27106 (VALIDX): Likewise.
27107 (ADDRIDX): Likewise.
27109 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27111 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27113 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27116 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27118 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27119 addresses are in the same scope as 192.0.2/24.
27120 * posix/gai.conf: Document new scope table defaults.
27122 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27125 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27126 for ftell. Compute offsets from write pointers instead.
27127 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27129 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27132 * libio/Makefile (tests): New test case tst-fseek.
27133 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27134 combination works in wide mode.
27135 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27136 state when the external buffer state changes.
27138 2012-09-27 David S. Miller <davem@davemloft.net>
27141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27142 pass reloc->r_addend in as the 'high' argument to
27143 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27147 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27149 * rt/tst-aio2.c: Include <pthread.h>.
27150 * rt/tst-aio3.c: Likewise.
27152 2012-09-27 Steve Ellcey <sellcey@mips.com>
27154 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27156 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27158 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27159 contents on [SHARED].
27161 2012-09-26 Marek Polacek <polacek@redhat.com>
27165 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27166 for C++ and GCC <4.3 as well as for non GCC compilers.
27168 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27172 2012-09-25 Roland McGrath <roland@hack.frob.com>
27174 * Makefile.in (all, install): Declare with .PHONY.
27175 Reported by Michael Hope <michael.hope@linaro.org>.
27177 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27179 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27180 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27182 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27184 (sydep_routines): Add the new and the internal functions.
27185 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27186 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27188 (GLIBC_2.17): Add the new function.
27189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27190 (GLIBC_2.17): Likewise.
27191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27192 (GLIBC_2.17): Likewise.
27193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27194 (GLIBC_2.17): Likewise.
27195 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27197 2012-09-25 Alan Modra <amodra@gmail.com>
27199 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27200 Add release barrier before setting once_control to say
27201 initialisation is done. Add hints on lwarx. Use macro in
27203 (clear_once_control): Add release barrier.
27205 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27208 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27210 * math/s_clog10.c (__clog10): Likewise.
27211 * math/s_clog10f.c (__clog10f): Likewise.
27212 * math/s_clog10l.c (__clog10l): Likewise.
27213 * math/s_clogf.c (__clogf): Likewise.
27214 * math/s_clogl.c (__clogl): Likewise.
27215 * math/Makefile (libm-calls): Add x2y2m1.
27216 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27217 (__x2y2m1): Likewise.
27218 (__x2y2m1l): Likewise.
27219 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27220 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27223 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27224 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27225 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27226 * sysdeps/i386/fpu/libm-test-ulps: Update.
27227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27230 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27231 int as type of variable DEPTH.
27232 (glob): Use size_t instead of int as type of variables NEWCOUNT
27235 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27237 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27238 Add s_sincosf-sse2.
27239 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27240 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27241 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27242 macros for using routine as __sincosf_ia32.
27243 Use macro for function declaration and weak_alias.
27244 * sysdeps/i386/fpu/libm-test-ulps: Update.
27246 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27249 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27250 subnormal argument.
27251 * math/s_cexpf.c (__cexpf): Likewise.
27252 * math/s_csinf.c (__csinf): Likewise.
27253 * math/s_csinhf.c (__csinhf): Likewise.
27254 * math/s_ctanf.c (__ctanf): Likewise.
27255 * math/s_ctanhf.c (__ctanhf): Likewise.
27256 * math/s_ccosh.c (__ccoshf): Likewise.
27257 * math/s_cexp.c (__cexpl): Likewise.
27258 * math/s_csin.c (__csin): Likewise.
27259 * math/s_csinh.c (__csinh): Likewise.
27260 * math/s_ctan.c (__ctan): Likewise.
27261 * math/s_ctanh.c (ctanh): Likewise.
27262 * math/s_ccoshl.c (__ccoshl): Likewise.
27263 * math/s_cexpl.c (__cexpl): Likewise.
27264 * math/s_csinl.c (__csinl): Likewise.
27265 * math/s_csinhl.c (__csinhl): Likewise.
27266 * math/s_ctanl.c (__ctanl): Likewise.
27267 * math/s_ctanhl.c (__ctanhl): Likewise.
27269 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27271 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27272 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27273 (_IO_off_t): Define to __off_t, not _G_off_t.
27274 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27275 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27276 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27277 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27278 type of __dummy and __dummy2 fields.
27279 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27280 (_G_ssize_t): Likewise.
27281 (_G_off_t): Likewise.
27282 (_G_pid_t): Likewise.
27283 (_G_uid_t): Likewise.
27284 (_G_wchar_t): Likewise.
27285 (_G_wint_t): Likewise.
27286 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27287 (_G_ssize_t): Likewise.
27288 (_G_off_t): Likewise.
27289 (_G_pid_t): Likewise.
27290 (_G_uid_t): Likewise.
27291 (_G_wchar_t): Likewise.
27292 (_G_wint_t): Likewise.
27293 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27294 (_G_ssize_t): Likewise.
27295 (_G_off_t): Likewise.
27296 (_G_pid_t): Likewise.
27297 (_G_uid_t): Likewise.
27298 (_G_wchar_t): Likewise.
27299 (_G_wint_t): Likewise.
27301 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27303 * malloc/arena.c: Include malloc-sysdep.h.
27304 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27305 is sufficient to shrink the heap or an unmap is needed.
27306 * sysdeps/generic/malloc-sysdep.h: New file. Define
27307 new function check_may_shrink_heap.
27308 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27309 new function check_may_shrink_heap.
27311 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27313 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27316 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27318 * catgets/test-gencat.sh: Add "set -e".
27319 * elf/tst-pathopt.sh: Likewise.
27320 * grp/tst_fgetgrent.sh: Likewise.
27321 * iconvdata/run-iconv-test.sh: Likewise.
27322 * intl/tst-gettext.sh: Likewise.
27323 * intl/tst-gettext2.sh: Likewise.
27324 * intl/tst-gettext4.sh: Likewise.
27325 * intl/tst-gettext6.sh: Likewise.
27326 * intl/tst-translit.sh: Likewise.
27327 * io/ftwtest-sh: Likewise.
27328 * libio/test-freopen.sh: Likewise.
27329 * malloc/tst-mtrace.sh: Likewise.
27330 * posix/globtest.sh: Likewise.
27331 * posix/tst-getconf.sh: Likewise.
27332 * posix/wordexp-tst.sh: Likewise.
27333 * stdio-common/tst-printf.sh: Likewise.
27334 * stdio-common/tst-unbputc.sh: Likewise.
27335 * stdlib/tst-fmtmsg.sh: Likewise.
27336 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27337 * catgets/Makefile: Do not specify -e option when running
27338 testsuite shell scripts.
27339 * elf/Makefile: Likewise.
27340 * grp/Makefile: Likewise.
27341 * iconvdata/Makefile: Likewise.
27342 * intl/Makefile: Likewise.
27343 * io/Makefile: Likewise.
27344 * libio/Makefile: Likewise.
27345 * malloc/Makefile: Likewise.
27346 * posix/Makefile: Likewise.
27347 * stdio-common/Makefile: Likewise.
27348 * stdlib/Makefile: Likewise.
27349 * sysdeps/x86_64/Makefile: Likewise.
27351 * io/ftwtest-sh: Add copyright header.
27352 * posix/globtest.sh: Likewise.
27353 * posix/tst-getconf.sh: Likewise.
27354 * posix/wordexp-tst.sh: Likewise.
27355 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27357 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27360 * Makeconfig (+link): Defined as $(+link-static) if
27361 $(build-shared) isn't yes.
27362 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27364 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27366 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27369 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27370 new chunk size with MALLOC_ALIGN_MASK.
27372 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27375 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27377 (__printf_fphex): Determine rounding using get_rounding_mode and
27379 * stdio-common/tst-printf-round.c (struct hex_test): New
27381 (hex_tests): New variable.
27382 (test_hex_in_one_mode): New function.
27383 (do_test): Also run tests for hex float output.
27385 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27387 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27388 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27389 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27390 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27391 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27392 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27393 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27394 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27396 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27398 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27399 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27400 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27401 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27403 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27406 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27408 * elf/tst-rtld-load-self.sh: New test.
27409 * elf/Makefile: Run it.
27411 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27413 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27414 (tst-writev-ENV): Remove.
27415 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27417 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27419 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27421 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27423 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27425 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27427 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27428 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27429 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27432 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27435 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27436 * config.make.in (have-cpp-asm-debuginfo): Removed.
27437 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27438 * configure: Regenerated.
27440 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27443 * stdio-common/printf_fp.c: Include <stdbool.h> and
27445 (___printf_fp): Determine rounding using get_rounding_mode and
27447 * stdio-common/tst-printf-round.c: New file.
27448 * stdio-common/Makefile (tests): Add tst-printf-round.
27449 (link-libm): New variable.
27450 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27452 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27455 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27456 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27458 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27461 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27463 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27464 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27465 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27468 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27471 * include/rounding-mode.h: New file.
27472 * sysdeps/generic/get-rounding-mode.h: Likewise.
27473 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27474 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27475 (MAX_VALUE): New macro.
27476 (MIN_VALUE): Likewise.
27477 (overflow_value): New function.
27478 (underflow_value): Likewise.
27479 (round_and_return): Use overflow_value and underflow_value to
27480 determine return values in overflow and underflow cases. Use
27481 round_away to determine rounding depending on rounding mode.
27482 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27483 determine return values in overflow and underflow cases.
27484 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27485 (struct test_results): New structure.
27486 (struct test): Use struct test_results to store expected results
27487 for all rounding modes.
27488 (TEST): Include expected results for all rounding modes.
27489 (test_in_one_mode): New function.
27490 (do_test): Use test_in_one_mode to compute and check results.
27491 Check results for all rounding modes.
27492 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27495 2012-12-09 Allan McRae <allan@archlinux.org>
27497 * sysdeps/i386/fpu/libm-test-ulps: Update
27499 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27501 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27502 (_G_int32_t): Likewise.
27503 (_G_uint16_t): Likewise.
27504 (_G_uint32_t): Likewise.
27505 (_G_HAVE_BOOL): Likewise.
27506 (_G_HAVE_ATEXIT): Likewise.
27507 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27508 (_G_HAVE_IO_FILE_OPEN): Likewise.
27509 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27510 (_G_int32_t): Likewise.
27511 (_G_uint16_t): Likewise.
27512 (_G_uint32_t): Likewise.
27513 (_G_HAVE_BOOL): Likewise.
27514 (_G_HAVE_ATEXIT): Likewise.
27515 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27516 (_G_HAVE_IO_FILE_OPEN): Likewise.
27517 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27518 (_G_int32_t): Likewise.
27519 (_G_uint16_t): Likewise.
27520 (_G_uint32_t): Likewise.
27521 (_G_HAVE_BOOL): Likewise.
27522 (_G_HAVE_ATEXIT): Likewise.
27523 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27524 (_G_HAVE_IO_FILE_OPEN): Likewise.
27526 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27528 * csu/libc-tls.c: Update copyright years.
27530 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27532 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27533 [!_G_USING_THUNKS]: Remove conditional code.
27534 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27535 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27537 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27538 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27539 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27540 (_G_VTABLE_LABEL_PREFIX): Likewise.
27541 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27542 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27543 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27544 (_G_VTABLE_LABEL_PREFIX): Likewise.
27545 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27546 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27547 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27548 (_G_VTABLE_LABEL_PREFIX): Likewise.
27549 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27551 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27553 * libio/Makefile: Include ../Makeconfig before tests.
27554 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27555 only if $(build-shared) is yes.
27557 * iconv/gconv_db.c: Update copyright years.
27559 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27561 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27562 unwind info if defined PIC. Fix special cases description.
27563 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27565 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27567 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27569 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27571 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27573 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27576 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27577 (LDLIBS-tst-chk4): This.
27578 (LDFLAGS-tst-chk5): Renamed to ...
27579 (LDLIBS-tst-chk5): This.
27580 (LDFLAGS-tst-chk6): Renamed to ...
27581 (LDLIBS-tst-chk6): This.
27582 (LDFLAGS-tst-lfschk4): Renamed to ...
27583 (LDLIBS-tst-lfschk4): This.
27584 (LDFLAGS-tst-lfschk5): Renamed to ...
27585 (LDLIBS-tst-lfschk5): This.
27586 (LDFLAGS-tst-lfschk6): Renamed to ...
27587 (LDLIBS-tst-lfschk6): This.
27589 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27590 on $(common-objpfx)soversions.mk.
27592 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27595 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27598 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27600 * malloc/arena.c (arena_get_retry): New function that gets
27601 another arena for the caller to try its request on.
27602 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27603 current arena cannot fulfill the request.
27604 (__libc_memalign): Likewise.
27605 (__libc_memalign): Likewise.
27606 (__libc_pvalloc): Likewise.
27607 (__libc_calloc): Likewise.
27609 2012-09-05 John Tobey <john.tobey@gmail.com>
27612 * manual/arith.texi (Operations on Complex): Fix description
27613 of carg branch cut.
27615 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27618 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27622 * manual/memory.texi (Memory): Make order of menu items match
27625 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27627 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27628 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27629 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27631 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27633 * csu/libc-tls.c (static_dtv): Renamed to ...
27634 (_dl_static_dtv): This. Make it global.
27635 (_dl_initial_dtv): Removed.
27636 (__libc_setup_tls): Updated.
27637 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27638 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27641 2012-09-06 Petr Machata <pmachata@redhat.com>
27643 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27644 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27645 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27646 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27648 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27651 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27652 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27655 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27658 * Makeconfig (link-static-before-libc): Replace $(+prector)
27660 (link-static-after-libc): Replace $(+postctor) with
27662 (link-bounded): Replace $(+prector)/$(+postctor) with
27663 $(+prectorT)/$(+postctorT).
27664 (+prectorT): New macro.
27665 (+postctorT): Likewise.
27667 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27669 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27670 (round_str): Handle values above the maximum for IBM long double
27672 * stdlib/tst-strtod-round.c (tests): Regenerated.
27674 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27676 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27678 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27679 zarch_nohighgprs around the zarch optimized routines.
27680 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27681 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27685 2012-09-05 David S. Miller <davem@davemloft.net>
27687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27689 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27690 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27691 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27692 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27695 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27697 * malloc/arena.c: Fold copyright years.
27698 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27700 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27702 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27704 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27706 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27708 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27710 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27711 change internal state upon failure.
27713 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27715 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27716 * malloc/memusage.c (mmap): Likewise.
27717 (mmap64, mremap): Likewise. Adjust name in comment.
27719 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27721 * libio/fileops.c: Fix typos in comments.
27722 * libio/oldfileops.c: Likewise.
27723 * libio/wfileops.c: Likewise.
27725 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27728 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27729 (tst-malloc-usable-ENV): Set environment for test case.
27730 * malloc/hooks.c (malloc_check_get_size): New function to get
27732 * malloc/malloc.c (musable): Use malloc_check_get_size.
27733 * malloc/tst-malloc-usable.c: New test case.
27735 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27737 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27739 2012-09-05 Allan McRae <allan@archlinux.org>
27742 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27743 determine header location.
27744 * configure: Regenerated.
27746 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27748 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27750 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27751 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27753 (test): Regenerate.
27755 2012-09-04 David S. Miller <davem@davemloft.net>
27757 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27758 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27759 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27761 2012-09-04 Florian Weimer <fweimer@redhat.com>
27763 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27766 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27768 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27771 * libio/iogetdelim.c: Include <limits.h>.
27772 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27773 + len + 1 would overflow.
27775 2012-09-03 Andreas Jaeger <aj@suse.de>
27777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27778 * sysdeps/i386/fpu/libm-test-ulps: Update.
27780 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27782 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27783 Add s_sinf-sse2, s_conf-sse2.
27785 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27786 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27787 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27788 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27790 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27791 for using routine as __sinf_ia32.
27792 Use macro for function declaration and weak_alias.
27793 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27794 for using routine as __cosf_ia32.
27795 Use macro for function declaration and weak_alias.
27797 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27798 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27800 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27801 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27804 * math/libm-test.inc (cos_test): Add more test cases.
27805 (sin_test): Likewise.
27806 (sincos_test): Likewise.
27808 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27810 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27811 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27813 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27815 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27818 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27819 first element of the GOT.
27820 (elf_machine_load_address): Return the difference between
27821 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27823 2012-09-01 Allan McRae <allan@archlinux.org>
27826 * configure.in (AWK): Require gawk version 3.0 or later.
27827 * configure: Regenerated.
27829 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27831 * sysdeps/unix/sysv/linux/kernel-features.h
27832 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27834 [__NR_clock_getres]: Make code unconditional.
27835 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27836 (clock_getcpuclockid): Remove code left unreachable by removal of
27838 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27839 code unconditional.
27840 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27841 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27842 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27843 Make code unconditional.
27844 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27845 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27846 * sysdeps/unix/sysv/linux/clock_settime.c
27847 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27849 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27850 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27852 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27855 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27856 scripts/test-installation.pl.
27858 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27859 and $ld_so_version if it is set.
27861 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27864 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27865 failure if reading from procfs failed.
27866 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27868 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27870 * sysdeps/unix/sysv/linux/kernel-features.h
27871 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27872 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27873 Remove conditional code.
27874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27875 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27876 Remove conditional code.
27877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27878 * sysdeps/unix/sysv/linux/i386/fxstat.c
27879 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27881 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27882 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27883 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27884 * sysdeps/unix/sysv/linux/i386/lxstat.c
27885 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27886 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27887 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27888 Remove conditional code.
27889 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27890 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27891 Remove conditional code.
27892 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27893 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27894 <kernel-features.h>.
27895 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27897 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27898 Remove conditional code.
27899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27900 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27901 Remove conditional.
27903 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27906 * NEWS: Add fixed bug number.
27908 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27911 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27912 underflowing exponent in case of negative sign.
27913 * stdlib/tst-strtod-round-data: Add more tests.
27914 * stdlib/tst-strtod-round.c (tests): Regenerated.
27917 * stdlib/strtod_l.c (NDIG): Remove.
27918 (HEXNDIG): Likewise.
27919 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27920 smallest representable value.
27921 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27922 lie within an exact representation of 1/2 ulp of the result.
27923 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27925 (TENS_P9_IDX): Define unconditionally.
27926 (TENS_P9_SIZE): Likewise.
27927 (TENS_P10_IDX): Likewise.
27928 (TENS_P10_SIZE): Likewise.
27929 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27930 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27931 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27932 entries for 10^2^13 and 10^2^14.
27933 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27934 (TENS_P13_IDX): Define.
27935 (TENS_P13_SIZE): Likewise.
27936 (TENS_P14_IDX): Likewise.
27937 (TENS_P14_SIZE): Likewise.
27938 (_fpioconst_pow10): Change array size to
27939 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27941 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27942 1024]: Add entries for 10^2^13 and 10^2^14.
27943 [LAST_POW10 > _LAST_POW10]: Remove #error.
27944 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27945 (_fpioconst_pow10): Change array size to
27946 FPIOCONST_POW10_ARRAY_SIZE.
27947 * stdlib/gen-fpioconst.c: New file.
27948 * stdlib/gen-tst-strtod-round.c: Likewise.
27949 * stdlib/tst-strtod-round-data: Likewise.
27950 * stdlib/tst-strtod-round.c: Likewise.
27951 * stdlib/Makefile (tests): Add tst-strtod-round.
27954 * stdlib/strtod_l.c: Include <stdint.h>.
27955 (NDEBUG): Do not define.
27956 (round_and_return): Change EXPONENT parameter to type intmax_t.
27957 Rearrange calculations to avoid internal overflow possibilities.
27958 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27959 Rearrange calculations to avoid internal overflow possibilities.
27960 Assert that number fits inside MPNSIZE limbs.
27961 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27962 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27963 calculations and add assertions to avoid internal overflow
27964 possibilities. Add casts to avoid signed/unsigned operations.
27965 * stdlib/tst-strtod-overflow.c: New file.
27966 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27968 2012-08-25 Marek Polacek <polacek@redhat.com>
27970 * time/time.h: Fix some typos in comments.
27972 2012-08-23 Roland McGrath <roland@hack.frob.com>
27974 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27975 * posix/tst-rfc3484-2.c: Likewise.
27976 * posix/tst-rfc3484-3.c: Likewise.
27978 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27980 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27981 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27983 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27985 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27986 #include of fxstatat64.c.
27988 2012-08-22 Roland McGrath <roland@hack.frob.com>
27990 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27991 * shadow/getspent_r.c: Likewise.
27992 * shadow/getspnam.c: Likewise.
27993 * shadow/getspnam_r.c: Likewise.
27994 * gshadow/getsgent.c: Likewise.
27995 * gshadow/getsgent_r.c: Likewise.
27996 * gshadow/getsgnam.c: Likewise.
27997 * gshadow/getsgnam_r.c: Likewise.
27998 * inet/getnetbyad.c: Likewise.
27999 * inet/getnetbyad_r.c: Likewise.
28000 * inet/getnetbynm.c: Likewise.
28001 * inet/getnetbynm_r.c: Likewise.
28002 * inet/getnetent.c: Likewise.
28003 * inet/getnetent_r.c: Likewise.
28004 * inet/getproto.c: Likewise.
28005 * inet/getproto_r.c: Likewise.
28006 * inet/getprtent.c: Likewise.
28007 * inet/getprtent_r.c: Likewise.
28008 * inet/getprtname.c: Likewise.
28009 * inet/getprtname_r.c: Likewise.
28010 * inet/getrpcbyname.c: Likewise.
28011 * inet/getrpcbyname_r.c: Likewise.
28012 * inet/getrpcbynumber.c: Likewise.
28013 * inet/getrpcbynumber_r.c: Likewise.
28014 * inet/getrpcent.c: Likewise.
28015 * inet/getrpcent_r.c: Likewise.
28016 * inet/getaliasent.c: Likewise.
28017 * inet/getaliasent_r.c: Likewise.
28018 * inet/getaliasname.c: Likewise.
28019 * inet/getaliasname_r.c: Likewise.
28020 * nscd/getgrgid_r.c: Likewise.
28021 * nscd/getgrnam_r.c: Likewise.
28022 * nscd/gethstbyad_r.c: Likewise.
28023 * nscd/gethstbynm3_r.c: Likewise.
28024 * nscd/getpwnam_r.c: Likewise.
28025 * nscd/getpwuid_r.c: Likewise.
28026 * nscd/getsrvbynm_r.c: Likewise.
28027 * nscd/getsrvbypt_r.c: Likewise.
28028 * nscd/gai.c: Likewise.
28030 * configure.in (build_nscd): New substituted variable, set
28031 by --disable-build-nscd and defaults to $use_nscd.
28032 * configure: Regenerated.
28033 * config.make.in (build-nscd): New substituted variable.
28034 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28035 Change conditional to require [$(build-nscd) = yes] as well.
28036 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28039 * configure.in (use_nscd): New substituted variable, set by
28040 --disable-nscd. If enabled, define USE_NSCD.
28041 * configure: Regenerated.
28042 * config.h.in: Add USE_NSCD.
28043 * config.make.in (use-nscd): New substituted variable.
28044 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28045 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28046 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28047 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28048 (CFLAGS-getgrnam_r.c): Likewise.
28049 (CFLAGS-initgroups.c): Likewise.
28050 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28051 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28053 * inet/getnetgrent_r.c
28054 (nscd_setnetgrent): New function, broken out of ...
28055 (setnetgrent): ... here. Call it.
28056 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28057 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28058 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28059 * nscd/Makefile (routines, aux): Move definitions after include of
28060 Makeconfig. Conditionalize on [$(use-nscd) != no].
28061 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28062 Conditionalize on [USE_NSCD].
28063 (is_nscd, nscd_init_cb): Likewise.
28064 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28065 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28066 * nss/nss_db/db-init.c: Likewise.
28067 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28069 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28070 (make_request): Use it.
28071 (cache_valid_p): New function.
28072 (__check_pf): Use it.
28073 * NEWS: Add item for --disable-nscd.
28075 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28077 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28078 to support sed >= 4.2.1-20-ga9bf076.
28079 * configure: Regenerated.
28081 2012-08-22 Roland McGrath <roland@hack.frob.com>
28083 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28084 Conditionalize whole body on [IREL].
28086 2012-08-22 Jeff Law <law@redhat.com>
28089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28090 if the family is PF_UNSPEC.
28092 2012-08-22 Mike Frysinger <vapier@gentoo.org>
28094 * Makerules (lib-version): Rename from V.
28095 (install-lib-nosubdir): Change V to lib-version.
28097 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28100 * powerpc32/power6/wcschr.c: New file.
28101 * powerpc32/power6/wcscpy.c: New file.
28102 * powerpc32/power6/wcsrchr.c: New file.
28103 * powerpc64/power6/wcschr.c: New file.
28104 * powerpc64/power6/wcscpy.c: New file.
28105 * powerpc64/power6/wcsrchr.c: New file.
28107 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28109 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28110 (two_way_short_needle): Use it.
28111 * string/strstr.c (AVAILABLE1_USES_J): Define.
28112 * string/strcasestr.c: Likewise.
28114 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28116 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28119 * NEWS: Add an entry.
28120 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28121 define their defaults.
28122 (two_way_short_needle): Detect end-of-string on-the-fly.
28123 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28124 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28125 * string/bug-strcasestr1.c: New test.
28126 * string/Makefile: Run it.
28128 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28131 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28132 the first character.
28134 2012-08-21 Roland McGrath <roland@hack.frob.com>
28136 * csu/elf-init.c (__libc_csu_irel): Function removed.
28137 * csu/libc-start.c (apply_irel): New function.
28138 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28140 2012-08-21 Joseph Myers <joseph@codesourcery.com>
28142 * sysdeps/unix/sysv/linux/kernel-features.h
28143 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28144 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28145 <kernel-features.h>.
28146 [__NR_fadvise64_64]: Make code unconditional.
28147 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28148 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28149 !__NR_fadvise64_64)]: Likewise.
28150 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28151 !__NR_fadvise64_64))]: Likewise.
28152 [__NR_fadvise64]: Make code unconditional.
28153 [!__NR_fadvise64]: Remove conditional code.
28154 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28155 <kernel-features.h>.
28156 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28158 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28161 not include <kernel-features.h>.
28162 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28164 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28166 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28167 include <kernel-features.h>.
28168 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28170 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28173 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28175 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28176 slight instruction rearrangements per scrollpipe analysis.
28177 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28179 2012-08-20 Roland McGrath <roland@hack.frob.com>
28181 * manual/syslog.texi (syslog; vsyslog, closelog):
28182 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28183 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28185 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28186 DSOCAPS to match condition on defining it.
28188 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28190 * sysdeps/unix/sysv/linux/kernel-features.h
28191 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28193 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28194 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28196 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28197 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28199 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28200 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28202 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28203 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28205 * sysdeps/unix/sysv/linux/kernel-features.h
28206 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28207 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28209 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28210 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28211 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28212 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28213 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28214 Make code unconditional.
28215 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28216 (__mmap64) [!__NR_mmap2]: Likewise.
28217 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28218 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28219 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28221 [__NR_mmap2]: Make code unconditional.
28222 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28223 (__mmap64) [!__NR_mmap2]: Likewise.
28225 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28227 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28229 2012-08-18 Andreas Jaeger <aj@suse.de>
28231 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28233 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28235 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28236 * include/unistd.h (__have_sock_cloexec): Likewise.
28237 (__have_pipe2): Likewise.
28238 (__have_dup3): Likewise.
28240 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28243 * include/unistd.h (__have_pipe2): Change define into an extern int.
28244 (__have_dup3): Likewise.
28245 * socket/have_sock_cloexec.c: Include fcntl.h.
28246 (__have_pipe2): New variable.
28247 (__have_dup3): Likewise.
28249 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28251 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28253 2012-08-17 Marek Polacek <polacek@redhat.com>
28255 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28256 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28258 2012-08-17 Roland McGrath <roland@hack.frob.com>
28260 * configure.in: Add AC_SUBST for sysheaders.
28261 * configure: Regenerated.
28262 * config.make.in (sysheaders): New substituted variable.
28264 * sysdeps/unix/mkfifo.c: Moved ...
28265 * sysdeps/posix/mkfifo.c: ... here.
28266 * sysdeps/unix/mkfifoat.c: Moved ...
28267 * sysdeps/posix/mkfifoat.c: ... here.
28269 * sysdeps/unix/utime.c: Moved ...
28270 * sysdeps/posix/utime.c: ... here.
28272 * sysdeps/unix/time.c: Moved ...
28273 * sysdeps/posix/time.c: ... here.
28274 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28275 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28277 * sysdeps/unix/nice.c: Moved ...
28278 * sysdeps/posix/nice.c: ... here.
28280 * sysdeps/unix/alarm.c: Moved ...
28281 * sysdeps/posix/alarm.c: ... here.
28283 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28285 2012-08-17 Jeff Law <law@redhat.com>
28287 * intl/Makefile (codeset_mo): New variable.
28288 ($(codeset_mo)): New target.
28289 (tst-codeset.out): Depend on that. Remove explicit rule.
28290 (tst-gettext3.out, tst-gettext5.out): Likewise.
28291 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28292 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28293 * intl/tst-codeset.sh: Remove.
28294 * intl/tst-gettext3.sh: Likewise.
28295 * intl/tst-gettext5.sh: Likewise.
28297 2012-08-17 Roland McGrath <roland@hack.frob.com>
28299 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28300 * sysdeps/unix/syscalls.list: ... here.
28302 * sysdeps/posix/getaddrinfo.c
28303 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28304 (gaiconf_init, gaiconf_reload): Use them.
28305 [!_STATBUF_ST_NSEC]
28306 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28307 Define using time_t rather than struct timespec.
28309 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28310 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28312 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28314 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28315 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28318 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28319 __libc_cleanup_push argument.
28321 * bits/param.h: New file.
28322 * misc/sys/param.h: New file.
28323 * include/sys/param.h: New file.
28324 * misc/Makefile (headers): Add bits/param.h.
28325 * sysdeps/generic/sys/param.h: File removed.
28326 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28327 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28328 * sysdeps/mach/hurd/bits/param.h: New file.
28329 * sysdeps/mach/hurd/sys/param.h: File removed.
28331 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28334 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28336 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28337 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28340 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28341 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28342 rather than -D_IO_MTSAFE_IO conditionally.
28343 * stdio-common/Makefile (CPPFLAGS): Likewise.
28344 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28345 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28346 Use $(libio-mtsafe).
28347 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28348 of -D_IO_MTSAFE_IO.
28349 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28350 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28351 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28352 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28353 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28354 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28355 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28356 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28357 (CFLAGS-fread_u_chk.c): Likewise.
28358 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28359 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28360 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28361 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28362 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28363 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28364 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28365 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28366 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28368 * libio/Makefile: Test [$(libc-reentrant) = yes]
28369 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28372 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28373 * sysdeps/pthread/configure: File removed.
28374 * sysdeps/pthread/Makeconfig: New file.
28375 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28376 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28378 2012-08-16 Gary Benson <gbenson@redhat.com>
28380 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28381 unmapping the first object in a namespace.
28383 2012-08-16 Roland McGrath <roland@hack.frob.com>
28385 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28386 (__internal_setnetgrent): ... this. Add internal_function to
28387 definition. Add libc_hidden_def.
28388 (setnetgrent): Update caller.
28389 (internal_endnetgrent): Renamed to ...
28390 (__internal_endnetgrent): ... this. Add internal_function to
28391 definition. Add libc_hidden_def.
28392 (endnetgrent): Update caller.
28393 (internal_getnetgrent_r): Renamed to ...
28394 (__internal_getnetgrent_r): ... this. Add internal_function to
28395 definition. Add libc_hidden_def.
28396 (__getnetgrent_r): Update caller.
28397 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28399 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28401 * stdlib/longlong.h: Update from GCC.
28403 2012-08-16 Roland McGrath <roland@hack.frob.com>
28405 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28406 on _QL, which is set by umul_ppmm but never used.
28407 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28408 variables, which are set by GMP macros but never used.
28409 * stdio-common/_itowa.c (_itowa): Likewise.
28410 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28411 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28413 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28415 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28416 struct La_sh_regs is not constant.
28417 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28418 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28419 and struct La_sparc64_regs are not constant.
28421 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28423 * sysdeps/unix/sysv/linux/kernel-features.h
28424 (__ASSUME_POSIX_TIMERS): Remove.
28425 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28426 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28427 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28428 Make code unconditional.
28429 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28430 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28431 Make code unconditional.
28432 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28433 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28434 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28435 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28436 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28437 Make code unconditional.
28438 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28439 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28440 (__libc_missing_posix_timers): Remove.
28442 2012-08-15 Roland McGrath <roland@hack.frob.com>
28444 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28445 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28447 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28449 * elf/dl-sym.c: Include <stdlib.h>.
28451 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28452 constants, which avoids warnings in 32-bit builds.
28454 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28455 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28457 * misc/lseek.c: File moved to ...
28458 * io/lseek.c: ... here.
28460 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28462 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28463 shifting LEN more than 31 bits at once.
28465 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28468 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28469 segmentation fault for a case of two empty input strings.
28470 * string/test-strncasecmp.c (check1): Renamed to...
28471 (bz12205): ...this.
28472 (bz14195): Add new testcase for two empty input strings and N > 0.
28473 (test_main): Call new testcase, adapt for renamed function.
28475 2012-08-15 Andreas Jaeger <aj@suse.de>
28478 * crypt/md5test2.c: New test, based on test supplied by Serge
28479 Belyshev <belyshev@depni.sinp.msu.ru>.
28480 * crypt/Makefile (xtests): Add md5test-giant..
28481 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28483 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28486 * crypt/md5.c (md5_process_block): Don't assume the buffer
28487 length is less than 2**32.
28488 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28489 length is less than 2**64.
28491 2012-08-15 Roland McGrath <roland@hack.frob.com>
28493 * string/str-two-way.h: Include <sys/param.h>.
28494 (MAX): Macro removed.
28496 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28497 Move #define and #undef of memmove to just before and after
28498 including <string.h>.
28500 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28501 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28502 and after including <string.h>. Move declarations of
28503 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28504 to before #include "string/memmove.c".
28506 * include/dirent.h: Declare __getdirentries.
28508 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28509 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28511 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28513 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28514 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28515 * sysdeps/i386/configure: Regenerated.
28516 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28517 STABS_CURRENT_FILE, and STABS_FUN.
28518 (END): Remove call to STABS_FUN_END.
28519 (STABS_CURRENT_FILE1): Delete.
28520 (STABS_CURRENT_FILE): Likewise.
28521 (STABS_FUN): Likewise.
28522 (STABS_FUN_END): Likewise.
28523 (STABS_FUN2): Likewise.
28524 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28525 * sysdeps/x86_64/configure: Regenerated.
28527 2012-08-14 Roland McGrath <roland@hack.frob.com>
28529 * elf/dl-open.c: Include <atomic.h>.
28530 * elf/dl-lookup.c: Likewise.
28532 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28534 * sysdeps/unix/sysv/linux/kernel-features.h
28535 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28536 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28538 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28540 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28541 condition on __ASSUME_CLONE_THREAD_FLAGS.
28543 2012-08-14 Andreas Jaeger <aj@suse.de>
28545 * sysdeps/i386/fpu/libm-test-ulps: Update.
28547 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28549 * include/atomic.h (atomic_exchange_and_add): Split into ...
28550 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28553 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28557 2012-08-13 Jeff Law <law@redhat.com>
28559 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28560 null byte in the output string.
28562 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28564 * sysdeps/unix/sysv/linux/kernel-features.h
28565 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28566 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28567 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28568 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28569 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28570 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28571 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28573 2012-08-09 Jeff Law <law@redhat.com>
28576 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28577 When avoid_arena is set, don't retry in the that arena. Pick the
28578 next one, whatever it might be.
28579 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28580 (arena_lock): Pass in new parameter to arena_get2.
28581 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28583 (__libc_malloc): Unify retrying after main arena failure with
28584 __libc_memalign version.
28585 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28587 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28590 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28591 to __redirect_strstr.
28592 (__strstr_sse42): Use typeof __redirect_strstr.
28593 (__strstr_ia32): Likewise.
28594 (__libc_strstr): New prototype.
28595 (strstr): Renamed to ...
28596 (__libc_strstr): This.
28597 (strstr): New strong alias of __libc_strstr.
28598 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28599 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28602 (__libc_time): New prototype.
28603 (time_ifunc): Replace time with __libc_time.
28604 (time): New strong alias and hidden definition of __libc_time.
28605 (__GI_time): Remove strong alias.
28606 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28607 Include <stddef.h>.
28608 (memmove): Redefined to __redirect_memmove.
28609 (__memmove_sse2): Use typeof __redirect_memmove.
28610 (__memmove_ssse3): Likewise.
28611 (__memmove_ssse3_back): Likewise.
28612 (__libc_memmove): New prototype.
28613 (memmove): Renamed to ...
28614 (__libc_memmove): This.
28615 (memmove): New strong alias of __libc_memmove.
28617 2012-08-08 Mark Salter <msalter@redhat.com>
28620 (R_MN10300_TLS_GD): Define.
28621 (R_MN10300_TLS_LD): Likewise.
28622 (R_MN10300_TLS_LDO): Likewise.
28623 (R_MN10300_TLS_GOTIE): Likewise.
28624 (R_MN10300_TLS_IE): Likewise.
28625 (R_MN10300_TLS_LE): Likewise.
28626 (R_MN10300_TLS_DTPMOD): Likewise.
28627 (R_MN10300_TLS_DTPOFF): Likewise.
28628 (R_MN10300_TLS_TPOFF): Likewise.
28629 (R_MN10300_SYM_DIFF): Likewise.
28630 (R_MN10300_ALIGN): Likewise.
28631 (R_MN10300_NUM): Update.
28633 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28635 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28638 2012-08-08 Roland McGrath <roland@hack.frob.com>
28640 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28642 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28643 sysdeps/unix -> sysdeps/posix move.
28644 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28646 2012-08-07 Allan McRae <allan@archlinux.org>
28649 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28650 (SUNOS_CPP): Likewise.
28651 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28653 (open_input): Call CPP using execvp.
28655 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28657 * sysdeps/unix/sysv/linux/kernel-features.h
28658 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28659 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28660 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28661 (__ASSUME_WAITID_SYSCALL): Likewise.
28662 * sysdeps/unix/sysv/linux/dl-execstack.c
28663 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28664 code unconditional.
28665 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28667 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28668 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28669 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28671 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28673 [__ASSUME_WAITID_SYSCALL]: Likewise.
28674 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28676 2012-08-07 Roland McGrath <roland@hack.frob.com>
28678 * sysdeps/unix/closedir.c: Renamed to ...
28679 * sysdeps/posix/closedir.c: ... here.
28680 * sysdeps/unix/dirfd.c: Renamed to ...
28681 * sysdeps/posix/dirfd.c: ... here.
28682 * sysdeps/unix/dirstream.h: Renamed to ...
28683 * sysdeps/posix/dirstream.h: ... here.
28684 * sysdeps/unix/fdopendir.c: Renamed to ...
28685 * sysdeps/posix/fdopendir.c: ... here.
28686 * sysdeps/unix/opendir.c: Renamed to ...
28687 * sysdeps/posix/opendir.c: ... here.
28688 * sysdeps/unix/readdir.c: Renamed to ...
28689 * sysdeps/posix/readdir.c: ... here.
28690 * sysdeps/unix/readdir_r.c: Renamed to ...
28691 * sysdeps/posix/readdir_r.c: ... here.
28692 * sysdeps/unix/rewinddir.c: Renamed to ...
28693 * sysdeps/posix/rewinddir.c: ... here.
28694 * sysdeps/unix/seekdir.c: Renamed to ...
28695 * sysdeps/posix/seekdir.c: ... here.
28696 * sysdeps/unix/telldir.c: Renamed to ...
28697 * sysdeps/posix/telldir.c: ... here.
28698 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28699 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28700 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28701 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28703 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28704 * bits/fcntl.h: ... here.
28706 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28708 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28709 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28710 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28711 (struct flock): Move l_start, l_len to the beginning.
28712 Use __pid_t for l_pid.
28713 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28714 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28715 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28716 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28717 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28718 [__USE_LARGEFILE64] (struct flock64): New type.
28719 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28721 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28722 * bits/dirent.h: ... here.
28724 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28725 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28727 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28729 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28730 Change from 2.6.0 to 2.6.16.
28731 * sysdeps/unix/sysv/linux/configure: Regenerated.
28732 * sysdeps/unix/sysv/linux/kernel-features.h
28733 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28734 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28736 (__ASSUME_UTIMES): Likewise.
28737 (__ASSUME_CLONE_STOPPED): Remove.
28738 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28739 architectures, not kernel version.
28740 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28741 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28742 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28743 (__ASSUME_WAITID_SYSCALL): Likewise.
28744 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28745 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28746 * README: State 2.6.16 as minimum Linux kernel version. Do not
28747 refer to older versions.
28749 2012-08-06 Roland McGrath <roland@hack.frob.com>
28751 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28752 Define alphasort64 as an alias.
28753 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28754 Define versionsort64 as an alias.
28755 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28756 Define scandir64 as an alias.
28757 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28758 Define scandirat64 as an alias.
28759 * dirent/alphasort64.c (alphasort64):
28760 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28761 * dirent/versionsort64.c: Likewise.
28762 * dirent/scandir64.c: Likewise.
28763 * dirent/scandirat64.c: Likewise.
28764 * sysdeps/wordsize-64/alphasort.c: File removed.
28765 * sysdeps/wordsize-64/alphasort64.c: File removed.
28766 * sysdeps/wordsize-64/scandir.c: File removed.
28767 * sysdeps/wordsize-64/scandir64.c: File removed.
28768 * sysdeps/wordsize-64/scandirat.c: File removed.
28769 * sysdeps/wordsize-64/scandirat64.c: File removed.
28770 * sysdeps/wordsize-64/versionsort.c: File removed.
28771 * sysdeps/wordsize-64/versionsort64.c: File removed.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28781 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28782 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28783 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28784 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28785 [defined __arch64__ || defined __sparcv9]
28786 (__INO_T_MATCHES_INO64_T): New macro.
28787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28788 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28789 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28790 * sysdeps/unix/sysv/linux/bits/dirent.h
28791 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28792 (_DIRENT_MATCHES_DIRENT64): New macro.
28794 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28795 Define lockf64 as an alias.
28796 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28797 Define fseeko64 as an alias.
28798 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28799 Define ftello64 as an alias.
28800 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28801 Define _IO_fgetpos64 and fgetpos64 as aliases.
28802 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28803 Define _IO_fsetpos64 and fsetpos64 as aliases.
28804 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28805 Conditionalize body on this.
28806 * libio/fseeko64.c: Likewise.
28807 * libio/ftello64.c: Likewise.
28808 * libio/iofgetpos64.c: Likewise.
28809 * libio/iofsetpos64.c: Likewise.
28810 * sysdeps/wordsize-64/lockf.c: File removed.
28811 * sysdeps/wordsize-64/lockf64.c: File removed.
28812 * sysdeps/wordsize-64/fseeko.c: File removed.
28813 * sysdeps/wordsize-64/fseeko64.c: File removed.
28814 * sysdeps/wordsize-64/ftello.c: File removed.
28815 * sysdeps/wordsize-64/ftello64.c: File removed.
28816 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28817 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28818 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28819 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28821 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28831 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28833 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28835 [defined __arch64__ || defined __sparcv9]
28836 (__OFF_T_MATCHES_OFF64_T): New macro.
28837 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28838 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28840 (__OFF_T_MATCHES_OFF64_T): New macro.
28842 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28844 * stdlib/secure-getenv.c (__secure_getenv): Replace
28845 GLIBC_2_16 with GLIBC_2_17.
28847 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28850 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28852 2012-08-03 David S. Miller <davem@davemloft.net>
28854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28856 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28860 (__ASSUME_CORRECT_SI_PID): Likewise.
28861 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28862 (__ASSUME_TMPFS_NAME): Likewise.
28863 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28864 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28865 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28866 (HAVE_AUX_SECURE): Make definition unconditional.
28867 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28868 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28870 2012-08-03 Roland McGrath <roland@hack.frob.com>
28872 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28873 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28874 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28875 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28876 __eloop_threshold instead of SYMLOOP_MAX.
28878 * sysdeps/generic/eloop-threshold.h: New file.
28879 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28881 * elf/chroot_canon.c (chroot_canon): Likewise.
28883 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28886 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28887 Change to 2.6.0 everywhere.
28888 * sysdeps/unix/sysv/linux/configure: Regenerated.
28889 * sysdeps/unix/sysv/linux/kernel-features.h
28890 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28891 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28893 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28894 (__ASSUME_FUTEX_REQUEUE): Remove.
28895 (__ASSUME_STATFS64): Define unconditionally.
28896 (__ASSUME_AT_SECURE): Likewise.
28897 (__ASSUME_CORRECT_SI_PID): Likewise.
28898 (__ASSUME_TGKILL): Define without depending on kernel version for
28900 (__ASSUME_UTIMES): Likewise.
28901 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28903 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28904 (__ASSUME_TMPFS_NAME): Likewise.
28905 * README: Update reference to Linux kernel versions.
28907 2012-08-02 Marek Polacek <polacek@redhat.com>
28910 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28911 libc_cv_asm_type_prefix with %.
28912 * configure: Regenerated.
28913 * include/libc-symbols.h: Remove comment about
28914 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28915 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28916 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28917 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28918 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28919 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28920 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28921 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28922 * elf/tst-unique2mod1.c: Likewise.
28923 * elf/tst-unique1mod2.c: Likewise.
28924 * elf/tst-unique1mod1.c: Likewise.
28925 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28926 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28927 Replace ASM_TYPE_DIRECTIVE with .type.
28928 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28929 * sysdeps/i386/sysdep.h: Likewise.
28930 * sysdeps/x86_64/sysdep.h: Likewise.
28931 * sysdeps/sh/sysdep.h: Likewise.
28932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28933 Do not define ASM_TYPE_DIRECTIVE.
28934 * sysdeps/powerpc/sysdep.h: Likewise.
28935 * sysdeps/powerpc/powerpc32/sysdep.h:
28936 Replace ASM_TYPE_DIRECTIVE with .type.
28937 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28938 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28939 * sysdeps/i386/fpu/e_powf.S: Likewise.
28940 * sysdeps/i386/fpu/e_expl.S: Likewise.
28941 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28943 * sysdeps/i386/fpu/e_pow.S: Likewise.
28944 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28945 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28946 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28947 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28948 * sysdeps/i386/fpu/e_log2.S: Likewise.
28949 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28950 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28951 * sysdeps/i386/fpu/e_powl.S: Likewise.
28952 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28953 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28954 * sysdeps/i386/fpu/e_logl.S: Likewise.
28955 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28956 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28957 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28958 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28959 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28960 * sysdeps/i386/fpu/e_log.S: Likewise.
28961 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28962 * sysdeps/i386/fpu/e_logf.S: Likewise.
28963 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28964 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28965 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28966 * sysdeps/i386/fpu/e_log10.S: Likewise.
28967 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28968 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28969 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28970 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28971 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28972 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28973 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28974 * sysdeps/i386/i686/strtok.S: Likewise.
28975 * sysdeps/i386/i386-mcount.S: Likewise.
28976 * sysdeps/i386/strtok.S: Likewise.
28977 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28978 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28979 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28980 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28981 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28982 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28983 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28984 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28985 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28986 * sysdeps/x86_64/_mcount.S: Likewise.
28987 * sysdeps/x86_64/strtok.S: Likewise.
28988 * sysdeps/sh/_mcount.S: Likewise.
28990 2012-08-01 Roland McGrath <roland@hack.frob.com>
28992 * libio/iofopen.c: Include <fcntl.h>.
28993 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28994 (_IO_fopen64, fopen64): Define as aliases.
28995 * libio/iofopen64.c: Include <fcntl.h>.
28996 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28997 Conditionalize body on this.
28998 * sysdeps/wordsize-64/iofopen.c: File removed.
28999 * sysdeps/wordsize-64/iofopen64.c: File removed.
29001 2012-08-01 Marek Polacek <polacek@redhat.com>
29003 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29004 Use dlfcn directly instead of a variable.
29005 (binfmt-subdir): Do not define.
29008 2012-08-01 Joseph Myers <joseph@codesourcery.com>
29010 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29011 Remove all definitions.
29012 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29013 <kernel-features.h>.
29014 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29015 (miss_F_GETOWN_EX): Remove all definitions.
29016 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29018 [!__ASSUME_FCNTL64]: Remove conditional code.
29019 [__ASSUME_FCNTL64]: Make code unconditional.
29020 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29021 <kernel-features.h>.
29022 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29023 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29024 (lockf64) [__NR_fcntl64]: Make code unconditional.
29025 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29027 * sysdeps/unix/sysv/linux/kernel-features.h
29028 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29029 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29030 Make code unconditional.
29031 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29032 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29034 [__NR_vfork]: Make code unconditional.
29035 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29036 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29038 [__NR_vfork]: Make code unconditional.
29039 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29040 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29042 2012-08-01 Roland McGrath <roland@hack.frob.com>
29044 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29045 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29047 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29048 Define mkstemp64 as an alias.
29049 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29050 Define mkstemps64 as an alias.
29051 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29052 Define mkostemp64 as an alias.
29053 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29054 Define mkostemps64 as an alias.
29055 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29056 Conditionalize body on this.
29057 * misc/mkostemp64.c: Likewise.
29058 * misc/mkostemps64.c: Likewise.
29059 * misc/mkstemps64.c: Likewise.
29060 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29061 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29062 * sysdeps/wordsize-64/mkostemp.c: File removed.
29063 * sysdeps/wordsize-64/mkstemp.c: File removed.
29064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29065 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29066 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29070 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29071 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29072 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29073 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29075 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29076 compat_symbol macros from <shlib-compat.h> rather than the underlying
29077 default_symbol_version and symbol_version macros, so that DEFAULT
29078 lines in shlib-versions are respected.
29079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29081 2012-08-01 Florian Weimer <fweimer@redhat.com>
29083 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29084 Declare with warn_unused_result.
29085 (setgid, setregid, setegid, setresgid): Likewise.
29086 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29088 * WUR-REPORT: Remove set*id functions.
29090 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29092 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29094 2012-07-31 Roland McGrath <roland@hack.frob.com>
29097 * include/sys/socket.h (__libc_accept, __libc_accept4):
29098 Add attribute_hidden.
29099 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29101 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29103 * inet/getnetgrent_r.c (setup): Likewise.
29105 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29107 2012-07-31 David S. Miller <davem@davemloft.net>
29109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29111 2012-07-31 Joseph Myers <joseph@codesourcery.com>
29114 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29115 value between 1.0 and 2.0 and smaller part has absolute value less
29117 * math/s_clog10.c (__clog10): Likewise.
29118 * math/s_clog10f.c (__clog10f): Likewise.
29119 * math/s_clog10l.c (__clog10l): Likewise.
29120 * math/s_clogf.c (__clogf): Likewise.
29121 * math/s_clogl.c (__clogl): Likewise.
29122 * math/libm-test.inc (clog_test): Add more tests.
29123 (clog10_test): Likewise.
29124 * sysdeps/i386/fpu/libm-test-ulps: Update.
29125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29127 2012-07-31 Florian Weimer <fweimer@redhat.com>
29129 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29130 Exit with zero in case no suitable GID is found, and write a
29131 message to standard error.
29133 2012-07-30 Roland McGrath <roland@hack.frob.com>
29135 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29137 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29138 (MAXPATHLEN): Removed.
29139 (NOGROUP, NODEV): New macros.
29140 (setbit, clrbit, isset, isclr): New macros.
29141 (howmany, roundup, powerof2): New macros.
29142 (DEV_BSIZE): New macro.
29144 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29145 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29147 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29148 definition on [!__NO_LONG_DOUBLE_MATH].
29150 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29151 PTR_MANGLE and PTR_DEMANGLE.
29153 * socket/accept4.c (accept4): Rename to __libc_accept4.
29154 Define accept4 as a weak alias.
29156 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29157 on [_DIRENT_HAVE_D_TYPE].
29158 * io/ftw.c (ftw_dir): Likewise.
29160 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29162 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29164 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29165 Use the BSD numbers rather than the arbitrary ones we had.
29166 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29167 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29168 (SIGXCPU, SIGXFSZ): New macros.
29171 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29172 initializer on [_LIBC_REENTRANT].
29174 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29175 definitions inside [_POSIX_MAPPED_FILES].
29177 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29179 * dirent/opendir.c: Include <fcntl.h>.
29181 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29182 (__libc_getspecific): Likewise.
29183 (__libc_key_create): Likewise.
29185 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29186 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29187 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29188 (tmpfile64): Define as alias.
29189 * sysdeps/wordsize-64/tmpfile.c: File removed.
29190 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29191 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29192 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29194 * stdio-common/vfscanf.c: Include <stdbool.h>.
29195 * nss/makedb.c: Likewise.
29196 * stdio-common/_i18n_number.h: Likewise.
29197 * argp/argp-help.c: Likewise.
29198 * posix/wordexp.c: Likewise.
29199 * sysdeps/posix/spawni.c: Likewise.
29200 * nss/nss_files/files-initgroups.c: Likewise.
29201 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29202 * nss/nss_files/files-initgroups.c: Likewise.
29203 * nss/nss_db/db-netgrp.c: Likewise.
29204 * nss/nss_db/db-initgroups.c: Likewise.
29205 * io/fchmodat.c: Include <sys/stat.h>.
29207 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29208 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29210 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29213 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29214 Add multiple inclusion protection.
29216 2012-07-27 David S. Miller <davem@davemloft.net>
29218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29220 2012-07-27 Gary Benson <gbenson@redhat.com>
29223 * elf/rtld.c: Include <stap-probe.h>.
29224 (dl_main): Added static probes "init_start" and "init_complete".
29225 * elf/dl-load.c: Include <stap-probe.h>.
29226 (lose): Take new parameter "nsid".
29227 Added static probe "map_failed".
29228 (_dl_map_object_from_fd): Pass namespace id to lose.
29229 Added static probe "map_start".
29230 (open_verify): Pass namespace id to lose.
29231 * elf/dl-open.c: Include <stap-probe.h>.
29232 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29233 and "reloc_complete".
29234 * elf/dl-close.c: Include <stap-probe.h>.
29235 (_dl_close_worker): Added static probes "unmap_start" and
29237 * elf/rtld-debugger-interface.txt: New file documenting the above.
29239 2012-07-26 Roland McGrath <roland@hack.frob.com>
29241 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29242 rather than a string variable.
29243 * sunrpc/rpc_main.c (h_output): Likewise.
29244 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29246 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29248 * inet/check_native.c: New file.
29250 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29253 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29254 if larger part has absolute value 1.0.
29255 * math/s_clog10.c (__clog10): Likewise.
29256 * math/s_clog10f.c (__clog10f): Likewise.
29257 * math/s_clog10l.c (__clog10l): Likewise.
29258 * math/s_clogf.c (__clogf): Likewise.
29259 * math/s_clogl.c (__clogl): Likewise.
29260 * math/libm-test.inc (clog_test): Add more tests.
29261 (clog10_test): Likewise.
29262 * sysdeps/i386/fpu/libm-test-ulps: Update.
29263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29265 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29266 (pltexit): Likewise.
29267 (La_regs): Likewise.
29268 (La_retval): Likewise.
29269 (int_retval): Likewise.
29270 Update #error for removed macros to refer only to definitions in
29272 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29274 (pltexit): Likewise.
29275 (La_regs): Likewise.
29276 (La_retval): Likewise.
29277 (int_retval): Likewise.
29278 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29280 (pltexit): Likewise.
29281 (La_regs): Likewise.
29282 (La_retval): Likewise.
29283 (int_retval): Likewise.
29284 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29286 (pltexit): Likewise.
29287 (La_regs): Likewise.
29288 (La_retval): Likewise.
29289 (int_retval): Likewise.
29290 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29292 (pltexit): Likewise.
29293 (La_regs): Likewise.
29294 (La_retval): Likewise.
29295 (int_retval): Likewise.
29296 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29298 (pltexit): Likewise.
29299 (La_regs): Likewise.
29300 (La_retval): Likewise.
29301 (int_retval): Likewise.
29302 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29304 (pltexit): Likewise.
29305 (La_regs): Likewise.
29306 (La_retval): Likewise.
29307 (int_retval): Likewise.
29308 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29309 macro definitions in tst-audit.h.
29310 * sysdeps/i386/tst-audit.h: New file.
29311 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29312 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29313 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29314 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29315 * sysdeps/sh/tst-audit.h: Likewise.
29316 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29317 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29318 * sysdeps/x86_64/tst-audit.h: Likewise.
29320 2012-07-26 Andreas Jaeger <aj@suse.de>
29322 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29325 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29326 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29327 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29329 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29330 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29331 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29333 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29336 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29338 (si_call_addr, si_syscall, si_arch): Define new macro.
29339 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29341 (si_call_addr, si_syscall, si_arch): Define new marcro.
29342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29344 (si_call_addr, si_syscall, si_arch): Define new macro.
29345 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29347 (si_call_addr, si_syscall, si_arch): Define new macro.
29349 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29353 Change to 2.4.21 where previously 2.4.1.
29354 * sysdeps/unix/sysv/linux/configure: Regenerated.
29355 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29356 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29357 Linux kernel version.
29358 (__ASSUME_STD_AUXV): Remove.
29359 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29361 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29362 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29363 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29364 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29365 (__ASSUME_NETLINK_SUPPORT): Likewise.
29366 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29367 (__no_netlink_support): Remove conditional definition.
29368 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29370 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29371 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29372 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29373 (if_nameindex_ioctl): Remove.
29374 (if_nameindex_netlink): Do not handle __no_netlink_support.
29375 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29377 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29378 Remove conditional code.
29379 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29381 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29383 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29384 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29385 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29387 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29388 [!__ASSUME_STD_AUXV]: Remove conditional code.
29389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29390 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29391 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29393 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29394 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29396 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29398 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29399 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29401 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29403 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29406 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29409 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29410 code unconditional.
29411 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29413 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29415 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29418 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29420 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29423 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29424 code unconditional.
29425 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29427 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29429 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29432 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29433 code unconditional.
29434 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29436 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29438 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29441 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29443 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29444 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29445 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29446 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29447 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29448 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29449 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29450 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29451 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29452 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29453 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29454 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29455 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29456 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29457 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29458 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29459 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29460 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29461 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29463 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29464 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29465 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29467 2012-07-25 Florian Weimer <fweimer@redhat.com>
29469 * Versions.def: Add GLIBC_2.17.
29470 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29471 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29472 Introduce __libc_secure_getenv.
29473 * stdlib/Versions (2.17): Add secure_getenv
29474 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29475 * stdlib/secure-getenv.c: Rename __secure_getenv to
29476 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29477 symbol __secure_getenv for GLIBC_2.0.
29478 * stdlib/tst-secure-getenv.c: New.
29479 * stdlib/Makefile (tests): Add testcase.
29480 * manual/startup.texi (Environment Access): Document
29482 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29483 __libc_secure_getenv.
29484 * inet/ruserpass.c (ruserpass): Likewise.
29485 * malloc/mtrace.c (mtrace): Likewise.
29486 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29487 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29488 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29489 * sysdeps/posix/tempname.c: Likewise. Evaluate
29490 HAVE_SECURE_GETENV.
29491 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29492 __secure_getenv to __libc_secure_getenv.
29493 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29500 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29506 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29508 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29509 (struct La_i86_retval): Likewise.
29510 (struct La_x86_64_regs): Likewise.
29511 (struct La_x86_64_retval): Likewise.
29512 (struct La_x32_regs): Likewise.
29513 (struct La_x32_retval): Likewise.
29514 (struct La_ppc32_regs): Likewise.
29515 (struct La_ppc32_retval): Likewise.
29516 (struct La_ppc64_regs): Likewise.
29517 (struct La_ppc64_retval): Likewise.
29518 (struct La_sh_regs): Likewise.
29519 (struct La_sh_retval): Likewise.
29520 (struct La_s390_32_regs): Likewise.
29521 (struct La_s390_32_retval): Likewise.
29522 (struct La_s390_64_regs): Likewise.
29523 (struct La_s390_64_retval): Likewise.
29524 (struct La_sparc32_regs): Likewise.
29525 (struct La_sparc32_retval): Likewise.
29526 (struct La_sparc64_regs): Likewise.
29527 (struct La_sparc64_retval): Likewise.
29528 (struct audit_ifaces): Remove architecture-specific pltenter and
29530 * sysdeps/i386/ldsodefs.h: New file.
29531 * sysdeps/powerpc/ldsodefs.h: Likewise.
29532 * sysdeps/s390/ldsodefs.h: Likewise.
29533 * sysdeps/sh/ldsodefs.h: Likewise.
29534 * sysdeps/sparc/ldsodefs.h: Likewise.
29535 * sysdeps/x86_64/ldsodefs.h: Likewise.
29537 2012-07-25 Marek Polacek <polacek@redhat.com>
29540 * math/libm-test.inc (yn_test): Add another test.
29541 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29542 to ERANGE when the result is +-Inf.
29543 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29544 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29545 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29546 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29548 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29550 * conform/data/time.h-data (NULL): Use macro-constant. Require
29552 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29554 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29556 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29558 * configure.in <sysdeps resolving>: Correct printing
29560 * configure: Regenerate.
29562 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29564 * math/w_ilogb.c: Include <limits.h>.
29565 * math/w_ilogbl.c: Likewise.
29567 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29569 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29570 va_copy. Document allowing for unavailable va_copy only as
29571 pre-C99 compatibility.
29572 * manual/string.texi (Copying and Concatenation): Use va_copy
29573 instead of __va_copy in concat example.
29575 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29577 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29578 (__sendto): Use create_address_port. Initialize APORT and deallocate
29581 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29582 with O_NOLINK passed to __file_name_lookup.
29584 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29585 with O_NOLINK passed to __file_name_lookup.
29587 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29588 negative N or less than NGIDS.
29590 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29591 type to string_t. Set ERANGE as errno and return it if NAME is not big
29592 enough. Use memcpy instead of strncpy.
29594 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29596 * elf/Makefile (check-data): Remove.
29597 (localplt.data): New vpath directive.
29598 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29599 instead of $(check-data).
29600 * scripts/data/localplt-generic.data: Move to ...
29601 * sysdeps/generic/localplt.data: ... here.
29602 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29603 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29604 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29607 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29610 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29613 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29616 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29619 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29623 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29625 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29626 PPC32 and PPC64 files.
29627 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29628 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29630 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29632 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29633 __makecontext_ret to ...
29634 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29635 ... here and call exit if uc_link is NULL. New file.
29636 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29637 __makecontext_ret.S.
29638 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29639 __makecontext_ret to ...
29640 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29641 ... here and call exit if uc_link is NULL. New file.
29642 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29643 __makecontext_ret.S.
29645 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29647 * elf/elf.h (R_390_IRELATIVE): New definition.
29648 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29649 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29650 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29651 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29652 (elf_machine_lazy_rel): Likewise.
29653 * sysdeps/s390/dl-irel.h: New file.
29654 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29655 * sysdeps/s390/s390-64/memset.S: New asm code.
29656 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29657 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29658 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29659 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29660 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29661 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29662 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29663 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29664 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29665 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29666 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29667 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29668 * sysdeps/s390/s390-32/memset.S: New asm code.
29669 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29671 2012-07-17 Marek Polacek <polacek@redhat.com>
29674 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29675 * sysdeps/s390/s390-64/configure.in: Likewise.
29676 * sysdeps/sparc/configure.in: Likewise.
29677 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29678 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29679 * sysdeps/i386/configure.in: Likewise.
29680 * sysdeps/x86_64/configure.in: Likewise.
29681 * sysdeps/sh/configure.in: Likewise.
29682 * sysdeps/s390/s390-32/configure: Regenerated.
29683 * sysdeps/s390/s390-64/configure: Likewise.
29684 * sysdeps/x86_64/configure: Likewise.
29685 * sysdeps/sh/configure: Likewise.
29686 * sysdeps/powerpc/powerpc64/configure: Likewise.
29687 * sysdeps/powerpc/powerpc32/configure: Likewise.
29688 * sysdeps/sparc/configure: Likwise.
29689 * sysdeps/i386/configure: Likewise.
29691 * elf/dl-open.c: Comment fixes.
29693 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29695 * Makefile [CXX] (check-data): Remove.
29696 [CXX] (c++-types.data): New vpath directive.
29697 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29698 vpath. Do not allow for C++ type data being missing.
29699 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29700 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29701 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29702 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29703 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29704 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29705 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29708 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29711 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29714 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29717 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29720 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29723 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29726 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29729 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29730 definitions to architecture-specific files.
29731 (TLS_IE): Likewise.
29732 (TLS_LD): Likewise.
29733 (TLS_GD): Likewise.
29734 * sysdeps/i386/tls-macros.h: New file.
29735 * sysdeps/powerpc/tls-macros.h: Likewise.
29736 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29737 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29738 * sysdeps/sh/tls-macros.h: Likewise.
29739 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29740 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29741 * sysdeps/x86_64/tls-macros.h: Likewise.
29743 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29745 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29746 zero value for regular exit case.
29748 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29749 (__start_context): Preserve zero value for regular exit case.
29751 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29752 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29754 * manual/setjmp.texi (setcontext): Clarify normal process
29755 termination when uc_link is the null pointer.
29756 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29759 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29761 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29762 preprocessor. Test for each exception mask separately.
29764 2012-07-16 Andreas Jaeger <aj@suse.de>
29766 * po/ru.po: Update from translation team.
29768 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29770 * conform/data/string.h-data (NULL): Use macro-constant. Require
29772 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29773 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29774 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29775 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29778 2012-07-13 Andreas Jaeger <aj@suse.de>
29780 * po/fr.po: Update from translation team.
29782 2012-07-12 Marek Polacek <polacek@redhat.com>
29785 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29786 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29789 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29792 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29793 Change to 2.4.1 where previously 2.4.0.
29794 * sysdeps/unix/sysv/linux/configure: Regenerated.
29795 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29796 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29798 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29799 (__ASSUME_AT_CLKTCK): Remove.
29800 (__ASSUME_AT_PAGESIZE): Likewise.
29801 (__ASSUME_AT_XID): Likewise.
29802 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29803 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29804 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29806 (HAVE_AUX_PAGESIZE): Likewise.
29807 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29808 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29809 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29811 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29815 the temporary buffer used to invoke __gethostbyname2_r,
29816 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29817 host_data / struct gaih_addrtuple.
29818 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29819 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29820 header file nss/nsswitch.h.
29821 * nss/nsswitch.h (global scope): Add definition of implementation
29822 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29823 resolv/nss_dns/dns-host.c).
29825 2012-07-11 Andreas Jaeger <aj@suse.de>
29827 * po/fr.po: Update from translation team.
29829 * po/sv.po: Update from translation team
29830 * po/fr.po: Another update from translation team.
29832 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29834 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29835 for subnormals or multiply small sinh result by itself.
29836 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29839 2012-07-11 David S. Miller <davem@davemloft.net>
29841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29843 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29846 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29847 (INTERNAL_MARK): Shift it here.
29849 2012-07-10 Marek Polacek <polacek@redhat.com>
29852 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29853 libc_cv_asm_global_directive with .globl.
29854 * configure: Regenerated.
29855 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29857 * sysdeps/i386/configure: Regenerated.
29858 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29860 * sysdeps/x86_64/configure: Regenerated.
29861 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29862 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29863 * elf/tst-unique2mod2.c: Likewise.
29864 * elf/tst-unique2mod1.c: Likewise.
29865 * elf/tst-unique1mod2.c: Likewise.
29866 * elf/tst-unique1mod1.c: Likewise.
29867 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29868 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29869 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29870 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29871 * sysdeps/mach/sysdep.h: Likewise.
29872 * sysdeps/i386/sysdep.h: Likewise.
29873 * sysdeps/i386/i386-mcount.S: Likewise.
29874 * sysdeps/x86_64/_mcount.S: Likewise.
29875 * sysdeps/x86_64/sysdep.h: Likewise.
29876 * sysdeps/sh/_mcount.S: Likewise.
29877 * sysdeps/sh/sysdep.h: Likewise.
29878 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29879 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29880 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29881 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29882 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29883 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29884 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29885 * locale/localeinfo.h: Likewise.
29886 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29887 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29889 2012-07-09 Roland McGrath <roland@hack.frob.com>
29892 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29894 * manual/message.texi (The Uniforum approach): Likewise.
29895 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29896 (glibc iconv Implementation): Likewise.
29898 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29901 * math/s_clog.c (__clog): Avoid scaling a value down where that
29902 could result in underflow.
29903 * math/s_clog10.c (__clog10): Likewise.
29904 * math/s_clog10f.c (__clog10f): Likewise.
29905 * math/s_clog10l.c (__clog10l): Likewise.
29906 * math/s_clogf.c (__clogf): Likewise.
29907 * math/s_clogl.c (__clogl): Likewise.
29908 * math/libm-test.inc (clog_test): Add more tests.
29909 (clog10_test): Likewise.
29910 * sysdeps/i386/fpu/libm-test-ulps: Update.
29911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29913 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29916 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29917 by 7 not 8 to examine high bit of fractional part.
29920 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29921 for call to __mcount_internal.
29922 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29923 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29924 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29926 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29929 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29930 approximation for values within 0x1p-13f of an odd multiple of
29932 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29933 exception. Add more tests.
29934 * sysdeps/i386/fpu/libm-test-ulps: Update.
29937 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29938 inputs and return -1 for them. Do not check for +Inf in case not
29939 reachable for +Inf.
29940 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29941 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29942 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29943 and return -1 for them. Do not check for +Inf in case not
29944 reachable for +Inf.
29945 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29948 and return -1 for them. Do not check for +Inf in case not
29949 reachable for +Inf.
29950 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29951 spurious underflow.
29952 * sysdeps/i386/fpu/libm-test-ulps: Update.
29953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29955 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29957 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29959 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29963 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29964 could result in spurious underflow. Scale down values above
29965 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29966 * math/s_csqrtf.c (__csqrtf): Likewise.
29967 * math/s_csqrtl.c (__csqrtl): Likewise.
29968 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29969 spurious underflow.
29970 * sysdeps/i386/fpu/libm-test-ulps: Update.
29971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29973 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29975 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29977 * catgets/xopen-msg.awk: New file.
29978 * catgets/xopen-msg.sed: Removed.
29980 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29982 * intl/po2test.awk: New file.
29983 * intl/po2test.sed: Removed.
29985 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29988 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29989 or multiply small sinh result by itself.
29990 * math/s_ctanf.c (__ctanf): Likewise.
29991 * math/s_ctanh.c (__ctanh): Likewise.
29992 * math/s_ctanhf.c (__ctanhf): Likewise.
29993 * math/s_ctanhl.c (__ctanhl): Likewise.
29994 * math/s_ctanl.c (__ctanl): Likewise.
29995 * math/libm-test.inc (ctan_test_tonearest): New function.
29996 (ctan_test_towardzero): Likewise.
29997 (ctan_test_downward): Likewise.
29998 (ctan_test_upward): Likewise.
29999 (ctanh_test_tonearest): Likewise.
30000 (ctanh_test_towardzero): Likewise.
30001 (ctanh_test_downward): Likewise.
30002 (ctanh_test_upward): Likewise.
30003 (main): Call these new functions.
30004 * sysdeps/i386/fpu/libm-test-ulps: Update.
30005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007 2012-07-03 Mike Frysinger <vapier@gentoo.org>
30009 * .gitignore: Delete /ports entry.
30011 2012-07-03 Andreas Jaeger <aj@suse.de>
30013 * po/bg.po: Update from translation team.
30014 * po/cs.po: Likewise.
30015 * po/de.po: Likewise.
30016 * po/hr.po: Likewise.
30017 * po/nl.pl: Likewise.
30018 * po/pl.po: Likewise.
30019 * po/vi.po: Likewise.
30021 2012-07-03 Joseph Myers <joseph@codesourcery.com>
30023 * Makeconfig [!+link] (+link-before-libc): New variable.
30024 [!+link] (+link-after-libc): Likewise.
30025 [!+link] (+link-tests): Likewise.
30026 [!+link] (+link): Define in terms of $(+link-before-libc) and
30027 $(+link-after-libc).
30028 [!+link-static] (+link-static-before-libc): New variable.
30029 [!+link-static] (+link-static-after-libc): Likewise.
30030 [!+link-static] (+link-static-tests): Likewise.
30031 [!+link-static] (+link-static): Define in terms of
30032 $(+link-static-before-libc) and $(+link-static-after-libc).
30033 [build-shared] (link-libc-before-gnulib): New variable.
30034 [build-shared] (link-libc-tests): Likewise.
30035 [build-shared] (link-libc): Define in terms of
30036 $(link-libc-before-gnulib).
30037 [!build-shared] (link-libc-tests): New variable.
30038 (link-libc-static-tests): New variable.
30039 [!gnulib] (gnulib-arch): New variable.
30040 [!gnulib] (gnulib-tests): Likewise.
30041 [!gnulib] (static-gnulib-arch): Likewise.
30042 [!gnulib] (static-gnulib-tests): Likewise.
30043 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30044 Define with "=" instead of ":=".
30045 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30046 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30047 * Rules (binaries-all-notests): New variable.
30048 (binaries-all-tests): Likewise.
30049 (binaries-static-notests): Likewise.
30050 (binaries-static-tests): Likewise.
30051 (binaries-all): Define using $(binaries-all-notests) and
30052 $(binaries-all-tests).
30053 (binaries-static): Define using $(binaries-static-notests) and
30054 $(binaries-static-tests).
30055 (binaries-shared-tests): New variable.
30056 (binaries-shared-notests): Likewise.
30057 (binaries-shared): Remove variable.
30058 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30059 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30060 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30061 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30062 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30063 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30064 * elf/Makefile (sln-modules): New variable.
30065 (extra-objs): Add $(sln-modules:=.o).
30066 (ldconfig-modules): Add static-stubs.
30067 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30068 * elf/static-stubs.c: New file.
30071 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30072 by 7 not 8 to examine high bit of fractional part. Use volatile
30073 variables when splitting into final array of floats if
30074 __FLT_EVAL_METHOD__ != 0.
30075 * math/libm-test.inc (cos_test): Add another test.
30076 (sin_test): Likewise.
30077 * sysdeps/i386/fpu/libm-test-ulps: Update.
30080 * math/libm-test.inc (cosh_test): Add more tests.
30082 * version.h (RELEASE): Set to "development".
30083 (VERSION): Set to "2.16.90".
30085 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30087 * NEWS: Update copyright. Remove last-updated date.
30088 Mention math library bug fixes and timezone data changes.
30089 * README: Mention GNU/Hurd, x32, and HPPA support status.
30091 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30093 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30095 2012-06-27 Andreas Jaeger <aj@suse.de>
30097 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30099 2012-06-25 Andreas Jaeger <aj@suse.de>
30101 * sysdeps/s390/fpu/libm-test-ulps: Update.
30103 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30104 Thomas Schwinge <thomas@codesourcery.com>
30106 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30107 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30108 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30111 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30113 * sysdeps/mach/start.c: Remove file.
30114 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30115 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30116 * sysdeps/sh/init-first.c: Likewise.
30118 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30119 registers for frame unwinding purposes, add CFI directives.
30120 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30121 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30122 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30125 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30126 __fortify_fail returning.
30127 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30129 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30130 sysdeps/sh/____longjmp_chk.S.
30131 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30132 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30133 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30134 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30136 * sysdeps/sh/abort-instr.h: New file.
30137 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30138 process in case exit returns.
30140 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30141 initialize the GOT register before use.
30143 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30144 calculation of ARGC > 4.
30146 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30147 meaningful names to some local labels.
30149 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30150 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30152 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30153 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30154 (__arch_compare_and_exchange_val_16_acq): Likewise.
30155 (__arch_compare_and_exchange_val_32_acq): Likewise.
30156 (atomic_exchange_and_add): Fix gUSA sequence.
30157 (atomic_add): Likewise.
30158 (atomic_add_negative): Likewise.
30159 (atomic_add_zero): Likewise.
30160 (atomic_bit_test_set): Likewise.
30162 2012-06-22 Andreas Schwab <schwab@redhat.com>
30165 * include/link.h (struct link_map): Add l_free_initfini.
30166 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30168 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30169 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30170 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30173 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30175 * configure.in: Use AC_LANG_SOURCE.
30176 * configure: Regenerate.
30178 2012-06-22 Roland McGrath <roland@hack.frob.com>
30180 * configure.in (libc_cv_localstatedir): New substituted variable.
30181 * configure: Regenerated.
30182 * config.make.in (localstatedir): New variable, substituted from
30183 libc_cv_localstatedir.
30184 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30185 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30186 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30187 * sysdeps/gnu/configure: Regenerated.
30189 2012-06-21 Jeff Law <law@redhat.com>
30192 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30193 free. Simplify list management for _LIBC case.
30195 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30198 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30199 Clear sign bit of 64-bit integer value before comparing against
30202 * sysdeps/mach/configure: Regenerated.
30204 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30207 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30209 2012-06-21 Jeff Law <law@redhat.com>
30212 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30213 uint16_t for elements in the "seen" array to avoid char overflows.
30214 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30215 * elf/dl-open.c (dl_open_worker): Likewise.
30217 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30219 * scripts/list-sources.sh: Scan PORTS for translations.
30220 * po/libc.pot: Regenerated.
30222 2012-06-21 Andreas Jaeger <aj@suse.de>
30225 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30227 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30228 * bits/byteswap-16.h (__bswap_16): Likewise.
30229 * bits/byteswap.h (__bswap_constant_16): Likewise.
30231 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30234 * sysdeps/i386/fpu_control.h: Removed.
30235 * sysdeps/x86_64/fpu_control.h: Moved to ...
30236 * sysdeps/x86/fpu_control.h: Here.
30238 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30239 (_FPU_SETCW): Likewise.
30241 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30244 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30245 * sysdeps/x86/fpu/bits/mathinline.h: This.
30246 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30250 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30251 functions if __x86_64__ is defined.
30253 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30255 * string/endian.h: Add !__ASSEMBLER__ condition for including
30256 conversion interfaces.
30258 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30262 of ABS(x) in calculating zero to negative powers other than odd
30264 * math/libm-test.inc (pow_test): Add more tests.
30266 2012-06-15 Andreas Jaeger <aj@suse.de>
30268 * manual/contrib.texi (Contributors): Update entry of Liubov
30269 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30272 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30274 * string/string.h: Add __wur to GNU version of strerror_r.
30276 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30279 * string/Makefile (tests): Add tst-strtok_r.
30280 * string/tst-strtok_r.c: New file.
30281 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30282 RAX_LP/RDX_LP on SAVE_PTR.
30284 2012-06-14 Roland McGrath <roland@hack.frob.com>
30286 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30288 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30290 * libm_test.inc (csqrt_test): Allow more spurious underflow
30292 (j0_test): Likewise.
30293 (j1_test): Likewise.
30294 (y0_test): Likewise.
30295 (y1_test): Likewise.
30297 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30299 * po/Makefile (libc.pot): Use UTF-8 charset.
30301 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30304 Suppress sign-conversion warning from FD_SET.
30305 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30306 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30307 not unsigned long int.
30308 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30310 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30314 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30315 __extern_always_inline instead of __extern_inline.
30316 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30317 (__signbit): Likewise.
30318 (__signbitl): Support C++ namespace.
30319 (lrintf): New inline function.
30321 (llrintf): Likewise.
30322 (llrint): Likewise.
30332 (floorf): Likewise.
30333 (nearbyint): Likewise.
30334 (nearbyintf): Likewise.
30336 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30338 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30339 non-default versions.
30341 2012-06-11 Roland McGrath <roland@hack.frob.com>
30344 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30346 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30348 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30349 (FE_UPWARD, FE_DOWNWARD): Don't define.
30350 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30351 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30353 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30355 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30356 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30358 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30360 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30362 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30363 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30365 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30368 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30369 * sysdeps/i386/fpu/Implies: New file.
30370 * sysdeps/x86_64/fpu/Implies: Likewise.
30371 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30372 * sysdeps/x86/fpu/bits/fenv.h: This.
30374 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30377 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30380 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30381 character 0xffff that matches the last element of the
30384 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30386 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30389 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30392 values higher than 25.6283.
30394 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30397 subnormal exponent extraction and add some __builtin_expect.
30398 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30399 Fix for subnormal mantissa calculation.
30401 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30403 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30404 cpu2 is -1 and errno is not ENOSYS.
30406 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30409 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30410 * sysdeps/x86/bits/string.h: This.
30411 * sysdeps/x86_64/bits/string.h: Removed.
30413 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30414 if not compiling for x86-64, but compiling for >= i486.
30416 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30417 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30419 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30420 New macro from Linux kernel 3.4.0.
30421 (FP_XSTATE_MAGIC2): Likewise.
30422 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30423 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30424 (struct _fpx_sw_bytes): New struct.
30425 (struct _xsave_hdr): Likewise.
30426 (struct _ymmh_state): Likewise.
30427 (struct _xstate): Likewise.
30429 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30430 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30431 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30432 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30433 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30434 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30436 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30437 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30438 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30439 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30440 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30441 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30443 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30446 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30447 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30448 (sysdep_headers): Include sys/platform/ppc.h.
30449 * sysdeps/powerpc/test-gettimebase.c: Test for
30450 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30451 * manual/Makefile (appendices): Include platform.texi.
30452 * manual/contrib.texi (Contributors): Update @node pointers.
30453 * manual/maint.texi (Maintenance): Likewise.
30454 (Platform): New node.
30455 * manual/platform.texi: New file. Document the new features.
30457 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 Jakub Jelinek <jakub@redhat.com>
30461 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30462 where __builtin_expect is unavailable.
30464 2012-06-03 David S. Miller <davem@davemloft.net>
30466 * stdlib/longlong.h: Updated from GCC.
30468 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30471 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30472 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30475 (GLIBC_2.16): Likewise.
30477 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30479 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30481 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30484 (default-abi): New variable.
30485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30486 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30488 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30490 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30492 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30495 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30496 definition. Document in comment.
30498 2012-06-01 David S. Miller <davem@davemloft.net>
30500 * stdlib/longlong.h: Updated from GCC.
30502 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30505 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30506 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30507 sys/debugreg.h sys/io.h here.
30508 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30509 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30511 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30512 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30513 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30514 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30515 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30516 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30518 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30519 Define only if __x86_64__ is defined.
30521 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30525 Use int64_t for variable i.
30526 * math/libm-test.inc (fmod_test): Add more tests.
30528 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30529 z computation is not scheduled after fetestexcept.
30530 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30531 Use math_force_eval instead of asm to ensure calculation scheduled
30532 before exception test.
30533 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30534 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30536 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30539 computation is not scheduled after fetestexcept.
30541 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30544 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30545 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30547 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30549 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30550 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30552 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30555 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30557 (__WCHAR_MIN): Support __WORDSIZE == 64.
30558 (__WCHAR_MAX): Likewise.
30560 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30561 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30564 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30565 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30568 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30569 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30571 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30572 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30575 Defined to 1 if __x86_64__ isn't defined.
30576 (_STAT_VER_LINUX_OLD): New.
30577 (st_atime): Remove duplicate.
30578 (st_mtime): Likewise.
30579 (st_ctime): Likewise.
30581 2012-05-31 David S. Miller <davem@davemloft.net>
30583 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30586 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30588 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30592 * elf/dl-reloc.c: Include <_itoa.h>.
30593 (_dl_reloc_bad_type): Remove use of INTUSE.
30594 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30595 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30596 * stdio-common/psiginfo.c (psiginfo): Likewise.
30597 * stdio-common/psignal.c (psignal): Likewise.
30598 * string/strsignal.c (strsignal): Likewise.
30599 * include/signal.h (_sys_siglist): Declare hidden proto.
30600 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30601 INTVARDEF with libc_hidden_data_def.
30602 * stdio-common/itoa-udigits.c: Likewise.
30603 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30604 (_itoa_lower_digits_internal): Remove declaration.
30605 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30606 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30607 (_sys_sigabbrev_internal): Remove aliases.
30608 (_sys_siglist): Define hidden alias.
30610 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30615 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30618 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30619 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30621 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30622 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30623 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30624 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30626 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30628 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30629 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30630 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30632 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30642 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30644 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30645 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30646 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30647 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30648 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30649 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30651 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30652 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30655 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30657 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30658 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30659 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30661 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30662 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30664 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30666 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30667 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30668 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30670 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30672 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30674 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30676 * math/math.h (M_El): Use two more decimal places.
30677 (M_LOG2El): Likewise.
30678 (M_LOG10El): Likewise.
30679 (M_LN2l): Likewise.
30680 (M_LN10l): Likewise.
30682 (M_PI_2l): Likewise.
30683 (M_PI_4l): Likewise.
30684 (M_1_PIl): Likewise.
30685 (M_2_PIl): Likewise.
30686 (M_2_SQRTPIl): Likewise.
30687 (M_SQRT2l): Likewise.
30688 (M_SQRT1_2l): Likewise.
30690 2012-05-31 David S. Miller <davem@davemloft.net>
30692 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30693 values between float registers.
30694 * sysdeps/sparc/sparc64/memset.S: Likewise.
30695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30697 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30699 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30700 -D_FORTIFY_SOURCE=1.
30701 (CPPFLAGS-tst-longjmp_chk.c): Define.
30702 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30703 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30704 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30705 CFLAGS-tst-wchar-h.c.
30707 2012-05-31 Marek Polacek <polacek@redhat.com>
30710 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30711 __endmntent_internal): Remove declaration.
30712 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30713 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30714 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30716 2012-05-30 David S. Miller <davem@davemloft.net>
30718 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30719 (___Q_simulate_exceptions): Use real FP ops rather than writing
30721 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30724 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30727 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30728 * sysdeps/x86/bits/xtitypes.h: This.
30730 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30731 * sysdeps/x86/bits/wordsize.h: This.
30733 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30734 * sysdeps/x86/bits/huge_vall.h: This.
30736 * sysdeps/i386/bits/select.h: Removed.
30737 * sysdeps/x86_64/bits/select.h: Renamed to ...
30738 * sysdeps/x86/bits/select.h: This.
30740 * sysdeps/i386/bits/setjmp.h: Removed.
30741 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30742 * sysdeps/x86/bits/setjmp.h: This.
30744 * sysdeps/i386/bits/mathdef.h: Removed.
30745 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30746 * sysdeps/x86/bits/mathdef.h: This.
30748 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30751 * include/sys/socket.h (__connect_internal)
30752 (__libc_sa_len_internal): Remove declaration.
30753 (__connect, __libc_sa_len): Declare hidden_proto.
30754 (SA_LEN): Remove use of INTUSE.
30755 * socket/connect.c: Add libc_hidden_def.
30756 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30757 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30758 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30760 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30761 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30762 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30763 of adding _internal alias.
30765 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30768 * sysdeps/i386/bits/link.h: Removed.
30769 * sysdeps/i386/bits/linkmap.h: Likewise.
30770 * sysdeps/x86_64/bits/link.h: Renamed to ...
30771 * sysdeps/x86/bits/link.h: This.
30772 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30773 * sysdeps/x86/bits/linkmap.h: This.
30775 * sysdeps/i386/bits/endian.h: Removed.
30776 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30777 * sysdeps/x86/bits/endian.h: This.
30779 * sysdeps/i386/bits/byteswap.h: Removed.
30780 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30781 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30782 * sysdeps/x86/bits/byteswap.h: This.
30783 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30784 * sysdeps/x86/bits/byteswap-16.h: This.
30785 * sysdeps/i386/Implies: Add x86.
30786 * sysdeps/x86_64/Implies: Likewise.
30788 2012-05-30 David S. Miller <davem@davemloft.net>
30790 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30791 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30793 (FP_TRAPPING_EXCEPTIONS): Define.
30794 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30795 (FP_TRAPPING_EXCEPTIONS): Define.
30796 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30797 subnormals only when inexact has been signalled or underflow
30798 exceptions are enabled.
30799 (_FP_PACK_CANONICAL): Likewise.
30801 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30804 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30805 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30807 2012-05-30 Richard Henderson <rth@twiddle.net>
30809 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30810 with #ifndef NOT_IN_libc.
30812 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30813 marked to avoid plt entry.
30815 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30818 * Makeconfig (default-abi): New macro.
30819 (abi-includes): Likewise.
30820 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30821 $(abi-$(default-abi)-lib-soname) for soname if defined.
30822 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30824 * Makefile (installed-stubs): Likewise.
30825 * include/stubs-biarch.h: Removed.
30826 * scripts/lib-names.awk: Only handle one library at a time.
30827 * scripts/soversions.awk: Remove WORDSIZE support.
30828 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30830 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30832 (syscall-list-default-condition): Likewise.
30833 (syscall-list-default-condition): Likewise.
30834 (syscall-list-includes): Likewise.
30835 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30836 syscall-list-* with abi-*. Handle undefined abi-variants.
30837 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30838 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30839 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30840 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30841 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30842 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30844 (syscall-list-32-options): Likewise.
30845 (syscall-list-32-condition): Likewise.
30846 (syscall-list-64-options): Likewise.
30847 (syscall-list-64-condition): Likewise.
30848 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30850 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30853 (abi-64-ld-soname): New macro.
30854 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30855 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30858 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30859 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30861 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30863 * sysdeps/unix/sysv/linux/kernel-features.h
30864 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30865 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30866 include <kernel-features.h>.
30867 [!__NR_ftruncate64]: Remove conditional code.
30868 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30869 [__NR_ftruncate64]: Make code unconditional.
30870 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30871 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30872 include <kernel-features.h>.
30873 [!__NR_ftruncate64]: Remove conditional code.
30874 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30875 [__NR_ftruncate64]: Make code unconditional.
30876 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30878 include <kernel-features.h>.
30879 [!__NR_ftruncate64]: Remove conditional code.
30880 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30881 [__NR_ftruncate64]: Make code unconditional.
30882 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30884 include <kernel-features.h>.
30885 [!__NR_ftruncate64]: Remove conditional code.
30886 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30887 [__NR_ftruncate64]: Make code unconditional.
30888 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30890 * configure.in (libc_cv_fpie): Weaken to a compile test using
30891 LIBC_TRY_CC_OPTION.
30892 * configure: Regenerated.
30894 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30909 2012-05-27 David S. Miller <davem@davemloft.net>
30911 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30913 (__Q_simulate_exceptions): Return void. Change to simulate
30914 exceptions by writing into the %fsr.
30915 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30916 (__Qp_handle_exceptions): Likewise.
30918 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30919 __Qp_handle_exceptions.
30920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30921 __Qp_handle_exceptions.
30922 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30923 as unused and give dummy FP_RND_NEAREST initializer.
30924 (FP_INHIBIT_RESULTS): Define.
30925 (___Q_simulate_exceptions): Update declaration.
30926 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30929 as unused and give dummy FP_RND_NEAREST initializer.
30930 (__Qp_handle_exceptions): Update declaration.
30931 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30934 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30936 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30937 the temporary FPU control word.
30938 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30939 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30941 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30942 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30943 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30944 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30946 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30947 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30948 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30950 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30952 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30955 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30957 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30958 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30959 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30960 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30962 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30963 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30966 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30968 * po/h.po: Update from translation team.
30970 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30972 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30974 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30975 handling of denormals.
30976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30977 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30978 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30979 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30980 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30985 2012-05-26 Marek Polacek <polacek@redhat.com>
30988 * math/libm-test.inc (fma_test): Don't always expect underflow
30991 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30994 * elf/tst-execstack.c: Include stackinfo.h.
30995 (do_test): Adjust test case to ensure that pthread_getattr_np
30996 behaviour remains the same after marking stack executable.
30998 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31000 * sysdeps/unix/sysv/linux/kernel-features.h
31001 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31002 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31004 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31005 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31006 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31008 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31009 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31011 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31013 * configure.in: Define the default includes to being none.
31014 * configure: Regenerated.
31016 2012-05-25 Roland McGrath <roland@hack.frob.com>
31018 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31019 * sysdeps/x86_64/setjmp.S: Likewise.
31020 * sysdeps/i386/bsd-setjmp.S: Likewise.
31021 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31022 * sysdeps/i386/setjmp.S: Likewise.
31023 * sysdeps/i386/__longjmp.S: Likewise.
31024 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31025 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31027 * include/stap-probe.h: New file.
31028 * configure.in: Handle --enable-systemtap.
31029 * configure: Regenerated.
31030 * config.h.in (USE_STAP_PROBE): New #undef.
31031 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31032 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31033 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31035 2012-05-25 Joseph Myers <joseph@codesourcery.com>
31038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31039 to 2.4.0 where earlier.
31040 * sysdeps/unix/sysv/linux/configure: Regenerated.
31041 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31042 <kernel-features.h>.
31043 [__ASSUME_32BITUIDS]: Make code unconditional.
31044 [!__ASSUME_32BITUIDS]: Remove conditional code.
31045 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31046 <kernel-features.h>.
31047 [__ASSUME_32BITUIDS]: Make code unconditional.
31048 [!__ASSUME_32BITUIDS]: Remove conditional code.
31049 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31050 [__ASSUME_32BITUIDS]: Make code unconditional.
31051 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31052 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31053 <kernel-features.h>.
31054 [__ASSUME_32BITUIDS]: Make code unconditional.
31055 [!__ASSUME_32BITUIDS]: Remove conditional code.
31056 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31057 <kernel-features.h>.
31058 [__ASSUME_32BITUIDS]: Make code unconditional.
31059 [!__ASSUME_32BITUIDS]: Remove conditional code.
31060 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31061 <kernel-features.h>.
31062 [__ASSUME_32BITUIDS]: Make code unconditional.
31063 [!__ASSUME_32BITUIDS]: Remove conditional code.
31064 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31065 <kernel-features.h>.
31066 [__ASSUME_32BITUIDS]: Make code unconditional.
31067 [!__ASSUME_32BITUIDS]: Remove conditional code.
31068 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31069 <kernel-features.h>.
31070 [__ASSUME_32BITUIDS]: Make code unconditional.
31071 [!__ASSUME_32BITUIDS]: Remove conditional code.
31072 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31073 <kernel-features.h>.
31074 [__ASSUME_32BITUIDS]: Make code unconditional.
31075 [!__ASSUME_32BITUIDS]: Remove conditional code.
31076 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31077 <kernel-features.h>.
31078 [__ASSUME_32BITUIDS]: Make code unconditional.
31079 [!__ASSUME_32BITUIDS]: Remove conditional code.
31080 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31081 <kernel-features.h>.
31082 [__ASSUME_32BITUIDS]: Make code unconditional.
31083 [!__ASSUME_32BITUIDS]: Remove conditional code.
31084 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31085 <kernel-features.h>.
31086 [__ASSUME_32BITUIDS]: Make code unconditional.
31087 [!__ASSUME_32BITUIDS]: Remove conditional code.
31088 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31089 <kernel-features.h>.
31090 [__ASSUME_32BITUIDS]: Make code unconditional.
31091 [!__ASSUME_32BITUIDS]: Remove conditional code.
31092 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31093 <kernel-features.h>.
31094 [__NR_setresgid] (__setresgid): Do not declare.
31095 [__ASSUME_32BITUIDS]: Make code unconditional.
31096 [!__ASSUME_32BITUIDS]: Remove conditional code.
31097 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31098 <kernel-features.h>.
31099 [__NR_setresuid] (__setresuid): Do not declare.
31100 [__ASSUME_32BITUIDS]: Make code unconditional.
31101 [!__ASSUME_32BITUIDS]: Remove conditional code.
31102 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31103 <kernel-features.h>.
31104 [__ASSUME_32BITUIDS]: Make code unconditional.
31105 [!__ASSUME_32BITUIDS]: Remove conditional code.
31106 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31107 <kernel-features.h>.
31108 [__ASSUME_32BITUIDS]: Make code unconditional.
31109 [!__ASSUME_32BITUIDS]: Remove conditional code.
31110 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31111 <kernel-features.h>.
31112 [__ASSUME_32BITUIDS]: Make code unconditional.
31113 [!__ASSUME_32BITUIDS]: Remove conditional code.
31114 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31115 <kernel-features.h>.
31116 [__ASSUME_32BITUIDS]: Make code unconditional.
31117 [!__ASSUME_32BITUIDS]: Remove conditional code.
31118 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31119 <kernel-features.h>.
31120 [__ASSUME_32BITUIDS]: Make code unconditional.
31121 [!__ASSUME_32BITUIDS]: Remove conditional code.
31122 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31123 <kernel-features.h>.
31124 [__ASSUME_32BITUIDS]: Make code unconditional.
31125 [!__ASSUME_32BITUIDS]: Remove conditional code.
31126 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31127 <kernel-features.h>.
31128 [__ASSUME_32BITUIDS]: Make code unconditional.
31129 [!__ASSUME_32BITUIDS]: Remove conditional code.
31130 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31131 <kernel-features.h>.
31132 [__ASSUME_32BITUIDS]: Make code unconditional.
31133 [!__ASSUME_32BITUIDS]: Remove conditional code.
31134 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31135 <kernel-features.h>.
31136 [__ASSUME_32BITUIDS]: Make code unconditional.
31137 [!__ASSUME_32BITUIDS]: Remove conditional code.
31138 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31139 <kernel-features.h>.
31140 [__ASSUME_32BITUIDS]: Make code unconditional.
31141 [!__ASSUME_32BITUIDS]: Remove conditional code.
31142 * sysdeps/unix/sysv/linux/kernel-features.h
31143 (__ASSUME_SETRESUID_SYSCALL): Remove.
31144 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31145 (__ASSUME_32BITUIDS): Likewise.
31146 (__ASSUME_LDT_WORKS): Likewise.
31147 (__ASSUME_O_DIRECTORY): Likewise.
31148 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31149 architecture but not kernel version.
31150 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31151 (__ASSUME_MMAP2_SYSCALL): Likewise.
31152 (__ASSUME_STAT64_SYSCALL): Likewise.
31153 (__ASSUME_IPC64): Likewise.
31154 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31155 <kernel-features.h>.
31156 [__ASSUME_32BITUIDS]: Make code unconditional.
31157 [!__ASSUME_32BITUIDS]: Remove conditional code.
31158 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31159 <kernel-features.h>.
31160 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31161 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31162 132096]: Remove conditional code.
31163 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31164 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31165 <kernel-features.h>.
31166 [__ASSUME_32BITUIDS]: Make code unconditional.
31167 [!__ASSUME_32BITUIDS]: Remove conditional code.
31168 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31169 <kernel-features.h>.
31170 [__ASSUME_32BITUIDS]: Make code unconditional.
31171 [!__ASSUME_32BITUIDS]: Remove conditional code.
31172 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31173 <kernel-features.h>.
31174 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31176 (__setresgid): Do not declare.
31177 [__ASSUME_32BITUIDS]: Make code unconditional.
31178 [!__ASSUME_32BITUIDS]: Remove conditional code.
31179 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31180 <kernel-features.h>.
31181 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31183 (__setresuid): Do not declare.
31184 [__ASSUME_32BITUIDS]: Make code unconditional.
31185 [!__ASSUME_32BITUIDS]: Remove conditional code.
31186 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31187 <kernel-features.h>.
31188 [__ASSUME_32BITUIDS]: Make code unconditional.
31189 [!__ASSUME_32BITUIDS]: Remove conditional code.
31190 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31191 <kernel-features.h>.
31192 [__ASSUME_32BITUIDS]: Make code unconditional.
31193 [!__ASSUME_32BITUIDS]: Remove conditional code.
31195 2012-05-25 Richard Henderson <rth@twiddle.net>
31197 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31198 dl_hwcap to ifunc resolver.
31199 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31201 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31202 dl_hwcap to ifunc resolver.
31203 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31205 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31208 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31209 for |x| <= 2**-26, not 2**-57.
31210 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31213 2012-05-24 Jeff Law <law@redhat.com>
31215 * stdio-common/Makefile (tests): Add bug25.
31216 * stdio-common/bug25.c: New test.
31218 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31221 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31222 multiple of MALLOC_ALIGNMENT in size.
31223 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31225 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31227 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31229 (FILENAME_MAX): Use macro-int-constant.
31230 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31231 (_IOFBF): Use macro-int-constant.
31232 (_IOLBF): Likewise.
31233 (_IONBF): Likewise.
31234 (SEEK_CUR): Likewise.
31235 (SEEK_END): Likewise.
31236 (SEEK_SET): Likewise.
31237 (TMP_MAX): Likewise.
31238 (EOF): Use macro-int-constant. Require < 0.
31239 (NULL): Use macro-constant. Require == 0.
31240 (stdin): Require type to be FILE *.
31241 (stdout): Likewise.
31242 (stderr): Likewise.
31243 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31244 macro-int-constant.
31245 (EXIT_SUCCESS): Likewise.
31246 (NULL): Use macro-constant. Require == 0.
31247 (RAND_MAX): Use macro-int-constant.
31248 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31249 [C99-based standards] (strtof): Require function.
31250 [C99-based standards] (strtold): Likewise.
31251 [C99-based standards] (strtoll): Likewise.
31252 [C99-based standards] (strtoull): Likewise.
31253 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31254 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31255 [ISO || ISO99 || ISO11] (math.h): Likewise.
31256 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31257 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31258 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31260 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31263 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31264 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31265 * intl/dgettext.c (DCGETTEXT): Likewise.
31266 * intl/gettext.c (DCGETTEXT): Likewise.
31267 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31268 * posix/regex_internal.h (gettext): Likewise.
31269 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31270 Remove declaration.
31271 * include/argz.h (__argz_count_internal)
31272 (__argz_stringify_internal): Remove declaration.
31273 (__argz_count, __argz_stringify): Declare hidden proto.
31274 * intl/dcgettext.c: Remove use of INTDEF.
31275 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31276 * string/argz-stringify.c: Likewise.
31277 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31278 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31279 Declare hidden proto.
31280 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31281 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31282 Declare hidden proto.
31283 * include/stdio.h (__asprintf_internal): Don't declare.
31284 (__asprintf): Don't define as macro. Declare hidden proto.
31285 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31286 (__fsetlocking): Declare hidden proto.
31287 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31288 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31290 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31291 (_IO_setlinebuf): Remove use of INTUSE.
31292 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31293 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31294 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31295 Remove declaration.
31296 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31297 (_IO_do_flush): Remove use of INTUSE.
31298 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31299 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31300 (_IO_adjust_column, _IO_least_wmarker)
31301 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31302 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31303 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31304 (_IO_default_doallocate, _IO_wdefault_doallocate)
31305 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31306 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31307 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31308 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31309 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31310 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31311 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31312 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31313 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31314 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31315 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31316 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31317 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31319 (_IO_flush_all_internal, _IO_adjust_column_internal)
31320 (_IO_default_uflow_internal, _IO_default_finish_internal)
31321 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31322 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31323 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31324 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31325 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31326 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31327 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31328 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31329 (_IO_file_close_internal, _IO_file_close_it_internal)
31330 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31331 (_IO_file_init_internal, _IO_file_attach_internal)
31332 (_IO_file_fopen_internal, _IO_file_read_internal)
31333 (_IO_file_sync_internal, _IO_file_seek_internal)
31334 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31335 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31336 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31337 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31338 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31339 (_IO_list_all_internal, _IO_link_in_internal)
31340 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31341 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31342 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31343 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31344 (_IO_do_write_internal, _IO_padn_internal)
31345 (_IO_getline_info_internal, _IO_getline_internal)
31346 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31347 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31348 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31349 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31350 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31351 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31352 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31353 with libc_hidden_ver, remove use of INTUSE.
31354 * libio/genops.c: Likewise.
31355 * libio/freopen.c: Likewise.
31356 * libio/freopen64.c: Likewise.
31357 * libio/iofclose.c: Likewise.
31358 * libio/iofdopen.c: Likewise.
31359 * libio/iofflush.c: Likewise.
31360 * libio/iofflush_u.c: Likewise.
31361 * libio/iofgets.c: Likewise.
31362 * libio/iofgets_u.c: Likewise.
31363 * libio/iofopen.c: Likewise.
31364 * libio/iofopncook.c: Likewise.
31365 * libio/iofread.c: Likewise.
31366 * libio/iofread_u.c: Likewise.
31367 * libio/ioftell.c: Likewise.
31368 * libio/iofwrite.c: Likewise.
31369 * libio/iogetline.c: Likewise.
31370 * libio/iogets.c: Likewise.
31371 * libio/iogetwline.c: Likewise.
31372 * libio/iopadn.c: Likewise.
31373 * libio/iopopen.c: Likewise.
31374 * libio/ioseekoff.c: Likewise.
31375 * libio/ioseekpos.c: Likewise.
31376 * libio/iosetbuffer.c: Likewise.
31377 * libio/iosetvbuf.c: Likewise.
31378 * libio/ioungetc.c: Likewise.
31379 * libio/ioungetwc.c: Likewise.
31380 * libio/iovdprintf.c: Likewise.
31381 * libio/iovsprintf.c: Likewise.
31382 * libio/iovsscanf.c: Likewise.
31383 * libio/memstream.c: Likewise.
31384 * libio/obprintf.c: Likewise.
31385 * libio/oldfileops.c: Likewise.
31386 * libio/oldiofclose.c: Likewise.
31387 * libio/oldiofdopen.c: Likewise.
31388 * libio/oldiofopen.c: Likewise.
31389 * libio/oldiopopen.c: Likewise.
31390 * libio/oldstdfiles.c: Likewise.
31391 * libio/putc.c: Likewise.
31392 * libio/setbuf.c: Likewise.
31393 * libio/setlinebuf.c: Likewise.
31394 * libio/stdfiles.c: Likewise.
31395 * libio/strops.c: Likewise.
31396 * libio/vasprintf.c: Likewise.
31397 * libio/vscanf.c: Likewise.
31398 * libio/vsnprintf.c: Likewise.
31399 * libio/vswprintf.c: Likewise.
31400 * libio/wfiledoalloc.c: Likewise.
31401 * libio/wfileops.c: Likewise.
31402 * libio/wgenops.c: Likewise.
31403 * libio/wmemstream.c: Likewise.
31404 * libio/wstrops.c: Likewise.
31405 * libio/__fpurge.c: Likewise.
31406 * libio/__fsetlocking.c: Likewise.
31407 * assert/assert.c: Likewise.
31408 * debug/fgets_chk.c: Likewise.
31409 * debug/fgets_u_chk.c: Likewise.
31410 * debug/fread_chk.c: Likewise.
31411 * debug/fread_u_chk.c: Likewise.
31412 * debug/gets_chk.c: Likewise.
31413 * debug/obprintf_chk.c: Likewise.
31414 * debug/vasprintf_chk.c: Likewise.
31415 * debug/vdprintf_chk.c: Likewise.
31416 * debug/vsnprintf_chk.c: Likewise.
31417 * debug/vsprintf_chk.c: Likewise.
31418 * malloc/mtrace.c: Likewise.
31419 * misc/error.c: Likewise.
31420 * misc/syslog.c: Likewise.
31421 * stdio-common/asprintf.c: Likewise.
31422 * stdio-common/fxprintf.c: Likewise.
31423 * stdio-common/getw.c: Likewise.
31424 * stdio-common/isoc99_fscanf.c: Likewise.
31425 * stdio-common/isoc99_scanf.c: Likewise.
31426 * stdio-common/isoc99_vfscanf.c: Likewise.
31427 * stdio-common/isoc99_vscanf.c: Likewise.
31428 * stdio-common/isoc99_vsscanf.c: Likewise.
31429 * stdio-common/printf-prs.c: Likewise.
31430 * stdio-common/printf_fp.c: Likewise.
31431 * stdio-common/printf_fphex.c: Likewise.
31432 * stdio-common/printf_size.c: Likewise.
31433 * stdio-common/putw.c: Likewise.
31434 * stdio-common/scanf.c: Likewise.
31435 * stdio-common/sprintf.c: Likewise.
31436 * stdio-common/tmpfile.c: Likewise.
31437 * stdio-common/vfprintf.c: Likewise.
31438 * stdio-common/vfscanf.c: Likewise.
31439 * stdlib/strfmon_l.c: Likewise.
31440 * sunrpc/openchild.c: Likewise.
31441 * sunrpc/xdr_stdio.c: Likewise.
31442 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31443 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31445 2012-05-24 Roland McGrath <roland@hack.frob.com>
31447 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31449 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31450 in the third column, to generate for the shared library an IFUNC
31451 that uses _dl_vdso_vsym.
31452 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31453 * Makeconfig (object-suffixes-noshared): New variable.
31455 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31456 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31457 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31458 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31461 * include/sys/time.h (__gettimeofday): Remove macro.
31462 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31463 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31465 (__gettimeofday): Add libc_hidden_def.
31466 (gettimeofday): Add libc_hidden_weak.
31467 * sysdeps/mach/gettimeofday.c: Likewise.
31468 * sysdeps/posix/gettimeofday.c: Likewise.
31469 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31470 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31471 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31472 (__gettimeofday_internal): Remove strong_alias.
31473 (__gettimeofday): Add libc_hidden_def.
31474 (gettimeofday): Add libc_hidden_weak.
31475 * sysdeps/unix/syscalls.list (gettimeofday):
31476 Remove __gettimeofday_internal alias.
31478 2012-05-24 Daniel Jacobowitz <drow@false.org>
31479 H.J. Lu <hongjiu.lu@intel.com>
31482 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31483 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31484 (largebin_index_32_big): New.
31485 (largebin_index): Use it for 16-byte alignment.
31486 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31487 correction with front_misalign.
31489 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31517 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31518 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31520 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31524 * math/libm-test.inc (exp_test): Add test from bug 14036.
31525 (pow_test): Add test from bug 10846.
31527 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31529 (special_function): Do not include flags in test name.
31530 (parse_args): Likewise.
31531 * sysdeps/i386/fpu/libm-test-ulps: Update.
31532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31533 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31534 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31537 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31539 * math/libm-test.inc ("Philosophy"): Update comment about
31541 (UNDERFLOW_EXCEPTION): New macro.
31542 (UNDERFLOW_EXCEPTION_OK): Likewise.
31543 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31544 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31545 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31546 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31547 (INVALID_EXCEPTION_OK): Update value.
31548 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31549 (OVERFLOW_EXCEPTION_OK): Likewise.
31550 (IGNORE_ZERO_INF_SIGN): Likewise.
31551 (test_exceptions): Handle underflow exceptions.
31552 (acos_test): Update for underflow exception expectations.
31553 (cexp_test): Likewise.
31554 (clog_test): Likewise.
31555 (clog10_test): Likewise.
31556 (csqrt_test): Likewise.
31557 (ctan_test): Likewise.
31558 (ctanh_test): Likewise.
31559 (exp_test): Likewise.
31560 (exp10_test): Likewise.
31561 (exp2_test): Likewise.
31562 (expm1_test): Likewise.
31563 (fma_test): Likewise.
31564 (j0_test): Likewise.
31565 (jn_test): Likewise.
31566 (nexttoward_test): Likewise.
31567 (pow_test): Likewise.
31568 (scalbn_test): Likewise.
31569 (scalbln_test): Likewise.
31570 (tan_test): Likewise.
31571 (y1_test): Likewise.
31572 * sysdeps/i386/fpu/libm-test-ulps: Update.
31573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31575 2012-05-23 David S. Miller <davem@davemloft.net>
31577 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31578 (__libc_sigaction): Remove unused local variables.
31580 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31582 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31584 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31586 mktime: avoid signed integer overflow
31587 * time/mktime.c (__mktime_internal): Do not mishandle the case
31588 where diff == INT_MIN.
31590 mktime: simplify computation of average
31591 * time/mktime.c (ranged_convert): Use new time_t_avg function
31592 instead of rolling our own (probably-slower) code.
31594 mktime: do not assume signed right shift propagates sign bit
31595 * time/mktime.c (isdst_differ): New static function.
31596 (__mktime_internal): No need to normalize tm_isdst now.
31597 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31600 mktime: merge another wrapv change from gnulib
31601 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31602 from some compilers.
31604 mktime: remove incorrect attempt at unusual arithmetics
31605 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31606 The code didn't really work on such machines anyway.
31607 (TYPE_MINIMUM): Assume two's complement.
31608 (twos_complement_arithmetic): Verify that long_int and time_t
31609 are two's complement (or unsigned, in the latter case).
31611 mktime: check signed shifts on long_int and time_t, too
31612 * time/mktime.c (SHR): Check that shifts work as desired
31613 on the types long_int and time_t too, as SHR is used on
31616 mktime: do not assume 'long' is wide enough
31617 * time/mktime.c (verify): Move decl up.
31618 (long_int): New type.
31619 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31620 to remove assumption in the code that 'long' is wide enough to
31621 store year values. This assumption is not true on x32 and on
31622 some non-glibc platforms.
31624 mktime: merge wrapv change from gnulib
31625 * time/mktime.c (WRAPV): New macro.
31626 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31627 (guess_time_tm, __mktime_internal): Do not assume that signed
31628 integer overflow wraps around; modern compilers generate code
31629 where this assumption is no longer valid.
31631 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31633 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31634 Replace "jmp L(pseudo_end)" with "ret".
31635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31638 2012-05-23 Andreas Jaeger <aj@suse.de>
31640 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31641 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31643 2012-05-23 Andreas Jaeger <aj@suse.de>
31644 Maximilian Attems <max@stro.at>
31646 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31649 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31652 code so that pseudo_end is just ret and the stack pointer is
31653 correct also for static library in error case.
31655 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31657 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31658 move to syscalls.list.
31659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31664 * manual/install.texi (Running make install): Do not mention Linux
31665 kernel version for which pt_chown is not needed.
31666 (Linux): Do not mention problems with nscd with 2.0 kernels.
31667 * INSTALL: Regenerated.
31669 2012-05-23 Andreas Jaeger <aj@suse.de>
31671 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31672 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31674 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31676 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31677 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31678 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31679 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31680 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31681 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31682 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31683 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31684 * sysdeps/unix/sysv/linux/bits/in.h
31685 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31687 2012-05-22 Roland McGrath <roland@hack.frob.com>
31689 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31690 (PREPARE_VERSION): Just use assert instead, it will be elided
31691 under [NDEBUG] anyway.
31693 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31695 * sysdeps/unix/sysv/linux/Makefile: Include
31696 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31697 (sysdep_routines): Remove sysctl.
31698 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31699 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31700 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31701 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31702 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31704 2012-05-22 Andreas Jaeger <aj@suse.de>
31706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31707 that pseudo_end is just ret and the stack pointer is correct also
31708 for static library in error case.
31710 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31713 * nss/nsswitch.c (defconfig_entries): New variable.
31714 (__nss_database_lookup): Don't leak defconfig entries.
31715 (nss_parse_service_list): Don't leak on error paths.
31716 (free_database_entries): New function.
31717 (free_defconfig): New function.
31718 (free_mem): Move common code to free_database_entries.
31720 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31722 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31724 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31726 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31727 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31730 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31731 (INTERNAL_SYSCALL_TYPES): Likewise.
31732 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31733 (LOAD_REGS_TYPES_[1-6]): Likewise.
31734 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31735 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31737 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31739 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31740 copysignl for GLIBC_2_0.
31741 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31742 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31744 logbl for GLIBC_2_0.
31745 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31746 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31748 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31751 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31753 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31756 * time/mktime.c: Update copyright years.
31758 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31760 mktime: merge comment-quoting-style change from gnulib
31761 * time/mktime.c: Quote 'like this' in comments.
31762 The GNU coding standards suggest that we no longer quote `like this',
31763 as "`" and "'" are typically rendered asymmetrically nowadays.
31764 The typical gnulib style is to quote 'like this' when quoting
31765 code, and "like this" when quoting English.
31767 * time/mktime.c (compile-command): Add "-I.".
31769 mktime: merge mktime-internal.h change from gnulib
31770 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31772 mktime: merge time_r change from gnulib
31773 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31775 mktime: merge DEBUG change from gnulib
31776 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31777 case system <time.h> has a #define.
31779 mktime: merge <sys/types.h> change from gnulib
31780 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31781 since <time.t> is now guaranteed to define time_t.
31783 mktime: merge HAVE_CONFIG_H change from gnulib
31784 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31786 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31791 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31793 (struct rusage): Use anonymous union to pad each field to
31796 2012-05-21 David S. Miller <davem@davemloft.net>
31798 * Makefules (o-iterator): Remove .s cases.
31799 (compile-command.s): Delete.
31800 (COMPILE.s): Delete.
31801 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31803 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31805 * configure.in (libc_cv_predef_stack_protector): Only consider
31806 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31807 * configure: Regenerated.
31809 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31811 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31812 New macro. Use R*LP on int and pointer.
31813 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31814 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31815 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31818 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31819 [__WORDSIZE_TIME64_COMPAT32] instead of
31820 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31821 (struct utmp): Likewise.
31822 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31823 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31825 (__WORDSIZE_TIME64_COMPAT32): This.
31826 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31827 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31828 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31829 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31830 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31831 (__WORDSIZE_TIME64_COMPAT32): New macro.
31833 2012-05-21 Andreas Jaeger <aj@suse.de>
31835 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31836 only if [SHARED]. Add prototype for __wcschr_ia32.
31838 2012-05-21 Roland McGrath <roland@hack.frob.com>
31840 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31841 of %rbp unmolested in the jmp_buf while mangling the low bits.
31842 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31843 unmolested high bits of %rbp while demangling the low bits.
31844 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31846 2012-05-21 Andreas Jaeger <aj@suse.de>
31848 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31849 * sunrpc/svc_simple.c: Use it for registerrpc.
31850 * sunrpc/xcrypt.c: Use it for passwd2des.
31852 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31854 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31856 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31857 Don't define if [__SYSCALL_WORDSIZE != 32].
31858 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31861 2012-05-21 Bruno Haible <bruno@clisp.org>
31862 Andreas Jaeger <aj@suse.de>
31864 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31865 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31866 inptr and inend for must_buffer_ch.
31867 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31868 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31869 * stdio-common/Makefile (tests): Remove bug15.
31870 (bug15-ENV): Remove macro.
31871 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31874 2012-05-19 Andreas Jaeger <aj@suse.de>
31875 Roland McGrath <roland@hack.frob.com>
31877 * manual/contrib.texi: Completely rewritten. It contains now an
31878 alphabetical list of contributors and their contributions.
31880 2012-05-21 Richard Henderson <rth@twiddle.net>
31882 * misc/getauxval.c (__getauxval): Use unsigned long int.
31883 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31884 (getauxval): Use unsigned long int.
31886 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31888 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31890 2012-05-21 Roland McGrath <roland@hack.frob.com>
31892 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31893 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31894 __alignof__ (long double).
31896 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31900 2012-05-20 Richard Henderson <rth@twiddle.net>
31902 * misc/getauxval.c: New file.
31903 * misc/sys/auxv.h: New file.
31904 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31905 (routines): Add getauxval.
31906 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31907 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31908 * elf/dl-sysdep.c (_dl_auxv): Remove.
31909 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31910 * elf/dl-support.c (_dl_auxv): New variable.
31911 (_dl_aux_init): Initialize it.
31912 * manual/startup.texi (Auxiliary Vector): New node.
31913 * sysdeps/generic/bits/hwcap.h: New file.
31914 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31915 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31916 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31917 * sysdeps/sparc/sysdep.h: ... here. Include it.
31918 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31931 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31935 2012-05-19 David S. Miller <davem@davemloft.net>
31937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31939 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31942 * math/s_ccosh.c: Include <float.h>
31943 (__ccosh): Avoid internal overflow calculating sinh and cosh
31944 values before multiplying by sin and cos values.
31945 * math/s_ccoshf.c: Likewise.
31946 * math/s_ccoshl.c: Likewise.
31947 * math/s_csin.c: Likewise.
31948 * math/s_csinf.c: Likewise.
31949 * math/s_csinl.c: Likewise.
31950 * math/s_csinh.c: Likewise.
31951 * math/s_csinhf.c: Likewise.
31952 * math/s_csinhl.c: Likewise.
31953 * math/libm-test.inc (ccos_test): Add more tests.
31954 (ccosh_test): Likewise.
31955 (csin_test): Likewise.
31956 (csinh_test): Likewise.
31957 * sysdeps/i386/fpu/libm-test-ulps: Update.
31958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31960 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31963 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31965 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31967 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31969 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31970 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31971 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31972 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31973 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31974 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31975 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31976 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31977 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31978 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31979 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31980 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31981 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31982 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31983 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31984 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31985 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31986 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31987 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31988 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31989 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31990 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31991 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31992 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31993 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31994 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31995 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31996 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31997 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31998 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31999 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32001 2012-05-18 Andreas Jaeger <aj@suse.de>
32003 * csu/.gitignore: Delete.
32005 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32007 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32008 (timex): Use __syscall_slong_t.
32010 2012-05-18 Andreas Jaeger <aj@suse.de>
32011 Carlos O'Donell <carlos_odonell@mentor.com>
32013 * manual/install.texi (Configuring and compiling): Update
32014 description about files modified in the source directory.
32015 * INSTALL: Regenerated.
32017 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32019 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32020 value. Use "or" to set return value to -1.
32021 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32022 negate return value.
32024 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32026 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32027 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32028 failure if the compiler has Graphite support disabled.
32029 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32031 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32032 (CFLAGS-memmove.c): Likewise.
32033 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32036 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32038 * sysdeps/x86_64/x32/_itoa.h: New file.
32040 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32041 getdents system call only if kernel and user dirents have the
32042 same d_ino and d_off.
32044 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32045 LLONG_MAX != LONG_MAX.
32046 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32047 (_fitoa_word): Likewise.
32049 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32052 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32053 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32055 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32056 include <bits/wordsize.h>. Check __x86_64__ instead of
32058 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32059 if __x86_64__ is defined. Use anonymous union on fpstate.
32061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32064 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32066 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32067 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32068 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32069 Refer to _rtld_local_ro instead of _rtld_global_ro.
32070 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32072 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32074 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32076 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32077 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32078 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32080 * sysdeps/powerpc/powerpc32/dl-machine.c
32081 (__elf_machine_runtime_setup) [PROF]: Don't reference
32084 2012-05-18 Andreas Jaeger <aj@suse.de>
32086 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32087 function only available for GCCs before 3.4 since GCC 3.4
32088 introduced a builtin.
32090 (llrintf): Likewise.
32091 (llrint): Likewise.
32098 (nearbyint): Likewise.
32099 (nearbyintf): Likewise.
32103 (floorf): Likewise.
32105 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32107 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32108 on both fields and cast pointer to __syscall_ulong_t.
32110 * bits/types.h (__fsword_t): New type.
32111 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32112 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32113 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32114 (__FSWORD_T_TYPE): Likewise.
32115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32116 (__FSWORD_T_TYPE): Likewise.
32117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32118 (__FSWORD_T_TYPE): Likewise.
32119 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32120 (__FSWORD_T_TYPE): Likewise.
32121 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32122 __SWORD_TYPE with __fsword_t.
32123 (statfs64): Likewise.
32125 2012-05-17 David S. Miller <davem@davemloft.net>
32127 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32129 2012-05-17 Andreas Jaeger <aj@suse.de>
32131 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32134 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32136 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32138 2012-05-17 Andreas Jaeger <aj@suse.de>
32140 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32143 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32145 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32147 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32149 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32150 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32152 2012-05-17 Andreas Jaeger <aj@suse.de>
32153 Carlos O'Donell <carlos_odonell@mentor.com>
32156 * sysdeps/x86_64/multiarch/init-arch.h
32157 (bit_YMM_Usable): Rename to...
32158 (bit_AVX_Usable): ... this.
32159 (bit_FMA4_Usable): New macro.
32160 (bit_XMM_state): New macro.
32161 (bit_YMM_state): New macro.
32162 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32163 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32164 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32165 (CPUID_OSXSAVE): New macro.
32166 (CPUID_AVX): New macro.
32167 (CPUID_FMA4): New macro.
32168 (index_YMM_Usable): Rename to...
32169 (index_AVX_Usable): ... this.
32170 (HAS_AVX): Use HAS_ARCH_FEATURE.
32171 (HAS_FMA4): Likewise.
32172 (HAS_YMM_USABLE): Remove.
32173 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32174 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32176 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32177 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32178 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32179 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32180 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32182 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32184 * math/libm-test.c: Support platforms without multiple rounding modes.
32185 * math/bug-nextafter.c: Support platforms without FP exceptions.
32186 * math/bug-nexttoward.c: Likewise.
32187 * math/test-fenv.c: Likewise.
32188 * math/test-misc.c: Likewise.
32189 * stdlib/bug-getcontext.c: Likewise.
32191 2012-05-17 Andreas Jaeger <aj@suse.de>
32193 * manual/examples/search.c (critter_cmp): Change signature to
32195 * manual/string.texi (Collation Functions): Likewise.
32197 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32199 * bits/types.h: Fold copyright years.
32200 * bits/typesizes.h: Likewise.
32201 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32205 * time/time.h: Likewise.
32207 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32210 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32211 in instead of returning them. Return void.
32212 (__libc_mallinfo): Accumulate over all arenas.
32213 (__malloc_stats): Adjust for change in int_mallinfo interface.
32215 2012-05-16 Roland McGrath <roland@hack.frob.com>
32218 * configure.in (NM): Add AC_CHECK_TOOL for it.
32219 (libc_extra_cflags): New substituted variable.
32220 Check for -fstack-protector being used implicitly.
32221 * configure: Regenerated.
32222 * config.make.in (config-extra-cflags): New variable,
32223 gets @libc_extra_cflags@.
32224 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32227 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32228 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32229 * configure: Regenerated.
32230 * config.make.in (CPPUNDEFS): New substituted variable.
32231 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32232 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32233 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32235 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32237 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32238 (mq_attr): Use __syscall_slong_t.
32240 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32242 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32243 Check __x86_64__ instead of __WORDSIZE.
32244 (_STAT_VER_LINUX): Likewise.
32245 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32246 __syscall_ulong_t and __syscall_slong_t.
32247 (stat64): Likewise.
32249 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32251 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32253 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32255 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32257 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32259 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32262 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32263 include <bits/wordsize.h>. Check __x86_64__ instead of
32265 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32267 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32269 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32270 include <bits/wordsize.h>. Check __x86_64__ instead of
32272 (user_regs_struct): Use "__extension__ unsigned long long"
32273 instead of "unsigned long" if __x86_64__ is defined.
32274 (user): Likewise. Pad after pointer field if __ILP32__ is
32277 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32279 * configure.in (makeinfo): Require version 4.5 or later. Allow
32281 * configure: Regenerated.
32282 * manual/install.texi (texinfo): Increase version requirement to
32284 * INSTALL: Regenerated.
32286 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32288 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32290 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32292 * sysdeps/x86_64/x32/ffs.c: New file.
32294 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32296 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32297 defined. Use __syscall_ulong_t.
32298 (shminfo): Use __syscall_ulong_t.
32299 (shm_info): Likewise.
32301 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32304 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32306 (msgqnum_t): Use __syscall_ulong_t.
32307 (msglen_t): Likewise.
32308 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32311 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32312 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32314 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32316 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32317 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32319 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32322 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32323 include <bits/wordsize.h>. Check __x86_64__ instead of
32326 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32327 "unsigned long long int" if __x86_64__ is defined.
32328 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32330 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32331 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32332 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32334 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32336 (GET_PC): Cast to uintptr_t first.
32337 (GET_FRAME): Likewise.
32338 (GET_STACK): Likewise.
32340 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32341 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32342 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32347 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32350 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32351 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32352 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32353 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32354 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32355 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32356 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32357 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32358 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32359 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32362 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32364 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32365 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32366 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32367 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32368 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32370 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32372 * Makerules (+depfiles): Also collect depfiles from .oS in
32374 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32375 .oS, $(libnldbl-routines)).
32377 * Makerules (native-compile-mkdep-flags): Define.
32378 * sunrpc/Makefile (extra-objs): Add $(addprefix
32379 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32380 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32381 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32382 calling $(make-target-directory).
32384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32386 * bits/types.h (__snseconds_t): Removed.
32387 * time/time.h (struct timespec): Replace __snseconds_t with
32389 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32390 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32393 (__SNSECONDS_T_TYPE): Likewise.
32394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32395 (__SNSECONDS_T_TYPE): Likewise.
32396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32397 (__SNSECONDS_T_TYPE): Likewise.
32399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32401 * sysdeps/mach/hurd/bits/typesizes.h
32402 (__SYSCALL_SLONG_TYPE): New macro.
32403 (__SYSCALL_ULONG_TYPE): Likewise.
32405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32407 * bits/types.h (__syscall_slong_t): New type.
32408 (__syscall_ulong_t): Likewise.
32410 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32411 (__SYSCALL_ULONG_TYPE): Likewise.
32412 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32413 (__SYSCALL_SLONG_TYPE): Likewise.
32414 (__SYSCALL_ULONG_TYPE): Likewise.
32415 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32416 (__SYSCALL_SLONG_TYPE): Likewise.
32417 (__SYSCALL_ULONG_TYPE): Likewise.
32418 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32419 (__SYSCALL_SLONG_TYPE): Likewise.
32420 (__SYSCALL_ULONG_TYPE): Likewise.
32422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32424 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32425 Add sigaltstack-offsets.sym.
32426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32427 <sigaltstack-offsets.h>.
32428 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32429 longjmp_msg pointer.
32430 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32431 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32433 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32435 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32437 * elf/stackguard-macros.h: Remove file.
32438 * sysdeps/generic/stackguard-macros.h: New file.
32439 * sysdeps/i386/stackguard-macros.h: Likewise.
32440 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32441 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32442 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32443 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32444 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32445 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32446 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32447 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32448 <elf/stackguard-macros.h>.
32451 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32452 __aligned__ in attribute.
32453 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32454 (gregset_t): Likewise.
32456 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32458 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32459 * sysdeps/x86_64/64/Implies-after: Here. New file.
32460 * sysdeps/x86_64/x32/Implies-after: New file.
32462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32464 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32465 and access return value for _dl_profile_fixup. Use R10_LP to
32468 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32470 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32474 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32475 * sysdeps/x86_64/x32/sysdep.h: New file.
32477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32479 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32480 * sysdeps/x86_64/setjmp.S: Likewise.
32482 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32484 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32485 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32486 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32487 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32488 remove unused global constant.
32490 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32492 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32493 include of <not-cancel.h>.
32495 2012-05-15 Roland McGrath <roland@hack.frob.com>
32497 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32499 2012-05-15 Jeff Law <law@redhat.com>
32500 Andreas Jaeger <aj@suse.de>
32503 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32505 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32506 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32507 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32508 code changing __hst_map_handle.map.
32510 2012-05-15 Roland McGrath <roland@hack.frob.com>
32512 * configure.in (sysnames): Look for Implies-before and Implies-after
32514 * configure: Regenerated.
32516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32518 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32519 8-byte data alignment with LP_SIZE alignment.
32521 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32528 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32530 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32532 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32533 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32536 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32540 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32541 (stackinfo_sub_sp): Likewise.
32543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32550 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32555 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32558 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32560 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32564 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32565 into R11_LP and load __x86_64_shared_cache_size_half into
32568 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32573 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32579 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32582 powerpc32/power7/fpu/s_logb.c via #include.
32583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32584 powerpc32/power7/fpu/s_logbf.c via #include.
32585 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32586 powerpc32/power7/fpu/s_logbl.c via #include.
32588 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32590 * README.libm: Remove file.
32592 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32594 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32595 count for x32. Use R*_LP and omit operand-size suffix.
32597 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32599 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32600 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32601 * sysdeps/x86_64/x32/shlib-versions: New file.
32603 2012-05-14 Roland McGrath <roland@hack.frob.com>
32605 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32606 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32607 Use _dl_fatal_printf instead.
32609 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32611 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32612 set if not set by the user. Do not allow for being unset.
32613 * sysdeps/unix/sysv/linux/configure: Regenerated.
32615 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32617 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32618 the `q' suffix from lea and replace .quad with ASM_ADDR.
32620 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32623 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32625 (PTR_DEMANGLE): Likewise.
32627 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32629 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32631 (ASM_ADDR): Likewise.
32632 (RAX_LP): Likewise.
32633 (RBP_LP): Likewise.
32634 (RBX_LP): Likewise.
32635 (RCX_LP): Likewise.
32636 (RDI_LP): Likewise.
32637 (RSI_LP): Likewise.
32638 (RSP_LP): Likewise.
32641 (R10_LP): Likewise.
32642 (R10_LP): Likewise.
32643 (R11_LP): Likewise.
32644 (R12_LP): Likewise.
32645 (R13_LP): Likewise.
32646 (R14_LP): Likewise.
32647 (R15_LP): Likewise.
32649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32651 * sysdeps/x86_64/x32/dl-machine.h: New file.
32653 2012-05-14 Andreas Jaeger <aj@suse.de>
32655 * manual/Makefile (subdir): Remove export of subdir.
32656 (all): Remove target.
32657 (.PHONY): Remove all from list.
32658 (mkinstalldirs): Remove.
32659 (.PHONY): Remove installdirs from list.
32660 ($(inst_infodir)/libc.info): Use make-target-directory.
32661 (installdirs): Remove.
32662 (subdir_%): Remove.
32663 (glibc-targets): Remove.
32666 ($(objpfx)stubs ../po/manual.pot): Remove.
32667 ($(objpfx)stamp%): Remove.
32668 (make-target-directory): Remove.
32669 (subdir_install): Remove.
32670 (routines): Remove.
32677 * manual/.gitignore: Remove, it's not needed anymore.
32678 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32680 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32682 (texis): Renamed to $(objpfx)texis.
32683 (texis-path): New, contains path to generated files.
32684 (chapters.%): Use texis-path for complete path, add extra argument
32686 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32687 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32688 (summary,texi, stamp-summary): Use complete path of
32689 files. Generate files in build dir.
32690 (dir-add.texi): Build in build dir.
32691 (libm-err.texi,stamp-libm-err): Likewise.
32692 (version.texi, stamp-version): Likewise.
32693 (.%c.texi): Likewise.
32694 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32695 (mostlyclean): Remove target.
32696 (realclean): Remove target.
32697 (generated): Add new variable with contents from mostlyclean and
32698 realclean, remove entries duplicated in common-mostlyclean, add
32699 stamp-libm-err and stamp-version.
32700 (generated-dirs): Add libc directory.
32701 ($(inst_infodir)/libc.info): Install files from build dir.
32703 * manual/install.texi (Configuring and compiling): Adjust since
32704 the info files are not part of the tar ball anymore.
32706 2012-05-14 Andreas Jaeger <aj@suse.de>
32708 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32711 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32715 to 2.2.0 where earlier.
32716 * sysdeps/unix/sysv/linux/configure: Regenerated.
32717 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32718 Remove conditional code.
32719 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32720 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32721 Remove conditional code.
32722 [!__NR_lchown]: Likewise.
32723 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32724 [__NR_lchown]: Likewise.
32725 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32726 comment referencing __ASSUME_LCHOWN_SYSCALL.
32727 * sysdeps/unix/sysv/linux/i386/sigaction.c
32728 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32729 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32730 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32731 Remove conditional code.
32732 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32733 (__protocol_available): Remove #if 0 code.
32734 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32736 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32737 * sysdeps/unix/sysv/linux/kernel-features.h
32738 (__ASSUME_GETCWD_SYSCALL): Don't define.
32739 (__ASSUME_REALTIME_SIGNALS): Likewise.
32740 (__ASSUME_PREAD_SYSCALL): Likewise.
32741 (__ASSUME_PWRITE_SYSCALL): Likewise.
32742 (__ASSUME_POLL_SYSCALL): Likewise.
32743 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32744 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32746 (__ASSUME_SIOCGIFNAME): Don't define.
32747 (__ASSUME_MSG_NOSIGNAL): Likewise.
32748 (__ASSUME_SENDFILE): Define unconditionally.
32749 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32750 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32752 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32753 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32754 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32755 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32756 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32757 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32758 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32763 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32764 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32769 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32770 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32772 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32775 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32776 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32778 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32779 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32781 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32782 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32783 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32784 Remove conditional code.
32785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32786 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32787 Remove conditional code.
32788 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32789 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32790 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32791 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32792 Remove conditional code.
32793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32794 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32795 Remove conditional code.
32796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32797 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32798 Remove conditional code.
32799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32800 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32801 Remove conditional code.
32802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32803 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32804 Remove conditional code.
32805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32806 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32809 * sysdeps/unix/sysv/linux/sigaction.c
32810 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32811 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32812 * sysdeps/unix/sysv/linux/sigpending.c
32813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32815 * sysdeps/unix/sysv/linux/sigprocmask.c
32816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32818 * sysdeps/unix/sysv/linux/sigsuspend.c
32819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32821 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32822 (__libc_missing_rt_sigs): Remove.
32823 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32824 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32825 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32826 Remove conditional code.
32827 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32828 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32830 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32831 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32832 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32833 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32835 2012-05-14 Andreas Jaeger <aj@suse.de>
32837 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32838 it's not used in glibc.
32839 (__coshm1): Likewise.
32840 (__acosh1p): Likewise.
32843 * manual/string.texi (Copying and Concatenation): Add missing
32844 variable in concat example.
32845 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32847 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32851 __builtin_clzl with __builtin_clzll.
32853 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32856 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32859 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32861 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32862 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32863 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32866 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32868 * NEWS: Update ia64 info.
32870 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32872 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32875 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32877 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32878 * sysdeps/unix/syscalls.list (dup3): Likewise.
32879 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32880 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32882 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32884 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32885 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32887 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32889 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32891 (TLS_IE): Use mov/add instead of movq/addq to load thread
32893 (TLS_GD_PREFIX): New.
32896 2012-05-11 David S. Miller <davem@davemloft.net>
32898 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32899 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32900 (_FPU_SETCW): Likewise.
32902 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32904 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32905 is 32-byte aligned.
32907 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32910 * iconvdata/gb18030.c: Update tables.
32911 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32912 characters specially.
32913 (BODY for TO_LOOP): Add encoding of missing ranges.
32915 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32918 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32919 * sysdeps/mach/hurd/dup3.c: Likewise.
32920 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32921 * sysdeps/powerpc/memmove.c:: Likewise.
32923 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32926 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32928 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32930 * elf/elf.h (R_X86_64_RELATIVE64): New.
32931 (R_X86_64_NUM): Updated.
32932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32933 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32934 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32935 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32936 tst-quad1pie tst-quad2pie
32937 (modules-names): Add tst-quadmod1 tst-quadmod2.
32938 ($(objpfx)tst-quad1): New dependency.
32939 ($(objpfx)tst-quad2): Likewise.
32940 ($(objpfx)tst-quad1pie): Likewise.
32941 ($(objpfx)tst-quad2pie): Likewise.
32942 * sysdeps/x86_64/tst-quad1.c: New file.
32943 * sysdeps/x86_64/tst-quad1pie.c: New file.
32944 * sysdeps/x86_64/tst-quad2.c: Likewise.
32945 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32946 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32947 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32948 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32949 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32951 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32953 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32954 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32955 * streams/stropts.h (t_scalar_t): Define type.
32957 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32958 (_PATH_PRESERVE): Set to "/var/lib".
32959 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32961 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32964 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32965 if __dir_mkfile succeeded.
32967 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32968 checking for _hurd_dtablesize. Unlock it right after having
32969 finished _hurd_dtable allocation.
32971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32973 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32974 * sysdeps/mach/hurd/configure: Regenerated.
32975 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32976 special-casing to...
32977 * sysdeps/gnu/configure.in: ... this new file.
32978 * sysdeps/unix/sysv/linux/configure: Regenerated.
32979 * sysdeps/gnu/configure: New generated file.
32981 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32982 for Linux: use nsec instead of usec, as well as:
32983 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32984 members of type struct timespec.
32985 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32987 (struct stat64): Likewise.
32988 (_STATBUF_ST_NSEC): New macro.
32989 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32991 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32992 __strtoul_internal rather than strtoul.
32994 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32996 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33001 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33002 which preserves existing values.
33003 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33005 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33007 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33008 TIMEOUT values. Return EINVAL for NFDS values either negative or
33009 greater than FD_SETSIZE.
33011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33013 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33014 allocated, call __vm_protect to finish enabling the existing space, and
33015 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33016 allocate the remainder.
33018 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33020 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33021 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33023 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33025 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33026 sysdeps/mach/hurd/readlink.c.
33028 * posix/tst-sysconf.c (posix_options): Only use
33029 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33030 _POSIX_SYNCHRONIZED_IO when they are defined
33031 * sysdeps/mach/hurd/bits/posix_opt.h:
33032 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33033 (_XOPEN_REALTIME): Undefine macro.
33034 (_XOPEN_REALTIME_THREADS): Undefine macro.
33035 (_XOPEN_SHM): Undefine macro.
33036 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33038 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33040 (_POSIX_ASYNC_IO): Undefine macro.
33041 (_POSIX_PRIORITIZED_IO): Undefine macro.
33042 (_POSIX_SPIN_LOCKS): Define macro to -1.
33044 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33045 SA_NODEFER, SA_RESETHAND.
33046 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33047 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33050 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33052 * elf/Makefile (pldd-modules): Define unconditionally.
33054 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33056 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33060 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33061 Return ENOENT when name is empty.
33062 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33064 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33066 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33068 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33072 Fix mlock in all cases except non-readable pages.
33073 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33074 instead of VM_PROT_ALL as parameter to __vm_wire function.
33076 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33077 (__mkdir): When path is `/', just fail with EEXIST.
33078 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33080 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33082 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33083 <sys/uio.h> (for writev).
33084 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33085 and <sys/param.h> (for MIN).
33087 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33089 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33090 REQUESTED_TIME. Properly set the remaining time and return EINTR
33093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33095 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33096 Depend on against $(link-rpcuserlibs).
33098 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33100 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33101 (__libc_stack_end): Do not use attribute_relro.
33102 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33103 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33104 to libthread-provided value.
33105 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33111 * bits/libc-lock.h (__libc_once_get): New macro.
33112 * sysdeps/mach/bits/libc-lock.h: Likewise.
33113 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33114 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33115 instead of using implementation details.
33117 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33118 * libio/freopen.c: Likewise.
33119 * libio/freopen64.c: Likewise.
33120 * misc/syslog.c: Likewise.
33121 * nscd/connections.c: Likewise.
33122 * nscd/netgroupcache.c: Likewise.
33123 * sysdeps/posix/getcwd.c: Likewise.
33125 2012-05-10 Roland McGrath <roland@hack.frob.com>
33127 * math/w_ilogbf.c: Add #include <limits.h>.
33129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33131 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33132 path instead of returning without unlocking.
33134 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33135 immediate-write ioctls.
33136 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33138 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33140 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33141 __builtin_frame_address instead of making assumptions about the
33142 location of the return address relative to DATA. Force early load of
33143 the return address.
33144 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33145 __builtin_frame_address.
33148 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33149 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33150 implement dup3 and do some further code clean-ups.
33151 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33152 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33154 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33156 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33158 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33159 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33160 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33161 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33162 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33165 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33166 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33167 when handler == SIG_ERR, not when handler != SIG_ERR.
33169 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33171 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33172 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33175 accept4 for GNU Hurd.
33176 * include/sys/socket.h (__libc_accept4): New prototype.
33177 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33178 to implement __libc_accept4.
33179 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33181 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33183 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33184 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33185 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33186 signal-defines.sym.
33188 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33190 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33192 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33194 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33195 assertion on O_CLOEXEC flag.
33196 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33197 * hurd/intern-fd.c: Likewise.
33198 * hurd/port2fd.c: Likewise.
33200 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33203 * bits/in.h (IPV6_PKTINFO): Define new macro.
33204 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33206 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33211 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33212 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33213 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33214 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33216 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33217 * math/libm-test.inc (logb_test) : Additional logb tests.
33219 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33220 Andreas Jaeger <aj@suse.de>
33222 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33223 * configure: Regenerated.
33224 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33225 * config.make.in (link-obsolete-rpc): New substituted variable.
33226 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33227 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33228 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33229 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33230 so that libc.a contains the symbols.
33231 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33232 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33233 * sunrpc/auth_none.c: Likewise.
33234 * sunrpc/auth_unix.c: Likewise.
33235 * sunrpc/authdes_prot.c: Likewise.
33236 * sunrpc/authuxprot.c: Likewise.
33237 * sunrpc/clnt_gen.c: Likewise.
33238 * sunrpc/clnt_perr.c: Likewise.
33239 * sunrpc/clnt_raw.c: Likewise.
33240 * sunrpc/clnt_simp.c: Likewise.
33241 * sunrpc/clnt_tcp.c: Likewise.
33242 * sunrpc/clnt_udp.c: Likewise.
33243 * sunrpc/clnt_unix.c: Likewise.
33244 * sunrpc/des_crypt.c: Likewise.
33245 * sunrpc/des_soft.c: Likewise.
33246 * sunrpc/get_myaddr.c: Likewise.
33247 * sunrpc/key_call.c: Likewise.
33248 * sunrpc/key_prot.c: Likewise.
33249 * sunrpc/netname.c: Likewise.
33250 * sunrpc/pm_getmaps.c: Likewise.
33251 * sunrpc/pm_getport.c: Likewise.
33252 * sunrpc/pmap_clnt.c: Likewise.
33253 * sunrpc/pmap_prot.c: Likewise.
33254 * sunrpc/pmap_prot2.c: Likewise.
33255 * sunrpc/pmap_rmt.c: Likewise.
33256 * sunrpc/publickey.c: Likewise.
33257 * sunrpc/rpc_cmsg.c: Likewise.
33258 * sunrpc/rpc_common.c: Likewise.
33259 * sunrpc/rpc_dtable.c: Likewise.
33260 * sunrpc/rpc_prot.c: Likewise.
33261 * sunrpc/rpc_thread.c: Likewise.
33262 * sunrpc/rtime.c: Likewise.
33263 * sunrpc/svc.c: Likewise.
33264 * sunrpc/svc_auth.c: Likewise.
33265 * sunrpc/svc_raw.c: Likewise.
33266 * sunrpc/svc_run.c: Likewise.
33267 * sunrpc/svc_tcp.c: Likewise.
33268 * sunrpc/svc_udp.c: Likewise.
33269 * sunrpc/svc_unix.c: Likewise.
33270 * sunrpc/svcauth_des.c: Likewise.
33271 * sunrpc/xcrypt.c: Likewise.
33272 * sunrpc/xdr.c: Likewise.
33273 * sunrpc/xdr_array.c: Likewise.
33274 * sunrpc/xdr_float.c: Likewise.
33275 * sunrpc/xdr_intXX_t.c: Likewise.
33276 * sunrpc/xdr_mem.c: Likewise.
33277 * sunrpc/xdr_rec.c: Likewise.
33278 * sunrpc/xdr_ref.c: Likewise.
33279 * sunrpc/xdr_sizeof.c: Likewise.
33280 * sunrpc/xdr_stdio.c: Likewise.
33282 2012-05-10 Roland McGrath <roland@hack.frob.com>
33284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33285 change. Update copyright years.
33287 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33289 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33291 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33292 Joseph Myers <joseph@codesourcery.com>
33293 Paul Pluzhnikov <ppluzhnikov@google.com>
33296 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33298 [cross-compiling] (extra-libs): Likewise.
33299 [cross-compiling] (extra-libs-others): Likewise.
33300 [cross-compiling] (librpcsvc-routines): Likewise.
33301 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33302 [cross-compiling] (omit-deps): Likewise.
33303 (sunrpc-CPPFLAGS): New variable.
33304 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33305 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33306 (cross-rpcgen-objs): New variable.
33307 (extra-objs): Append $(cross-rpcgen-objs).
33308 ($(cross-rpcgen-objs)): New rule.
33309 ($(objpfx)cross-rpcgen): Likewise.
33310 (rpcgen-cmd): Define to use $(built-program-file). Expand
33312 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33313 ($(objpfx)x%.stmp): Likewise.
33314 * sunrpc/proto.h [IS_IN_build] (_): Define.
33315 [IS_IN_build] (_libc_intl_domainname): Likewise.
33317 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33319 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33320 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33321 and R_X86_64_TPOFF64.
33323 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33325 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33326 sysdeps/unix/sysv/syscalls.list.
33329 * sysdeps/unix/sysv/syscalls.list: Remove file.
33331 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33334 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33335 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33336 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33337 (__LC_IDENTIFICATION): Make these macros useful in #if
33338 expressions, as required by C99.
33340 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33342 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33343 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33346 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33348 * stdlib/longlong.h: Updated from GCC.
33350 2012-05-09 Andreas Jaeger <aj@suse.de>
33352 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33353 default is first entry.
33354 (run_mode): Set type.
33355 (main): Remove informal message about syslog.
33356 (options): Fix typo.
33359 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33362 (llrintf): Likewise.
33363 (llrint): Likewise.
33366 (nearbyint): Likewise.
33367 (nearbyintf): Likewise.
33369 2012-05-09 Andreas Jaeger <aj@suse.de>
33370 Pedro Alves <palves@redhat.com>
33372 * nscd/nscd.c (run_mode): Use enum.
33373 (main): Cleanup coding style issue.
33375 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33376 Andreas Jaeger <aj@suse.de>
33378 * nscd/nscd.c (go_background): Replaced with...
33379 (run_mode): ... this.
33380 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33381 (options): Add -F --foreground.
33382 (main): Implement it.
33383 (parse_opt): Parse it.
33385 2012-05-09 Andreas Jaeger <aj@suse.de>
33388 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33389 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33390 -Wconversion warning.
33391 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33394 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33396 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33398 (LC_ALL): Use macro-int-constant.
33399 (LC_COLLATE): Likewise.
33400 (LC_CTYPE): Likewise.
33401 (LC_MESSAGES): Likewise.
33402 (LC_MONETARY): Likewise.
33403 (LC_NUMERIC): Likewise.
33404 (LC_TIME): Likewise.
33405 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33406 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33408 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33410 [C99-based standards] (float_t): Expect type.
33411 [C99-based standards] (double_t): Expect type.
33412 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33414 [C99-based standards] (HUGE_VALL): Likewise.
33415 [C99-based standards] (INFINITY): Likewise.
33416 [C99-based standards] (NAN): Likewise.
33417 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33418 [C99-based standards] (FP_NAN): Likewise.
33419 [C99-based standards] (FP_NORMAL): Likewise.
33420 [C99-based standards] (FP_SUBNORMAL): Likewise.
33421 [C99-based standards] (FP_ZERO): Likewise.
33422 [C99-based standards] (FP_FAST_FMA): Use
33423 optional-macro-int-constant. Specify type. Require == 1.
33424 [C99-based standards] (FP_FAST_FMAF): Likewise.
33425 [C99-based standards] (FP_FAST_FMAL): Likewise.
33426 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33427 [C99-based standards] (FP_ILOGBNAN): Likewise.
33428 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33430 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33431 [C99-based standards] (math_errhandling): Specify type.
33432 [ISO99 || ISO11] (signgam): Do not allow.
33433 [non-C99-based standards] (copysignf): Do not allow.
33434 [non-C99-based standards] (exp2f): Likewise.
33435 [non-C99-based standards] (log2f): Likewise.
33436 [non-C99-based standards] (modff): Allow.
33437 [non-C99-based standards] (erff): Do not allow.
33438 [non-C99-based standards] (erfcf): Likewise.
33439 [non-C99-based standards] (gammaf): Likewise.
33440 [non-C99-based standards] (hypotf): Likewise.
33441 [non-C99-based standards] (j0f): Likewise.
33442 [non-C99-based standards] (j1f): Likewise.
33443 [non-C99-based standards] (jnf): Likewise.
33444 [non-C99-based standards] (lgammaf): Likewise.
33445 [non-C99-based standards] (tgammaf): Likewise.
33446 [non-C99-based standards] (y0f): Likewise.
33447 [non-C99-based standards] (y1f): Likewise.
33448 [non-C99-based standards] (ynf): Likewise.
33449 [non-C99-based standards] (isnanf): Likewise.
33450 [non-C99-based standards] (acoshf): Likewise.
33451 [non-C99-based standards] (asinhf): Likewise.
33452 [non-C99-based standards] (atanhf): Likewise.
33453 [non-C99-based standards] (cbrtf): Likewise.
33454 [non-C99-based standards] (expm1f): Likewise.
33455 [non-C99-based standards] (ilogbf): Likewise.
33456 [non-C99-based standards] (log1pf): Likewise.
33457 [non-C99-based standards] (logbf): Likewise.
33458 [non-C99-based standards] (nextafterf): Likewise.
33459 [non-C99-based standards] (remainderf): Likewise.
33460 [non-C99-based standards] (rintf): Likewise.
33461 [non-C99-based standards] (scalbf): Likewise.
33462 [non-C99-based standards] (copysignl): Likewise.
33463 [non-C99-based standards] (exp2l): Likewise.
33464 [non-C99-based standards] (log2l): Likewise.
33465 [non-C99-based standards] (modfl): Allow.
33466 [non-C99-based standards] (erfl): Do not allow.
33467 [non-C99-based standards] (erfcl): Likewise.
33468 [non-C99-based standards] (gammal): Likewise.
33469 [non-C99-based standards] (hypotl): Likewise.
33470 [non-C99-based standards] (j0l): Likewise.
33471 [non-C99-based standards] (j1l): Likewise.
33472 [non-C99-based standards] (jnl): Likewise.
33473 [non-C99-based standards] (lgammal): Likewise.
33474 [non-C99-based standards] (tgammal): Likewise.
33475 [non-C99-based standards] (y0l): Likewise.
33476 [non-C99-based standards] (y1l): Likewise.
33477 [non-C99-based standards] (ynl): Likewise.
33478 [non-C99-based standards] (isnanl): Likewise.
33479 [non-C99-based standards] (acoshl): Likewise.
33480 [non-C99-based standards] (asinhl): Likewise.
33481 [non-C99-based standards] (atanhl): Likewise.
33482 [non-C99-based standards] (cbrtl): Likewise.
33483 [non-C99-based standards] (expm1l): Likewise.
33484 [non-C99-based standards] (ilogbl): Likewise.
33485 [non-C99-based standards] (log1pl): Likewise.
33486 [non-C99-based standards] (logbl): Likewise.
33487 [non-C99-based standards] (nextafterl): Likewise.
33488 [non-C99-based standards] (remainderl): Likewise.
33489 [non-C99-based standards] (rintl): Likewise.
33490 [non-C99-based standards] (scalbl): Likewise.
33491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33492 [non-C99-based standards] (FP_*): Do not allow.
33493 [C99-based standards] (FP_*): Change to
33494 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33495 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33497 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33498 (SIG_ERR): Likewise.
33499 [X/Open-based standards] (SIG_HOLD): Likewise.
33500 (SIG_IGN): Likewise.
33501 (SIGABRT): Use macro-int-constant. Specify type. Require
33503 (SIGFPE): Likewise.
33504 (SIGILL): Likewise.
33505 (SIGINT): Likewise.
33506 (SIGSEGV): Likewise.
33507 (SIGTER): Likewise.
33508 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33509 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33510 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33511 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33512 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33513 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33514 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33515 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33516 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33517 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33518 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33519 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33520 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33521 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33522 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33523 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33524 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33525 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33526 [X/Open-based standards] (SIGTRAP): Likewise.
33527 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33528 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33529 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33530 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33531 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33534 2012-05-08 Ian Wienand <ianw@vmware.com>
33537 * time/tzset.c (__tzset_parse_tz): Update default rules for
33538 daylight time changes in the Energy Policy Act of 2005.
33540 2012-05-09 Andreas Jaeger <aj@suse.de>
33543 * elf/ldconfig.c (parse_conf): Change string to make clear that
33544 ldconfig only issued a warning if ld.so.conf does not exist.
33546 2012-05-08 David S. Miller <davem@davemloft.net>
33548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33549 movxtod instead of popping the value on the stack.
33551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33553 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33555 * config.h.in: Add HAVE_ARM_PCS_VFP.
33557 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33560 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33561 checking but the checks are disabled for any reason.
33563 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33565 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33566 and ELF64_R_TYPE with ELFW(R_TYPE).
33568 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33570 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33571 (ulimit): Likewise.
33573 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33574 (settimeofday): Likewise.
33576 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33578 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33579 a struct th_u2 inside the union, and move tu_block/tu_code into
33580 a new th_u3 union of tu_block/tu_code inside of that. Move
33581 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33582 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33583 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33584 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33585 (th_stuff): Change to th_u1.tu_stuff.
33587 (th_msg): Change to th_u1.th_u2.tu_data.
33589 2012-05-07 David S. Miller <davem@davemloft.net>
33591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33594 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33595 (SETUP_PIC_REG): Use it.
33596 (SETUP_PIC_REG_LEAF): Use it.
33598 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33602 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33604 (EXPL_FINITE): Likewise.
33605 (FLDLOG): Likewise.
33606 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33607 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33609 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33611 (EXPL_FINITE): Likewise.
33612 (FLDLOG): Likewise.
33613 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33614 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33616 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33617 test of -max_value argument for long double.
33618 * sysdeps/i386/fpu/libm-test-ulps: Update.
33619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33621 2012-05-06 David S. Miller <davem@davemloft.net>
33623 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33624 quad soft-float symbols whose references which are compiler
33626 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33628 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33632 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33634 (EXPL_FINITE): Likewise.
33635 (FLDLOG): Likewise.
33638 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33639 Adjust comments for base varying.
33640 (__expl_finite): Change alias to EXPL_FINITE.
33641 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33643 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33644 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33646 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33647 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33649 (EXPL_FINITE): Likewise.
33650 (FLDLOG): Likewise.
33653 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33654 Adjust comments for base varying.
33655 (__expl_finite): Change alias to EXPL_FINITE.
33656 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33661 * math/libm-test.inc (check_float_internal): Correct ulp
33662 calculation for subnormal expected results.
33664 2012-05-06 Andreas Jaeger <aj@suse.de>
33666 * Makeconfig (+math-flags): New, set to -frounding-math.
33667 (+cflags): Add +math-flags so that all of glibc gets compiled with
33670 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33672 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33674 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33680 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33681 (__ieee754_expl): Allow for and saturate large arguments.
33682 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33683 (u_threshold): Likewise.
33684 (__exp): Call __ieee754_exp before checking for overflow and
33686 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33687 (u_threshold): Likewise.
33688 (__expf): Call __ieee754_expf before checking for overflow and
33690 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33691 (u_threshold): Likewise.
33692 (__expl): Call __ieee754_expl before checking for overflow and
33694 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33695 (__ieee754_expl): Allow for and saturate large arguments.
33696 * math/libm-test.inc (exp_test): Add another test. Do not allow
33697 missing overflow exception on overflow.
33698 (expm1_test): Do not allow missing overflow exception on overflow.
33700 * sysdeps/i386/fpu/e_expl.c: Move to ...
33701 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33702 rather than using inline asm.
33703 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33704 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33705 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33707 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33710 (signal): Likewise.
33714 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33716 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33717 sysdeps/unix/common/syscalls.list.
33718 (fchmod): Likewise.
33719 (fchown): Likewise.
33720 (ftruncate): Likewise.
33721 (getrusage): Likewise.
33722 (gettimeofday): Likewise.
33723 (setpgid): Likewise.
33724 (setregid): Likewise.
33725 (setreuid): Likewise.
33726 (sigaction): Likewise.
33727 (truncate): Likewise.
33728 (vhangup): Likewise.
33729 * sysdeps/unix/common/syscalls.list: Remove file.
33730 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33731 * sysdeps/unix/sysv/linux/Implies: Likewise.
33733 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33735 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33737 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33741 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33744 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33747 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33750 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33753 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33756 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33759 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33763 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33767 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33770 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33774 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33778 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33780 * sysdeps/unix/common/bits/dirent.h: Remove file.
33781 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33783 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33784 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33785 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33786 * sysdeps/unix/bsd/isatty.c: Likewise.
33787 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33788 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33789 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33791 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33795 long double comparison inaccuracies.
33796 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33799 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33801 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33804 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33807 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33808 nonzero digits before rounding a hex value.
33809 * stdlib/tst-strtod.c (tests): Add another test.
33811 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33813 * sysdeps/s390/fpu/libm-test-ulps: Update.
33815 2012-05-03 Andreas Jaeger <aj@suse.de>
33817 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33818 does not get optimized out.
33819 (malloc_opt_barrier): New.
33821 2012-05-03 Andreas Jaeger <aj@suse.de>
33822 Roland McGrath <roland@hack.frob.com>
33824 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33825 intermediate file deletion.
33826 (generated): Add .symlist files.
33828 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33831 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33832 Redirect under this condition.
33833 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33834 [__USE_GNU] (__dprintf_chk): Not under this condition.
33835 [__USE_GNU] (__vdprintf_chk): Likewise.
33836 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33837 under this condition.
33838 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33839 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33840 [__USE_XOPEN2K8] (vdprintf): Likewise.
33841 [__USE_GNU] (__dprintf_chk): Not under this condition.
33842 [__USE_GNU] (__vdprintf_chk): Likewise.
33843 [__USE_GNU] (dprintf): Likewise.
33844 [__USE_GNU] (vdprintf): Likewise.
33846 2012-05-03 Roland McGrath <roland@hack.frob.com>
33848 * elf/Makefile (common-generated): Set this instead of generated for
33849 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33850 $(all-built-dso)-derived lists.
33852 2012-05-03 Andreas Jaeger <aj@suse.de>
33854 * sysdeps/i386/fpu/libm-test-ulps: Update.
33857 * FAQ.in: Likewise.
33858 * scripts/gen-FAQ.pl: Likewise.
33859 * manual/install.texi (Installation): Point to online location of
33861 * Makefile (files-for-dist): Remove FAQ.
33864 2012-05-02 Allan McRae <allan@archlinux.org>
33866 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33867 (LDFLAGS-reldepmod5.so): Likewise.
33868 (LDFLAGS-reldep6mod1.so): Likewise.
33869 (LDFLAGS-reldep6mod4.so): Likewise.
33870 (LDFLAGS-reldep8mod3.so): Likewise.
33871 (LDFLAGS-unload4mod1.so): Likewise.
33872 (LDFLAGS-unload4mod2.so): Likewise.
33873 (LDFLAGS-tst-initorder): Likewise.
33874 (LDFLAGS-tst-initordera2.so): Likewise.
33875 (LDFLAGS-tst-initordera3.so): Likewise.
33876 (LDFLAGS-tst-initordera4.so): Likewise.
33877 (LDFLAGS-tst-initorderb2.so): Likewise.
33878 (LDFLAGS-noload): Likewise.
33879 (LDFLAGS-next): Likewise.
33880 (LDFLAGS-order2mod1.so): Likewise.
33881 (LDFLAGS-order2mod2.so): Likewise.
33882 (LDFLAGS-tst-initorder2): Likewise.
33883 (LDFLAGS-tst-initorder2a.so): Likewise.
33884 (LDFLAGS-tst-initorder2b.so): Likewise.
33885 (LDFLAGS-tst-initorder2c.so): Likewise.
33886 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33888 2012-05-02 David S. Miller <davem@davemloft.net>
33890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33892 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33895 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33897 2012-05-02 Andreas Jaeger <aj@suse.de>
33899 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33900 since we manipulate rounding mode.
33901 (CPPFLAGS-test-idouble.c): Likewise.
33902 (CPPFLAGS-test-ifloat.c): Likewise.
33903 (CFLAGS-test-ldouble.c): Likewise.
33904 (CFLAGS-test-double.c): Likewise.
33905 (CFLAGS-test-float.c): Likewise.
33906 (CFLAGS-test-misc.c): Likewise.
33907 (CFLAGS-test-test-fenv.c): Likewise.
33909 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33913 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33914 comparisons to determine direction to adjust input.
33916 2012-05-01 Roland McGrath <roland@hack.frob.com>
33918 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33919 output to the target.
33921 * scripts/localplt.awk: New file.
33922 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33923 (check-localplt-CFLAGS): Variable removed.
33924 ($(all-built-dso:=.jmprel)): New static pattern rule.
33925 (generated): Add those targets.
33926 (localplt-built-dso): New variable.
33927 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33929 * elf/check-localplt.c: File removed.
33931 * scripts/check-execstack.awk: New file.
33932 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33933 (check-execstack-CFLAGS): Variable removed.
33934 ($(objpfx)check-execstack.h): Target removed.
33935 ($(objpfx)execstack-default): New target.
33936 (generated): Add that instead of check-execstack.h.
33937 ($(all-built-dso:=.phdr)): New static pattern rule.
33938 (generated): Add those targets.
33939 * elf/check-execstack.c: File removed.
33941 * scripts/check-textrel.awk: New file.
33942 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33943 (check-textrel-CFLAGS): Variable removed.
33944 (all-built-dso): Use := to define.o
33945 ($(all-built-dso:=.dyn)): New static pattern rule.
33946 (generated): Add those targets.
33947 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33948 * config.make.in (READELF): New substituted variable.
33949 * elf/check-textrel.c: File removed.
33951 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33953 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33955 * conform/data/ctype.h-data [C99-based standards] (isblank):
33957 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33958 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33960 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33961 Specify type. Require positive value.
33962 (EILSEQ): Likewise.
33963 (ERANGE): Likewise.
33964 [ISO || POSIX] (EILSEQ): Do not expect.
33965 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33966 Specify type. Require positive value.
33967 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34006 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34007 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34008 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34009 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34015 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34016 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34021 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34022 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34023 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34024 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34028 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34029 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34030 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34031 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34034 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34035 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34036 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34037 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34038 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34039 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34040 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34041 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34042 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34043 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34045 (FLT_ROUNDS): Expect as macro, not constant.
34046 (FLT_MANT_DIG): Use macro-int-constant.
34047 (DBL_MANT_DIG): Likewise.
34048 (LDBL_MANT_DIG): Likewise.
34049 (FLT_DIG): Likewise.
34050 (DBL_DIG): Likewise.
34051 (LDBL_DIG): Likewise.
34052 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34053 (DBL_MIN_EXP): Likewise.
34054 (LDBL_MIN_EXP): Likewise.
34055 (FLT_MAX_EXP): Use macro-int-constant.
34056 (DBL_MAX_EXP): Likewise.
34057 (LDBL_MAX_EXP): Likewise.
34058 (FLT_MAX_10_EXP): Likewise.
34059 (DBL_MAX_10_EXP): Likewise.
34060 (LDBL_MAX_10_EXP): Likewise.
34061 (FLT_MAX): Use macro-constant.
34062 (DBL_MAX): Likewise.
34063 (LDBL_MAX): Likewise.
34064 (FLT_EPSILON): Use macro-constant. Give upper bound.
34065 (DBL_EPSILON): Likewise.
34066 (LDBL_EPSILON): Likewise.
34067 (FLT_MIN): Likewise.
34068 (DBL_MIN): Likewise.
34069 (LDBL_MIN): Likewise.
34070 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34071 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34072 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34073 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34074 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34075 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34076 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34077 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34078 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34079 [ISO11] (FLT_TRUE_MIN): Likewise.
34080 [ISO11] (LDBL_TRUE_MIN): Likewise.
34081 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34082 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34083 (SCHAR_MIN): Use macro-int-constant. Specify type.
34084 (SCHAR_MAX): Likewise.
34085 (UCHAR_MAX): Likewise.
34086 (CHAR_MIN): Likewise.
34087 (CHAR_MAX): Likewise.
34088 (MB_LEN_MAX): Use macro-int-constant.
34089 (SHRT_MIN): Use macro-int-constant. Specify type.
34090 (SHRT_MAX): Likewise.
34091 (USHRT_MAX): Likewise.
34092 (INT_MAX): Likewise.
34093 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34095 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34097 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34099 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34100 bound negative. Suffix upper bound with "L".
34101 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34103 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34105 [C99-based standards] (LLONG_MAX): Likewise.
34106 [C99-based standards] (ULLONG_MAX): Likewise.
34107 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34109 [ISO11] (max_align_t): Require type.
34110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34112 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34113 from $CFLAGS, without defining away __attribute__ calls.
34114 (checknamespace): Use $CFLAGS_namespace.
34116 * conform/conformtest.pl (@keywords): Only include C99 keywords
34117 for standards based on C99 or C11.
34119 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34121 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34124 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34125 usability of symbols in #if.
34127 * conform/conformtest.pl: If macro or constant types start
34128 "promoted:", expect the symbol to be of the following type
34129 promoted by the integer promotions.
34131 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34132 in one place. Also handle "macro-constant".
34134 * conform/conformtest.pl: Only accept expected macro values with
34135 "==". Parse all "macro" lines in one place.
34136 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34138 * conform/conformtest.pl: Handle braced types on "constant" lines
34139 instead of handling "typed-constant".
34140 * conform/data/signal.h-data: Use "constant" instead of
34143 * conform/conformtest.pl: Handle "optional-" at start of lines in
34144 one place rather than duplicating several cases. Handle each
34145 format of "macro" line with initial "optional-".
34147 * conform/conformtest.pl: Only accept expected constant or
34148 optional-constant values with "==". Parse all "constant" lines in
34149 one place. Parse all "optional-constant" lines in one place.
34150 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34151 * conform/data/fmtmsg.h-data: Likewise.
34152 * conform/data/netinet/in.h-data: Likewise.
34153 * conform/data/tar.h-data: Likewise.
34154 * conform/data/limits.h-data: Use "==" form on "constant" and
34155 "optional-constant" lines.
34157 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34158 Use -std=c99 for XOPEN2K.
34159 (@knownproblems): Remove.
34160 (newtoken): Don't check %isknown.
34162 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34163 Do not expect macro.
34164 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34166 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34176 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34177 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34179 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34180 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34181 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34182 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34183 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34184 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34185 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34186 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34187 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34188 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34189 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34190 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34191 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34192 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34193 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34194 [XPG3] (acosh): Likewise.
34195 [XPG3] (asinh): Likewise.
34196 [XPG3] (atanh): Likewise.
34197 [XPG3] (cbrt): Likewise.
34198 [XPG3] (expm1): Likewise.
34199 [XPG3] (ilogb): Likewise.
34200 [XPG3] (log1p): Likewise.
34201 [XPG3] (logb): Likewise.
34202 [XPG3] (nextafter): Likewise.
34203 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34204 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34205 [XPG3] (remainder): Likewise.
34206 [XPG3] (rint): Likewise.
34207 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34208 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34209 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34210 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34211 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34212 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34213 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34214 [UNIX98 || XOPEN2K] (scalb): Expect.
34215 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34216 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34217 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34218 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34219 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34220 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34221 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34222 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34223 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34224 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34225 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34226 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34227 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34228 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34229 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34230 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34231 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34232 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34233 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34234 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34235 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34236 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34237 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34238 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34239 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34240 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34241 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34242 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34243 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34244 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34245 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34246 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34247 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34248 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34249 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34250 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34251 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34252 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34253 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34254 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34255 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34256 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34257 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34258 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34259 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34260 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34261 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34262 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34263 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34264 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34265 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34266 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34267 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34268 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34269 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34270 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34271 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34272 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34273 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34274 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34275 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34276 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34277 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34278 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34279 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34280 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34281 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34282 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34283 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34284 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34285 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34286 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34287 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34288 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34289 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34290 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34291 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34292 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34293 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34294 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34295 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34296 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34297 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34298 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34299 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34300 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34301 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34302 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34303 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34304 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34305 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34306 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34307 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34308 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34309 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34310 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34311 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34312 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34313 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34314 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34315 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34316 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34317 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34318 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34319 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34320 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34321 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34322 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34323 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34324 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34325 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34326 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34327 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34328 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34329 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34330 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34331 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34332 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34333 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34334 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34335 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34336 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34337 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34338 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34339 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34340 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34341 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34342 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34343 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34344 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34345 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34346 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34347 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34348 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34349 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34350 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34351 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34353 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34354 _XOPEN_SOURCE_EXTENDED for XPG4.
34356 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34358 * Makeconfig (localtime): Remove variable.
34359 (inst_localtime-file): Likewise.
34361 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34382 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34386 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34387 comparisons to determine direction to adjust input.
34388 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34389 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34390 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34392 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34396 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34397 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34399 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34401 * math/libm-test.inc (nexttoward_test): Add more tests.
34403 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34406 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34407 in version GLIBC_2.1, not GLIBC_2.0.
34408 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34411 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34414 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34416 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34417 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34418 * math/libm-test.inc (acos_test): Add more tests.
34419 (asin_test): Likewise.
34420 * sysdeps/i386/fpu/libm-test-ulps: Update.
34421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34424 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34426 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34427 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34428 * math/libm-test.inc (acos_test_tonearest): New function.
34429 (acos_test_towardzero): Likewise.
34430 (acos_test_downward): Likewise.
34431 (acos_test_upward): Likewise.
34432 (asin_test_tonearest): Likewise.
34433 (asin_test_towardzero): Likewise.
34434 (asin_test_downward): Likewise.
34435 (asin_test_upward): Likewise.
34436 (main): Call the new functions.
34437 * sysdeps/i386/fpu/libm-test-ulps: Update.
34438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34442 * math/e_exp10.c: Include <float.h>.
34443 (__ieee754_exp10): Handle underflow here rather than multiplying
34444 large negative argument by M_LN10.
34445 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34447 * math/e_exp10l.c: Include <float.h>.
34448 (__ieee754_exp10l): Handle underflow here rather than multiplying
34449 large negative argument by M_LN10l.
34450 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34451 spurious overflow exception on underflow.
34453 2012-04-29 Marek Polacek <polacek@redhat.com>
34455 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34456 (__fortify_function): New macro.
34457 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34458 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34459 __extern_always_inline.
34460 * libio/bits/stdio2.h: Likewise.
34461 * libio/bits/stdio.h: Likewise.
34462 * string/string.h: Likewise.
34463 * string/bits/string3.h: Likewise.
34464 * include/stdio.h: Likewise.
34465 * stdlib/bits/stdlib.h: Likewise.
34466 * stdlib/stdlib.h: Likewise.
34467 * rt/bits/mqueue2.h: Likewise.
34468 * rt/mqueue.h: Likewise.
34469 * posix/bits/unistd.h: Likewise.
34470 * posix/unistd.h: Likewise.
34471 * io/bits/poll2.h: Likewise.
34472 * io/bits/fcntl2.h: Likewise.
34473 * io/fcntl.h: Likewise.
34474 * io/sys/poll.h: Likewise.
34475 * misc/bits/syslog.h: Likewise.
34476 * misc/bits/syslog-ldbl.h: Likewise.
34477 * misc/sys/syslog.h: Likewise.
34478 * socket/bits/socket2.h: Likewise.
34479 * socket/sys/socket.h: Likewise.
34480 * debug/tst-chk1.c: Likewise.
34481 * wcsmbs/bits/wchar2.h: Likewise.
34482 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34483 * wcsmbs/wchar.h: Likewise.
34485 2012-04-29 Andreas Jaeger <aj@suse.de>
34487 * Makerules (tests): Remove enable-check-abi protection.
34488 (check-abi-warn): Remove.
34489 (check-abi-%): Remove check-abi-warn usage.
34491 * configure.in: Remove check-abi configure option.
34492 * configure: Regenerated.
34493 * config.make.in (enable-check-abi): Remove.
34495 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34498 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34499 double functions to double *_finite functions.
34502 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34503 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34505 * stdio-common/Makefile (tests): Add tst-sprintf3.
34506 * stdio-common/tst-sprintf3.c: New file.
34508 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34509 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34511 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34513 * conform/conformtest.pl: Remove duplicate typed-constant
34516 2012-04-28 David S. Miller <davem@davemloft.net>
34518 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34519 (check-abi-%): Remove AWK script prerequisite and explicit
34521 (check-abi): Rewrite to just diff the symlist with the abilist.
34522 (config-tls, config-abi-config): Delete, no longer used.
34523 (update-abi-%): Remove AWK script and explicit abilist directory.
34524 (update-abi): Rewrite to simply compare and conditionally copy the
34525 symlist and the sysdep abilist file. Remove update-abi-config
34527 * abilist/ld.abilist: Remove.
34528 * abilist/libBrokenLocale.abilist: Remove.
34529 * abilist/libanl.abilist: Remove.
34530 * abilist/libcrypt.abilist: Remove.
34531 * abilist/libdl.abilist: Remove.
34532 * abilist/librt.abilist: Remove.
34533 * abilist/libthread_db.abilist: Remove.
34534 * abilist/libutil.abilist: Remove.
34535 * scripts/extract-abilist.awk: Remove.
34536 * scripts/merge-abilist.awk: Remove.
34537 * sysdeps/generic/libcidn.abilist: New file.
34538 * sysdeps/generic/libnss_compat.abilist: New file.
34539 * sysdeps/generic/libnss_db.abilist: New file.
34540 * sysdeps/generic/libnss_dns.abilist: New file.
34541 * sysdeps/generic/libnss_files.abilist: New file.
34542 * sysdeps/generic/libnss_hesiod.abilist: New file.
34543 * sysdeps/generic/libnss_nis.abilist: New file.
34544 * sysdeps/generic/libnss_nisplus.abilist: New file.
34545 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34546 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34547 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34549 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34550 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34551 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34552 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34553 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34554 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34555 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34556 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34557 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34559 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34560 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34561 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34562 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34564 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34565 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34566 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34567 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34568 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34569 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34571 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34572 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34573 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34575 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34678 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34679 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34680 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34683 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34684 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34685 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34686 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34687 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34688 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34689 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34690 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34691 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34743 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34745 * conform/conformtest.pl: Fix typo in handling typed-constant from
34748 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34750 * README: Cut down references to pre-2.6 Linux kernels and
34751 Linuxthreads. Update lists of configurations in libc and ports
34752 and sort alphabetically. Say "or newer" with Linux kernel version
34755 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34757 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34760 * math/libm-test.inc (logb_test_downward): New test to expose
34761 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34764 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34767 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34769 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34770 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34772 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34774 * sysdeps/unix/i386/brk.S: Remove file.
34775 * sysdeps/unix/i386/dl-brk.S: Likewise.
34776 * sysdeps/unix/i386/pipe.S: Likewise.
34777 * sysdeps/unix/i386/sigreturn.S: Likewise.
34778 * sysdeps/unix/i386/syscall.S: Likewise.
34779 * sysdeps/unix/i386/vfork.S: Likewise.
34780 * sysdeps/unix/i386/wait.S: Likewise.
34782 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34783 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34785 * configure.in (arm*-none*): Do not allow without
34786 --enable-hacker-mode.
34787 (netbsd*): Remove case setting base_os.
34788 (386bsd*): Likewise.
34789 (freebsd*): Likewise.
34792 (sunos*): Likewise.
34793 (ultrix*): Likewise.
34794 (newsos*): Likewise.
34795 (dynix*): Likewise.
34801 (minix*): Likewise.
34802 (irix4*): Likewise.
34803 (irix6*): Likewise.
34804 (solaris[2-9]*): Likewise.
34806 * configure: Regenerated.
34808 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34811 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34812 overflow or cancellation in calculating denominator.
34813 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34814 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34815 down expression to avoid unexpected rounding in newer GCCs.
34816 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34818 2012-04-26 David S. Miller <davem@davemloft.net>
34820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34821 long-double compat symbols.
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34836 2012-04-25 David S. Miller <davem@davemloft.net>
34838 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34839 HWCAP_* values only after the memory barriers have been defined.
34840 (atomic_full_barrier): Define.
34841 (atomic_read_barrier): Define.
34842 (atomic_write_barrier): Define.
34844 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34846 * shlib-versions: Add libgcc_s version information.
34847 * sysdeps/generic/libgcc_s.h: Remove.
34848 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34850 * sysdeps/gnu/unwind-resume.c: Likewise.
34851 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34853 2012-04-25 David S. Miller <davem@davemloft.net>
34855 * sysdeps/unix/sparc/brk.S: Delete.
34856 * sysdeps/unix/sparc/dl-brk.S: Delete.
34857 * sysdeps/unix/sparc/pipe.S: Delete.
34858 * sysdeps/unix/sparc/sysdep.S: Delete.
34859 * sysdeps/unix/sparc/sysdep.h: Delete.
34860 * sysdeps/unix/sparc/vfork.S: Delete.
34861 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34862 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34863 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34864 (ret_ERRVAL, r0, r1, MOVE): Define.
34865 (JUMPTARGET): Remove.
34866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34867 sysdeps/unix/sparc/sysdep.h
34868 (ENTRY, END): Remove.
34869 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34871 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34873 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34874 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34877 * timezone/README: Update upstream location and email address for
34879 * timezone/zdump.c: Update from tzcode 2012b.
34880 * timezone/zic.c: Likewise.
34882 * configure.in (libc_cv_as_needed): Remove test.
34883 * configure: Regenerated.
34884 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34885 conditional definition.
34886 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34887 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34888 * config.make.in (have-as-needed): Remove variable.
34890 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34891 Paul Pluzhnikov <ppluzhnikov@google.com>
34893 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34896 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34898 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34899 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34900 * sysdeps/sh/strlen.S: Likewise.
34902 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34904 * sysdeps/unix/fork.S: Remove file.
34905 * sysdeps/unix/i386/fork.S: Likewise.
34906 * sysdeps/unix/sparc/fork.S: Likewise.
34908 * sysdeps/unix/system.c: Remove file.
34909 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34911 * sysdeps/unix/getegid.S: Remove file.
34912 * sysdeps/unix/geteuid.S: Likewise.
34914 2012-04-24 Roland McGrath <roland@hack.frob.com>
34916 * scripts/check-localplt.awk: New file.
34917 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34919 * scripts/data/localplt-generic.data: Add a comment.
34921 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34922 NODE when __dir_mkfile failed.
34923 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34924 Reported by Ludovic Courtès <ludo@gnu.org>.
34926 2012-04-24 Andreas Jaeger <aj@suse.de>
34928 * Makerules (common-clean): Also remove gen-as-const-headers
34931 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34933 * Makerules (native-compile): Do not change working directory for
34934 build. Use $(OUTPUT_OPTION) in command.
34935 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34937 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34940 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34941 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34942 * math/libm-test.inc (floor_test): Add more tests.
34943 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34945 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34947 * sysdeps/unix/getdents.c: Remove file.
34948 * sysdeps/unix/sysv/getdents.c: Likewise.
34949 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34951 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34952 sysdeps/unix/mman/syscalls.list.
34954 (mprotect): Likewise.
34956 (munmap): Likewise.
34957 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34958 * sysdeps/unix/mman/syscalls.list: Remove.
34959 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34961 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34962 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34963 * configure: Regenerated.
34964 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34965 $(libgcc_s_suffix).
34966 * config.make.in (libgcc_s_suffix): Remove variable.
34968 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34970 * sysdeps/unix/sysv/gethostname.c: Move to ...
34971 * sysdeps/posix/gethostname.c: ... here.
34973 * sysdeps/unix/execve.S: Remove file.
34975 * sysdeps/unix/_exit.S: Remove file.
34977 2012-04-23 Andreas Jaeger <aj@suse.de>
34980 * manual/Makefile: Remove make dist support, there's no
34981 need for a stand-alone documentation tar ball.
34982 (TEXI2DVI): Define always, it's not in Makeconfig.
34985 (edition): Removed.
34986 (glibc-doc-$(edition).tar): Removed
34990 (ETAGS): Remove, it's in Makeconfig.
34991 (move-if-change): Remove, it's in Makeconfig.
34993 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34996 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34997 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34998 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34999 (strtod_l, strtof_l, strtold_l): Remove __wur.
35000 It is not necessarily an error to ignore strtol's return value.
35001 One can reliably look at the stored endptr to decide whether
35002 the number had valid syntax.
35004 2012-04-21 Andreas Jaeger <aj@suse.de>
35007 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35009 2012-04-21 Joseph Myers <joseph@codesourcery.com>
35011 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35012 * sysdeps/unix/sysv/Versions: Remove file.
35014 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35019 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
35022 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35023 version from __vm86.
35025 2012-04-20 Joseph Myers <joseph@codesourcery.com>
35027 * sysdeps/unix/common/lxstat.c: Remove file.
35028 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35030 * sysdeps/unix/sysv/Makefile: Remove file.
35032 * sysdeps/unix/sysv/direct.h: Remove file.
35034 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35035 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35036 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35037 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35038 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35039 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35040 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35042 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35044 * sysdeps/unix/xmknod.c: Remove file.
35045 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35047 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35049 * sysdeps/unix/sysv/i386/time.S: Remove file.
35051 * sysdeps/unix/fxstat.c: Remove file.
35052 * sysdeps/unix/xstat.c: Likewise.
35053 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35055 * sysdeps/unix/sysv/sigaction.c: Remove file.
35057 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35058 (sysdep_headers): Remove variable.
35059 [termio.h not in sysdep_headers] (generated): Likewise.
35060 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35061 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35062 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35063 * sysdeps/unix/sysv/tcflow.c: Likewise.
35064 * sysdeps/unix/sysv/tcflush.c: Likewise.
35065 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35066 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35067 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35068 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35069 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35071 * sysdeps/unix/siglist.c: Remove file.
35073 * sysdeps/unix/getppid.S: Remove file.
35075 * sysdeps/unix/mkdir.c: Remove file.
35076 * sysdeps/unix/rmdir.c: Likewise.
35078 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35080 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35082 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35083 errlist-compat value.
35085 2012-04-18 David S. Miller <davem@davemloft.net>
35087 * sysdeps/generic/memcopy.h (reg_char): Delete.
35088 * debug/strcat_chk.c: Use char, not reg_char.
35089 * debug/strcpy_chk.c: Likewise.
35090 * debug/strncat_chk.c: Likewise.
35091 * debug/strncpy_chk.c: Likewise.
35092 * string/memchr.c: Likewise.
35093 * string/memrchr.c: Likewise.
35094 * string/rawmemchr.c: Likewise.
35095 * string/strcat.c: Likewise.
35096 * string/strchr.c: Likewise.
35097 * string/strchrnul.c: Likewise.
35098 * string/strcmp.c: Likewise.
35099 * string/strcpy.c: Likewise.
35100 * string/strncat.c: Likewise.
35101 * string/strncmp.c: Likewise.
35102 * string/strncpy.c: Likewise.
35104 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35106 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35107 __builtin_memcopy is called when src and dest ranges are known to not
35110 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35112 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35113 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35114 fwd_align_merge macro call.
35115 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35116 bwd_align_merge macro call.
35117 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35119 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35121 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35122 bwd_align_merge macros.
35123 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35124 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35125 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35127 2012-04-18 David S. Miller <davem@davemloft.net>
35129 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35131 2012-04-18 Andreas Jaeger <aj@suse.de>
35134 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35135 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35136 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35139 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35140 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35142 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35143 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35144 Adjust for changed ldbl-128 files.
35146 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35147 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35148 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35150 2012-04-17 David S. Miller <davem@davemloft.net>
35152 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35154 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35156 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35157 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35158 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35159 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35160 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35161 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35163 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35166 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35167 * math/libm-test.inc: Add ilogb errno and exception tests.
35168 * math/w_ilogb.c: New file: ilogb wrapper.
35169 * math/w_ilogbf.c: New file: ilogbf wrapper.
35170 * math/w_ilogbl.c: New file: ilogbl wrapper.
35171 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35172 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35173 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35174 exception being thrown with 0.0 as argument.
35175 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35176 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35177 exception being thrown with 0.0 as argument.
35178 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35179 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35180 exception being thrown with 0.0 as argument.
35181 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35182 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35183 exception being thrown with 0.0 as argument.
35184 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35185 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35186 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35187 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35188 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35189 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35190 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35191 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35192 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35194 2012-04-17 Petr Baudis <pasky@ucw.cz>
35196 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35199 2012-04-16 Marek Polacek <polacek@redhat.com>
35201 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35203 2012-04-16 Marek Polacek <polacek@redhat.com>
35205 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35206 operands of fdivp instruction.
35208 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35210 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35211 * elf/tst-auditmod3b.c: Likewise.
35212 * elf/tst-auditmod4b.c: Likewise.
35213 * elf/tst-auditmod5b.c: Likewise.
35214 * elf/tst-auditmod6b.c: Likewise.
35215 * elf/tst-auditmod6c.c: Likewise.
35216 * elf/tst-auditmod7b.c: Likewise.
35217 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35218 * sysdeps/x86_64/preconfigure.in: Likewise.
35219 * sysdeps/x86_64/preconfigure: Regenerated.
35221 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35223 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35226 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35229 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35231 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35234 * locale/iso-639.def: Fix gl language name. Spotted by
35237 2012-04-12 Roland McGrath <roland@hack.frob.com>
35240 * libio/libio.h (__io_write_fn): Update comment.
35242 2012-04-12 Petr Baudis <pasky@ucw.cz>
35245 * stdio.texi (Hook Functions): The user provided writer function
35246 is not allowed to return -1.
35248 2012-04-11 David S. Miller <davem@davemloft.net>
35250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35252 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35254 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35255 Add a leading slash to rtkaio.
35257 2012-04-11 Jim Meyering <meyering@redhat.com>
35260 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35261 It is not necessarily an error to ignore fwrite's return
35262 value. One can reliably use ferror to test for errors after
35265 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35267 * bits/types.h (__snseconds_t): New type.
35268 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35270 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35272 (__SNSECONDS_T_TYPE): Likewise.
35273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35274 (__SNSECONDS_T_TYPE): Likewise.
35275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35276 (__SNSECONDS_T_TYPE): Likewise.
35278 2012-04-10 Andreas Jaeger <aj@suse.de>
35281 * manual/time.texi (Processor Time): Return type of times is
35282 elapsed real time since an arbitrary point in the past.
35283 (CPU Time): Move CLK_TCK from here...
35284 (Processor Time): ...to here. Correct description.
35285 * manual/conf.texi (Constants for Sysconf): Correct description of
35288 2012-04-10 David S. Miller <davem@davemloft.net>
35291 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35292 where the is a gap between DT_REL(A) and DT_JMPREL.
35294 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35296 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35297 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35298 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35300 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35302 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35303 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35304 (dl_main): Handle --inhibit-cache.
35305 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35307 * elf/dl-load.c (_dl_map_object): Use it.
35308 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35310 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35313 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35314 (__ieee754_powl): Saturate large exponents rather than testing for
35315 overflow of y*log2(x).
35316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35317 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35321 * math/s_ctan.c: Include <float.h>.
35322 (__ctan): Avoid internal overflow or cancellation in calculating
35324 * math/s_ctanf.c: Likewise.
35325 * math/s_ctanl.c: Likewise.
35326 * math/s_ctanh.c: Likewise.
35327 * math/s_ctanhf.c: Likewise.
35328 * math/s_ctanhl.c: Likewise.
35329 * math/libm-test.inc (ctan_test): Add more tests.
35330 (ctanh_test): Likewise.
35331 * sysdeps/i386/fpu/libm-test-ulps: Update.
35332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35334 2012-04-09 Andreas Jaeger <aj@suse.de>
35337 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35338 is an optional BSD extension.
35341 * manual/stdio.texi (Opening Streams): Document additional fopen
35344 2012-04-09 Roland McGrath <roland@hack.frob.com>
35346 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35347 %eax without telling the compiler.
35349 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35352 * manual/install.texi: Use sourceware.org.
35354 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35357 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35358 (__ieee754_pow): Generate overflow and underflow using huge*huge
35359 and tiny*tiny rather than just returning constant infinity or zero
35360 for large exponents.
35361 * math/libm-test.inc (pow_test): Require overflow exceptions for
35362 applicable cases of large exponents.
35365 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35366 (__ieee754_pow): Use iterative multiplication algorithm only for
35367 integer exponents with absolute value below 1024. Check for odd
35368 integer exponents when using algorithm for real exponents.
35369 * math/libm-test.inc (pow_test): Add more tests.
35370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35372 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35375 * math/libm-test.inc (exp_test): Do not allow overflow exception
35378 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35381 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35382 instead of __kernel_standard_f.
35384 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35386 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35387 * sysdeps/x86_64/memset_chk.S: Likewise.
35389 2012-04-08 Andreas Jaeger <aj@suse.de>
35392 * manual/startup.texi (Environment Access): Describe return value
35393 for putenv and setenv.
35396 * manual/filesys.texi (Directory Entries): Add description for
35400 * manual/filesys.texi (Directory Entries): Clarify that it's file
35401 system not operating system in the description of DT_UNKNOWN.
35404 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35406 2012-04-08 Stephen Compall <s11@member.fsf.org>
35409 * manual/llio.texi (Opening and Closing Files): Add cross
35410 reference to explain mode argument.
35412 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35414 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35415 * sysdeps/x86_64/memset_chk.S: Likewise.
35417 2012-04-07 David S. Miller <davem@davemloft.net>
35419 * elf/elf.h (R_SPARC_WDISP10): Define.
35420 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35422 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35423 R_SPARC_SIZE64 and R_SPARC_H34.
35425 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35427 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35428 conditions and remove no longer applicable assertion.
35430 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35432 * bits/byteswap.h: Include <features.h>.
35433 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35434 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35436 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35438 * bits/byteswap.h (__bswap_16): Removed.
35439 Include <bits/byteswap-16.h> to get __bswap_16.
35440 * sysdeps/i386/bits/byteswap.h: Likewise.
35441 * sysdeps/s390/bits/byteswap.h: Likewise.
35442 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35443 * bits/byteswap-16.h: New file.
35444 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35445 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35446 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35447 * string/Makefile (headers): Add bits/byteswap-16.h.
35449 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35452 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35454 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35455 * nss/tst-nss-static.c: New.
35457 2012-04-06 Robert Millan <rmh@gnu.org>
35460 * manual/llio.texi (File Position Primitive): lseek
35461 refers to WHENCE when it really means OFFSET.
35463 2012-04-06 Andreas Jaeger <aj@suse.de>
35465 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35466 strncmp declarations.
35468 * abilist/libc.abilist: Add __poll and __ppoll.
35470 2012-04-05 David S. Miller <davem@davemloft.net>
35472 * scripts/check-local-headers.sh: Accept a host triplet in the
35473 path matched by the exclude regexp.
35475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35477 * sysdeps/powerpc/powerpc32/dl-machine.h
35478 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35479 * sysdeps/s390/s390-32/dl-machine.h
35480 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35481 * sysdeps/sparc/sparc32/dl-machine.h
35482 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35483 * sysdeps/sparc/sparc64/dl-machine.h
35484 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35486 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35488 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35489 undefined symbol errors.
35491 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35494 2012-04-05 Michael Matz <matz@suse.de>
35497 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35499 2012-04-05 Andreas Jaeger <aj@suse.de>
35502 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35505 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35507 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35508 which ROUND is no valid rounding mode.
35510 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35512 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35514 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35516 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35518 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35519 an exception using FPU order intentionally.
35521 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35523 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35524 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35525 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35526 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35528 2012-04-05 Simon Josefsson <simon@josefsson.org>
35531 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35532 EINVAL when BUFLEN is too smal.
35534 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35537 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35538 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35540 2012-04-03 Andreas Jaeger <aj@suse.de>
35543 * manual/setjmp.texi (System V contexts): Fix sentence.
35546 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35547 New macro for this case.
35548 [!__GNUC__] (__bswap_64): New inline function for this case.
35549 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35550 * bits/byteswap.h: Likewise.
35551 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35552 ull, guard with __GLIBC_HAVE_LONG_LONG.
35554 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35555 __GLIBC_HAVE_LONG_LONG.
35557 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35558 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35560 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35563 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35564 inptr and inend, rather than using last_ch.
35566 2012-04-02 David S. Miller <davem@davemloft.net>
35568 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35569 * stdio-common/printf-parse.h (read_int): Change return type to
35570 'int', return -1 on INT_MAX overflow.
35571 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35572 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35573 overflows INT_MAX. Check for overflow of in-format-string precision
35574 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35575 SIZE_MAX not INT_MAX for integer overflow test.
35576 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35577 skip the construct in the format string but do not record anything.
35578 * stdio-common/bug22.c: Adjust to test both width/prevision
35579 INT_MAX overflow as well as total length INT_MAX overflow. Check
35580 explicitly for proper errno values.
35582 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35584 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35586 * string/test-strcmp.c [! WIDE]: Likewise.
35587 * time/tst-mktime2.c: Likewise for INT_MAX.
35588 * string/test-string.h: #include <sys/param.h> for MIN.
35590 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35591 * sysdeps/i386/init-first.c (init): Likewise.
35592 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35593 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35594 * sysdeps/sh/init-first.c (init): Likewise.
35596 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35598 * po/ru.po: Update from translation team.
35599 * po/vi.po: Likewise.
35601 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35603 * resolv/nss_dns/dns-host.c: Merge copyright years.
35605 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35607 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35608 Optimize memcpy with prefetch if
35609 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35610 src, dst pointers have unequal 16 byte alignments.
35612 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35615 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35616 from a CNAME entry and return the minimum ttl for the query.
35617 (gaih_getanswer_slice): Likewise.
35619 2012-03-30 Jeff Law <law@redhat.com>
35621 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35623 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35624 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35626 * resolv/nss_dns/dns-host.c: Update copyright year.
35628 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35630 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35631 requests to save a system call. Fix check that all bytes are sent.
35633 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35634 comments for sendmmsg.
35636 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35639 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35640 with only 1 character between 0x0041 and 0x01b0.
35641 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35642 * wcsmbs/tst-mbsnrtowcs.c: New file.
35644 2012-03-29 David S. Miller <davem@davemloft.net>
35646 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35647 small copies by hand.
35649 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35652 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35653 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35656 2012-03-28 David S. Miller <davem@davemloft.net>
35658 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35659 that branches into memcpy.
35660 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35662 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35663 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35664 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35666 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35667 implementation too.
35668 * sysdeps/sparc/mempcpy.S: New file.
35670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35671 the IFUNC routine in the libc case.
35672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35674 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35675 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35676 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35677 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35678 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35679 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35680 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35681 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35683 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35684 loop to 256 bytes instead of 64 bytes and fix test signedness.
35686 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35687 * sysdeps/sparc/sparc32/Makefile: rather than here...
35688 * sysdeps/sparc/sparc64/Makefile: and here.
35690 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35692 * malloc/mallocbug.c: Avoid warnings about unused variables.
35694 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35697 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35698 in the right place. Discard and retry query if response is
35699 larger than input buffer size.
35701 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35706 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35707 x for large integer exponent.
35708 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35709 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35710 sign of result as needed afterwards.
35711 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35712 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35713 result for underflowing pow the same as for overflow.
35714 (__kernel_standard_l): Handle powl overflow and underflow here
35715 rather than calling __kernel_standard.
35716 * math/libm-test.inc (pow_test): Add more tests.
35731 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35732 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35733 (__kernel_standard_l): New function.
35734 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35736 * math/w_acosl.c (__acosl): Likewise.
35737 * math/w_asinl.c (__asinl): Likewise.
35738 * math/w_atan2l.c (__atan2l): Likewise.
35739 * math/w_atanhl.c (__atanhl): Likewise.
35740 * math/w_coshl.c (__coshl): Likewise.
35741 * math/w_exp10l.c (__exp10l): Likewise.
35742 * math/w_exp2l.c (__exp2l): Likewise.
35743 * math/w_fmodl.c (__fmodl): Likewise.
35744 * math/w_hypotl.c (__hypotl): Likewise.
35745 * math/w_j0l.c (__j0l, __y0l): Likewise.
35746 * math/w_j1l.c (__j1l, __y1l): Likewise.
35747 * math/w_jnl.c (__jnl, __ynl): Likewise.
35748 * math/w_lgammal.c (__lgammal): Likewise.
35749 * math/w_log10l.c (__log10l): Likewise.
35750 * math/w_log2l.c (__log2l): Likewise.
35751 * math/w_logl.c (__logl): Likewise.
35752 * math/w_powl.c (__powl): Likewise.
35753 * math/w_remainderl.c (__remainderl): Likewise.
35754 * math/w_scalbl.c (sysv_scalbl): Likewise.
35755 * math/w_sinhl.c (__sinhl): Likewise.
35756 * math/w_sqrtl.c (__sqrtl): Likewise.
35757 * math/w_tgammal.c (__tgammal): Likewise.
35758 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35759 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35760 * math/libm-test.inc (acos_test): Add more tests.
35761 (acosh_test): Likewise.
35762 (asin_test): Likewise.
35763 (atanh_test): Likewise.
35764 (exp_test): Likewise.
35765 (exp10_test): Likewise.
35766 (exp2_test): Likewise.
35767 (expm1_test): Likewise.
35768 (lgamma_test): Likewise.
35769 (log_test): Likewise.
35770 (log10_test): Likewise.
35771 (log1p_test): Likewise.
35772 (log2_test): Likewise.
35773 (pow_test): Do not allow some spurious overflow exceptions.
35774 (sqrt_test): Add more tests.
35775 (tgamma_test): Likewise.
35776 (y0_test): Likewise.
35777 (y1_test): Likewise.
35778 (yn_test): Likewise.
35780 2012-03-27 Anton Blanchard <anton@samba.org>
35782 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35784 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35785 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35786 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35788 2012-03-27 David S. Miller <davem@davemloft.net>
35790 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35792 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35793 have-as-vis3 check.
35795 2012-03-27 Andreas Jaeger <aj@suse.de>
35797 * sysdeps/x86_64/elf/configure.in: Moved to ...
35798 * sysdeps/x86_64/configure.in: ... here.
35799 * sysdeps/x86_64/elf/start.S: Moved to ...
35800 * sysdeps/x86_64/start.S: ... here.
35801 * sysdeps/x86_64/elf/configure: Delete.
35803 * sysdeps/x86_64/configure.in: Merge contents from
35804 sysdeps/i386/configure.in (without i686 check).
35806 * sysdeps/i386/elf/Versions: Merge into ...
35807 * sysdeps/i386/Versions: ... this.
35808 * sysdeps/i386/elf/Versions: Delete file.
35809 * sysdeps/i386/elf/start.S: Moved to ...
35810 * sysdeps/i386/start.S: ...here.
35811 * sysdeps/i386/elf/configure.in: Merge into...
35812 * sysdeps/i386/configure.in: ...here.
35813 * sysdeps/i386/elf/configure.in: Delete file.
35814 * sysdeps/i386/elf/configure: Delete file.
35816 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35817 * debug/backtracesyms.c: ... here.
35818 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35819 * debug/backtracesymsfd.c: ... here.
35820 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35821 * sysdeps/generic/ifunc-sel.h: ... here.
35823 * sysdeps/unix/i386/start.c: Delete file.
35824 * sysdeps/unix/sparc/start.c: Delete file.
35825 * sysdeps/unix/start.c: Delete file.
35827 * sysdeps/sh/elf/configure.in: Moved to ...
35828 * sysdeps/sh/configure.in: ... here.
35829 * sysdeps/sh/elf/start.S: Moved to ...
35830 * sysdeps/sh/start.S: ... here.
35831 * sysdeps/sh/elf/configure: Delete file.
35833 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35834 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35835 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35836 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35837 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35838 * sysdeps/powerpc/powerpc64/start.S: here.
35839 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35840 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35841 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35842 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35843 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35845 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35846 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35847 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35848 * sysdeps/powerpc/powerpc32/start.S: ... here.
35849 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35850 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35851 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35853 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35854 * sysdeps/powerpc/ifunc-sel.h: ... here.
35855 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35856 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35858 * sysdeps/sparc/elf/configure.in: Moved to ...
35859 * sysdeps/sparc/configure.in: ... here.
35860 * sysdeps/sparc/elf/configure: Delete file.
35861 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35862 * sysdeps/sparc/sparc32/start.S: ... here.
35863 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35864 * sysdeps/sparc/sparc64/start.S: ... here.
35865 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35866 * sysdeps/sparc/sparc32/Makefile: ... this.
35867 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35868 * sysdeps/sparc/sparc64/Makefile: ... this.
35870 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35871 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35872 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35873 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35874 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35875 * sysdeps/s390/s390-32/setjmp.S: ... here.
35876 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35877 * sysdeps/s390/s390-32/configure.in: ... here.
35878 * sysdeps/s390/s390-32/elf/configure: Delete file.
35879 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35880 * sysdeps/s390/s390-32/start.S: ... here.
35882 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35883 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35884 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35885 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35886 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35887 * sysdeps/s390/s390-64/setjmp.S: ... here.
35888 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35889 * sysdeps/s390/s390-64/configure.in: ... here
35890 * sysdeps/s390/s390-64/elf/configure: Delete file.
35891 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35892 * sysdeps/s390/s390-64/start.S: ... here.
35893 * sysdeps/s390/s390-64/elf/configure: Delete.
35895 * configure.in: Remove support for elf directories in sysdeps.
35897 * configure: Regenerated.
35898 * sysdeps/i386/configure: Regenerated.
35899 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35900 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35901 * sysdeps/s390/s390-32/configure: Regenerated.
35902 * sysdeps/s390/s390-64/configure: Regenerated.
35903 * sysdeps/sh/configure: Regenerated.
35904 * sysdeps/sparc/configure: Regenerated.
35905 * sysdeps/x86_64/configure: Regenerated.
35907 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35911 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35912 denormal result into account.
35914 2012-03-25 Roland McGrath <roland@hack.frob.com>
35916 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35917 Reported by Allan McRae <allan@archlinux.org>.
35919 2012-03-23 Jeff Law <law@redhat.com>
35921 * nss/getnssent.c (__nss_getent): Fix typo.
35923 2012-03-23 David S. Miller <davem@davemloft.net>
35925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35927 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35929 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35930 to pad to uint64_t for each field.
35931 (dl_tls_index): Replace unsigned long with uint64_t.
35933 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35934 Paul Pluzhnikov <ppluzhnikov@google.com>
35937 * grp/Makefile (otherlibs): Don't set it.
35938 * inet/Makefile (otherlibs): Likewise.
35939 * login/Makefile (otherlibs): Likewise.
35940 * nscd/Makefile (otherlibs): Likewise.
35941 * posix/Makefile (otherlibs): Likewise.
35942 * pwd/Makefile (otherlibs): Likewise.
35943 * rt/Makefile (otherlibs): Likewise.
35944 * sunrpc/Makefile (otherlibs): Likewise.
35945 * nss/Makefile (otherlibs): Likewise.
35946 Add libnss_files to routines and static-only-routines.
35947 ($(objpfx)getent): Remove rule.
35948 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35949 static-only-routines.
35951 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35954 * math/s_cexp.c: Include <float.h>.
35955 (__cexp): Handle exp result overflowing not necessarily
35956 overflowing both real and imaginary parts of result.
35957 * math/s_cexpf.c: Likewise.
35958 * math/s_cexpl.c: Likewise.
35959 * math/libm-test.inc (cexp_test): Add more tests.
35960 * sysdeps/i386/fpu/libm-test-ulps: Update.
35961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35963 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35965 * include/link.h (ELFW): New macro.
35966 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35967 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35969 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35971 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35974 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35976 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35978 (struct La_x32_retval): Likewise.
35980 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35982 * sysdeps/x86_64/preconfigure.in: New file.
35983 * sysdeps/x86_64/preconfigure: New generated file.
35985 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35988 * math/e_exp2l.c: Include <float.h>.
35989 (__ieee754_exp2l): Handle overflow and underflow cases
35990 separately. Only pass fractional part of argument to
35992 * math/libm-test.inc (exp2_test): Add more tests.
35994 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35995 negating x to take absolute value.
35996 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35998 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35999 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36001 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36002 computing low part if x was negated.
36003 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36005 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36007 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36008 la_x32_gnu_pltexit.
36009 (pltexit): Cast int_retval to ptrdiff_t.
36010 * elf/tst-auditmod3b.c: Likewise.
36011 * elf/tst-auditmod4b.c: Likewise.
36012 * elf/tst-auditmod5b.c: Likewise.
36013 * elf/tst-auditmod6b.c: Likewise.
36014 * elf/tst-auditmod6c.c: Likewise.
36015 * elf/tst-auditmod7b.c: Likewise.
36017 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36018 and x32_gnu_pltexit.
36020 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36021 __ELF_NATIVE_CLASS.
36022 (La_x32_regs): New macro.
36023 (La_x32_retval): Likewise.
36024 (la_x32_gnu_pltenter): New function prototype.
36025 (la_x32_gnu_pltexit): Likewise.
36027 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36029 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36034 * configure.in (libc_cv_cc_nofma): Check for option to disable
36035 generation of FMA instructions.
36036 * configure: Regenerate.
36037 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36038 * sysdeps/ieee754/dbl-64/Makefile: New file.
36039 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36040 Remove brandred-fma4.
36041 (CFLAGS-brandred-fma4.c): Remove.
36042 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36043 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36048 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36050 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36051 LLONG_MAX != LONG_MAX.
36052 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36053 (_fitoa_word): Likewise.
36054 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36055 LLONG_MAX != LONG_MAX.
36056 * stdio-common/_itowa.h: Include <_itoa.h>.
36057 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36058 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36059 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36060 only if not defined.
36061 (_ITOA_WORD_TYPE): Likewise.
36062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36063 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36065 2012-03-21 David S. Miller <davem@davemloft.net>
36067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36069 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36071 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36072 of x86_64 when setting libc_cv_slibdir, libdir and
36074 * sysdeps/unix/sysv/linux/configure: Regenerated.
36076 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36078 * manual/lang.texi (Old Varargs): Remove section.
36079 (How Variadic): Update menu.
36080 (va_start): Do not mention varargs.h.
36082 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36083 Joseph Myers <joseph@codesourcery.com>
36085 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36087 * configure: Regenerated.
36089 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36091 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36092 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36095 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36098 * Makefile (files-for-dist): Remove NOTES.
36099 (NOTES): Remove rule.
36100 * README: Don't refer to NOTES.
36101 * manual/creature.texi: Don't include macros.texi.
36102 * manual/intro.texi (creature.texi): Remove comment referring to
36105 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36106 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36107 * configure: Regenerated.
36108 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36109 LIBC_TRY_CC_OPTION.
36110 (libc_cv_as_i686): Likewise.
36111 (libc_cv_cc_avx): Likewise.
36112 (libc_cv_cc_sse2avx): Likewise.
36113 (libc_cv_cc_fma4): Likewise.
36114 (libc_cv_cc_novzeroupper): Likewise.
36115 * sysdeps/i386/configure: Regenerated.
36118 * sysdeps/i386/fpu/s_cexp.S: Remove.
36119 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36120 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36121 * math/libm-test.inc (cexp_test): Add more tests.
36122 * sysdeps/i386/fpu/libm-test-ulps: Update.
36123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36125 2012-03-21 Allan McRae <allan@archlinux.org>
36127 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36129 2012-03-21 Joseph Myers <joseph@codesourcery.com>
36132 * math/w_exp2.c: Do not include <float.h>.
36133 (o_threshold, u_threshold): Remove.
36134 (__exp2): Calculate result before checking finiteness and calling
36136 * math/w_exp2f.c: Likewise.
36137 * math/w_exp2l.c: Likewise.
36138 * math/libm-test.inc (exp2_test): Require overflow exception for
36142 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36143 range of signed 64-bit integers before using fistpll. Remove
36144 checks for whether integers fit in mantissa bits.
36145 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36146 the range of signed 32-bit integers before using fistpl. Remove
36147 checks for whether integers fit in mantissa bits.
36148 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36149 (__ieee754_powl): Test for y outside the range of signed 64-bit
36150 integers before using fistpll. Reduce 64-bit values to 63-bit
36152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36153 divide-by-zero is raised for zero to large negative powers.
36154 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36155 (__ieee754_powl): Test for y outside the range of signed 64-bit
36156 integers before using fistpll. Reduce 64-bit values to 63-bit
36158 * math/libm-test.inc (pow_test): Add more tests.
36160 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36162 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36163 <stdio-common/_itoa.h>.
36164 * debug/segfault.c: Likewise.
36165 * elf/dl-cache.c: Likewise.
36166 * elf/dl-minimal.c: Likewise.
36167 * elf/dl-misc.c: Likewise.
36168 * elf/dl-sysdep.c: Likewise.
36169 * elf/dl-version.c: Likewise.
36170 * elf/rtld.c: Likewise.
36171 * hurd/hurdsock.c: Likewise.
36172 * hurd/lookup-retry.c: Likewise.
36173 * malloc/malloc.c: Likewise.
36174 * malloc/mtrace.c: Likewise.
36175 * nscd/nscd_getgr_r.c: Likewise.
36176 * nscd/nscd_getpw_r.c: Likewise.
36177 * nscd/nscd_getserv_r.c: Likewise.
36178 * posix/getopt_init.c: Likewise.
36179 * posix/wordexp.c: Likewise.
36180 * stdio-common/_itoa.c: Likewise.
36181 * stdio-common/printf_fphex.c: Likewise.
36182 * stdio-common/vfprintf.c: Likewise.
36183 * string/_strerror.c: Likewise.
36184 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36185 * sysdeps/i386/i686/hp-timing.h: Likewise.
36186 * sysdeps/mach/_strerror.c: Likewise.
36187 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36188 * sysdeps/mach/hurd/sethostid.c: Likewise.
36189 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36190 * sysdeps/mach/xpg-strerror.c: Likewise.
36191 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36192 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36193 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36194 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36195 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36196 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36197 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36198 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36199 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36200 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36201 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36202 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36203 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36204 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36205 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36206 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36207 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36208 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36209 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36210 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36211 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36213 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36215 * stdio-common/_itoa.h: Moved to ...
36216 * sysdeps/generic/_itoa.h: Here.
36218 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36220 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36221 instead of "_itoa.h" and "_itowa.h".
36222 * stdio-common/vfprintf.: Likewise.
36224 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36226 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36228 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36229 (__signbit): Likwise.
36230 (llrintf): Likwise.
36233 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36235 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36238 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36240 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36241 OVERFLOW_EXCEPTION_OK.
36242 * math/libm-test.inc ("Philosophy"): Update comment about
36244 (OVERFLOW_EXCEPTION): Define.
36245 (OVERFLOW_EXCEPTION_OK): Likewise.
36246 (INVALID_EXCEPTION_OK): Renumber.
36247 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36248 (IGNORE_ZERO_INF_SIGN): Likewise.
36249 (test_exceptions): Handle FE_OVERFLOW.
36250 (exp10_test): Expect overflow exceptions.
36251 (exp2_test): Likewise.
36252 (expm1_test): Likewise.
36253 (nextafter_test): Likewise.
36254 (pow_test): Likewise.
36255 (scalbn_test): Likewise.
36256 (scalbln_test): Likewise.
36258 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36260 * sysdeps/x86_64/bits/atomic.h
36261 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36263 (atomic_exchange_acq): Likewise.
36264 (__arch_exchange_and_add_body): Likewise.
36265 (__arch_add_body): Likewise.
36266 (atomic_add_negative): Likewise.
36267 (atomic_add_zero): Likewise.
36269 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36271 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36272 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36274 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36276 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36277 Check __x86_64__ instead of __WORDSIZE.
36279 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36281 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36283 2012-03-19 David S. Miller <davem@davemloft.net>
36285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36287 * sysdeps/sparc/fpu/fenv_private.h: New file.
36288 * sysdeps/sparc/fpu/math_private.h: Use it.
36289 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36291 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36292 (libc_feholdexcept_setroundl): Remove.
36293 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36295 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36296 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36300 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36301 int64_t instead of long int.
36302 (INSERT_WORDS64): Likwise.
36304 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36306 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36307 _Unwind_GetCFA return to _Unwind_Ptr first.
36309 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36312 * math/s_clog.c: Include <float.h>.
36313 (__clog): Scale large or subnormal inputs.
36314 * math/s_clogf.c: Likewise.
36315 * math/s_clogl.c: Likewise.
36316 * math/s_clog10.c: Include <float.h>.
36317 (M_LOG10_2): Define.
36318 (__clog10): Scale large or subnormal inputs.
36319 * math/s_clog10f.c: Likewise.
36320 * math/s_clog10l.c: Likewise.
36321 * math/libm-test.inc (clog_test): Add more tests.
36322 (clog10_test): Likewise.
36323 * sysdeps/i386/fpu/libm-test-ulps: Update.
36324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36327 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36329 * math/libm-test.inc (atan2_test): Add another test.
36331 * Makerules (common-objdir-compile): Remove.
36332 * sysdeps/unix/Makefile (config-generated): Do not add
36333 $(unix-generated) to variable.
36334 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36335 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36337 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36339 [generic bits/local_lim.h] (before-compile): Do not append to
36341 [generic bits/local_lim.h] (common-generated): Likewise.
36342 [generic sys/param.h] (before-compile): Do not append to variable.
36343 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36344 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36345 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36346 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36348 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36349 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36350 [generic sys/param.h] ($(addprefix
36351 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36352 [generic sys/param.h] (common-generated): Do not append to
36354 [generic sys/param.h] (sysdep_headers): Likewise.
36355 [generic bits/errno.h] (before-compile): Do not append to
36357 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36359 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36360 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36361 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36362 [generic bits/errno.h] (common-generated): Do not append to
36364 [generic bits/ioctls.h] (before-compile): Do not append to
36366 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36368 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36369 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36370 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36372 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36373 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36374 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36375 [generic bits/ioctls.h] (common-generated): Do not append to
36377 [generic sys/syscall.h] (syscall.h): Remove variable.
36378 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36380 [generic sys/syscall.h] (before-compile): Do not append to
36382 [generic sys/syscall.h] (common-generated): Likewise.
36383 * sysdeps/unix/errnos-tmpl.c: Remove file.
36384 * sysdeps/unix/errnos.awk: Likewise.
36385 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36386 * sysdeps/unix/ioctls.awk: Likewise.
36387 * sysdeps/unix/mk-local_lim.c: Likewise.
36388 * sysdeps/unix/snarf-ioctls: Likewise.
36390 2012-03-19 Richard Henderson <rth@twiddle.net>
36392 * sysdeps/i386/fpu/fenv_private.h: New file.
36393 * sysdeps/i386/fpu/math_private.h: Use it.
36394 (math_opt_barrier, math_force_eval): Remove.
36395 (libc_feholdexcept_setround_53bit): Remove.
36396 (libc_feupdateenv_53bit): Remove.
36397 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36398 (math_opt_barrier, math_force_eval): Remove.
36399 (libc_feholdexcept): Remove.
36400 (libc_feholdexcept_setround): Remove.
36401 (libc_fetestexcept, libc_fesetenv): Remove.
36402 (libc_feupdateenv_test): Remove.
36403 (libc_feupdateenv, libc_feholdsetround): Remove.
36404 (libc_feresetround): Remove.
36406 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36407 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36409 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36410 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36411 (libc_feupdateenv_testl): New.
36412 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36413 (libc_feupdateenv_testf): New.
36414 (libc_feupdateenv): Use libc_feupdateenv_test.
36415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36416 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36418 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36419 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36420 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36421 (libc_feresetround_noex): New.
36422 (libc_feresetround_noexf): New.
36423 (libc_feresetround_noexl): New.
36424 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36425 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36426 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36427 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36429 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36432 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36433 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36434 SET_RESTORE_ROUND_NOEX.
36435 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36436 SET_RESTORE_ROUND_NOEXF.
36437 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36438 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36439 (libc_feholdsetroundf): New.
36440 (libc_feresetround, libc_feresetroundf): New.
36442 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36443 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36444 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36446 * sysdeps/generic/math_private.h: Include <fenv.h>.
36447 (default_libc_feholdexcept): New.
36448 (default_libc_feholdexcept_setround): New.
36449 (default_libc_fesetenv, default_libc_feupdateenv): New.
36450 (libc_feholdexcept): Only define if undefined.
36451 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36452 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36453 (libc_feholdexcept_setroundl): Likewise.
36454 (libc_feholdexcept_setround_53bit): Likewise.
36455 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36456 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36457 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36458 (libc_feupdateenv_53bit): Likewise.
36459 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36460 (libc_feholdexcept): Convert from macro to inline function.
36461 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36462 (libc_fesetenv, libc_feupdateenv): Likewise.
36464 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36465 not previously defined.
36466 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36467 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36468 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36469 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36470 * sysdeps/ieee754/flt-32/math_private.h: New file.
36471 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36472 math_private.h below SET_FLOAT_WORD.
36473 (__isnan, __isinf_ns, __finite): Remove.
36474 (__isnanf, __isinf_nsf, __finitef): Remove.
36476 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36480 2012-03-17 David S. Miller <davem@davemloft.net>
36483 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36486 2012-03-16 David S. Miller <davem@davemloft.net>
36488 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36492 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36494 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36495 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36496 sysdep_routines when subdir is sysvipc.
36497 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36498 __getshmlba helper.
36500 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36502 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36504 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36507 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36509 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36510 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36511 (__lround): Renamed to ...
36512 (__llround): This. Replace long int with long long int.
36513 Define lround functions as aliases of llround functions.
36514 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36516 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36518 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36519 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36520 adresses to uintptr_t. Replace "long int" and "unsigned long
36521 int" with "greg_t" on va_arg.
36523 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36525 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36526 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36528 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36529 Move e_machine check before EI_CLASS check. Handle x32
36530 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36531 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36532 SKIP_EM_IA_64 and include
36533 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36535 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36536 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36537 (add_system_dir): New macro.
36539 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36540 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36542 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36553 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36555 * math/w_j0f.c (j0f): Likewise.
36557 * math/w_j0l.c (__j0l): Likewise.
36559 * math/w_j1.c (j1): Likewise.
36561 * math/w_j1f.c (j1f): Likewise.
36563 * math/w_j1l.c (__j1l): Likewise.
36565 * math/w_jn.c (jn): Likewise.
36567 * math/w_jnf.c (jnf): Likewise.
36569 * math/w_jnl.c (__jnl): Likewise.
36571 * math/libm-test.inc (j0_test): Add more tests.
36572 (j1_test): Likewise.
36573 (jn_test): Likewise. Add trailing semicolon to existing test.
36574 (y0_test): Likewise.
36575 (y1_test): Likewise.
36576 * sysdeps/i386/fpu/libm-test-ulps: Update.
36577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36581 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36582 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36583 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36584 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36585 (__tanl): Set errno for infinite argument.
36586 * sysdeps/i386/fpu/mptan.c: Remove.
36587 * sysdeps/i386/fpu/s_tan.S: Likewise.
36588 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36589 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36590 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36591 * math/libm-test.inc (tan_test): Add more tests and enable more
36592 tests for double and long double.
36593 * sysdeps/i386/fpu/libm-test-ulps: Update.
36594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36596 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36598 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36599 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36601 2012-03-16 Roland McGrath <roland@hack.frob.com>
36603 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36604 * configure.in: Use it for both main tree and add-ons.
36605 * configure: Regenerated.
36607 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36609 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36611 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36613 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36617 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36618 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36619 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36620 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36621 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36623 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36625 != 0 for prec == 2.
36626 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36627 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36628 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36629 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36630 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36631 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36632 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36633 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36634 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36635 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36636 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36637 * math/libm-test.inc (cos_test): Add more tests and enable more
36638 tests for long double.
36639 (sin_test): Likewise.
36640 (sincos_test): Likewise.
36641 * sysdeps/i386/fpu/libm-test-ulps: Update.
36642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36644 2012-03-16 David S. Miller <davem@davemloft.net>
36646 * sysdeps/sparc/fpu/math_private.h: New file.
36648 2012-03-15 David S. Miller <davem@davemloft.net>
36650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36660 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36664 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36665 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36667 * sysdeps/sparc/sparc-ifunc.h: New file.
36668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36692 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36694 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36696 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36713 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36715 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36719 2012-03-15 Andreas Jaeger <aj@suse.de>
36722 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36723 ieee754/flt-32 implementation for sin, cos and sincos.
36724 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36725 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36726 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36727 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36728 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36729 ieee754/flt-32 implementation for tan.
36731 * math/libm-test.inc (cos_test): Enable some large input tests for
36733 (sin_test): Likewise.
36734 (sincos_test): Likewise.
36735 (tan_test): Add tests for large input.
36737 * sysdeps/i386/fpu/libm-test-ulps: Update.
36739 2012-03-15 Andreas Jaeger <aj@suse.de>
36742 * math/libm-test.inc (cos_test): Add more test cases.
36743 (sin_test): Likewise.
36744 (sincos_test): Likewise.
36746 2012-03-15 Andreas Jaeger <aj@suse.de>
36749 * math/libm-test.inc (cos_test): Add a test case for large input
36751 (sin_test): Likewise.
36752 (sincos_test): Likewise.
36754 2012-03-15 Andreas Jaeger <aj@suse.de>
36755 Joseph Myers <joseph@codesourcery.com>
36758 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36759 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36760 * sysdeps/i386/fpu/branred.c: Likewise.
36761 * sysdeps/i386/fpu/dosincos.c: Likewise.
36762 * sysdeps/i386/fpu/mpa.c: Likewise.
36763 * sysdeps/i386/fpu/s_cos.S: Likewise.
36764 * sysdeps/i386/fpu/s_sin.S: Likewise.
36765 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36766 * sysdeps/i386/fpu/sincos32.c: Likewise.
36768 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36770 (libc_feupdateenv_53bit): Define.
36771 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36773 (libc_feupdateenv_53bit): Define.
36775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36776 53 bit (without extend i386 double precision).
36778 * math/libm-test.inc (sincos_test): Add tests for large input.
36782 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36784 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36788 2012-03-15 David S. Miller <davem@davemloft.net>
36790 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36791 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36792 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36793 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36818 fmin/fmax sysdep routines.
36819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36821 2012-03-14 David S. Miller <davem@davemloft.net>
36823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36845 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36895 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36900 * sysdeps/sparc/configure.in: New file.
36901 * sysdeps/sparc/configure: Generate.
36902 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36903 * configure: Regenerate.
36904 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36905 * config.make.in (have-as-vis3): New.
36906 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36907 available use -Av9d instead of -Av9a.
36908 * sysdeps/sparc/sparc64/Makefile: Likewise.
36909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36924 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36925 fzeros/fnegs to load 0x80000000 into a float register instead of
36927 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36929 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36933 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36934 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36935 ($(inst_includedir)/bits/syscall.h): Remove rule.
36936 ($(objpfx)bits/syscall.d): Include instead of
36937 $(objpfx)syscall-list.d.
36938 (generated): Change syscall-list.h and syscall-list.d to
36939 bits/syscall.h and bits/syscall.d.
36941 2012-03-14 Roland McGrath <roland@hack.frob.com>
36944 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36946 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36949 * math/s_csqrt.c: Include <float.h>.
36950 (__csqrt): Scale large or subnormal inputs.
36951 * math/s_csqrtf.c: Likewise.
36952 * math/s_csqrtl.c: Likewise.
36953 * math/libm-test.inc (csqrt_test): Add more tests.
36954 * sysdeps/i386/fpu/libm-test-ulps: Update.
36955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36958 * math/libm-test.inc (hypot_test): Add more tests.
36960 2012-03-13 David S. Miller <davem@davemloft.net>
36963 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36964 double-precision for the calculation instead of scaling.
36966 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36968 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36969 manipulate bits before adding and subtracting TWO52[sx].
36970 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36971 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36973 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36975 2012-03-13 David S. Miller <davem@davemloft.net>
36977 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36978 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36980 rtld-global-offsets.h
36981 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36983 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36986 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36988 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36989 'err' in the ifdef scope in which it is actually used.
36991 * nss/nss_db/db-init.c: Include string.h
36993 2012-03-12 David S. Miller <davem@davemloft.net>
36995 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36996 masking out of the most significant byte of random value used.
36997 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36998 Fix coding style in previous change.
37000 * sysdeps/unix/sysv/linux/kernel-features.h
37001 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37002 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37004 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37007 2012-03-11 David S. Miller <davem@davemloft.net>
37009 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37010 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37011 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37012 for 'resultvar' otherwise things get truncated on 64-bit.
37014 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37015 Fix masking out of the most significant byte of random value used.
37017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37019 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37023 2012-03-09 David S. Miller <davem@davemloft.net>
37025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37026 variables with appropriate CPP guards.
37027 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37028 from the frame pointer, not the stack pointer. Correct layout
37029 comments. Fix test on resulting framesize and the management of
37030 the outregs buffer for pltexit. Preserve floating point return
37031 values across _dl_call_pltexit call.
37032 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37033 framesize and the management of the outregs buffer for pltexit.
37034 Preserve floating point return values across _dl_call_pltexit
37036 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37037 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37038 (la_sparc64_gnu_pltexit): New functions.
37039 (print_exit): Fix format string for return register value.
37041 2012-03-10 Joseph Myers <joseph@codesourcery.com>
37043 * sunrpc/Makefile (others): Add rpcgen.
37044 ($(objpfx)rpcgen): Remove special build rule and dependency on
37046 * sunrpc/rpcgen.c: New file.
37048 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37051 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37052 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37053 * sysdeps/i386/crti.S: Likewise.
37054 * sysdeps/i386/crtn.S: Likewise.
37055 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37056 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37057 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37058 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37059 * sysdeps/sh/crti.S: Likewise.
37060 * sysdeps/sh/crtn.S: Likewise.
37061 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37064 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37066 * locale/programs/locfile-kw.gperf: Likewise.
37067 * locale/programs/charmap-kw.h: Regenerated.
37068 * locale/programs/locfile-kw.h: Likewise.
37071 * intl/plural.y: Replace FSF snail mail address with URL.
37072 * intl/plural.c: Regenerated.
37074 2012-03-09 Richard Henderson <rth@twiddle.net>
37076 * include/math_private.h: Remove file.
37077 * math/math_private.h: Move file ...
37078 * sysdeps/generic/math_private.h: ... here.
37080 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37081 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37082 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37084 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37085 and <math_private.h>.
37086 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37087 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37088 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37089 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37090 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37103 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37104 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37105 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37107 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37108 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37109 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37110 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37111 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37112 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37115 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37116 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37118 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37119 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37122 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37123 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37125 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37126 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37127 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37128 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37129 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37130 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37131 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37132 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37154 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37155 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37156 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37157 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37158 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37160 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37161 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37164 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37165 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37166 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37167 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37168 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37169 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37170 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37172 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37173 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37174 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37175 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37176 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37177 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37178 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37179 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37180 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37181 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37182 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37183 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37184 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37185 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37186 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37187 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37188 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37189 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37190 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37191 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37192 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37193 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37194 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37195 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37196 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37197 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37198 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37199 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37200 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37201 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37202 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37203 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37204 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37205 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37206 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37207 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37208 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37209 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37210 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37211 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37212 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37214 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37215 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37216 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37217 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37219 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37220 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37221 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37222 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37223 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37224 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37225 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37226 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37227 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37228 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37229 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37231 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37232 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37233 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37235 * sysdeps/ieee754/k_standard.c: Likewise.
37236 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37237 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37238 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37239 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37240 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37241 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37242 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37243 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37244 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37245 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37247 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37248 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37249 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37250 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37251 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37252 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37253 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37254 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37255 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37256 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37257 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37258 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37261 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37262 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37263 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37264 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37265 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37266 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37267 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37268 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37269 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37270 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37271 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37272 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37273 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37277 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37278 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37279 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37280 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37281 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37282 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37283 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37284 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37285 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37286 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37287 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37288 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37289 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37291 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37292 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37293 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37294 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37295 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37298 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37300 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37305 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37311 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37312 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37313 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37314 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37315 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37316 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37317 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37318 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37321 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37322 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37323 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37324 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37325 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37326 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37327 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37328 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37329 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37330 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37331 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37332 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37333 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37334 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37335 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37337 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37341 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37342 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37343 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37344 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37345 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37346 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37347 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37348 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37349 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37353 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37354 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37355 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37356 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37357 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37358 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37359 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37361 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37362 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37363 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37364 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37366 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37367 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37368 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37369 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37370 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37371 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37372 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37373 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37374 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37375 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37376 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37379 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37380 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37381 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37382 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37383 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37384 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37385 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37387 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37388 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37389 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37390 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37391 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37392 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37393 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37394 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37395 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37396 * sysdeps/ieee754/s_lib_version.c: Likewise.
37397 * sysdeps/ieee754/s_matherr.c: Likewise.
37398 * sysdeps/ieee754/s_signgam.c: Likewise.
37399 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37400 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37401 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37402 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37403 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37404 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37405 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37406 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37407 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37408 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37409 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37410 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37411 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37412 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37413 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37414 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37415 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37416 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37417 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37421 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37423 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37424 * sunrpc/rpc_main.c: Likewise.
37425 * sunrpc/rpc_svcout.c: Likewise.
37427 2012-03-09 David S. Miller <davem@davemloft.net>
37429 * include/math_private.h: New file.
37431 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37433 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37434 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37435 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37436 from <bits/socket_type.h>.
37437 (enum __socket_type): Don't define here.
37438 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37440 bits/socket_type.h.
37443 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37444 checking __USE_GNU.
37446 * Makerules ($(inst_includedir)/%.h): New rule.
37447 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37448 (install-others): Remove variable setting.
37449 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37451 2012-03-08 Richard Henderson <rth@twiddle.net>
37453 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37454 from macro to inline function; merge with the
37455 !__LIBC_INTERNAL_MATH_INLINES version.
37456 (__ieee754_sqrtf): Likewise.
37458 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37459 to inline function.
37460 (__rintf, __floor, __floorf): Likewise.
37462 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37463 macro to inline function.
37464 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37466 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37467 not <math/math_private.h>.
37469 2012-03-08 David S. Miller <davem@davemloft.net>
37471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37473 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37475 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37477 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37479 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37480 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37482 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37484 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37485 be defined individually, they must be defined as a block. Define
37486 S for printing a string instead of hidint the different by using a
37487 macro for adding the 'l'.
37488 * stdio-common/tst-fphex-wide.c: Adjust.
37490 2012-03-07 Marek Polacek <polacek@redhat.com>
37492 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37494 2012-03-08 Marek Polacek <polacek@redhat.com>
37497 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37498 * stdio-common/tst-fphex.c: Define a few macros to make the
37499 test reusable. Use them.
37500 * stdio-common/tst-fphex-wide.c: New file.
37502 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37505 * manual/macros.texi (gnusystems): New macro.
37506 (nongnusystems): Likewise.
37507 (gnulinuxhurdsystems): Likewise.
37508 (gnuhurdsystems): Likewise..
37509 (gnulinuxsystems): Likewise.
37510 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37511 variants of the GNU system, not "GNU system".
37512 * manual/conf.texi: Likewise.
37513 * manual/errno.texi: Likewise. Update example of errno macro
37515 * manual/filesys.texi: Likewise.
37516 (getumask): Document as specific to GNU/Hurd.
37517 * manual/install.texi: Likewise. Reword some references to
37519 * manual/intro.texi: Likewise.
37520 * manual/io.texi: Likewise.
37521 (File Name Portability): Detail which constraints are inapplicable
37522 to all GNU systems and which are only inapplicable to GNU/Hurd.
37523 * manual/job.texi: Likewise.
37524 * manual/llio.texi: Likewise.
37525 (O_NOCTTY): Document as present on GNU/Linux.
37526 * manual/maint.texi: Likewise.
37527 * manual/memory.texi: Likewise.
37528 * manual/pattern.texi: Likewise.
37529 * manual/pipe.texi: Likewise.
37530 * manual/process.texi: Likewise.
37531 * manual/resource.texi: Likewise.
37532 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37534 * manual/setjmp.texi: Likewise.
37535 * manual/signal.texi: Likewise.
37536 * manual/startup.texi: Likewise.
37537 * manual/stdio.texi: Likewise.
37538 * manual/terminal.texi: Likewise.
37539 (ONLCR): Document as POSIX.
37540 (OXTABS): Document availability on GNU/Linux as XTABS.
37541 (ONOEOT): Document availability separately from other bits.
37542 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37543 * manual/time.texi: Likewise.
37544 * manual/users.texi: Likewise.
37545 * INSTALL: Regenerated.
37546 * sysdeps/gnu/errlist.c: Regenerated.
37548 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37549 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37550 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37552 * configure: Regenerated.
37554 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37556 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37557 default includes instead of AC_HEADER_CHECK.
37558 * sysdeps/i386/configure: Regenerated.
37561 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37562 * math/s_cacoshf.c (__cacoshf): Likewise.
37563 * math/s_cacoshl.c (__cacoshl): Likewise.
37564 * math/s_casinh.c (__casinh): Set signs of result from argument.
37565 * math/s_casinhf.c (__casinhf): Likewise.
37566 * math/s_casinhl.c (__casinhl): Likewise.
37567 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37568 (casinh_test): Add more tests.
37569 * sysdeps/i386/fpu/libm-test-ulps: Update.
37570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37572 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37574 * po/zh_TW.po: Update from translation team.
37576 * login/Makefile (distribute): Remove variable.
37577 * catgets/Makefile: Likewise.
37578 * mach/Makefile: Likewise.
37579 * malloc/Makefile: Likewise.
37580 * misc/Makefile: Likewise.
37581 * iconv/Makefile: Likewise.
37582 * nscd/Makefile: Likewise.
37583 * hurd/Makefile: Likewise.
37584 * manual/Makefile: Likewise.
37585 * locale/Makefile: Likewise.
37586 * intl/Makefile: Likewise.
37587 * conform/Makefile: Likewise.
37588 * nss/Makefile: Likewise.
37589 * time/Makefile: Likewise.
37590 * soft-fp/Makefile: Likewise.
37591 * dirent/Makefile: Likewise.
37592 * gmon/Makefile: Likewise.
37593 * po/Makefile: Likewise.
37594 * rt/Makefile: Likewise.
37595 * socket/Makefile: Likewise.
37596 * math/Makefile: Likewise.
37597 * signal/Makefile: Likewise.
37598 * debug/Makefile: Likewise.
37599 * elf/Makefile: Likewise.
37600 * timezone/Makefile: Likewise.
37601 * stdlib/Makefile: Likewise.
37602 * iconvdata/Makefile: Likewise.
37603 * sunrpc/Makefile: Likewise.
37604 * io/Makefile: Likewise.
37605 * argp/Makefile: Likewise.
37606 * inet/Makefile: Likewise.
37607 * hesiod/Makefile: Likewise.
37608 * grp/Makefile: Likewise.
37609 * csu/Makefile: Likewise.
37610 * wctype/Makefile: Likewise.
37611 * crypt/Makefile: Likewise.
37612 * libio/Makefile: Likewise.
37613 * string/Makefile: Likewise.
37614 * nis/Makefile: Likewise.
37615 * resolv/Makefile: Likewise.
37616 * stdio-common/Makefile: Likewise.
37617 * wcsmbs/Makefile: Likewise.
37618 * dlfcn/Makefile: Likewise.
37619 * posix/Makefile: Likewise.
37622 * timezone/Makefile: Don't install timezone files, just the programs
37625 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37627 * nss/databases.def: Add missing gshadow entry.
37629 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37631 2012-03-06 Marek Polacek <polacek@redhat.com>
37634 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37635 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37636 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37637 * stdio-common/tst-long-dbl-fphex.c: New file.
37639 2012-03-06 David S. Miller <davem@davemloft.net>
37641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37642 (set_obp_int): New function.
37643 (get_obp_int): New function.
37644 (__get_clockfreq_via_dev_openprom): Likewise.
37645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37646 Avoid unused variable warnings on 'val' and use builtin_expect.
37647 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37649 (INLINE_CLONE_SYSCALL): Likewise.
37651 2012-03-05 David S. Miller <davem@davemloft.net>
37653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37655 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37660 only for |x| >= 40.
37661 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37663 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37666 Replace gettimeofday with __vdso_gettimeofday.
37668 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37669 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37670 __vdso_clock_gettime and __vdso_getcpu.
37672 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37673 time with __vdso_time.
37675 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37677 * manual/lang.texi (size_t): Note types to which size_t may be
37678 equivalent with the GNU C Library, but do not describe when
37679 differences between them are significant.
37681 2012-03-05 Andreas Jaeger <aj@suse.de>
37683 * sysdeps/i386/fpu/libm-test-ulps: Update.
37685 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37688 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37689 (__ieee754_pow): Save and restore rounding mode and use
37690 round-to-nearest for main computations.
37691 * math/libm-test.inc (pow_test_tonearest): New function.
37692 (pow_test_towardzero): Likewise.
37693 (pow_test_downward): Likewise.
37694 (pow_test_upward): Likewise.
37695 (main): Call the new functions.
37696 * sysdeps/i386/fpu/libm-test-ulps: Update.
37697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37700 * math/libm-test.inc (cosh_test_tonearest): New function.
37701 (cosh_test_towardzero): Likewise.
37702 (cosh_test_downward): Likewise.
37703 (cosh_test_upward): Likewise.
37704 (sinh_test_tonearest): Likewise.
37705 (sinh_test_towardzero): Likewise.
37706 (sinh_test_downward): Likewise.
37707 (sinh_test_upward): Likewise.
37708 (main): Call the new functions.
37709 * sysdeps/i386/fpu/libm-test-ulps: Update.
37710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37712 2012-03-05 Tom de Vries <tom@codesourcery.com>
37714 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37715 default stack guard is set in last bytes.
37716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37718 2012-03-05 Kees Cook <keescook@chromium.org>
37720 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37723 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37724 possibly allocate from heap instead of stack.
37725 * stdio-common/bug-vfprintf-nargs.c: New file.
37726 * stdio-common/Makefile (tests): Add nargs overflow test.
37728 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37732 2012-03-03 Marek Polacek <polacek@redhat.com>
37734 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37735 * math/math_private.h: Likewise.
37736 * stdlib/tst-strtod.c: Likewise.
37737 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37738 * sysdeps/x86_64/bits/atomic.h: Likewise.
37740 2012-03-02 David S. Miller <davem@davemloft.net>
37742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37746 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37747 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37748 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37749 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37751 2012-03-02 Roland McGrath <roland@hack.frob.com>
37754 * manual/examples/README: New file, says the example source files
37755 can be used under GPL>=2.
37756 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37757 line containing just "*/".
37758 * manual/examples/add.c: Add copyright header (GPL>=2).
37759 * manual/examples/argp-ex1.c: Likewise.
37760 * manual/examples/argp-ex2.c: Likewise.
37761 * manual/examples/argp-ex3.c: Likewise.
37762 * manual/examples/argp-ex4.c: Likewise.
37763 * manual/examples/atexit.c: Likewise.
37764 * manual/examples/db.c: Likewise.
37765 * manual/examples/dir.c: Likewise.
37766 * manual/examples/dir2.c: Likewise.
37767 * manual/examples/execinfo.c: Likewise.
37768 * manual/examples/filecli.c: Likewise.
37769 * manual/examples/filesrv.c: Likewise.
37770 * manual/examples/fmtmsgexpl.c: Likewise.
37771 * manual/examples/genpass.c: Likewise.
37772 * manual/examples/inetcli.c: Likewise.
37773 * manual/examples/inetsrv.c: Likewise.
37774 * manual/examples/isockad.c: Likewise.
37775 * manual/examples/longopt.c: Likewise.
37776 * manual/examples/memopen.c: Likewise.
37777 * manual/examples/memstrm.c: Likewise.
37778 * manual/examples/mkfsock.c: Likewise.
37779 * manual/examples/mkisock.c: Likewise.
37780 * manual/examples/mygetpass.c: Likewise.
37781 * manual/examples/pipe.c: Likewise.
37782 * manual/examples/popen.c: Likewise.
37783 * manual/examples/rprintf.c: Likewise.
37784 * manual/examples/search.c: Likewise.
37785 * manual/examples/select.c: Likewise.
37786 * manual/examples/setjmp.c: Likewise.
37787 * manual/examples/sigh1.c: Likewise.
37788 * manual/examples/sigusr.c: Likewise.
37789 * manual/examples/stpcpy.c: Likewise.
37790 * manual/examples/strdupa.c: Likewise.
37791 * manual/examples/strftim.c: Likewise.
37792 * manual/examples/strncat.c: Likewise.
37793 * manual/examples/subopt.c: Likewise.
37794 * manual/examples/swapcontext.c: Likewise.
37795 * manual/examples/termios.c: Likewise.
37796 * manual/examples/testopt.c: Likewise.
37797 * manual/examples/testpass.c: Likewise.
37798 * manual/examples/timeval_subtract.c: Likewise.
37801 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37803 * manual/timeval_subtract.c.texi: ... here, new file.
37805 2012-03-02 David S. Miller <davem@davemloft.net>
37807 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37809 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37812 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37813 (__sin): Save and restore rounding mode and use round-to-nearest
37814 for all computations.
37815 (__cos): Save and restore rounding mode and use round-to-nearest
37816 for all computations.
37817 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37819 (tan): Save and restore rounding mode and use round-to-nearest for
37821 * math/libm-test.inc (cos_test_tonearest): New function.
37822 (cos_test_towardzero): Likewise.
37823 (cos_test_downward): Likewise.
37824 (cos_test_upward): Likewise.
37825 (sin_test_tonearest): Likewise.
37826 (sin_test_towardzero): Likewise.
37827 (sin_test_downward): Likewise.
37828 (sin_test_upward): Likewise.
37829 (tan_test_tonearest): Likewise.
37830 (tan_test_towardzero): Likewise.
37831 (tan_test_downward): Likewise.
37832 (tan_test_upward): Likewise.
37833 (main): Call the new functions.
37834 * sysdeps/i386/fpu/libm-test-ulps: Update.
37835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37838 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37839 small n, then large n, before computing and testing k+n.
37840 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37845 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37846 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37847 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37848 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37850 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37851 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37852 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37853 * math/libm-test.inc (scalbn_test): Add more tests.
37854 (scalbln_test): Likewise.
37856 * manual/filesys.texi (mode_t): Describe constraints on size and
37857 signedness, not exact equivalence to a particular type.
37859 (ino64_t): Likewise.
37861 (nlink_t): Likewise.
37862 (blkcnt_t): Likewise.
37863 (blkcnt64_t): Likewise.
37864 * manual/llio.texi (off_t): Likewise.
37867 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37868 (__ieee754_exp): Save and restore rounding mode and use
37869 round-to-nearest for all computations.
37870 * math/libm-test.inc (exp_test_tonearest): New function.
37871 (exp_test_towardzero): Likewise.
37872 (exp_test_downward): Likewise.
37873 (exp_test_upward): Likewise.
37874 (main): Call the new functions.
37875 * sysdeps/i386/fpu/libm-test-ulps: Update.
37876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37878 2012-03-01 Chris Demetriou <cgd@google.com>
37880 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37881 have predictable order.
37883 2012-03-01 David S. Miller <davem@davemloft.net>
37885 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37887 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37888 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37889 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37890 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37892 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37893 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37894 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37896 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37897 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37898 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37899 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37900 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37905 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37906 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37908 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37909 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37910 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37911 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37912 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37914 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37915 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37916 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37917 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37918 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37919 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37920 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37921 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37922 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37924 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37925 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37926 * sysdeps/sparc/elf/configure: Regenerated.
37928 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37930 * configure.in (AS, LD): Require binutils 2.20 or later.
37931 * configure: Regenerated.
37932 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37933 as required minimum version.
37934 * INSTALL: Regenerated.
37938 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37939 before squaring exponent.
37940 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37941 bottom long double and 27 bits of top long double before squaring
37943 * math/libm-test.inc (erfc_test): Add more tests.
37944 * sysdeps/i386/fpu/libm-test-ulps: Update.
37945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37948 2012-03-01 Kai Tietz <ktietz@redhat.com>
37950 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37951 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37952 containing bit-fields.
37953 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37954 * soft-fp/single.h (_FP_UNION_S): Likewise.
37955 * soft-fp/double.h (_FP_UNION_D): Likewise.
37957 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37960 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37961 not include ../strcmp.S.
37962 [USE_AS_STRNCASECMP_L]: Likewise.
37963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37964 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37965 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37966 (__strncasecmp_l_ia32): Define as alias to
37967 __strncasecmp_l_nonascii.
37970 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37971 * sysdeps/i386/fpu/libm-test-ulps: Update.
37972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37974 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37977 2012-02-29 Jeff Law <law@redhat.com>
37979 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37980 out of bounds read.
37982 2012-02-29 Marek Polacek <polacek@redhat.com>
37985 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37986 * elf/Makefile: Add rules to run tst-unused-dep.out.
37988 2012-02-28 David S. Miller <davem@davemloft.net>
37990 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37991 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37992 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37993 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37994 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37995 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37997 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37999 * math/libm-test.inc (llround_test): Move one test from
38000 lround_test. Use TEST_f_L in moved test.
38001 (lround_test): Move misplaced test to llround_test. Add testcase
38004 2012-02-28 Ulrich Drepper <drepper@gmail.com>
38006 * sysdeps/x86_64/fpu/e_expf.S: New file.
38007 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38009 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38012 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38013 of remain_len that may cause incomplete multi-byte character and
38015 * posix/bug-regex33.c: New file.
38016 * posix/Makefile (tests): Add bug-regex33.
38018 2012-02-28 Joseph Myers <joseph@codesourcery.com>
38020 * manual/macros.texi: New file.
38021 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38022 * manual/libc.texinfo: Include macros.texi.
38023 * manual/creatute.texi: Likewise.
38024 * manual/install.texi: Likewise.
38025 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38026 @glibcadj{} in references to the GNU C Library.
38027 * manual/charset.texi: Likewise.
38028 * manual/conf.texi: Likewise.
38029 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38030 when not using those macros.
38031 * manual/creature.texi: Likewise.
38032 * manual/crypt.texi: Likewise.
38033 * manual/errno.texi: Likewise.
38034 * manual/filesys.texi: Likewise.
38035 * manual/header.texi: Likewise.
38036 * manual/install.texi: Likewise.
38037 * manual/intro.texi: Likewise.
38038 * manual/io.texi: Likewise.
38039 * manual/job.texi: Likewise.
38040 * manual/lang.texi: Likewise.
38041 * manual/libc.texiinfo: Likewise.
38042 * manual/llio.texi: Likewise.
38043 * manual/locale.texi: Likewise.
38044 * manual/maint.texi: Likewise.
38045 * manual/math.texi: Likewise.
38046 * manual/memory.texi: Likewise.
38047 * manual/message.texi: Likewise.
38048 * manual/nss.texi: Likewise.
38049 * manual/pattern.texi: Likewise.
38050 * manual/process.texi: Likewise.
38051 * manual/resource.texi: Likewise.
38052 * manual/search.texi: Likewise.
38053 * manual/setjmp.texi: Likewise.
38054 * manual/signal.texi: Likewise.
38055 * manual/socket.texi: Likewise.
38056 * manual/startup.texi: Likewise.
38057 * manual/stdio.texi: Likewise.
38058 * manual/string.texi: Likewise.
38059 * manual/sysinfo.texi: Likewise.
38060 * manual/syslog.texi: Likewise.
38061 * manual/terminal.texi: Likewise.
38062 * manual/time.texi: Likewise.
38063 * manual/users.texi: Likewise.
38064 * INSTALL: Regenerated.
38065 * NOTES: Regenerated.
38066 * sysdeps/gnu/errlist.c: Regenerated.
38068 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38070 * include/dirent.h: Include <dirstream.h> before
38073 2012-02-28 David S. Miller <davem@davemloft.net>
38075 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38076 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38077 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38078 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38080 2012-02-27 David S. Miller <davem@davemloft.net>
38082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38084 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38085 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38088 frame pointer instead of stack pointer relative arg slot.
38089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38090 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38091 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38093 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38096 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38098 2012-02-27 David S. Miller <davem@davemloft.net>
38100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38104 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38105 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38106 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38107 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38109 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38111 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38112 later. Allow versions 5-9.
38113 * configure: Regenerated.
38114 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38115 required minimum version and 4.6 as recommended version. Do not
38116 mention bugs in GCC 2.7 and 2.8.
38117 * INSTALL: Regenerated.
38119 2012-02-27 David S. Miller <davem@davemloft.net>
38121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38125 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38126 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38127 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38128 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38130 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38131 manipulate bits before adding and subtracting TWO112[sx].
38132 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38134 2012-02-27 Roland McGrath <roland@hack.frob.com>
38137 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38138 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38139 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38140 being in POSIX, because they are in 1003.1-2008.
38142 * rt/tst-aio.c: Include <fcntl.h>.
38143 * rt/tst-aio7.c: Likewise.
38144 * rt/tst-aio64.c: Likewise.
38146 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38148 2012-02-27 Joseph Myers <joseph@codesourcery.com>
38150 * manual/install.texi (--with-headers): Describe headers as
38151 interface headers, not private headers.
38152 (Specific advice for GNU/Linux systems): Describe use of headers
38153 from "make headers_install", not private headers from older
38155 * INSTALL: Regenerated.
38156 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38158 * sysdeps/unix/sysv/linux/configure: Regenerated.
38160 * manual/llio.texi (fclean): Remove documentation.
38162 * manual/Makefile (libc-texi-generated): New variable. Include
38164 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38165 $(libc-texi-generated), not duplicated list of files.
38166 (version.texi, stamp-version): New rules.
38167 (realclean): Remove $(libc-texi-generated), not individual files
38168 from that list. Do not remove dir-add.texinfo.
38169 * manual/libc.texinfo: Comment out uses of edition numbers and
38170 references to printed manual. Remove last-updated dates.
38171 (EDITION): Comment out.
38173 (VERSION, UPDATED): Remove.
38174 (version.texi): Include.
38176 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38178 * sysdeps/posix/spawni.c: Include <signal.h>.
38179 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38180 * sysdeps/pthread/aio_fsync.c: Likewise.
38182 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38184 * conform/Makefile (tests): Run only when not cross-compiling and
38185 when fast-check is not defined.
38187 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38188 * conform/data/limits.h-data: Fixes for POSIX2008.
38189 * conform/run-conformtest.sh: Run all tests.
38190 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38192 * include/bits/dlfcn.h: Likewise.
38193 * include/langinfo.h: Likewise.
38194 * include/monetary.h: Likewise.
38195 * include/sys/poll.h: Likewise.
38197 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38199 * posix/spawn.h: Define __need_sigset_t.
38200 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38201 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38202 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38203 to get sigevent_t only.
38204 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38205 only for __USE_GNU.
38206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38207 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38208 process_vm_writev only for __USE_GNU.
38209 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38211 * conform/Makefile: For now ignore errors from run-conformtest.
38212 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38213 POSIX to avoid namespace pollution. Don't prepend headers.
38214 * conform/data/aio.h-data: Fixes for POSIX testing.
38215 * conform/data/fcntl.h-data: Likewise.
38216 * conform/data/glob.h-data: Likewise.
38217 * conform/data/grp.h-data: Likewise.
38218 * conform/data/pthread.h-data: Likewise.
38219 * conform/data/pwd.h-data: Likewise.
38220 * conform/data/signal.h-data: Likewise.
38221 * conform/data/spawn.h-data: Likewise.
38222 * conform/data/stdio.h-data: Likewise.
38223 * conform/data/stdlib.h-data: Likewise.
38224 * conform/data/stropts.h-data: Likewise.
38225 * conform/data/sys/mman.h-data: Likewise.
38226 * conform/data/sys/stat.h-data: Likewise.
38227 * conform/data/sys/types.h-data: Likewise.
38228 * conform/data/sys/wait.h-data: Likewise.
38229 * conform/data/time.h-data: Likewise.
38230 * conform/data/unistd.h-data: Likewise.
38231 * conform/data/utime.h-data: Likewise.
38233 * io/sys/stat.h: fchmod was always in POSIX.
38234 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38235 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38236 * rt/aio.h: Define __need_timespec before including <time.h>.
38237 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38238 struct. Add forward declaration of pthread_attr_t and use it in
38240 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38241 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38242 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38243 always remove CLK_TCK definition.
38245 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38247 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38249 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38251 * conform/run-conformtest.sh: New file.
38252 * conform/Makefile: Run run-conformtest for tests.
38253 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38256 * conform/data/uchar.h-data: New file.
38257 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38258 * conform/data/arpa/inet.h-data: Likewise.
38259 * conform/data/assert.h-data: Likewise.
38260 * conform/data/complex.h-data: Likewise.
38261 * conform/data/cpio.h-data: Likewise.
38262 * conform/data/ctype.h-data: Likewise.
38263 * conform/data/dirent.h-data: Likewise.
38264 * conform/data/dlfcn.h-data: Likewise.
38265 * conform/data/errno.h-data: Likewise.
38266 * conform/data/fcntl.h-data: Likewise.
38267 * conform/data/float.h-data: Likewise.
38268 * conform/data/fmtmsg.h-data: Likewise.
38269 * conform/data/fnmatch.h-data: Likewise.
38270 * conform/data/ftw.h-data: Likewise.
38271 * conform/data/glob.h-data: Likewise.
38272 * conform/data/grp.h-data: Likewise.
38273 * conform/data/iconv.h-data: Likewise.
38274 * conform/data/inttypes.h-data: Likewise.
38275 * conform/data/langinfo.h-data: Likewise.
38276 * conform/data/libgen.h-data: Likewise.
38277 * conform/data/limits.h-data: Likewise.
38278 * conform/data/locale.h-data: Likewise.
38279 * conform/data/math.h-data: Likewise.
38280 * conform/data/monetary.h-data: Likewise.
38281 * conform/data/mqueue.h-data: Likewise.
38282 * conform/data/ndbm.h-data: Likewise.
38283 * conform/data/net/if.h-data: Likewise.
38284 * conform/data/netdb.h-data: Likewise.
38285 * conform/data/netinet/in.h-data: Likewise.
38286 * conform/data/nl_types.h-data: Likewise.
38287 * conform/data/poll.h-data: Likewise.
38288 * conform/data/pthread.h-data: Likewise.
38289 * conform/data/pwd.h-data: Likewise.
38290 * conform/data/regex.h-data: Likewise.
38291 * conform/data/sched.h-data: Likewise.
38292 * conform/data/search.h-data: Likewise.
38293 * conform/data/semaphore.h-data: Likewise.
38294 * conform/data/setjmp.h-data: Likewise.
38295 * conform/data/signal.h-data: Likewise.
38296 * conform/data/spawn.h-data: Likewise.
38297 * conform/data/stdarg.h-data: Likewise.
38298 * conform/data/stdio.h-data: Likewise.
38299 * conform/data/stdlib.h-data: Likewise.
38300 * conform/data/string.h-data: Likewise.
38301 * conform/data/strings.h-data: Likewise.
38302 * conform/data/stropts.h-data: Likewise.
38303 * conform/data/sys/ipc.h-data: Likewise.
38304 * conform/data/sys/mman.h-data: Likewise.
38305 * conform/data/sys/msg.h-data: Likewise.
38306 * conform/data/sys/resource.h-data: Likewise.
38307 * conform/data/sys/select.h-data: Likewise.
38308 * conform/data/sys/sem.h-data: Likewise.
38309 * conform/data/sys/shm.h-data: Likewise.
38310 * conform/data/sys/socket.h-data: Likewise.
38311 * conform/data/sys/stat.h-data: Likewise.
38312 * conform/data/sys/statvfs.h-data: Likewise.
38313 * conform/data/sys/time.h-data: Likewise.
38314 * conform/data/sys/timeb.h-data: Likewise.
38315 * conform/data/sys/times.h-data: Likewise.
38316 * conform/data/sys/types.h-data: Likewise.
38317 * conform/data/sys/uio.h-data: Likewise.
38318 * conform/data/sys/un.h-data: Likewise.
38319 * conform/data/sys/utsname.h-data: Likewise.
38320 * conform/data/sys/wait.h-data: Likewise.
38321 * conform/data/syslog.h-data: Likewise.
38322 * conform/data/tar.h-data: Likewise.
38323 * conform/data/termios.h-data: Likewise.
38324 * conform/data/utime.h-data: Likewise.
38325 * conform/data/utmpx.h-data: Likewise.
38326 * conform/data/varargs.h-data: Likewise.
38327 * conform/data/wchar.h-data: Likewise.
38328 * conform/data/wctype.h-data: Likewise.
38329 * conform/data/wordexp.h-data: Likewise.
38331 * include/stropts.h: New file.
38332 * include/uchar.h: New file.
38333 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38334 * include/assert.h: Likewise.
38335 * include/ctype.h: Likewise.
38336 * include/dirent.h: Likewise.
38337 * include/dlfcn.h: Likewise.
38338 * include/fcntl.h: Likewise.
38339 * include/fnmatch.h: Likewise.
38340 * include/glob.h: Likewise.
38341 * include/grp.h: Likewise.
38342 * include/libio.h: Likewise.
38343 * include/locale.h: Likewise.
38344 * include/math.h: Likewise.
38345 * include/net/if.h: Likewise.
38346 * include/netdb.h: Likewise.
38347 * include/netinet/in.h: Likewise.
38348 * include/pthread.h: Likewise.
38349 * include/pwd.h: Likewise.
38350 * include/regex.h: Likewise.
38351 * include/sched.h: Likewise.
38352 * include/search.h: Likewise.
38353 * include/setjmp.h: Likewise.
38354 * include/signal.h: Likewise.
38355 * include/stdio.h: Likewise.
38356 * include/stdlib.h: Likewise.
38357 * include/string.h: Likewise.
38358 * include/sys/cdefs.h: Likewise.
38359 * include/sys/mman.h: Likewise.
38360 * include/sys/msg.h: Likewise.
38361 * include/sys/resource.h: Likewise.
38362 * include/sys/select.h: Likewise.
38363 * include/sys/socket.h: Likewise.
38364 * include/sys/stat.h: Likewise.
38365 * include/sys/statvfs.h: Likewise.
38366 * include/sys/time.h: Likewise.
38367 * include/sys/times.h: Likewise.
38368 * include/sys/uio.h: Likewise.
38369 * include/sys/utsname.h: Likewise.
38370 * include/sys/wait.h: Likewise.
38371 * include/termios.h: Likewise.
38372 * include/time.h: Likewise.
38373 * include/ulimit.h: Likewise.
38374 * include/unistd.h: Likewise.
38375 * include/utime.h: Likewise.
38376 * include/wchar.h: Likewise.
38377 * include/wctype.h: Likewise.
38378 * include/wordexp.h: Likewise.
38380 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38382 * time/time.h: TIME_UTC must be a macro.
38383 Make timespec_get available for ISO C11 only as well.
38385 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38387 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38388 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38390 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38392 * configure.in: Use -o not -a in test for unsupported multi-arch.
38394 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38396 * manual/texinfo.tex: Update to version 2012-01-19.16.
38398 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38400 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38402 2012-02-24 Roland McGrath <roland@hack.frob.com>
38405 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38406 * manual/fdl-1.3.texi: New file.
38407 * manual/fdl-1.1.texi: File removed.
38410 * manual/libc.texinfo (FDL_VERSION): New @set.
38411 Use it for mention of FDL in cover text.
38412 (Documentation License): Use it in @include file name.
38414 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38415 Roland McGrath <roland@hack.frob.com>
38418 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38419 (not LONG_LONG_MAX and LONG_LONG_MIN.
38420 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38421 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38423 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38425 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38429 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38430 manipulate bits before adding and subtracting TWO23[sx].
38431 * math/libm-test.inc (nearbyint_test): Add more tests.
38433 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38436 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38437 bits before adding and subtracting TWO23[sx].
38438 * math/libm-test.inc (rint_test): Add more tests.
38439 (rint_test_tonearest): Likewise.
38440 (rint_test_towardzero): Likewise.
38441 (rint_test_downward): Likewise.
38442 (rint_test_upward: Likewise.
38444 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38447 * include/stdc-predef.h: New file. Extracted from features.h.
38448 * include/features.h: Include stdc-predef.h.
38449 * Makefile (headers): Add stdc-predef.h.
38450 * CONFORMANCE (Compiler limitations): Update.
38452 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38454 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38456 2012-02-21 David S. Miller <davem@davemloft.net>
38458 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38459 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38461 2012-02-20 David S. Miller <davem@davemloft.net>
38463 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38464 using a normal save/restore sequence, rather than allocating a
38465 dummy stack frame just to store a frame pointer and restore.
38466 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38468 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38470 * manual/install.texi: Fix stray word in line-wrapped comment.
38472 2012-02-20 David S. Miller <davem@davemloft.net>
38474 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38475 both binutils and gcc support GOTDATA.
38477 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38478 "rd %pc" in the PIC register setup sequences.
38480 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38481 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38482 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38483 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38484 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38486 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38487 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38488 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38489 (SYSCALL_ERROR_HANDLER): Likewise.
38490 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38491 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38492 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38493 (SYSCALL_ERROR_HANDLER): Likewise.
38495 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38496 (HAVE_GCC_GOTDATA): New.
38497 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38498 relocation support in both binutils and gcc.
38499 * sysdeps/sparc/elf/configure: Regenerate.
38501 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38502 * sysdeps/sparc/sparc32/elf/configure: Delete.
38503 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38504 * sysdeps/sparc/sparc64/elf/configure: Delete.
38505 * sysdeps/sparc/elf/configure.in: New file.
38506 * sysdeps/sparc/elf/configure: Generate.
38508 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38509 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38510 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38511 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38512 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38514 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38516 * manual/install.texi: Do not mention specific glibc version
38518 * manual/libc.texinfo (VERSION, UPDATED): Update.
38519 (@copying): Use @copyright{} and range of years.
38521 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38524 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38525 [crti.S not in sysdirs] (generated): Do not append.
38526 [crti.S not in sysdirs] (omit-deps): Likewise.
38527 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38528 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38529 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38530 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38531 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38533 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38534 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38535 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38536 * csu/defs.awk: Remove file.
38537 * sysdeps/generic/initfini.c: Likewise.
38538 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38540 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38543 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38545 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38546 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38547 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38548 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38550 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38552 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38553 (__EPOLL_PACKED): Define to empty if not defined by
38555 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38559 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38561 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38562 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38563 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38564 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38566 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38570 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38572 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38574 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38575 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38579 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38581 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38582 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38584 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38586 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38587 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38589 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38591 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38594 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38596 * math/w_acos.c: Use non-signaling floating-point comparisons.
38597 * math/w_acosf.c: Likewise.
38598 * math/w_acosh.c: Likewise.
38599 * math/w_acoshf.c: Likewise.
38600 * math/w_acoshl.c: Likewise.
38601 * math/w_acosl.c: Likewise.
38602 * math/w_asin.c: Likewise.
38603 * math/w_asinf.c: Likewise.
38604 * math/w_asinl.c: Likewise.
38605 * math/w_atanh.c: Likewise.
38606 * math/w_atanhf.c: Likewise.
38607 * math/w_atanhl.c: Likewise.
38608 * math/w_exp2.c: Likewise.
38609 * math/w_exp2f.c: Likewise.
38610 * math/w_exp2l.c: Likewise.
38611 * math/w_j0.c: Likewise.
38612 * math/w_j0f.c: Likewise.
38613 * math/w_j0l.c: Likewise.
38614 * math/w_j1.c: Likewise.
38615 * math/w_j1f.c: Likewise.
38616 * math/w_j1l.c: Likewise.
38617 * math/w_jn.c: Likewise.
38618 * math/w_jnf.c: Likewise.
38619 * math/w_log.c: Likewise.
38620 * math/w_log10.c: Likewise.
38621 * math/w_log10f.c: Likewise.
38622 * math/w_log10l.c: Likewise.
38623 * math/w_log2.c: Likewise.
38624 * math/w_log2f.c: Likewise.
38625 * math/w_log2l.c: Likewise.
38626 * math/w_logf.c: Likewise.
38627 * math/w_logl.c: Likewise.
38628 * math/w_sqrt.c: Likewise.
38629 * math/w_sqrtf.c: Likewise.
38630 * math/w_sqrtl.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38634 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38635 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38637 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38640 * manual/string.texi (strnlen): Use correct parameter name in
38641 equivalent expression.
38643 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38646 * manual/users.texi (seteuid): Consistently use neweuid for
38649 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38652 * manual/nss.texi (Services in the NSS configuration): Correct
38653 list of services in example configuration file.
38655 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38658 * manual/arith.texi: Remove statements about negative zero
38659 behaving identically to zero.
38661 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38664 * manual/install.texi: Do not document upgrading from libc5.
38666 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38669 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38671 2012-02-18 David S. Miller <davem@davemloft.net>
38673 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38674 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38675 %o7 across the call.
38676 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38679 SETUP_PIC_REG_LEAF.
38680 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38681 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38682 * sysdeps/sparc/crtn.S: Likewise.
38684 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38686 * aout/Makefile: Remove.
38688 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38691 * manual/examples/argp-ex1.c (main): Format definition in GNU
38693 * manual/examples/argp-ex2.c (main): Likewise.
38694 * manual/examples/argp-ex3.c (main): Likewise.
38695 * manual/examples/argp-ex4.c (main): Likewise.
38696 * manual/examples/longopt.c (main): Use new-style prototype
38698 * manual/examples/strncat.c (main): Specify return type and use
38699 (void) for arguments.
38700 * manual/examples/subopt.c (main): Use char **argv argument.
38702 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38705 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38708 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38711 * manual/string.texi (strchr): Change when strchrnul is
38714 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38717 * manual/locale.texi (setlocale): Document LOCPATH.
38719 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38722 * manual/process.texi (execle): Move @dots{} before last argument.
38724 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38727 * manual/charset.texi (Generic Charset Conversion): Fix typo
38728 (LC_TYPE -> LC_CTYPE).
38730 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38733 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38734 (scalbnf): Likewise.
38735 (scalbnl): Likewise.
38736 (scalbln): Likewise.
38737 (scalblnf): Likewise.
38738 (scalblnl): Likewise.
38739 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38740 (vwarnx): Likewise.
38743 * manual/filesys.texi (telldir): Use braces around return type.
38744 * manual/llio.texi (mmap): Add space after comma.
38745 (mmap64): Likewise.
38746 * manual/math.texi (jn): Use @var{} on parameter names.
38752 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38754 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38756 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38757 (sched_get_priority_max): Likewise.
38758 * manual/signal.texi (sigvec): Add space after comma.
38759 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38761 (if_indextoname): Likewise.
38762 (if_freenameindex): Likewise.
38763 (sendto): Use ',' instead of '.' in prototype.
38764 * manual/startup.texi (syscall): Use @dots{} instead of literal
38766 * manual/stdio.texi (__fpending): Separate initial words of
38767 paragraph from @deftypefun line.
38768 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38770 (vsyslog): Use @var{} on parameter names.
38771 * manual/terminal.texi (stty): Use @var{} on parameter names.
38772 * manual/users.texi (getutmp): Use @var{} on parameter names.
38773 (getutmpx): Likewise.
38775 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38778 * manual/stdio.texi (fopen): Fix typos in description of
38781 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38784 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38785 get clock_id definition.
38787 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38790 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38791 (madvise): Cast every argument to void on its own.
38793 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38796 * manual/startup.texi (Exit Status): Fix typo.
38798 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38801 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38802 * manual/examples/argp-ex2.c: Likewise.
38803 * manual/examples/argp-ex3.c: Likewise.
38805 2012-02-16 Richard Henderson <rth@redhat.com>
38807 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38808 * sysdeps/s390/s390-32/initfini.c: Remove.
38809 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38810 * sysdeps/s390/s390-64/initfini.c: Remove.
38812 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38814 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38815 compiler output for sysdeps/generic/initfini.c.
38816 * sysdeps/sh/elf/initfini.c: Remove file.
38818 2012-02-16 David S. Miller <davem@davemloft.net>
38821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38823 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38824 * sysdeps/sparc/crti.S: New file.
38825 * sysdeps/sparc/crtn.S: New file.
38826 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38827 * sysdeps/sparc/sparc64/Makefile: Likewise.
38829 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38832 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38834 2012-02-15 Roland McGrath <roland@hack.frob.com>
38837 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38839 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38840 (write, read, close): Likewise.
38841 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38843 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38845 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38846 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38847 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38848 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38850 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38854 2012-02-14 Marek Polacek <polacek@redhat.com>
38856 * sysdeps/x86_64/crti.S: New file.
38857 * sysdeps/x86_64/crtn.S: New file.
38858 * sysdeps/x86_64/elf/initfini.c: Remove file.
38860 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38862 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38863 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38864 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38865 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38867 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38871 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38873 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38874 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38875 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38876 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38878 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38882 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38884 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38885 __feraiseexcept instead of feraiseexcept.
38887 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38888 nanosleep invocations.
38889 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38890 strings, and add error checking for a nanosleep invocations.
38892 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38894 Replace FSF snail mail address with URLs, as per GNU coding standards.
38895 Most of the snail mail addresses were wrong anyway, and omitting
38896 them makes the source code easier to maintain. Almost all of the
38897 changes are to license notices and to locale LC_IDENTIFICATION
38898 addresses, except for this one:
38899 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38900 not its snail mail address.
38902 2012-02-09 Richard Henderson <rth@twiddle.net>
38904 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38905 of kernel-features.h.
38907 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38909 2012-02-08 Marek Polacek <polacek@redhat.com>
38911 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38912 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38913 * sysdeps/gnu/_G_config.h: Likewise.
38914 * sysdeps/generic/_G_config.h: Likewise.
38916 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38918 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38922 * sysdeps/powerpc/powerpc32/crti.S: New file.
38923 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38924 * sysdeps/powerpc/powerpc64/crti.S: New file.
38925 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38927 * Makeconfig (have-initfini): Don't set.
38928 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38929 * configure.in (nopic_initfini): Don't substitute.
38930 * config.h.in (HAVE_INITFINI): Don't #undef.
38931 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38932 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38934 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38936 Support crti.S and crtn.S provided directly by architectures.
38937 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38938 [crti.S in sysdirs] (omit-deps): Likewise.
38939 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38940 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38941 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38942 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38943 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38944 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38945 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38946 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38947 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38948 compiler output for sysdeps/generic/initfini.c.
38949 * sysdeps/i386/elf/Makefile: Remove file.
38950 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38952 2012-02-07 Marek Polacek <polacek@redhat.com>
38954 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38955 * sysdeps/gnu/_G_config.h: Likewise.
38956 * sysdeps/mach/hurd/_G_config.h: Likewise.
38958 2012-02-07 Marek Polacek <polacek@redhat.com>
38960 * math/Makefile (tests): Add tst-CMPLX2.
38961 * math/tst-CMPLX2.c: New file.
38963 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38965 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38967 * math/libm-test.inc (jn_test): Add missing L suffix.
38969 2012-02-06 Marek Polacek <polacek@redhat.com>
38971 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38972 * sysdeps/i386/fpu/e_powf.S: Likewise.
38973 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38974 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38975 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38976 * sysdeps/i386/fpu/e_pow.S: Likewise.
38977 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38978 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38979 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38980 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38981 * sysdeps/i386/fpu/e_log2.S: Likewise.
38982 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38983 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38984 * sysdeps/i386/fpu/e_powl.S: Likewise.
38985 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38986 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38987 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38988 * sysdeps/i386/fpu/e_logl.S: Likewise.
38989 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38990 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38991 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38992 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38993 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38994 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38995 * sysdeps/i386/fpu/e_log.S: Likewise.
38996 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38997 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38998 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38999 * sysdeps/i386/fpu/e_logf.S: Likewise.
39000 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39001 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39002 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39003 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39004 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39005 * sysdeps/i386/fpu/e_log10.S: Likewise.
39006 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39007 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39008 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39009 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39010 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39011 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39012 * sysdeps/i386/asm-syntax.h: Likewise.
39013 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39015 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39016 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39017 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39018 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39019 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39020 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39021 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39022 * sysdeps/powerpc/sysdep.h: Likewise.
39023 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39024 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39026 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39029 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39031 2012-02-06 Joseph Myers <joseph@codesourcery.com>
39033 * sysdeps/i386/sysdep.h: Include <features.h>.
39034 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39037 2012-02-05 Joseph Myers <joseph@codesourcery.com>
39039 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39041 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39044 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39046 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39047 (SETUP_PIC_REG): Use GET_PC_THUNK.
39048 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39051 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39053 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39054 for non-PIC compilation.
39055 (SETUP_PIC_REG): Add .p2align directive.
39056 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39057 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39058 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39059 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39060 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39061 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39062 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39063 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39065 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39066 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39067 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39069 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39070 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39071 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39072 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39073 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39074 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39075 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39076 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39077 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39078 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39079 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39080 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39082 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39083 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39086 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39088 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39089 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39090 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39091 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39092 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39093 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39094 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39095 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39096 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39098 2012-02-03 Joseph Myers <joseph@codesourcery.com>
39100 * math/tst-CMPLX.c: Include <stdio.h>.
39102 2012-01-31 Joseph Myers <joseph@codesourcery.com>
39104 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39106 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39107 * sysdeps/sparc/bits/mathdef.h: Likewise.
39109 2012-01-31 Marek Polacek <polacek@redhat.com>
39111 * libio/libio.h: Don't define _PARAMS.
39112 * locale/programs/config.h: Don't define PARAMS.
39113 * stdlib/strtol_l.c: Likewise.
39114 (__strtol_l): Remove PARAMS from the prototype.
39116 2012-01-31 Ulrich Drepper <drepper@gmail.com>
39118 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39119 names. Just use the correct names. Remove unnecessary wrapper
39121 * malloc/arena.c: Likewise.
39122 * malloc/hooks.c: Likewise.
39124 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39125 ARENA_TEST says not to. Simplify test for creation of a new arena.
39126 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39128 2012-01-30 Ulrich Drepper <drepper@gmail.com>
39130 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39132 (update_get_addr): New function.
39133 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39134 GET_ADDR_MODULE parameter.
39136 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39138 * crypt/cert.c: Remove __STDC__ conditionals.
39139 * crypt/crypt-entry.c: Likewise.
39140 * crypt/crypt_util.c: Likewise.
39141 * libio/filedoalloc.c: Likewise.
39142 * libio/fileops.c: Likewise.
39143 * libio/genops.c: Likewise.
39144 * libio/iofclose.c: Likewise.
39145 * libio/iofdopen.c: Likewise.
39146 * libio/iofopen.c: Likewise.
39147 * libio/iofopen64.c: Likewise.
39148 * libio/iogetdelim.c: Likewise.
39149 * libio/iopopen.c: Likewise.
39150 * libio/obprintf.c: Likewise.
39151 * libio/oldfileops.c: Likewise.
39152 * libio/oldiofclose.c: Likewise.
39153 * libio/oldiofdopen.c: Likewise.
39154 * libio/oldiofopen.c: Likewise.
39155 * libio/oldiopopen.c: Likewise.
39156 * libio/wfiledoalloc.c: Likewise.
39157 * libio/wgenops.c: Likewise.
39158 * locale/programs/xmalloc.c: Likewise.
39159 * misc/syslog.c: Likewise.
39160 * stdio-common/xbug.c: Likewise.
39161 * string/memchr.c: Likewise.
39162 * string/memcmp.c: Likewise.
39163 * string/memrchr.c: Likewise.
39164 * string/rawmemchr.c: Likewise.
39165 * sysdeps/posix/getcwd.c: Likewise.
39166 * time/strftime_l.c: Likewise.
39168 2012-01-30 Joseph Myers <joseph@codesourcery.com>
39170 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39171 * config.make.in (config-cflags-sse2avx): Define.
39172 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39175 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39177 * scripts/config.guess: Update from upstream config git repository.
39178 * scripts/config.sub: Likewise.
39180 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39182 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39184 (R_TILEPRO_*, R_TILEGX_*): New macros.
39186 * scripts/firstversions.awk: Fix bug in version range handling.
39188 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39190 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39192 * include/sys/epoll.h: New file.
39193 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39196 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39198 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39199 Avoid unnecessary __WORDSIZE == 64 test.
39200 (fmaxf): Use VEX format if possible.
39205 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39206 * math/math_private.h: Remove libc_fegetround* and
39208 * sysdeps/i386/configure.in: Check for -msse2avx.
39209 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39210 also if SSE2AVX is defined.
39211 Remove libc_fegetround* and libc_fesetround*.
39212 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39213 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39216 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39217 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39218 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39219 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39220 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39222 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39224 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39228 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39230 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39233 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39235 * Makeconfig (libm): Define.
39236 * elf/Makefile: Add rules to build and run tst-relsort1.
39237 * elf/tst-relsort1.c: New file.
39238 * elf/tst-relsort1mod1.c: New file.
39239 * elf/tst-relsort1mod2.c: New file.
39241 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39243 * math/s_ldexp.c: Remove __STDC__ conditionals.
39244 * math/s_ldexpf.c: Likewise.
39245 * math/s_ldexpl.c: Likewise.
39246 * math/s_nextafter.c: Likewise.
39247 * math/s_nexttowardf.c: Likewise.
39248 * math/s_significand.c: Likewise.
39249 * math/s_significandf.c: Likewise.
39250 * math/s_significandl.c: Likewise.
39251 * math/w_jnl.c: Likewise.
39252 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39253 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39254 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39255 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39256 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39257 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39258 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39259 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39260 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39261 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39262 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39264 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39265 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39266 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39267 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39268 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39269 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39270 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39271 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39272 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39273 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39274 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39275 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39276 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39277 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39278 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39279 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39280 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39281 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39282 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39283 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39284 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39285 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39286 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39287 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39288 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39289 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39290 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39291 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39292 * sysdeps/ieee754/k_standard.c: Likewise.
39293 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39294 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39295 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39296 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39297 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39298 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39299 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39300 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39301 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39302 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39303 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39304 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39305 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39306 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39307 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39309 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39312 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39314 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39315 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39316 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39318 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39319 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39322 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39323 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39324 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39325 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39326 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39327 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39328 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39332 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39333 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39336 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39337 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39338 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39339 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39340 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39341 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39342 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39343 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39346 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39347 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39348 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39349 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39350 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39351 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39352 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39353 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39354 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39355 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39356 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39357 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39358 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39359 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39360 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39361 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39362 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39363 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39364 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39365 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39366 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39368 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39369 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39370 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39371 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39372 * sysdeps/ieee754/s_matherr.c: Likewise.
39373 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39374 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39375 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39376 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39378 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39380 * crypt/md5.h: Remove __STDC__ conditionals.
39381 * libio/libioP.h: Likewise.
39382 * locale/programs/config.h: Likewise.
39383 * sysdeps/generic/sysdep.h: Likewise.
39384 * sysdeps/i386/asm-syntax.h: Likewise.
39385 * sysdeps/s390/asm-syntax.h: Likewise.
39386 * sysdeps/unix/sysdep.h: Likewise.
39387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39390 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39392 * libio/libio.h: Remove __STDC__ conditionals.
39393 * malloc/obstack.h: Likewise.
39394 * math/complex.h: Likewise.
39395 * math/math.h: Likewise.
39396 * sysdeps/generic/_G_config.h: Likewise.
39397 * sysdeps/gnu/_G_config.h: Likewise.
39398 * sysdeps/mach/hurd/_G_config.h: Likewise.
39399 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39400 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39401 * sysdeps/sparc/bits/mathdef.h: Likewise.
39403 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39406 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39407 Clean up HAS_* macros.
39408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39409 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39411 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39413 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39414 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39415 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39416 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39417 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39419 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39421 * elf/tst-unique3.cc (gets): Remove declaration.
39422 * elf/tst-unique3lib.cc (gets): Likewise.
39423 * elf/tst-unique3lib2.cc (gets): Likewise.
39424 * elf/tst-unique4.cc (gets): Likewise.
39426 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39428 * include/stdio.h: Add C++ protection. Add gets declarations and
39430 * debug/tst-chk1.c: Don't declare gets here.
39431 * stdio-common/tst-gets.c: Likewise.
39433 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39435 * posix/glob: Remove directory.
39437 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39439 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39441 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39443 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39444 of the non-standard EPFNOSUPPORT.
39446 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39448 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39449 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39450 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39452 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39454 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39456 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39458 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39460 * nscd/grpcache.c (cache_addgr): Likewise.
39461 * nscd/hstcache.c (cache_addhst): Likewise.
39462 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39463 * nscd/pwdcache.c (cache_addpw): Likewise.
39464 * nscd/servicescache.c (cache_addserv): Likewise.
39466 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39468 * malloc/malloc.c: Various cleanups.
39469 * malloc/hooks.c: Likewise.
39471 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39472 * stdlib/bug-fmtmsg1.c: New file.
39474 * stdlib/fmtmsg.c (init): Add missing unlock.
39475 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39477 2012-01-12 Marek Polacek <polacek@redhat.com>
39479 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39482 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39484 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39485 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39486 macro to ensure uniqueness of label name.
39487 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39488 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39490 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39492 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39494 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39495 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39496 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39499 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39501 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39503 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39504 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39507 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39509 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39510 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39511 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39514 * math/bits/math-finite.h: Add ldexp support.
39516 2012-01-10 Marek Polacek <polacek@redhat.com>
39518 * locale/programs/localedef.h (show_archive_content): Add noreturn
39521 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39523 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39525 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39527 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39529 * io/Makefile (headers): Add bits/poll2.h.
39531 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39534 typo #include statement.
39536 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39538 * include/sys/cdefs.h: Define __attribute_alloc_size.
39539 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39540 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39541 * elf/pldd.c: Likewise.
39542 * iconv/iconv_charmap.c: Likewise.
39543 * iconv/iconvconfig.c: Likewise.
39544 * iconv/strtab.c: Likewise.
39545 * locale/programs/locale.c: Likewise.
39546 * locale/programs/localedef.h: Likewise.
39547 * locale/programs/simple-hash.c: Likewise.
39548 * nscd/nscd.h: Likewise.
39549 * nss/makedb.c: Likewise.
39550 * sysdeps/generic/ldconfig.h: Likewise.
39551 * locale/programs/localedef.c: Remove xmalloc prototype.
39552 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39554 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39556 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39559 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39561 * math/Makefile (tests): Add tst-CMPLX.
39562 * math/tst-CMPLX.c: New file.
39564 * math/complex.h (CMPLXL): Fix typo.
39566 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39567 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39569 * debug/tst-chk1.c: Add poll and ppoll tests.
39570 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39571 * include/sys/poll.h: Add hidden proto for ppoll.
39572 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39573 * sysdeps/mach/hurd/ppoll.c: Likewise.
39574 * io/ppoll.c: Likewise.
39575 * debug/poll_chk.c: New file.
39576 * debug/ppoll_chk.c: New file.
39577 * include/bits/poll2.h: New file.
39578 * io/bits/poll2.h: New file.
39581 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39583 * configure.in: static is always set to yes. Remove.
39584 * config.make.in: Don't set build-static.
39585 * Makeconfig: Remove use of build-static.
39586 * dlfcn/Makefile: Likewise.
39587 * elf/Makefile: Likewise.
39588 * math/Makefile: Likewise.
39589 * misc/Makefile: Likewise.
39590 * nptl/Makefile: Likewise.
39591 * sysdeps/mach/hurd/Makefile: Likewise.
39593 * configure.in: PWD_P is not used anymore.
39594 * config.make.in: Remove PWD_P entry.
39596 * configure.in: Remove last remnants of RANLIB.
39597 No need to check for signed size_t anymore.
39598 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39600 Remove __builtin_expect test because we require at least gcc 3.4.
39601 * aclocal.m4: Likewise.
39603 * wcsmbs/mbrtoc16.c: Implement using towc function.
39604 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39605 * wcsmbs/wcsmbsload.c: Likewise.
39606 * iconv/gconv_simple.c: Likewise.
39607 * iconv/gconv_int.h: Likewise.
39608 * iconv/gconv_builtin.h: Likewise.
39609 * iconv/iconv_prog.c: Remove CHAR16 handling.
39611 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39613 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39615 * configure.in: Remove --with-elf and --enable-bounded options.
39616 Dont set base_machine for ia64. More non-ELF conditions removed.
39617 Remove testing and setting of leading underscore information.
39618 * config.make.in (build-bounded): Set to no.
39619 * config.h.in: Remove NO_UNDERSCORES entry.
39620 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39622 * csu/start.c: Remove !NO_UNDERSCORE code.
39623 * locale/localeinfo.h: Likewise.
39624 * sysdeps/generic/machine-gmon.h: Likewise.
39625 * sysdeps/generic/sysdep.h: Likewise.
39626 * sysdeps/i386/sysdep.h: Likewise.
39627 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39628 * sysdeps/mach/sysdep.h: Likewise.
39629 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39630 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39631 * sysdeps/sh/sysdep.h: Likewise.
39632 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39633 * sysdeps/unix/i386/sysdep.S: Likewise.
39634 * sysdeps/unix/sparc/start.c: Likewise.
39635 * sysdeps/unix/sparc/sysdep.S: Likewise.
39636 * sysdeps/unix/sparc/sysdep.h: Likewise.
39637 * sysdeps/unix/start.c: Likewise.
39638 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39639 * sysdeps/x86_64/sysdep.h: Likewise.
39641 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39644 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39646 * argp/argp-fmtstream.h: Use const instead __const.
39647 * argp/argp.h: Likewise.
39648 * assert/assert.h: Likewise.
39649 * bits/fenv.h: Likewise.
39650 * bits/sched.h: Likewise.
39651 * bits/sigset.h: Likewise.
39652 * bits/sigthread.h: Likewise.
39653 * catgets/nl_types.h: Likewise.
39654 * conform/data/pthread.h-data: Likewise.
39655 * crypt/crypt-private.h: Likewise.
39656 * crypt/crypt.h: Likewise.
39657 * crypt/crypt_util.c: Likewise.
39658 * ctype/ctype.h: Likewise.
39659 * debug/execinfo.h: Likewise.
39660 * debug/mbsnrtowcs_chk.c: Likewise.
39661 * debug/mbsrtowcs_chk.c: Likewise.
39662 * debug/wcsnrtombs_chk.c: Likewise.
39663 * debug/wcsrtombs_chk.c: Likewise.
39664 * debug/wcstombs_chk.c: Likewise.
39665 * dirent/dirent.h: Likewise.
39666 * dlfcn/dlfcn.h: Likewise.
39667 * elf/neededtest4.c: Likewise.
39668 * grp/grp.h: Likewise.
39669 * gshadow/gshadow.h: Likewise.
39670 * iconv/gconv.h: Likewise.
39671 * iconv/gconv_int.h: Likewise.
39672 * iconv/gconv_simple.c: Likewise.
39673 * iconv/iconv.h: Likewise.
39674 * iconv/loop.c: Likewise.
39675 * iconv/skeleton.c: Likewise.
39676 * include/aio.h: Likewise.
39677 * include/aliases.h: Likewise.
39678 * include/argz.h: Likewise.
39679 * include/arpa/inet.h: Likewise.
39680 * include/assert.h: Likewise.
39681 * include/dirent.h: Likewise.
39682 * include/dlfcn.h: Likewise.
39683 * include/execinfo.h: Likewise.
39684 * include/fcntl.h: Likewise.
39685 * include/fenv.h: Likewise.
39686 * include/glob.h: Likewise.
39687 * include/grp.h: Likewise.
39688 * include/libintl.h: Likewise.
39689 * include/mntent.h: Likewise.
39690 * include/netdb.h: Likewise.
39691 * include/pwd.h: Likewise.
39692 * include/rpc/netdb.h: Likewise.
39693 * include/sched.h: Likewise.
39694 * include/search.h: Likewise.
39695 * include/shadow.h: Likewise.
39696 * include/signal.h: Likewise.
39697 * include/stdio.h: Likewise.
39698 * include/stdlib.h: Likewise.
39699 * include/string.h: Likewise.
39700 * include/sys/socket.h: Likewise.
39701 * include/sys/stat.h: Likewise.
39702 * include/sys/statfs.h: Likewise.
39703 * include/sys/statvfs.h: Likewise.
39704 * include/sys/syslog.h: Likewise.
39705 * include/sys/time.h: Likewise.
39706 * include/sys/uio.h: Likewise.
39707 * include/time.h: Likewise.
39708 * include/unistd.h: Likewise.
39709 * include/utmp.h: Likewise.
39710 * include/wchar.h: Likewise.
39711 * include/wctype.h: Likewise.
39712 * inet/aliases.h: Likewise.
39713 * inet/arpa/inet.h: Likewise.
39714 * inet/netinet/ether.h: Likewise.
39715 * inet/netinet/in.h: Likewise.
39716 * intl/libintl.h: Likewise.
39717 * io/bits/fcntl2.h: Likewise.
39718 * io/fcntl.h: Likewise.
39719 * io/ftw.h: Likewise.
39720 * io/sys/poll.h: Likewise.
39721 * io/sys/stat.h: Likewise.
39722 * io/sys/statfs.h: Likewise.
39723 * io/sys/statvfs.h: Likewise.
39724 * io/utime.h: Likewise.
39725 * libio/bits/stdio.h: Likewise.
39726 * libio/bits/stdio2.h: Likewise.
39727 * libio/libio.h: Likewise.
39728 * libio/libioP.h: Likewise.
39729 * libio/stdio.h: Likewise.
39730 * locale/lc-ctype.c: Likewise.
39731 * locale/locale.h: Likewise.
39732 * login/utmp.h: Likewise.
39733 * malloc/arena.c: Likewise.
39734 * malloc/malloc.c: Likewise.
39735 * malloc/malloc.h: Likewise.
39736 * malloc/mcheck.c: Likewise.
39737 * malloc/mtrace.c: Likewise.
39738 * math/bits/mathcalls.h: Likewise.
39739 * math/fenv.h: Likewise.
39740 * math/math_private.h: Likewise.
39741 * misc/bits/error.h: Likewise.
39742 * misc/bits/syslog.h: Likewise.
39743 * misc/err.h: Likewise.
39744 * misc/error.h: Likewise.
39745 * misc/fstab.h: Likewise.
39746 * misc/mntent.h: Likewise.
39747 * misc/regexp.h: Likewise.
39748 * misc/search.h: Likewise.
39749 * misc/sgtty.h: Likewise.
39750 * misc/sys/mman.h: Likewise.
39751 * misc/sys/syslog.h: Likewise.
39752 * misc/sys/uio.h: Likewise.
39753 * misc/sys/xattr.h: Likewise.
39754 * misc/ttyent.h: Likewise.
39755 * nis/rpcsvc/ypclnt.h: Likewise.
39756 * nss/nss.h: Likewise.
39757 * posix/bits/unistd.h: Likewise.
39758 * posix/fnmatch.h: Likewise.
39759 * posix/glob.h: Likewise.
39760 * posix/sched.h: Likewise.
39761 * posix/spawn.h: Likewise.
39762 * posix/sys/wait.h: Likewise.
39763 * posix/unistd.h: Likewise.
39764 * posix/wordexp.h: Likewise.
39765 * pwd/pwd.h: Likewise.
39766 * resolv/netdb.h: Likewise.
39767 * resource/sys/resource.h: Likewise.
39768 * rt/aio.h: Likewise.
39769 * rt/bits/mqueue2.h: Likewise.
39770 * rt/mqueue.h: Likewise.
39771 * shadow/shadow.h: Likewise.
39772 * signal/signal.h: Likewise.
39773 * socket/send.c: Likewise.
39774 * socket/sendto.c: Likewise.
39775 * socket/sys/socket.h: Likewise.
39776 * stdio-common/printf.h: Likewise.
39777 * stdlib/bits/stdlib.h: Likewise.
39778 * stdlib/fmtmsg.h: Likewise.
39779 * stdlib/monetary.h: Likewise.
39780 * stdlib/stdlib.h: Likewise.
39781 * stdlib/ucontext.h: Likewise.
39782 * streams/stropts.h: Likewise.
39783 * string/argz.h: Likewise.
39784 * string/bits/string2.h: Likewise.
39785 * string/string.h: Likewise.
39786 * string/strings.h: Likewise.
39787 * sunrpc/rpc/auth.h: Likewise.
39788 * sunrpc/rpc/auth_des.h: Likewise.
39789 * sunrpc/rpc/clnt.h: Likewise.
39790 * sunrpc/rpc/netdb.h: Likewise.
39791 * sunrpc/rpc/pmap_clnt.h: Likewise.
39792 * sunrpc/rpc/xdr.h: Likewise.
39793 * sysdeps/generic/inttypes.h: Likewise.
39794 * sysdeps/generic/net/if.h: Likewise.
39795 * sysdeps/generic/sys/swap.h: Likewise.
39796 * sysdeps/gnu/net/if.h: Likewise.
39797 * sysdeps/gnu/utmpx.h: Likewise.
39798 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39799 * sysdeps/i386/i486/bits/string.h: Likewise.
39800 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39801 * sysdeps/s390/bits/string.h: Likewise.
39802 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39803 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39804 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39805 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39806 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39807 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39808 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39809 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39810 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39811 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39812 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39813 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39814 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39815 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39816 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39817 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39818 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39820 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39821 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39822 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39823 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39824 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39825 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39826 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39827 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39828 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39829 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39830 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39832 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39833 * sysvipc/sys/ipc.h: Likewise.
39834 * sysvipc/sys/msg.h: Likewise.
39835 * sysvipc/sys/sem.h: Likewise.
39836 * sysvipc/sys/shm.h: Likewise.
39837 * termios/termios.h: Likewise.
39838 * time/sys/time.h: Likewise.
39839 * time/time.h: Likewise.
39840 * wcsmbs/bits/wchar2.h: Likewise.
39841 * wcsmbs/uchar.h: Likewise.
39842 * wcsmbs/wchar.h: Likewise.
39843 * wctype/wctype.h: Likewise.
39846 * Makeconfig: Remove all but ELF support including AIX support.
39847 * Makerules: Likewise.
39848 * config.h.in: Likewise.
39849 * config.make.in: Likewise.
39850 * configure: Likewise.
39851 * configure.in: Likewise.
39852 * csu/Makefile: Likewise.
39853 * csu/version.c: Likewise.
39854 * debug/Makefile: Likewise.
39855 * dlfcn/Makefile: Likewise.
39856 * elf/Makefile: Likewise.
39857 * extra-lib.mk: Likewise.
39858 * iconv/Makefile: Likewise.
39859 * include/libc-symbols.h: Likewise.
39860 * include/shlib-compat.h: Likewise.
39861 * resolv/Makefile: Likewise.
39862 * resolv/res_libc.c: Likewise.
39863 * rt/Makefile: Likewise.
39864 * sysdeps/i386/asm-syntax.h: Likewise.
39865 * sysdeps/i386/sysdep.h: Likewise.
39866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39867 * sysdeps/mach/sysdep.h: Likewise.
39868 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39869 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39870 * sysdeps/s390/asm-syntax.h: Likewise.
39871 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39872 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39873 * sysdeps/sh/sysdep.h: Likewise.
39874 * sysdeps/unix/sparc/sysdep.h: Likewise.
39875 * sysdeps/wordsize-32/divdi3.c: Likewise.
39876 * sysdeps/x86_64/sysdep.h: Likewise.
39878 * argp/Versions: Remove _argp_unlock_xxx.
39881 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39882 * abilist/libBrokenLocale.abilist: Likewise.
39883 * abilist/libanl.abilist: Likewise.
39884 * abilist/libc.abilist: Likewise.
39885 * abilist/libcrypt.abilist: Likewise.
39886 * abilist/libdl.abilist: Likewise.
39887 * abilist/libm.abilist: Likewise.
39888 * abilist/libnsl.abilist: Likewise.
39889 * abilist/libpthread.abilist: Likewise.
39890 * abilist/libresolv.abilist: Likewise.
39891 * abilist/librt.abilist: Likewise.
39892 * abilist/libthread_db.abilist: Likewise.
39893 * abilist/libutil.abilist: Likewise.
39894 * abilist/libnss_db.abilist: New file.
39896 * scripts/abilist.awk: Add support for indirect functions.
39898 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39900 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39902 * shlib-versions: Remove entries for ports architectures.
39904 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39906 * elf/stackguard-macros.h: Remove support for IA-64.
39907 * elf/tst-auditmod1.c: Likewise.
39908 * sysdeps/generic/ldsodefs.h: Likewise.
39910 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39911 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39915 * configure.in: Remove --enable-omitfp support.
39917 * config.make.in: Likewise.
39918 * Makeconfig: Likewise.
39919 * manual/install.texi: Likewise.
39921 In case anyone cares, the IA-64 architecture could move to ports.
39922 * sysdeps/ia64/*: Removed.
39923 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39924 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39927 * configure.in: Remove entries for unsupported architectures.
39930 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39931 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39933 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39934 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39935 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39936 fall back to using wcrtomb.
39937 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39938 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39940 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39941 * wcsmbs/tst-c16c32-1.c: New file.
39943 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39946 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39948 * elf/tst-unique3.cc: Add explicit declaration of gets.
39949 * elf/tst-unique3lib.cc: Likewise.
39950 * elf/tst-unique3lib2.cc: Likewise.
39951 * elf/tst-unique4.cc: Likewise.
39953 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39955 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39958 * assert/assert.h (static_assert): Don't define for C++.
39959 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39960 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39962 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39964 * iconv/loop.c (single loop): Fix assertion in storing of
39967 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39969 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39971 * posix/getconf.c: Update copyright year.
39972 * nss/getent.c: Likewise.
39973 * nss/makedb.c: Likewise.
39974 * iconv/iconvconfig.c: Likewise.
39975 * iconv/iconv_prog.c: Likewise.
39976 * elf/ldconfig.c: Likewise.
39977 * elf/pldd.c: Likewise.
39978 * elf/sotruss.ksh: Likewise.
39979 * catgets/gencat.c: Likewise.
39980 * csu/version.c: Likewise.
39981 * elf/ldd.bash.in: Likewise.
39982 * elf/sprof.c (print_version): Likewise.
39983 * locale/programs/locale.c: Likewise.
39984 * locale/programs/localedef.c: Likewise.
39985 * login/programs/pt_chown.c: Likewise.
39986 * nscd/nscd.c (print_version): Likewise.
39987 * debug/xtrace.sh: Likewise.
39988 * malloc/memusage.sh: Likewise.
39989 * malloc/mtrace.pl: Likewise.
39990 * debug/catchsegv.sh: Likewise.
39992 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39994 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39997 2011-12-24 Ulrich Drepper <drepper@gmail.com>
40000 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40001 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40003 * iconv/gconv_int.h: Likewise.
40004 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40005 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40006 from libc for GLIBC_2.16.
40007 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40008 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40009 * wcsmbs/uchar.h: Really define mbstate_t.
40010 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40011 * wcsmbs/c16rtomb.c: New file.
40012 * wcsmbs/mbrtoc16.c: New file.
40013 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40014 for C/POSIX locale.
40015 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40016 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40018 * wcsmbs/wchar.h: Add missing __restrict.
40020 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40023 * time/Makefile (routines): Add timespec_get.
40024 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40025 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40026 timespec for ISO C11.
40027 * time/timespec_get.c: New file.
40028 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40029 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40032 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40033 * stdlib/stdlib.h: Declare aligned_alloc.
40034 * Versions.def: Add GLIBC_2.16 for libc.
40035 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40038 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40041 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40045 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40048 * assert/assert.h (static_assert): Define.
40050 * version.h: Update for 2.16 development version.
40053 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40056 * version.h (RELEASE): Bump for 2.15 release.
40057 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40059 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40060 Patch by Marek Polacek <mpolacek@redhat.com>.
40062 * bits/byteswap.h: Protect long long constants with __extension__.
40063 * sysdeps/i386/bits/byteswap.h: Likewise.
40064 * sysdeps/ia64/bits/byteswap.h: Likewise.
40065 * sysdeps/s390/bits/byteswap.h: Likewise.
40066 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40068 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40072 destination buffer.
40073 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40075 2011-12-23 Marek Polacek <polacek@redhat.com>
40077 * elf/dl-addr.c (determine_info): Add inline keyword.
40078 * elf/tst-auditmod4b.c (check_avx): Likewise.
40079 * elf/tst-auditmod6b.c (check_avx): Likewise.
40080 * elf/tst-auditmod6c.c (check_avx): Likewise.
40081 * elf/tst-auditmod7b.c (check_avx): Likewise.
40083 2011-12-23 Ulrich Drepper <drepper@gmail.com>
40085 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40088 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40091 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40092 processing for last bytes.
40094 2011-08-06 Bruno Haible <bruno@clisp.org>
40097 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40098 U+0385, not to U+1FEE.
40101 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40102 entry for U+00A5 U+0301.
40104 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40107 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40108 buffer for the output is too small.
40110 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40114 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40115 SSE flags if possible.
40117 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40120 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40121 processing for last bytes.
40123 2011-12-22 Joseph Myers <joseph@codesourcery.com>
40125 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40126 (syscall-list-default-options, syscall-list-default-condition)
40127 (syscall-list-includes): Define.
40128 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40129 list of ABIs and options and #if conditions for each ABI. Do not
40130 handle common syscalls between ABIs specially.
40131 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40133 (syscall-list-variants, syscall-list-32bit-options)
40134 (syscall-list-32bit-condition, syscall-list-64bit-options)
40135 (syscall-list-64bit-condition): Define.
40136 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40137 (syscall-list-variants, syscall-list-32bit-options)
40138 (syscall-list-32bit-condition, syscall-list-64bit-options)
40139 (syscall-list-64bit-condition): Define.
40140 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40142 (syscall-list-variants, syscall-list-32bit-options)
40143 (syscall-list-32bit-condition, syscall-list-64bit-options)
40144 (syscall-list-64bit-condition): Define.
40145 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40147 (syscall-list-variants, syscall-list-32bit-options)
40148 (syscall-list-32bit-condition, syscall-list-64bit-options)
40149 (syscall-list-64bit-condition): Define.
40151 2011-12-22 Ulrich Drepper <drepper@gmail.com>
40153 * locale/iso-639.def: Add brx entry.
40156 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40157 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40159 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40160 __feraiseexcept_renamed.
40162 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40165 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40166 EPOLLET with unsigned values.
40167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40170 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40171 to large cancellation.
40172 * math/s_cacoshf.c: Likewise.
40173 * math/s_cacoshl.c: Likewise.
40175 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40179 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40180 * math/s_cacoshf.c: Likewise.
40181 * math/s_cacoshl.c: Likewise.
40183 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40186 * iconv/gconv.h: Define __GCONV_SWAP.
40187 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40188 * iconvdata/utf-16.c: Likewise.
40189 * iconvdata/utf-32.c: Likewise.
40191 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40194 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40195 numerator after shifting it by one limb.
40197 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40199 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40200 under [__USE_EXTERN_INLINES].
40202 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40205 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40207 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40209 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40210 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40212 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40213 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40214 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40215 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40216 for strncasecmp/strncasecmp_l compilation.
40217 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40218 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40220 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40223 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40226 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40229 * time/tzfile.c (__tzfile_read): Check values from file header.
40231 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40233 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40234 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40235 * powerpc/powerpc32/dl-start.S: Likewise.
40236 * powerpc/powerpc32/elf/start.S: Likewise.
40237 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40238 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40239 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40240 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40241 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40242 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40243 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40244 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40245 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40246 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40247 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40248 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40249 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40250 * powerpc/powerpc32/memset.S: Likewise.
40251 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40252 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40253 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40254 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40255 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40256 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40257 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40258 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40259 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40260 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40261 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40262 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40263 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40265 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40267 * math/libm-test.inc: Added more nearbyint tests.
40268 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40269 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40270 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40273 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40275 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40278 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40280 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40281 Add wcscpy-ssse3 wcscpy-c.
40282 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40283 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40284 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40285 * sysdeps/x86_64/wcschr.S: New file.
40286 * sysdeps/x86_64/wcsrchr.S: New file.
40287 * string/test-strcmp.c: Remove checking of wcscmp function for
40289 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40290 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40291 wcsrchr-sse2 wcsrchr-c.
40292 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40293 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40294 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40295 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40296 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40297 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40298 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40299 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40300 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40301 * wcsmbc/wcschr.c (WCSCHR): New macro.
40303 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40305 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40306 * wcsmbs/test-wcsrchr.c: New file.
40307 * string/test-strrchr.c: Add wcsrchr support.
40309 * wcsmbs/test-wcscpy.c: New file.
40310 * string/test-strcpy.c: Add wcscpy support.
40313 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40315 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40318 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40321 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40323 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40326 Minor optimizations.
40328 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40329 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40330 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40332 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40334 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40335 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40336 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40337 for gcc to avoid warnings.
40338 * inet/Makefile (tests): Add tst-checks.
40339 * inet/tst-checks.c: New file.
40341 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40344 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40347 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40348 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40350 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40352 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40354 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40357 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40359 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40361 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40362 conditional on GCC version.
40363 (__arch_compare_and_exchange_val_8_acq)
40364 (__arch_compare_and_exchange_val_16_acq)
40365 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40366 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40367 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40369 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40371 * sysdeps/sh/backtrace.c: New file.
40373 2011-12-02 Andreas Schwab <schwab@redhat.com>
40375 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40378 2011-12-01 Andreas Schwab <schwab@redhat.com>
40380 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40381 falling back to utime.
40383 2011-11-30 Andreas Schwab <schwab@redhat.com>
40385 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40386 expectations for float.
40388 2011-11-29 Andreas Schwab <schwab@redhat.com>
40390 * locale/weight.h (findidx): Add parameter len.
40391 * locale/weightwc.h (findidx): Likewise.
40392 * posix/fnmatch_loop.c (FCT): Adjust caller.
40393 * posix/regcomp.c (build_equiv_class): Likewise.
40394 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40395 * posix/regexec.c (check_node_accept_bytes): Likewise.
40396 * string/strcoll_l.c (STRCOLL): Likewise.
40397 * string/strxfrm_l.c (STRXFRM): Likewise.
40399 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40401 * Makefile.in: Remove CVSOPT handling.
40402 * configure.in: Remove use of AC_REVISION.
40403 * iconvdata/Makefile (distribute): No need to filter out CVS.
40404 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40407 2011-11-16 Andreas Schwab <schwab@redhat.com>
40409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40410 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40411 [USE_AS_STRNCASECMP_L]: Likewise.
40412 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40413 NO_TLS_DIRECT_SEG_REFS.
40414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40415 Fix argument offsets for non-PIC.
40416 [USE_AS_STRNCASECMP_L]: Likewise.
40417 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40418 NO_TLS_DIRECT_SEG_REFS.
40420 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40422 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40424 * locale/loadlocale.c (_nl_load_locale): Likewise.
40426 2011-11-15 Andreas Schwab <schwab@redhat.com>
40428 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40429 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40430 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40431 (SYSCALL_GETTIME): Set errno on error.
40433 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40434 count references to noai6ai_cached.
40436 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40438 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40440 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40441 FD_CLOEXEC for /proc/self/maps.
40443 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40444 FD_CLOEXEC for /proc/meminfo.
40446 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40449 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40450 FD_CLOEXEC for given file.
40452 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40454 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40455 FD_CLOEXEC for /etc/hosts.
40456 (_gethtent): Likewise.
40458 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40460 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40461 cancellation and set FD_CLOEXEC for /etc/netgroup.
40463 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40464 reading /etc/publickey.
40466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40467 allow cancellation when reading /etc/group.
40469 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40471 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40473 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40474 when using data file.
40476 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40478 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40479 (write_nis_obj): Use "c" and "e" in fopen.
40481 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40483 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40485 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40487 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40489 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40492 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40494 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40496 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40498 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40499 file parsing and set FD_CLOEXEC.
40501 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40503 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40505 2011-11-14 Andreas Schwab <schwab@redhat.com>
40507 * malloc/arena.c (arena_get2): Don't call reused_arena when
40508 _int_new_arena failed.
40510 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40512 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40513 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40514 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40515 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40516 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40517 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40518 to compile strcasecmp and strncasecmp.
40519 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40520 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40524 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40526 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40527 locale-defines.sym to gen-as-const-headers.
40528 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40529 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40531 to compile strcasecmp and strncasecmp.
40532 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40533 strcasecmp_l and strncasecmp_l.
40534 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40535 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40536 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40537 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40538 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40539 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40540 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40541 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40542 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40543 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40544 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40546 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40548 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40549 result of SYSDEP_GETTIME_CPU to retval.
40550 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40551 parameter list to macro. Remove trailing semicolon. Adjust users.
40553 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40556 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40558 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40560 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40561 from unused variable.
40563 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40565 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40568 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40571 * sunrpc/rpc_prot.c (rejected): Fix case value.
40573 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40574 unsigned long long int to avoid warnings in shift.
40576 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40578 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40581 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40582 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40583 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40585 * nis/nis_table.c (nis_list): Use variable of correct type for
40586 result of __follow_path call.
40588 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40590 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40591 of math functions ceil, trunc, floor, round, and sqrt, when
40592 avaliable on the platform.
40593 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40595 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40596 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40597 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40599 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40601 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40602 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40604 2011-11-11 Roland McGrath <roland@hack.frob.com>
40606 * include/unistd.h: Fix __readlink return type.
40607 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40609 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40611 * stdlib/ucontext.h: Undo last change for makecontext.
40613 2011-11-11 Andreas Schwab <schwab@redhat.com>
40615 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40617 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40618 * setjmp/setjmp.h: Mark functions as non-leaf.
40619 * setjmp/bits/setjmp2.h: Likewise.
40620 * stdlib/ucontext.h: Likewise.
40622 2011-11-10 Andreas Schwab <schwab@redhat.com>
40624 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40625 (reused_arena): Don't check arena limit.
40626 (arena_get2): Atomically check arena limit.
40628 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40630 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40631 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40636 2011-11-07 Andreas Schwab <schwab@redhat.com>
40638 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40639 handler when locking.
40641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40642 Fix size of allocated buffer.
40644 2011-11-04 Andreas Schwab <schwab@redhat.com>
40647 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40648 declarations for long double functions.
40649 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40651 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40653 2011-11-03 Andreas Schwab <schwab@redhat.com>
40655 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40658 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40661 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40663 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40665 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40667 * include/alloca.h (stackinfo_alloca_round): Define.
40668 (extend_alloca): Use it.
40669 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40670 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40673 * scripts/check-local-headers.sh: Ignore libaudit.h.
40675 * nscd/Makefile (extra-objs): Make recursively expanded.
40677 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40679 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40680 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40682 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40683 * posix/tst-rfc3484-2.c: Likewise.
40684 * posix/tst-rfc3484-3.c: Likewise.
40686 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40688 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40690 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40691 process_vm_writev from libc using GLIBC_2.15 version.
40693 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40695 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40697 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40700 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40703 * nss/getent.c (initgroups_keys): Show error message in case no group
40706 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40707 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40708 __bump_nl_timestamp.
40709 * nscd/connections (nscd_init): When host database is served open
40710 netlink socket and request notification about configuration changes.
40711 (main_loop_poll): Track netlink file descriptor and bump timestamp
40712 in case data becomes available.
40713 (main_loop_epoll): Likewise.
40714 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40715 (database_pers_head): Add extra_data fileds.
40716 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40717 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40718 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40720 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40721 in6ai data, call __free_in6ai.
40722 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40723 Add -DHAVE_NETLINK.
40724 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40725 interface information. Reuse previous data if netlink timestamp
40727 (__bump_nl_timestamp): New function.
40728 (__free_in6ai): New function.
40730 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40732 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40733 close_not_cancel_no_status here.
40734 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40736 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40739 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40742 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40743 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40744 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40746 2011-07-03 Andreas Jaeger <aj@suse.de>
40749 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40750 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40751 * math/libm-test.inc (sin_test): Add test case.
40753 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40756 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40757 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40759 * elf/chroot_canon.c (chroot_canon): Cleanups.
40761 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40764 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40765 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40767 * string/test-strchr.c: Make usable for strchrnul testing.
40768 * string/test-strchrnul.c: New file.
40769 * string/Makefile (strop-tests): Add strchrnul.
40771 * po/it.po: Update from translation team.
40772 * po/es.po: Likewise.
40774 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40776 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40777 the three constants needed as parameters. Drop the others.
40778 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40779 __m128i_strloadu_tolower.
40780 Create and initialize variable zero and use it in all the places
40781 where _mm_setzero_si128 was used.
40783 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40784 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40785 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40786 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40788 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40789 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40790 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40791 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40792 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40793 __mpranred, __mptan.
40794 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40795 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40796 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40797 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40798 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40799 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40800 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40801 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40802 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40804 2011-10-28 Andreas Schwab <schwab@redhat.com>
40806 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40807 redefine if SHARED.
40808 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40811 wide char related routines to wcsmbs subdir.
40813 2011-10-27 Andreas Schwab <schwab@redhat.com>
40816 * misc/sys/cdefs.h (__THROWNL): Define.
40817 * posix/unistd.h: Use __THREADNL instead of __THREAD
40818 for memory synchronization functions.
40820 2011-10-26 Roland McGrath <roland@hack.frob.com>
40823 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40825 * manual/stdio.texi (Obstack Streams): Node removed.
40827 2011-10-26 Andreas Schwab <schwab@redhat.com>
40829 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40830 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40831 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40833 * math/math_private.h (math_force_eval): Allow non-addressable
40835 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40837 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40840 file is not needed.
40842 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40843 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40845 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40847 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40848 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40849 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40851 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40852 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40853 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40854 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40855 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40856 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40857 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40858 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40859 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40860 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40861 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40862 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40863 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40864 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40865 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40866 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40867 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40868 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40869 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40871 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40872 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40874 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40875 place. Use VEX encoding when compiling for AVX.
40877 2011-10-25 Andreas Schwab <schwab@redhat.com>
40879 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40880 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40882 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40884 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40886 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40887 useless if() expression.
40888 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40889 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40890 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40891 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40898 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40900 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40901 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40902 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40903 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40904 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40905 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40906 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40908 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40910 2011-10-25 Andreas Schwab <schwab@redhat.com>
40912 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40916 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40918 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40919 .text section. Avoid duplicate constants.
40920 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40922 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40924 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40928 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40929 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40930 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40931 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40932 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40933 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40934 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40936 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40937 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40938 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40940 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40941 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40942 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40943 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40944 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40945 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40946 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40947 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40948 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40949 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40950 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40951 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40952 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40953 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40958 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40959 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40960 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40961 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40962 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40963 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40964 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40966 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40968 * sysdeps/x86_64/dla.h: Move to ...
40969 * sysdeps/x86_64/fpu/dla.h: ...here.
40970 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40971 situations. Use __builtin_fma only for gcc 4.6 and up.
40973 * config.make.in: Add have-mfma4 entry.
40974 * configure.in: Substitute libc_cv_cc_fma4.
40975 * math/Makefile (dbl-only-routines): Add sincostab.
40976 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40977 Use __sincostab not sincos.
40978 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40983 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40985 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40986 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40987 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40988 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40990 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40991 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40993 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40994 define aliases when function name is a macro.
40995 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40996 sysdeps/ieee754/dbl-64/sincos.tbl.
40997 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40998 fma4-enabled routines.
40999 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41000 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41001 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41002 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41003 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41004 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41006 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41007 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41008 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41009 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41010 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41011 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41012 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41013 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41014 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41015 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41016 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41017 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41018 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41019 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41020 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41021 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41022 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41023 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41024 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41026 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41027 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41028 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41030 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41041 2011-10-24 Andreas Schwab <schwab@redhat.com>
41043 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41045 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41047 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41049 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41051 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41053 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41054 Remove unused variable magic_bits.
41055 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41057 * string/strnlen.c: Define and use STRNLEN macro.
41058 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41059 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41060 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41061 * wcsmbs/wcslen.c: Define and use WCSLEN.
41062 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41063 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41064 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41065 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41066 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41067 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41068 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41070 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41073 strnlen-sse2-no-bsf.
41074 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41076 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41077 Add strnlen support.
41078 (USE_AS_STRNLEN): New macro.
41079 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41080 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41081 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41082 * sysdeps/x86_64/wcslen.S: New file.
41084 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41086 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41087 XMM-moves are used for copying on small sizes.
41089 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41091 * wcsmbs/Makefile (strop-tests): Add wcschr.
41092 * wcsmbs/test-wcschr.c: New file.
41093 * string/test-strchr.c: Update.
41094 Add wcschr support.
41097 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41099 * wcsmbs/Makefile (strop-tests): Add wcslen.
41100 * wcsmbs/test-wcslen.c: New file.
41101 * string/test-strlen.c: Update.
41102 Add wcslen support.
41105 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41107 * po/it.po: Update from translation team.
41109 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41111 * sysdeps/x86_64/wcscmp.S: Update.
41112 Fix wrong comparison semantics.
41113 wcscmp shall use signed comparison not unsigned.
41114 Don't use substraction to avoid overflow bug.
41115 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41116 * wcsmbc/wcscmp.c: Likewise.
41117 * string/test-strcmp.c: Likewise.
41118 Add new tests to check cases with negative values.
41120 2011-10-23 Ulrich Drepper <drepper@gmail.com>
41122 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41123 * sysdeps/x86_64/dla.h: ...here. New file.
41124 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41125 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41128 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41129 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41130 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41131 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41134 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41137 __ynl_finite aliases.
41139 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41143 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41145 [DLA_FMA] (EMULV): Use DLA_FMA.
41146 [DLA_FMA] (MUL12): Use EMULV.
41147 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41148 that are not needed.
41149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41152 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41154 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41157 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41159 * math/s_nan.c: Undef __nan.
41160 * math/s_nanf.c: Undef __nanf.
41161 * math/s_nanl.c: Undef __nanl.
41162 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41165 2011-10-22 Ulrich Drepper <drepper@gmail.com>
41167 * math/s_catan.c: Add branch predictions.
41168 * math/s_catanf.c: Likewise.
41169 * math/s_catanh.c: Likewise.
41170 * math/s_catanhf.c: Likewise.
41171 * math/s_catanhl.c: Likewise.
41172 * math/s_catanl.c: Likewise.
41173 * math/s_cexp.c: Likewise.
41174 * math/s_cexpf.c: Likewise.
41175 * math/s_cexpl.c: Likewise.
41176 * math/s_clog.c: Likewise.
41177 * math/s_clog10.c: Likewise.
41178 * math/s_clog10f.c: Likewise.
41179 * math/s_clog10l.c: Likewise.
41180 * math/s_clogf.c: Likewise.
41181 * math/s_clogl.c: Likewise.
41182 * math/s_csqrt.c: Likewise.
41183 * math/s_csqrtf.c: Likewise.
41184 * math/s_csqrtl.c: Likewise.
41185 * math/s_ctanf.c: Likewise.
41186 * math/s_ctanh.c: Likewise.
41187 * math/s_ctanhf.c: Likewise.
41188 * math/s_ctanhl.c: Likewise.
41189 * math/s_ctanl.c: Likewise.
41191 * math/math_private.h: Define __nan, __nanf, __nanl.
41192 * math/s_cacosh.c: Include <math_private.h>.
41193 * math/s_cacoshl.c: Likewise.
41194 * math/s_casinh.c: Likewise.
41195 * math/s_casinhf.c: Likewise.
41196 * math/s_casinhl.c: Likewise.
41197 * math/s_ccos.c: Rely entire on ccosh.
41198 * math/s_ccosf.c: Rely entire on ccoshf.
41199 * math/s_ccosl.c: Rely entirely on ccoshl.
41200 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41201 Remove tests for FE_INVALID.
41202 * math/s_ccoshf.c: Likewise.
41203 * math/s_ccoshl.c: Likewise.
41204 * math/s_csin.c: Likewise.
41205 * math/s_csinf.c: Likewise.
41206 * math/s_csinh.c Likewise.
41207 * math/s_csinhf.c: Likewise.
41208 * math/s_csinhl.c: Likewise.
41209 * math/s_csinl.c: Likewise.
41210 * math/s_ctan.c: Likewise.
41211 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41212 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41213 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41215 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41218 compilation problems.
41220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41223 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41225 * sysdeps/i386/configure.in: Test for -mfma4 option.
41226 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41227 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41228 COMMON_CPUID_INDEX_80000001.
41229 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41230 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41231 use it if FMA3 is not supported.
41232 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41234 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41235 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41237 2011-10-20 Andreas Schwab <schwab@redhat.com>
41240 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41241 it would create a cycle with a link time dependency.
41243 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41245 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41247 * string/Makefile (strop-tests): Add rawmemchr.
41248 * string/test-rawmemchr.c: New file.
41250 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41251 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41252 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41253 when compiling str{,n}casecmp and when AVX is available. Hook up
41254 new optimized code in initializers.
41256 2011-10-19 Andreas Schwab <schwab@redhat.com>
41258 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41259 __feraiseexcept instead of feraiseexcept.
41261 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41263 * math/math_private.h: Define defaults for libc_fetestexcept and
41265 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41266 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41267 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41268 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41269 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41270 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41271 libc_fetestexcept and libc_feupdateenv.
41273 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41274 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41275 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41276 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41277 libc_feholdexcept_setround.
41279 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41280 Add s_nearbyint-c and s_nearbyintf-c.
41281 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41282 nearbyintf inlines.
41283 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41284 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41285 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41286 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41288 * math/math_private.h: Define defaults for libc_fegetround,
41289 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41290 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41291 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41292 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41293 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41294 standard functions.
41295 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41296 Remove comments and hacks for old compiler versions.
41297 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41298 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41299 libc_feholdexceptl.
41301 2011-10-18 Andreas Schwab <schwab@redhat.com>
41303 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41304 (__feraiseexcept_renamed): Add __NTH.
41305 (feraiseexcept): Add __NTH. Rename local variables to fix
41306 namespace violations.
41308 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41310 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41312 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41314 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41315 recently added interfaces.
41316 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41318 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41319 about macro parameter expansion.
41321 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41322 __NO_MATH_INLINES is defined. Cleanups.
41324 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41325 and __floorf is target has SSE4.1.
41326 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41327 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41328 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41329 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41331 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41333 (floorf): Likewise.
41335 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41337 2011-10-17 Andreas Schwab <schwab@redhat.com>
41339 * misc/sys/cdefs.h: Fix last change.
41341 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41344 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41346 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41348 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41349 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41350 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41351 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41353 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41355 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41356 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41357 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41358 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41359 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41360 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41361 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41362 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41363 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41364 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41365 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41366 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41367 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41368 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41369 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41371 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41372 ceil, ceilf, floor, floorf.
41374 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41375 Perform IRELATIVE relocations last.
41377 * elf/do-rel.h: Add another parameter nrelative, replacing the
41378 local variable with the same name. Change name of the function
41379 to end in Rel or Rela (uppercase).
41380 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41381 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41382 elf_dynamic_do_##reloc function.
41384 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41386 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41387 is sufficient, at least on modern CPUs.
41389 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41391 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41392 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41394 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41396 * math/bits/math-finite.h: Add entries for exp.
41397 * math/e_expl.c: Add __*_finite alias.
41398 * sysdeps/i386/fpu/e_exp.S: Likewise.
41399 * sysdeps/i386/fpu/e_expf.S: Likewise.
41400 * sysdeps/i386/fpu/e_expl.c: Likewise.
41401 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41402 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41403 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41404 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41405 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41406 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41407 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41409 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41410 is sufficient, at least on modern CPUs.
41412 * ctype/ctype-info.c (__ctype_init): Define.
41413 * include/ctype.h (__ctype_init): Declare.
41414 (__ctype_b_loc): The variable is always initialized.
41415 (__ctype_toupper_loc): Likewise.
41416 (__ctype_tolower_loc): Likewise.
41417 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41418 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41420 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41422 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41424 * configure.in: Also look in $cxxmachine/include for C++ system
41427 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41429 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41430 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41431 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41432 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41433 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41434 (USE_AS_WMEMCMP): New macro.
41436 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41437 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41438 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41439 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41441 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41442 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41443 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41444 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41445 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41446 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41447 (USE_AS_WMEMCMP): New macro.
41448 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41449 * sysdeps/string/test-memcmp.c: Update.
41450 Fix simple_wmemcmp.
41452 * wcsmbs/wmemcmp.c: Update.
41453 (WMEMCMP): New macro.
41456 2011-10-12 Andreas Jaeger <aj@suse.de>
41459 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41461 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41463 * libio/iofwide.c (do_length): Avoid warning.
41465 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41467 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41469 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41471 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41472 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41473 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41474 * sysdeps/i386/i686/fpu/e_log.S: New file.
41475 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41476 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41478 * ctype/ctype.h: Add support for inlined isXXX functions when
41479 compiling C++ code.
41481 2011-10-14 Andreas Schwab <schwab@redhat.com>
41483 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41485 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41487 2011-10-13 Roland McGrath <roland@hack.frob.com>
41490 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41492 2011-10-13 Andreas Schwab <schwab@redhat.com>
41494 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41495 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41498 * sysdeps/x86_64/memrchr.S: Check for zero size.
41500 * string/stratcliff.c: Add memrchr tests.
41502 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41505 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41506 rawmemchr-sse2 rawmemchr-sse2-bsf.
41507 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41508 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41509 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41510 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41511 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41512 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41513 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41514 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41515 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41516 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41517 * string/memrchr.c (MEMRCHR): New macro.
41519 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41521 Add integration with gcc's -ffinite-math-only and optimize wrapper
41523 * Versions.def: Define GLIBC_2.15 version for libm.
41524 * math/Makefile (headers): Add bits/math-finite.h.
41525 * math/bits/math-finite.h: New file.
41526 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41527 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41528 * math/e_acoshl.c: Add __*_finite alias.
41529 * math/e_acosl.c: Likewise.
41530 * math/e_asinl.c: Likewise.
41531 * math/e_atan2l.c: Likewise.
41532 * math/e_atanhl.c: Likewise.
41533 * math/e_coshl.c: Likewise.
41534 * math/e_exp10.c: Likewise.
41535 * math/e_exp10f.c: Likewise.
41536 * math/e_exp10l.c: Likewise.
41537 * math/e_exp2l.c: Likewise.
41538 * math/e_fmodl.c: Likewise.
41539 * math/e_gammal_r.c: Likewise.
41540 * math/e_hypotl.c: Likewise.
41541 * math/e_j0l.c: Likewise.
41542 * math/e_j1l.c: Likewise.
41543 * math/e_jnl.c: Likewise.
41544 * math/e_lgammal_r.c: Likewise.
41545 * math/e_log10l.c: Likewise.
41546 * math/e_log2l.c: Likewise.
41547 * math/e_logl.c: Likewise.
41548 * math/e_powl.c: Likewise.
41549 * math/e_sinhl.c: Likewise.
41550 * math/e_sqrtl.c: Likewise.
41551 * math/e_scalb.c: Completely rewritten and optimized.
41552 * math/e_scalbf.c: Likewise.
41553 * math/e_scalbl.c: Likewise.
41554 * math/w_acos.c: Likewise.
41555 * math/w_acosf.c: Likewise.
41556 * math/w_acosl.c: Likewise.
41557 * math/w_acosh.c: Likewise.
41558 * math/w_acoshf.c: Likewise.
41559 * math/w_acoshl.c: Likewise.
41560 * math/w_asin.c: Likewise.
41561 * math/w_asinf.c: Likewise.
41562 * math/w_asinl.c: Likewise.
41563 * math/w_atan2.c: Likewise.
41564 * math/w_atan2f.c: Likewise.
41565 * math/w_atan2l.c: Likewise.
41566 * math/w_atanh.c: Likewise.
41567 * math/w_atanhf.c: Likewise.
41568 * math/w_atanhl.c: Likewise.
41569 * math/w_exp10.c: Likewise.
41570 * math/w_exp10f.c: Likewise.
41571 * math/w_exp10l.c: Likewise.
41572 * math/w_fmod.c: Likewise.
41573 * math/w_fmodf.c: Likewise.
41574 * math/w_fmodl.c: Likewise.
41575 * math/w_j0.c: Likewise.
41576 * math/w_j0f.c: Likewise.
41577 * math/w_j0l.c: Likewise.
41578 * math/w_j1.c: Likewise.
41579 * math/w_j1f.c: Likewise.
41580 * math/w_j1l.c: Likewise.
41581 * math/w_jn.c: Likewise.
41582 * math/w_jnf.c: Likewise.
41583 * math/w_log.c: Likewise.
41584 * math/w_logf.c: Likewise.
41585 * math/w_logl.c: Likewise.
41586 * math/w_log10.c: Likewise.
41587 * math/w_log10f.c: Likewise.
41588 * math/w_log10l.c: Likewise.
41589 * math/w_log2.c: Likewise.
41590 * math/w_log2f.c: Likewise.
41591 * math/w_log2l.c: Likewise.
41592 * math/w_pow.c: Likewise.
41593 * math/w_powf.c: Likewise.
41594 * math/w_powl.c: Likewise.
41595 * math/w_remainder.c: Likewise.
41596 * math/w_remainderf.c: Likewise.
41597 * math/w_remainderl.c: Likewise.
41598 * math/w_scalb.c: Likewise.
41599 * math/w_scalbf.c: Likewise.
41600 * math/w_scalbl.c: Likewise.
41601 * math/w_sqrt.c: Likewise.
41602 * math/w_sqrtf.c: Likewise.
41603 * math/w_sqrtl.c: Likewise.
41604 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41605 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41607 * math/math_private.h: Declare __kernel_standard_f.
41608 * math/w_cosh.c: Remove cruft and optimize a bit.
41609 * math/w_coshf.c: Likewise.
41610 * math/w_coshl.c: Likewise.
41611 * math/w_exp2.c: Likewise.
41612 * math/w_exp2f.c: Likewise.
41613 * math/w_exp2l.c: Likewise.
41614 * math/w_hypot.c: Likewise.
41615 * math/w_hypotf.c: Likewise.
41616 * math/w_hypotl.c: Likewise.
41617 * math/w_lgamma.c: Likewise.
41618 * math/w_lgamma_r.c: Likewise.
41619 * math/w_lgammaf.c: Likewise.
41620 * math/w_lgammaf_r.c: Likewise.
41621 * math/w_lgammal.c: Likewise.
41622 * math/w_lgammal_r.c: Likewise.
41623 * math/w_sinh.c: Likewise.
41624 * math/w_sinhf.c: Likewise.
41625 * math/w_sinhl.c: Likewise.
41626 * math/w_tgamma.c: Likewise.
41627 * math/w_tgammaf.c: Likewise.
41628 * math/w_tgammal.c: Likewise.
41629 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41631 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41632 Minor optimizations. Pretty printing. Remove cruft.
41633 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41634 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41635 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41636 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41637 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41638 * sysdeps/i386/fpu/e_asin.S: Likewise.
41639 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41640 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41641 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41642 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41643 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41644 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41645 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41646 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41647 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41648 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41649 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41650 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41651 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41652 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41653 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41654 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41655 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41656 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41657 * sysdeps/i386/fpu/e_log.S: Likewise.
41658 * sysdeps/i386/fpu/e_log10.S: Likewise.
41659 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41660 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41661 * sysdeps/i386/fpu/e_log2.S: Likewise.
41662 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41663 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41664 * sysdeps/i386/fpu/e_logf.S: Likewise.
41665 * sysdeps/i386/fpu/e_logl.S: Likewise.
41666 * sysdeps/i386/fpu/e_pow.S: Likewise.
41667 * sysdeps/i386/fpu/e_powf.S: Likewise.
41668 * sysdeps/i386/fpu/e_powl.S: Likewise.
41669 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41670 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41671 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41672 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41673 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41674 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41675 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41676 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41677 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41678 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41679 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41681 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41682 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41683 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41684 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41686 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41687 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41688 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41689 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41691 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41692 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41695 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41696 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41698 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41699 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41700 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41701 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41702 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41703 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41704 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41705 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41706 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41707 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41708 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41709 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41710 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41711 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41712 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41713 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41714 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41715 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41716 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41717 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41718 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41720 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41721 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41722 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41723 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41724 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41725 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41726 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41727 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41728 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41729 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41730 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41731 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41739 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41741 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41742 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41743 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41749 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41750 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41752 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41753 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41755 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41756 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41757 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41759 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41760 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41769 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41770 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41771 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41772 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41773 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41774 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41775 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41776 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41777 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41778 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41779 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41780 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41781 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41782 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41783 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41784 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41786 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41787 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41788 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41789 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41790 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41791 (__isnanf): Likewise.
41792 (__isinf_ns): Likewise.
41793 (__isinf_nsf): Likewise.
41794 (__finite): Likewise.
41795 (__finitef): Likewise.
41796 (__ieee754_sqrt): Define as macro.
41797 (__ieee754_sqrtf): Define as macro.
41798 (__ieee754_sqrtl): Define as macro.
41799 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41801 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41802 __FINITE_MATH_ONLY__ consistent.
41803 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41805 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41807 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41810 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41812 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41814 * po/ja.po: Update from translation team.
41816 2011-10-08 Roland McGrath <roland@hack.frob.com>
41818 * locale/programs/locarchive.c (prepare_address_space): New function.
41819 (create_archive, enlarge_archive, open_archive): Use it.
41821 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41822 inside [SHARED], where it is used.
41824 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41826 * nss/getent.c (netgroup_keys): Remove unused variable.
41827 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41829 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41831 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41832 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41834 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41835 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41836 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41837 * math/Makefile (libm-calls): Add s_isinf_ns.
41838 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41839 * math/multc3.c: Likewise.
41840 * math/s_casin.c: Likewise.
41841 * math/s_casinf.c: Likewise.
41842 * math/s_casinl.c: Likewise.
41843 * math/s_ccos.c: Likewise.
41844 * math/s_ccosf.c: Likewise.
41845 * math/s_ccosl.c: Likewise.
41846 * math/s_ctan.c: Likewise.
41847 * math/s_ctanf.c: Likewise.
41848 * math/s_ctanh.c: Likewise.
41849 * math/s_ctanhf.c: Likewise.
41850 * math/s_ctanhl.c: Likewise.
41851 * math/s_ctanl.c: Likewise.
41852 * math/w_fmod.c: Likewise.
41853 * math/w_fmodf.c: Likewise.
41854 * math/w_fmodl.c: Likewise.
41855 * math/w_remainder.c: Likewise.
41856 * math/w_remainderf.c: Likewise.
41857 * math/w_remainderl.c: Likewise.
41858 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41859 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41862 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41863 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41864 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41865 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41867 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41869 * stdio-common/printf_fphex.c: Likewise.
41870 * stdio-common/printf_size.c: Likewise.
41872 * math/e_exp10.c: Include math_private.h using <...> not "...".
41873 * math/e_exp10f.c: Likewise.
41874 * math/e_exp10l.c: Likewise.
41875 * math/e_exp2l.c: Likewise.
41876 * math/e_j0l.c: Likewise.
41877 * math/e_j1l.c: Likewise.
41878 * math/e_jnl.c: Likewise.
41879 * math/e_lgammal_r.c: Likewise.
41880 * math/e_rem_pio2l.c: Likewise.
41881 * math/e_scalb.c: Likewise.
41882 * math/e_scalbf.c: Likewise.
41883 * math/e_scalbl.c: Likewise.
41884 * math/k_cosl.c: Likewise.
41885 * math/k_sinl.c: Likewise.
41886 * math/k_tanl.c: Likewise.
41887 * math/s_cacoshf.c: Likewise.
41888 * math/s_catan.c: Likewise.
41889 * math/s_catanf.c: Likewise.
41890 * math/s_catanh.c: Likewise.
41891 * math/s_catanhf.c: Likewise.
41892 * math/s_catanhl.c: Likewise.
41893 * math/s_catanl.c: Likewise.
41894 * math/s_ccosh.c: Likewise.
41895 * math/s_ccoshf.c: Likewise.
41896 * math/s_ccoshl.c: Likewise.
41897 * math/s_cexp.c: Likewise.
41898 * math/s_cexpf.c: Likewise.
41899 * math/s_cexpl.c: Likewise.
41900 * math/s_clog.c: Likewise.
41901 * math/s_clog10.c: Likewise.
41902 * math/s_clog10f.c: Likewise.
41903 * math/s_clog10l.c: Likewise.
41904 * math/s_clogf.c: Likewise.
41905 * math/s_clogl.c: Likewise.
41906 * math/s_csin.c: Likewise.
41907 * math/s_csinf.c: Likewise.
41908 * math/s_csinh.c: Likewise.
41909 * math/s_csinhf.c: Likewise.
41910 * math/s_csinhl.c: Likewise.
41911 * math/s_csinl.c: Likewise.
41912 * math/s_csqrt.c: Likewise.
41913 * math/s_csqrtf.c: Likewise.
41914 * math/s_csqrtl.c: Likewise.
41915 * math/s_ctan.c: Likewise.
41916 * math/s_ctanf.c: Likewise.
41917 * math/s_ctanh.c: Likewise.
41918 * math/s_ctanhf.c: Likewise.
41919 * math/s_ctanhl.c: Likewise.
41920 * math/s_ctanl.c: Likewise.
41921 * math/s_ldexp.c: Likewise.
41922 * math/s_ldexpf.c: Likewise.
41923 * math/s_ldexpl.c: Likewise.
41924 * math/s_significand.c: Likewise.
41925 * math/s_significandf.c: Likewise.
41926 * math/s_significandl.c: Likewise.
41927 * math/w_acos.c: Likewise.
41928 * math/w_acosf.c: Likewise.
41929 * math/w_acosh.c: Likewise.
41930 * math/w_acoshf.c: Likewise.
41931 * math/w_acoshl.c: Likewise.
41932 * math/w_acosl.c: Likewise.
41933 * math/w_asin.c: Likewise.
41934 * math/w_asinf.c: Likewise.
41935 * math/w_asinl.c: Likewise.
41936 * math/w_atan2.c: Likewise.
41937 * math/w_atan2f.c: Likewise.
41938 * math/w_atan2l.c: Likewise.
41939 * math/w_atanh.c: Likewise.
41940 * math/w_atanhf.c: Likewise.
41941 * math/w_atanhl.c: Likewise.
41942 * math/w_cosh.c: Likewise.
41943 * math/w_coshf.c: Likewise.
41944 * math/w_coshl.c: Likewise.
41945 * math/w_dremf.c: Likewise.
41946 * math/w_exp10.c: Likewise.
41947 * math/w_exp10f.c: Likewise.
41948 * math/w_exp10l.c: Likewise.
41949 * math/w_exp2.c: Likewise.
41950 * math/w_exp2f.c: Likewise.
41951 * math/w_fmod.c: Likewise.
41952 * math/w_fmodf.c: Likewise.
41953 * math/w_fmodl.c: Likewise.
41954 * math/w_hypot.c: Likewise.
41955 * math/w_hypotf.c: Likewise.
41956 * math/w_hypotl.c: Likewise.
41957 * math/w_j0.c: Likewise.
41958 * math/w_j0f.c: Likewise.
41959 * math/w_j0l.c: Likewise.
41960 * math/w_j1.c: Likewise.
41961 * math/w_j1f.c: Likewise.
41962 * math/w_j1l.c: Likewise.
41963 * math/w_jn.c: Likewise.
41964 * math/w_jnf.c: Likewise.
41965 * math/w_jnl.c: Likewise.
41966 * math/w_lgamma.c: Likewise.
41967 * math/w_lgamma_r.c: Likewise.
41968 * math/w_lgammaf.c: Likewise.
41969 * math/w_lgammaf_r.c: Likewise.
41970 * math/w_lgammal.c: Likewise.
41971 * math/w_lgammal_r.c: Likewise.
41972 * math/w_log.c: Likewise.
41973 * math/w_log10.c: Likewise.
41974 * math/w_log10f.c: Likewise.
41975 * math/w_log10l.c: Likewise.
41976 * math/w_log2.c: Likewise.
41977 * math/w_log2f.c: Likewise.
41978 * math/w_log2l.c: Likewise.
41979 * math/w_logf.c: Likewise.
41980 * math/w_logl.c: Likewise.
41981 * math/w_pow.c: Likewise.
41982 * math/w_powf.c: Likewise.
41983 * math/w_powl.c: Likewise.
41984 * math/w_remainder.c: Likewise.
41985 * math/w_remainderf.c: Likewise.
41986 * math/w_remainderl.c: Likewise.
41987 * math/w_scalb.c: Likewise.
41988 * math/w_scalbf.c: Likewise.
41989 * math/w_scalbl.c: Likewise.
41990 * math/w_sinh.c: Likewise.
41991 * math/w_sinhf.c: Likewise.
41992 * math/w_sinhl.c: Likewise.
41993 * math/w_sqrt.c: Likewise.
41994 * math/w_sqrtf.c: Likewise.
41995 * math/w_sqrtl.c: Likewise.
41996 * math/w_tgamma.c: Likewise.
41997 * math/w_tgammaf.c: Likewise.
41998 * math/w_tgammal.c: Likewise.
42000 * po/ja.po: Update from translation team.
42002 2011-09-29 Andreas Jaeger <aj@suse.de>
42005 * sunrpc/netname.c (netname2host): Fix logic.
42009 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42011 * math/w_remainder.c (__remainder): Likewise.
42012 * math/w_remainderf.c (__remainderf): Likewise.
42013 * math/libm-test.inc (remainder_test): Add test cases.
42015 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42017 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42020 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42022 * string/test-memcmp.c: Avoid unncessary #defines.
42023 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42025 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42027 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42028 Use new sse2 version for core i3 - i7 as it's faster
42029 than sse42 version.
42030 (bit_Prefer_PMINUB_for_stringop): New.
42031 * sysdeps/x86_64/rawmemchr.S: Update.
42032 Replace with faster SSE2 version.
42033 * sysdeps/x86_64/memrchr.S: New file.
42034 * sysdeps/x86_64/memchr.S: Update.
42035 Replace with faster SSE2 version.
42037 2011-09-12 Marek Polacek <mpolacek@redhat.com>
42039 * elf/dl-load.c (lose): Add cast to avoid warning.
42041 2011-10-07 Ulrich Drepper <drepper@gmail.com>
42043 * po/ca.po: Update from translation team.
42045 * inet/getnetgrent_r.c: Hook up nscd.
42046 * nscd/Makefile (routines): Add nscd_netgroup.
42047 (nscd-modules): Add netgroupcache.
42048 (CFLAGS-netgroupcache.c): Define.
42049 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42050 (cache_search): Add const to second parameter.
42051 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42053 (dbs): Add netgrdb entry.
42054 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42055 (verify_persistent_db): Handle netgrdb.
42056 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42057 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42059 (netgroup_response_header): Define.
42060 (innetgroup_response_header): Define.
42061 (datahead): Add netgroup_response_header and innetgroup_response_header
42063 * nscd/nscd.conf: Add entries for netgroup cache.
42064 * nscd/nscd.h (dbtype): Add netgrdb.
42065 (_PATH_NSCD_NETGROUP_DB): Define.
42066 (netgroup_iov_disabled): Declare.
42067 (xmalloc, xcalloc, xrealloc): Move declarations here.
42068 (cache_search): Adjust prototype.
42069 Add netgroup-related prototypes.
42070 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42071 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42072 (__nscd_innetgr): Declare.
42073 * nscd/selinux.c (perms): Use access_vector_t as element type and
42074 add netgroup-related initializers.
42075 * nscd/netgroupcache.c: New file.
42076 * nscd/nscd_netgroup.c: New file.
42077 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42078 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42079 For four parameters use innetgr.
42080 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42081 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42082 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42083 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42085 * nscd/connections.c (register_traced_file): Don't register file
42086 for disabled databases.
42088 2011-10-06 Ulrich Drepper <drepper@gmail.com>
42090 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42092 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42093 from tree and freeing node.
42095 2011-09-25 Jiri Olsa <jolsa@redhat.com>
42097 * nss/nsswitch.c (__nss_database_lookup): Handle
42098 nss_parse_service_list out of memory case.
42100 2011-09-15 Jiri Olsa <jolsa@redhat.com>
42102 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42103 out of memory case.
42105 2011-10-04 Andreas Schwab <schwab@redhat.com>
42107 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42108 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42110 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42111 elf_machine_rela, elf_machine_lazy_rel.
42112 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42113 (ELF_DYNAMIC_DO_REL): Likewise.
42114 (ELF_DYNAMIC_DO_RELA): Likewise.
42115 (ELF_DYNAMIC_RELOCATE): Likewise.
42116 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42117 to ELF_DYNAMIC_DO_REL.
42118 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42119 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42120 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42122 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42123 skip_ifunc, don't call ifunc function if non-zero.
42124 (elf_machine_rela): Likewise.
42125 (elf_machine_lazy_rel): Likewise.
42126 (elf_machine_lazy_rela): Likewise.
42127 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42128 (elf_machine_lazy_rel): Likewise.
42129 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42131 (elf_machine_lazy_rel): Likewise.
42132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42134 (elf_machine_lazy_rel): Likewise.
42135 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42136 (elf_machine_lazy_rel): Likewise.
42137 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42138 (elf_machine_lazy_rel): Likewise.
42139 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42140 (elf_machine_lazy_rel): Likewise.
42141 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42142 (elf_machine_lazy_rel): Likewise.
42143 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42144 (elf_machine_lazy_rel): Likewise.
42145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42146 (elf_machine_lazy_rel): Likewise.
42148 2011-09-28 Ulrich Drepper <drepper@gmail.com>
42150 * nss/nss_files/files-init.c (_nss_files_init): Use static
42151 initialization for all the *_traced_file variables.
42153 2011-09-28 Andreas Schwab <schwab@redhat.com>
42155 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42157 2011-09-27 Roland McGrath <roland@hack.frob.com>
42160 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42162 2011-09-27 Andreas Schwab <schwab@redhat.com>
42164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42165 Reread the line before reparsing it.
42167 2011-09-26 Andreas Schwab <schwab@redhat.com>
42169 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42171 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42172 Maxim Kuvyrkov <maxim@codesourcery.com>
42173 Joseph Myers <joseph@codesourcery.com>
42175 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42176 if needed for __stack_chk_guard.
42178 2011-09-19 Roland McGrath <roland@hack.frob.com>
42180 * sysdeps/posix/spawni.c (script_execute): Always define it.
42181 It will be optimized away if unused.
42182 (maybe_script_execute): New function.
42183 (__spawni): Call it.
42185 * Makerules: Don't include tls.make.
42186 (config-tls): Always set to thread.
42187 * tls.make.c: File removed.
42189 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42191 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42192 * config.make.in (CPPFLAGS-config): New substituted variable.
42194 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42196 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42199 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42200 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42202 2011-09-15 Roland McGrath <roland@hack.frob.com>
42204 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42205 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42206 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42207 (CALL_FAIL): Likewise.
42208 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42209 (CALL_FAIL): Macro removed.
42210 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42212 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42214 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42215 for __FINITE_MATH_ONLY__ == 1.
42217 2011-09-15 Andreas Schwab <schwab@redhat.com>
42219 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42220 __ieee754_sqrt instead of sqrt.
42221 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42222 __ieee754_sqrtf instead of sqrtf.
42223 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42224 __floorf instead of floorf.
42225 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42226 __floorf, __truncf instead of floorf, truncf.
42228 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42230 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42232 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42233 __extern_always_inline.
42234 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42237 2011-09-14 Andreas Schwab <schwab@redhat.com>
42239 * elf/rtld.c (dl_main): Also relocate in dependency order when
42240 doing symbol dependency testing.
42242 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42244 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42245 Always define `refsym'.
42247 2011-09-13 Andreas Schwab <schwab@redhat.com>
42249 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42250 (__FD_ELT): Renamed from __FDELT.
42251 * misc/bits/select2.h (__FD_ELT): Likewise.
42252 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42253 __FD_MASK instead of __FDELT, __FDMASK.
42254 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42256 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42259 * elf/Makefile (gen-ldd): Fix pattern.
42261 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42262 (init_tls): Likewise.
42264 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42266 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42268 2011-09-12 Andreas Schwab <schwab@redhat.com>
42270 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42271 `struct cmsghdr *' instead of `void *'.
42272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42275 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42277 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42279 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42280 ldd_rewrite_script.
42282 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42284 * configure.in: Remove --with-tls option.
42285 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42286 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42287 out in case it is missing.
42288 * sysdeps/ia64/elf/configure.in: Likewise.
42289 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42290 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42291 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42292 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42293 * sysdeps/sh/elf/configure.in: Likewise.
42294 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42295 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42296 * sysdeps/x86_64/elf/configure.in: Likewise.
42297 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42298 * sysdeps/mach/hurd/tls.h: Likewise.
42301 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42304 * configure.in: Fix use of AC_INIT.
42306 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42308 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42310 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42312 * malloc/hooks.c: Likewise.
42315 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42316 variables statically.
42317 (narenas): Initialize.
42318 (list_lock): Initialize.
42319 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42320 initializtion of main_arena and list_lock. Small cleanups.
42321 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42322 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42323 Add initializers to main_arena and mp_.
42324 (malloc_state): Remove pagesize member. Change all users to use
42327 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42328 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42329 is always initialized.
42331 * malloc/malloc.c: Removed unused configurations and dead code.
42332 * malloc/arena.c: Likewise.
42333 * malloc/hooks.c: Likewise.
42334 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42336 * include/tls.h: Removed. USE___THREAD must always be defined.
42337 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42338 * elf/dl-libc.c: Likewise.
42339 * elf/dl-tsd.c: Likewise.
42340 * include/errno.h: Likewise.
42341 * include/netdb.h: Likewise.
42342 * include/resolv.h: Likewise.
42343 * inet/herrno-loc.c: Likewise.
42344 * inet/herrno.c: Likewise.
42345 * malloc/arena.c: Likewise.
42346 * malloc/hooks.c: Likewise.
42347 * malloc/malloc.c: Likewise.
42348 * resolv/res-state.c: Likewise.
42349 * resolv/res_libc.c: Likewise.
42350 * sysdeps/i386/dl-machine.h: Likewise.
42351 * sysdeps/ia64/dl-machine.h: Likewise.
42352 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42353 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42354 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42355 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42356 * sysdeps/sh/dl-machine.h: Likewise.
42357 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42358 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42359 * sysdeps/unix/i386/sysdep.S: Likewise.
42360 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42361 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42363 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42366 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42369 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42370 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42371 * sysdeps/x86_64/dl-machine.h: Likewise.
42372 * tls.make.c: Likewise.
42374 * configure.in: Remove --with-__thread option. Make tests for
42375 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42376 tls_model attribute fail if no support is available. Remove
42378 * Makeconfig: Adjust for dropped configure option. All features are
42380 * Makerules: Likewise.
42381 * Versions.def: Likewise.
42382 * argp/argp-fmtstream.c: Likewise.
42383 * argp/argp-fmtstream.h: Likewise.
42384 * argp/argp-help.c: Likewise.
42385 * assert/assert.c: Likewise.
42386 * config.h.in: Likewise.
42387 * config.make.in: Likewise.
42388 * configure: Likewise.
42389 * configure.in: Likewise.
42390 * csu/Versions: Likewise.
42391 * csu/init.c: Likewise.
42392 * elf/tst-audit2.c: Likewise.
42393 * elf/tst-tls10.c: Likewise.
42394 * elf/tst-tls10.h: Likewise.
42395 * elf/tst-tls11.c: Likewise.
42396 * elf/tst-tls12.c: Likewise.
42397 * elf/tst-tls14.c: Likewise.
42398 * elf/tst-tlsmod11.c: Likewise.
42399 * elf/tst-tlsmod12.c: Likewise.
42400 * elf/tst-tlsmod13.c: Likewise.
42401 * elf/tst-tlsmod13a.c: Likewise.
42402 * elf/tst-tlsmod14a.c: Likewise.
42403 * elf/tst-tlsmod15b.c: Likewise.
42404 * elf/tst-tlsmod16a.c: Likewise.
42405 * elf/tst-tlsmod16b.c: Likewise.
42406 * elf/tst-tlsmod7.c: Likewise.
42407 * elf/tst-tlsmod8.c: Likewise.
42408 * elf/tst-tlsmod9.c: Likewise.
42409 * gmon/gmon.c: Likewise.
42410 * grp/fgetgrent_r.c: Likewise.
42411 * grp/putgrent.c: Likewise.
42412 * hurd/fopenport.c: Likewise.
42413 * include/libc-symbols.h: Likewise.
42414 * include/tls.h: Likewise.
42415 * intl/gettextP.h: Likewise.
42416 * intl/loadinfo.h: Likewise.
42417 * locale/global-locale.c: Likewise.
42418 * locale/localeinfo.h: Likewise.
42419 * mach/devstream.c: Likewise.
42420 * malloc/arena.c: Likewise.
42421 * malloc/set-freeres.c: Likewise.
42422 * misc/err.c: Likewise.
42423 * misc/getttyent.c: Likewise.
42424 * misc/mntent_r.c: Likewise.
42425 * posix/getopt.c: Likewise.
42426 * posix/wordexp.c: Likewise.
42427 * pwd/fgetpwent_r.c: Likewise.
42428 * resolv/Versions: Likewise.
42429 * resolv/res_hconf.c: Likewise.
42430 * shadow/fgetspent_r.c: Likewise.
42431 * shadow/putspent.c: Likewise.
42432 * stdio-common/printf_fphex.c: Likewise.
42433 * stdio-common/tmpfile.c: Likewise.
42434 * stdlib/abort.c: Likewise.
42435 * stdlib/fmtmsg.c: Likewise.
42436 * sunrpc/auth_unix.c: Likewise.
42437 * sunrpc/clnt_perr.c: Likewise.
42438 * sunrpc/clnt_tcp.c: Likewise.
42439 * sunrpc/clnt_udp.c: Likewise.
42440 * sunrpc/clnt_unix.c: Likewise.
42441 * sunrpc/openchild.c: Likewise.
42442 * sunrpc/svc_simple.c: Likewise.
42443 * sunrpc/svc_tcp.c: Likewise.
42444 * sunrpc/svc_udp.c: Likewise.
42445 * sunrpc/svc_unix.c: Likewise.
42446 * sunrpc/xdr.c: Likewise.
42447 * sunrpc/xdr_array.c: Likewise.
42448 * sunrpc/xdr_rec.c: Likewise.
42449 * sunrpc/xdr_ref.c: Likewise.
42450 * sunrpc/xdr_stdio.c: Likewise.
42452 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42454 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42456 2011-07-03 Andreas Jaeger <aj@suse.de>
42458 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42459 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42460 regenerate with gen-libm-tests.pl.
42462 2010-05-12 Petr Baudis <pasky@suse.cz>
42465 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42466 around j0() zero points by switching to j1().
42467 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42472 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42474 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42476 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42479 Patch in part by Pavel Roskin <proski@gnu.org>.
42482 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42484 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42485 Free memory block if necessary.
42488 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42489 be NULL. Don't lock in this case.
42491 2011-09-09 Roland McGrath <roland@hack.frob.com>
42493 * elf/elf.h (ELFOSABI_GNU): New macro.
42494 (ELFOSABI_LINUX): Define to that.
42496 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42498 * string/strncat.c (strncat): Undef the symbol in case it has been
42499 defined in bits/string.h.
42501 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42503 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42505 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42508 2011-08-17 Andreas Jaeger <aj@suse.de>
42510 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42512 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42513 Ian Lance Taylor <iant@google.com>
42515 * math/libm-test.inc (lround_test): New testcase.
42516 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42518 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42520 * Makefile: Remove support for automatic cvs check-ins.
42521 * Makerules: Likewise.
42522 * config.make.in: Likewise.
42523 * configure.in: Likewise.
42524 * intl/Makefile: Likewise.
42525 * locale/Makefile: Likewise.
42526 * po/Makefile: Likewise.
42527 * posix/Makefile: Likewise.
42528 * sysdeps/gnu/Makefile: Likewise.
42529 * sysdeps/mach/hurd/Makefile: Likewise.
42530 * sysdeps/sparc/sparc32/Makefile: Likewise.
42533 * posix/Makefile (bug-regex32-ENV): Define.
42534 Patch by John Stanley <jpsinthemix@verizon.net>.
42536 * misc/Makefile (headers): Add bits/select2.h.
42537 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42538 * misc/bits/select2.h: New file.
42539 * include/bits/select2.h: New file.
42540 * debug/Makefile (routines): Add fdelt_chk.
42541 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42542 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42544 * debug/fdelt_chk.c: New file.
42546 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42547 * wcsmbs/test-wmemcmp.c: Likewise.
42548 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42549 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42551 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42553 * string/Makefile (strop-tests): Add memcmp.
42554 * string/test-wmemcmp.c: New file.
42555 * string/test-memcmp.c: Add wmemcmp support.
42557 2011-09-08 Roland McGrath <roland@hack.frob.com>
42560 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42563 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42564 garbage value in a __mach_port_mod_refs call in the cases of the
42565 task-self and thread-self ports.
42567 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42569 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42571 2011-09-08 Andreas Schwab <schwab@redhat.com>
42573 * elf/dl-load.c (lose): Check for non-null L.
42575 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42577 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42579 * elf/dl-libc.c (dlerror_run): Pass back error code from
42583 * elf/dl-load.c (lose): Free l_origin if it is valid.
42585 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42587 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42588 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42589 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42590 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42591 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42592 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42594 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42596 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42597 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42598 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42599 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42600 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42601 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42602 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42603 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42604 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42605 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42607 2011-08-15 Alan Modra <amodra@gmail.com>
42610 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42611 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42612 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42613 ppc_mcount to static-only-routines.
42614 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42616 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42617 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42619 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42621 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42622 for finite and infinity parameters.
42624 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42627 and add nop instructions for throughput optimization.
42628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42630 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42632 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42633 aligned copy for power7 with vector-scalar instructions.
42634 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42636 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42641 2011-09-07 Andreas Schwab <schwab@redhat.com>
42644 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42647 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42649 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42650 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42651 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42652 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42655 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42657 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42658 Forgot to demangle the pointer.
42660 * sysdeps/i386/sysdep.h: Define atom_text_section.
42661 * sysdeps/x86_64/sysdep.h: Likewise.
42662 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42663 section with atom_text_section.
42664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42666 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42667 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42668 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42670 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42671 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42672 already be defined. Change to take two parameters and don't assign
42673 result to variable. Adjust all users.
42674 Define INTERNAL_GETTIME if not already defined.
42675 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42678 HAVE_CLOCK_GETTIME_VSYSCALL.
42679 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42682 gettimeofday vsyscall, just use time.
42684 2011-09-06 Andreas Schwab <schwab@redhat.com>
42686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42689 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42691 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42693 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42695 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42696 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42697 syscall if possible.
42699 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42701 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42702 e_ident. Don't pass to find_mapsXX.
42703 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42705 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42708 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42709 * sysdeps/x86_64/multiarch/strchr.S: Update.
42710 Check bit_slow_BSF bit.
42711 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42712 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42713 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42715 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42718 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42720 (tryshell): Define.
42721 (__spawni): Change last parameter to be flag. Test
42722 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42723 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42724 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42725 * posix/spawni.c: Likewise.
42726 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42727 * posix/spawnp.c: Likewise. Change normal version to use
42728 SPAWN_XFLAGS_USE_PATH.
42729 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42730 SPAWN_XFLAGS_TRY_SHELL.
42733 * posix/glob.h: Remove gcc 1.x support.
42736 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42738 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42741 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42743 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42744 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42745 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42746 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42747 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42748 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42750 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42752 * sysdeps/x86_64/wcscmp.S: New file.
42754 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42755 wcscmp-c wcscmp-sse2
42756 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42757 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42758 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42759 * wcsmbs/wcscmp.c: Allow renaming.
42761 2011-09-05 David S. Miller <davem@davemloft.net>
42763 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42764 stack slot, rather than the struct return pointer slot.
42765 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42766 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42768 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42770 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42772 * po/ja.po: Update from translation team.
42775 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42776 kernel in 64-bit binaries.
42778 2011-09-01 David S. Miller <davem@davemloft.net>
42780 * elf/elf.h (HWCAP_SPARC_*): Move to..
42781 * sysdeps/sparc/sysdep.h: this new file and add new values.
42782 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42783 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42784 _DL_HWCAP_COUNT to 24.
42785 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42787 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42788 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42789 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42791 instead of magic constants.
42792 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42794 2011-08-31 David S. Miller <davem@davemloft.net>
42796 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42798 Reimplement to do errno handling inline.
42799 (SYSCALL_ERROR_HANDLER): New macro.
42800 (__SYSCALL_STRING): Do not do errno handling in asm.
42801 (__CLONE_SYSCALL_STRING): Delete.
42802 (__INTERNAL_SYSCALL_STRING): Delete.
42803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42804 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42805 (PSEUDO): Reimplement to do errno handling inline.
42806 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42807 (SYSCALL_ERROR_HANDLER): New macro.
42808 (__SYSCALL_STRING): Do not do errno handling in asm.
42809 (__CLONE_SYSCALL_STRING): Delete.
42810 (__INTERNAL_SYSCALL_STRING): Delete.
42811 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42812 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42814 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42815 (inline_syscall*): Add 'err' argument.
42816 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42817 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42818 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42819 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42821 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42822 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42824 2011-08-30 Andreas Schwab <schwab@redhat.com>
42826 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42828 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42830 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42833 2011-08-24 David S. Miller <davem@davemloft.net>
42835 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42837 2011-08-24 Andreas Schwab <schwab@redhat.com>
42839 * elf/Makefile: Add rules to build and run unload8 test.
42840 * elf/unload8.c: New file.
42841 * elf/unload8mod1.c: New file.
42842 * elf/unload8mod1x.c: New file.
42843 * elf/unload8mod2.c: New file.
42844 * elf/unload8mod3.c: New file.
42846 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42849 2011-08-23 David S. Miller <davem@davemloft.net>
42851 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42852 subtract stack bias.
42853 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42854 %sp not %fp in calculations.
42855 (_JMPBUF_UNWINDS_ADJ): Likewise.
42857 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42858 (aio_suspend): Call it to force an exception region around the
42859 AIO_MISC_WAIT() invocation.
42861 2011-08-23 Andreas Schwab <schwab@redhat.com>
42863 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42866 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42868 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42870 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42871 and <dl-machine.h>.
42872 (Elf64_FuncDesc): Remove.
42874 2011-08-22 David S. Miller <davem@davemloft.net>
42876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42877 sigaltstack check, add missing cfi directives.
42878 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42879 missing cfi directives, and sigaltstack handling.
42881 2011-08-16 Andreas Schwab <schwab@redhat.com>
42884 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42885 object is seen twice.
42886 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42888 * elf/Makefile (distribute): Add tst-initorder2.c.
42889 (tests): Add tst-initorder2.
42890 (modules-names): Add tst-initorder2a tst-initorder2b
42891 tst-initorder2c tst-initorder2d. Add rules to build them.
42892 ($(objpfx)tst-initorder2.out): New rule.
42893 * elf/tst-initorder2.c: New file.
42894 * elf/tst-initorder2.exp: New file.
42896 2011-08-22 Andreas Schwab <schwab@redhat.com>
42898 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42900 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42901 dependencies back to end of function.
42903 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42904 $(elfobjdir)/ld.so.
42906 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42908 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42909 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42911 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42912 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42913 of __vdso_gettimeofday.
42914 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42915 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42917 (_libc_vdso_platform_setup): Remove initialization of
42918 __vdso_gettimeofday and __vdso_time.
42920 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42922 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42923 and fgetc_unlocked.
42924 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42927 * elf/dl-open.c (add_to_global): Report additions to the global scope
42928 for LD_DEBUG=scopes.
42929 (dl_open_worker): Also print scope of newly loaded dependencies.
42930 (_dl_show_scope): Indicate if there is no scope.
42933 * stdio-common/Makefile (tests): Add bug24.
42934 * stdio-common/bug24.c: New file.
42936 2011-08-19 Andreas Jaeger <aj@suse.de>
42939 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42940 non-existant file when using close-on-exec mode.
42942 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42944 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42945 the very first instruction.
42947 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42948 the CFI state in the end.
42949 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42950 inclusion of dl-trampoline.h.
42951 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42953 2011-08-19 Andreas Schwab <schwab@redhat.com>
42955 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42956 expectations for long double.
42958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42959 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42961 2011-08-14 David S. Miller <davem@davemloft.net>
42963 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42964 artificual limit depends upon the system page size.
42966 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42968 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42969 * resolv/Makefile: Define CFLAGS-libresolv.
42971 2011-08-17 Andreas Schwab <schwab@redhat.com>
42973 * nss/makedb.c (compute_tables): Make variables used in nested
42976 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42978 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42979 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42980 if buffer was too small.
42982 * elf/pldd.c (main): Attach to all threads in the process.
42983 Rewrite /proc handling to use *at functions.
42985 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42987 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42988 specifies first scope to show.
42989 (dl_open_worker): Update callers. Move printing scope of new
42990 object to before the relocation.
42991 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42992 * sysdeps/generic/ldsodefs.h: Update declaration.
42994 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42995 string for the scope number.
42997 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42999 * nscd/servicescache.c (cache_addserv): Make sure written is always
43002 2011-08-14 Roland McGrath <roland@hack.frob.com>
43004 * sysdeps/i386/i486/bits/atomic.h
43005 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43006 statement expression, so as to suppress "set but not used" warning.
43007 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43009 * string/strncat.c (STRNCAT): Use prototype definition.
43011 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43012 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43014 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43015 (localedef-modules): Add localedef.
43016 (locale-modules): Add locale.
43018 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43019 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43020 to avoid a warning.
43022 2011-08-14 David S. Miller <davem@davemloft.net>
43024 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43025 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43027 2011-08-13 Ulrich Drepper <drepper@gmail.com>
43029 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43030 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43031 * elf/rtld.c (dl_main): Set l_name of vDSO.
43032 Call _dl_show_scope when DL_DEBUG_SCOPES.
43033 (process_dl_debug): Recognize scopes flag and also set it for all.
43034 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43035 Declare _dl_show_scope.
43037 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43038 (do_dlopen): Pass caller_dlopen to dl_open.
43039 (__libc_dlopen_mode): Initialize caller_dlopen.
43041 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43042 of libc. Make tolower call locale-independent. Optimize a bit by
43043 using isdigit instead of isalnum.
43044 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43046 2011-08-12 Ulrich Drepper <drepper@gmail.com>
43048 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43049 was a dependency or dynamically loaded.
43051 2011-08-11 Ulrich Drepper <drepper@gmail.com>
43053 * intl/l10nflist.c: Allow architecture-specific pop function.
43054 * sysdeps/x86_64/l10nflist.c: New file.
43056 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43059 2011-08-10 Andreas Schwab <schwab@redhat.com>
43061 * include/dirent.h: Add libc_hidden_proto for scandirat and
43062 scandirat64. Don't declare __scandirat64.
43063 * dirent/scandirat.c: Add libc_hidden_def.
43064 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43065 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43067 2011-08-10 David S. Miller <davem@davemloft.net>
43069 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43072 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43075 2011-08-09 Ulrich Drepper <drepper@gmail.com>
43077 * Versions.def [libc]: Add GLIBC_2.15.
43078 * dirent/Makefile (routines): Add scandirat and scandirat64.
43079 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43081 * dirent/dirent.h: Declare scandirat and scandirat64.
43082 * dirent/scandirat.c: New file.
43083 * dirent/scandirat64.c: New file.
43084 * sysdeps/wordsize-64/scandirat.c: New file.
43085 * sysdeps/wordsize-64/scandirat64.c: New file.
43086 * dirent/opendir.c: Define opendirat.
43087 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43089 * dirent/scandir64.c: Adjust for scandir.c change.
43090 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43091 __scandirat64, and __scandir_cancel_handler.
43092 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43093 additional parameter and use openat instead of open (outside of ld.so).
43094 Add new __opendir as wrapper around __opendirat.
43095 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43096 here without requiring old scandirat implementation.
43098 2011-08-08 Ulrich Drepper <drepper@gmail.com>
43100 * dirent/scandir.c (cancel_handler): Renamed to
43101 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43102 defined. Adjust users.
43103 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43104 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43106 2011-08-04 Ulrich Drepper <drepper@gmail.com>
43108 * string/test-string.h (IMPL): Use __STRING to expand name and then
43111 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43114 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43116 * string/Makefile: Update.
43117 (strop-tests): Append strncat.
43118 * string/test-wcscmp.c: New file.
43119 New comprehensive test for wcscmp.
43120 * string/test-strcmp.c: Update.
43121 (WIDE): New define.
43123 2011-07-22 Andreas Schwab <schwab@redhat.com>
43125 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43128 2011-07-26 Andreas Schwab <schwab@redhat.com>
43130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43131 encoding to ACE if AI_IDN.
43133 2011-08-01 Jakub Jelinek <jakub@redhat.com>
43135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43136 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43138 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43140 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43141 Fix overflow bug in strncat.
43142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43144 * string/test-strncat.c: Update.
43145 Add new tests for checking overflow bugs.
43147 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43150 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43151 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43152 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43154 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43155 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43156 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43157 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43160 (USE_AS_STRCAT): Define.
43161 Add strcat and strncat support.
43162 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43164 2011-07-25 Andreas Schwab <schwab@redhat.com>
43166 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43167 __n bigger than INT_MAX+1.
43168 (__strncmp_g): Likewise.
43170 2011-07-23 Ulrich Drepper <drepper@gmail.com>
43172 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43173 * libio/stido.h: Likewise.
43175 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43180 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43181 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43183 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43187 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43192 (_dl_x86_64_save_sse): Likewise.
43194 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43198 (_dl_x86_64_save_sse): Likewise.
43200 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43202 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43204 2011-07-21 Andreas Schwab <schwab@redhat.com>
43206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43208 (_dl_x86_64_save_sse): Use correct AVX check.
43210 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43212 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43213 bug in strncpy/strncat.
43214 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43216 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43218 * string/tester.c (test_strcat): Add tests for different alignments
43219 of source and destination.
43220 (test_strncat): Likewise.
43222 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43225 * posix/glob.c (glob): Check passed in values before using them in
43226 expressions to avoid some overflows.
43227 (glob_in_dir): Likewise.
43230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43231 check for AVX enablement so that we don't crash with old kernels and
43233 * elf/tst-audit4.c: Add same checks here.
43234 * elf/tst-audit6.c: Likewise.
43236 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43238 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43240 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43242 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43244 * po/cs.po: Update from translation team.
43245 * po/bg.po: Likewise.
43247 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43249 * misc/sys/cdefs.h: Add support for const attribute.
43250 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43251 to gnu_dev_{major,minor,makedev} functions.
43253 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43255 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43257 2011-07-20 Andreas Schwab <schwab@redhat.com>
43259 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43262 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43264 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43265 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43266 register in order to avoid conflicts with the soft frame pointer
43267 being held in r11 when necessary.
43268 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43269 (INTERNAL_VSYSCALL_NCS): Likewise.
43271 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43273 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43274 * elf/dl-fini.c (_dl_fini): Adjust caller.
43275 * elf/dl-close.c (_dl_close_worker): Likewise.
43276 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43278 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43280 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43281 "aux_cache->nlibs < 0".
43283 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43284 in the reload-count case.
43286 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43289 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43290 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43291 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43292 * sysdeps/x86_64/multiarch/strcat.S: New file.
43293 * sysdeps/x86_64/multiarch/strncat.S: New file.
43294 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43295 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43296 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43297 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43298 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43299 (USE_AS_STRCAT): Define.
43300 Add strcat and strncat support.
43301 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43302 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43303 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43304 * string/strncat.c: Update.
43305 (USE_AS_STRNCAT): Define.
43306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43307 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43309 * sysdeps/x86_64/multiarch/init-arch.h
43310 (bit_Prefer_PMINUB_for_stringop): New.
43311 (index_Prefer_PMINUB_for_stringop): Likewise.
43312 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43313 bit_Prefer_PMINUB_for_stringop.
43315 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43317 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43319 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43320 of casting of buffer.
43321 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43322 buffer32 and buffer64.
43323 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43324 writes instead of casting of buffer.
43325 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43327 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43330 2011-07-19 Andreas Schwab <schwab@redhat.com>
43332 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43334 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43336 * nscd/nscd.c (termination_handler): Don't do anything for a database
43337 if it has not yet been initialized.
43339 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43341 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43343 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43345 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43347 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43349 * po/nl.po: Update from translation team.
43350 * po/sv.po: Likewise.
43352 2011-07-16 Roland McGrath <roland@hack.frob.com>
43354 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43355 now disallowed by GCC.
43357 * configure.in (use-default-link): Default to yes if a test -shared
43358 link meets our qualifications.
43359 * configure: Regenerated.
43361 * config.make.in (output-format): New variable.
43362 * configure.in: Check for ld --print-output-format support.
43363 * configure: Regenerated.
43364 * Makerules ($(common-objpfx)format.lds)
43365 [$(output-format) != unknown]: Just use $(output-format),
43366 instead of the linker-script munging.
43368 2011-07-14 Roland McGrath <roland@hack.frob.com>
43370 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43371 of $(common-objpfx)shlib.lds.
43372 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43374 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43375 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43377 * configure.in (-z relro check): Adjust test code to add a large
43378 writable data section after it.
43379 * configure: Regenerated.
43381 2011-07-11 Roland McGrath <roland@hack.frob.com>
43383 * configure.in (-z relro check): Fix test code to make the variable
43385 * configure: Regenerated.
43387 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43389 * nscd/nscd.h (struct traced_file): Define.
43390 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43391 elements. Add traced_files.
43392 (inotify_fd): Declare.
43393 (register_traced_file): Declare.
43394 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43395 (inotify_fd): Export.
43396 (resolv_conf_descr): Remove.
43397 (nscd_init): Move inotify descriptor creation to main.
43398 Don't register files for notification here.
43399 (register_traced_file): New function.
43400 (invalidate_cache): Don't use reset_res to determine whether to call
43401 res_init, go through the list of registered files.
43402 (main_loop_poll): The inotify descriptors are now stored in the
43403 structures for the traced files.
43404 (main_loop_epoll): Likewise
43405 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43406 to __nss_disable_nscd.
43407 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43408 for a database anymore. Check the records for all the registered
43410 * nss/Makefile (libnss_files-routines): Add files-init.
43411 (libnss_db-routines): Add db-init.
43412 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43413 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43414 * nss/nss_db/db-init.c: New file.
43415 * nss/nss_files/files-init.c: New file.
43416 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43417 __nss_lookup_function.
43418 (__nss_lookup_function): Call nss_load_library.
43419 (nss_load_all_libraries): New function.
43420 (__nss_disable_nscd): Take parameter with callback function for files
43421 to register. Set is_nscd. Load all the DSOs for the NSS modules
43422 used for the cached services.
43423 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43424 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43425 options for features to all the files in nscd.
43427 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43429 2011-07-10 Roland McGrath <roland@hack.frob.com>
43431 * csu/elf-init.c (__libc_csu_init): Comment typo.
43433 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43435 * po/pl.po: Update from translation team.
43436 * po/ja.po: Likewise.
43437 * po/ru.po: Likewise.
43438 * po/ko.po: Likewise.
43439 * po/fr.po: Likewise.
43441 2011-07-09 Roland McGrath <roland@hack.frob.com>
43443 * configure.in (.ctors/.dtors header and trailer check):
43444 Use an empirical test on a built program.
43445 * configure: Regenerated.
43447 * configure.in (-z relro check): Use an empirical test on a built DSO.
43448 Detect, but do not require, on ia64.
43449 * configure: Regenerated.
43451 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43452 Update tests that use readelf to use $READELF instead.
43453 * configure: Regenerated.
43455 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43457 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43458 if the result is not used.
43460 2011-07-05 Andreas Jaeger <aj@suse.de>
43463 * stdlib/tst-strtod.c: Add testcase.
43465 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43467 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43468 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43469 The latter has a higher limit. Take additional parameter to pass to
43471 (__pathconf): Pass file to __statfs_link_max.
43472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43474 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43478 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43479 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43481 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43482 (__statfs_filesize_max): Likewise.
43483 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43485 2011-07-05 Andreas Jaeger <aj@suse.de>
43487 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43489 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43491 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43493 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43496 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43498 * Makefile (strop-tests): Add strncat.
43499 * string/test-strncat.c: New file.
43501 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43503 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43505 2011-06-21 Andreas Jaeger <aj@suse.de>
43507 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43508 Copy rule from iconvdata/Makefile.
43510 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43513 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43514 but no long options are defined, just return 'W'.
43516 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43519 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43521 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43523 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43525 (innetgr): Likewise.
43527 2011-07-05 Roland McGrath <roland@hack.frob.com>
43529 * config.make.in (install_root): Default to $(DESTDIR).
43531 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43533 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43535 2011-07-02 Roland McGrath <roland@hack.frob.com>
43537 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43539 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43540 containing directory rather than embedding absolute directory names.
43542 * scripts/check-local-headers.sh: Rewritten using awk.
43543 Match by word, not by line. Print error messages for matches.
43544 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43546 * Makerules [shlib-lds-flags empty]:
43547 ($(common-objpfx)libc_pic.opts): New target.
43548 ($(common-objpfx)libc_pic.os.clean): New target.
43549 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43551 * config.make.in (OBJCOPY): New variable.
43552 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43553 * configure: Regenerated.
43555 * config.make.in (use-default-link): New variable.
43556 * configure.in (use_default_link): Grok --with-default-link to set it.
43557 * configure: Regenerated.
43558 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43559 (shlib-lds, shlib-lds-flags): Define to empty.
43561 * Makerules (shlib-lds): New variable.
43562 (shlib-lds-flags): New variable.
43563 (build-shlib, build-moduile, build-module-asneeded): Use it.
43564 ($(common-objpfx)libc.so): Use $(shlib-lds).
43565 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43566 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43568 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43569 DT_FLAGS/DT_FLAGS_1 with zero flags.
43571 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43572 linker script munging.
43574 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43576 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43578 * crypt/sha512.c (sha512_process_block): Perform total addition using
43579 128-bit if possible.
43580 (__sha512_finish_ctx): Likewise.
43581 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43583 * crypt/sha256.c (SWAP64): Define.
43584 (sha256_process_block): Perform total addition using 64-bit if
43586 (__sha256_finish_ctx): Likewise.
43588 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43590 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43592 * nscd/hstcache.c (cache_addhst): Likewise.
43593 * nscd/grpcache.c (cache_addgr): Likewise.
43594 * nscd/aicache.c (addhstaiX): Likewise
43595 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43597 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43599 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43601 * nscd/hstcache.c (cache_addhst): Likewise.
43602 * nscd/grpcache.c (cache_addgr): Likewise.
43603 * nscd/aicache.c (addhstaiX): Likewise
43605 2011-07-01 Andreas Schwab <schwab@redhat.com>
43607 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43608 domain only when needed.
43610 2011-06-30 Andreas Schwab <schwab@redhat.com>
43612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43613 is always restored.
43615 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43617 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43618 are re-adding the entry.
43619 * nscd/servicescache.c (cache_addserv): Likewise.
43621 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43623 * sysdeps/generic/dl-irel.h: fix protection against multiple
43625 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43627 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43630 * malloc/memusage.sh: Fix quoting in message.
43631 * debug/xtrace.sh: Likewise.
43633 * configure.in: Remove support for --experimental-malloc option, make
43635 * config.make.in: Likewise.
43636 * malloc/Makefile: Likewise.
43638 2011-06-27 Andreas Schwab <schwab@redhat.com>
43640 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43641 two-byte characters.
43643 2011-06-27 Roland McGrath <roland@hack.frob.com>
43645 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43646 AC_CACHE_CHECK invocation.
43647 * configure: Regenerated.
43649 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43651 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43654 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43655 bit from old_res_options.
43657 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43659 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43660 value type for setfct.
43662 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43665 __gettimeofday instead of gettimeofday.
43667 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43669 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43671 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43673 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43678 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43681 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43682 strcpy-sse2-unaligned strncpy-sse2-unaligned
43683 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43684 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43685 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43686 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43687 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43688 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43689 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43690 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43691 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43692 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43693 (STRCPY): Support SSE2 and SSSE3 versions.
43695 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43698 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43699 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43700 kernels which artificially limit size of requests.
43702 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43705 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43706 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43707 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43708 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43709 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43710 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43711 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43712 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43714 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43715 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43716 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43717 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43718 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43720 Enable unaligned load optimization for Intel Core i3, i5 and i7
43722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43724 (index_Fast_Unaligned_Load): Define.
43725 (HAS_FAST_UNALIGNED_LOAD): Define.
43727 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43729 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43731 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43735 until it is clear that the information is realy needed.
43736 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43738 2011-06-22 Andreas Schwab <schwab@redhat.com>
43740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43742 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43744 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43745 /sys/devices/system/cpu/online if it is usable.
43747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43748 reading the information from the /proc filesystem to once a second.
43750 2011-06-21 Andreas Jaeger <aj@suse.de>
43752 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43753 NULL after inclusion of kernel headers.
43755 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43757 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43758 calls to internal_setent.
43761 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43762 addresses using gethostbyname4_r ignore IPv4 addresses.
43764 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43765 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43767 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43769 2011-06-20 David S. Miller <davem@davemloft.net>
43771 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43773 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43775 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43776 (elf_irel): Use it.
43777 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43778 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43779 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43780 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43781 * sysdeps/x86_64/dl-irel.h: Likewise.
43783 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43784 * elf/dl-sym.c: Likewise.
43786 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43788 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43789 need to dereference resplen2.
43791 2011-06-14 Andreas Schwab <schwab@redhat.com>
43793 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43795 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43797 * Makeconfig: Define vardbdir and inst_vardbdir.
43798 * nss/Makefile: Add rules to install db-Makefile.
43800 * nss/nss_db/db-XXX.c: Cleanup.
43802 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43803 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43805 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43806 * nss/makedb.c: Implement -g option to specify that value strings
43807 are generated and should not be added to table iterated over for
43809 * nss/nss_db/db-initgroups.c: New file.
43811 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43814 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43815 (internal_getgrouplist): Adjust to name change.
43816 Update use_initgroups_entry if this is not the first call.
43817 * nss/databases.def: Add initgroups entry.
43819 * nss/makedb.c (compute_tables): Check result of multiple hash table
43820 sizes to minimize maximum chain length.
43822 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43824 * Versions.def: Add entry for libnss_db.
43825 * shlib-versions: Likewise.
43826 * nss/Makefile: Add rules to build libnss_db.
43827 * nss/Versions: Add libnss_db information. Organize libnss_files
43829 * nss/db-Makefile: Add gshadow support. Change rules for the new
43830 makedb progra. Some minor improvements to generate smaller files.
43831 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43833 * nss/makedb.c: ...here.
43834 Improve database format to be smaller and require less memory at
43836 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43838 * nss/nss_db/db-netgrp.c: Likewise.
43839 * nss/nss_db/db-open.c: Likewise.
43840 * nss/nss_files/flies-XXX.x: Adjust comments.
43841 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43842 * nss/nss_files/files-grp.c: Likewise.
43843 * nss/nss_files/files-hosts.c: Likewise.
43844 * nss/nss_files/files-network.c: Likewise.
43845 * nss/nss_files/files-proto.c: Likewise.
43846 * nss/nss_files/files-pwd.c: Likewise.
43847 * nss/nss_files/files-rpc.c: Likewise.
43848 * nss/nss_files/files-service.c: Likewise.
43849 * nss/nss_files/files-sgrp.c: Likewise.
43850 * nss/nss_files/files-spwd.c: Likewise.
43851 * nss/nss_db/db-alias.c: Removed.
43852 * nss/nss_db/dummy-db.h: Removed.
43854 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43856 * nss/makedb.c: Rewritten to not use database library.
43857 * nss/Makefile: Update to build new makedb program.
43859 2011-06-14 Andreas Jaeger <aj@suse.de>
43861 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43862 memset declaration.
43864 2011-06-10 Andreas Schwab <schwab@redhat.com>
43866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43869 2011-06-10 Roland McGrath <roland@hack.frob.com>
43871 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43872 * elf/Makefile ($(objpfx)ld.so): Likewise.
43874 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43875 Don't list ld.so twice in dependencies.
43877 * posix/bug-regex31.c: Include <stdlib.h>.
43879 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43881 * nis/nss_compat/compat-spwd.c
43882 (getspent_next_nss_netgr): Remove unused variable.
43883 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43885 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43886 nonmembers" output to use the right array.
43888 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43890 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43892 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43893 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43894 * catgets/gencat.c (read_input_file): Likewise.
43895 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43897 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43898 variable definition inside #if's controlling its use.
43900 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43902 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43904 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43906 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43909 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43911 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43912 * configure: Regenerated.
43914 * Makerules: Revert last change.
43915 * elf/Makefile: Likewise.
43917 2011-06-09 Roland McGrath <roland@hack.frob.com>
43919 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43920 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43921 (reloc-link): Likewise.
43923 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43925 * elf/Makefile: Add rules to build pldd.
43926 * elf/pldd.c: New file.
43927 * elf/pldd-xx.c: New file.
43929 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43931 * version.h: Update for 2.15 development version.
43933 2011-06-07 David S. Miller <davem@davemloft.net>
43935 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43937 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43938 elf_machine_lazy_rel): Likewise.
43939 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43940 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43941 elf_machine_lazy_rel): Likewise.
43942 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43943 dl_hwcap via passed in argument.
43944 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43947 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43949 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43951 2011-06-06 Roland McGrath <roland@hack.frob.com>
43954 * manual/fdl-1.1.texi: New file, verbatim from:
43955 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43956 * manual/lgpl-2.1.texi: New file, verbatim from:
43957 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43958 * manual/Makefile (licenses): New variable, list those new file names.
43960 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43962 * manual/fdl.texi: File removed.
43963 * manual/lesser.texi: File removed.
43964 * manual/libc.texinfo (Copying, Documentation License):
43965 Use new @include file names, put @appendix directive before @include.
43967 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43970 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43971 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43972 (mq_open): Add __NTH.
43974 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43977 Assume Intel Core i3/i5/i7 processor if AVX is available.
43979 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43984 2011-05-31 Andreas Schwab <schwab@redhat.com>
43986 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43987 memory. Use alloca_account. Fix memory leak when retrying.
43989 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43991 * version.h (RELEASE): Bump for 2.14 release.
43992 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43994 * config.make.in (RANLIB): Remove entry.
43996 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43998 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43999 (libc.pot): Work around missing support for .ksh extension in xgettext.
44002 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44003 if both request failed.
44004 (send_dg): In case of server errors clear resplen or *resplen2.
44007 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44008 when there are multiple maps.
44009 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44010 (_dl_fini): Remove test here.
44012 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44014 2011-05-29 Ulrich Drepper <drepper@gmail.com>
44017 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44018 bit from old_res_options.
44019 (gaih_inet): Likewise.
44022 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44025 * resolv/res_init.c (res_setoptions): Make the code more compact.
44028 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44032 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44034 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44037 * malloc/malloc.h: Declare malloc hook variables as volatile.
44039 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44043 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44044 raise in the comment.
44045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44047 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44049 2011-05-28 Ulrich Drepper <drepper@gmail.com>
44052 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44053 grow the buffers more if it already has to be sufficient.
44054 (build_wcs_upper_buffer): Likewise.
44055 * posix/regexec.c (check_matching): Likewise.
44056 (clean_state_log_if_needed): Likewise.
44057 (extend_buffers): Don't enlarge buffers beyond size of the input
44059 Patches mostly by Emil Wojak <emil@wojak.eu>.
44060 * posix/bug-regex32.c: New file.
44061 * posix/Makefile (tests): Add bug-regex32.
44063 * locale/findlocale.c (_nl_find_locale): Return right away if
44064 _nl_explode_name failed.
44065 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44067 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44069 * debug/xtrace.sh: Unify messages.
44070 * malloc/memusage.sh: Likewise.
44073 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44074 time symbol from vDSO. Substitute with vsyscall if not available.
44075 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44078 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44079 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44080 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44081 Add sendmmsg and internal_sendmmsg.
44082 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44083 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44084 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44086 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44087 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44088 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44090 2011-05-27 Ulrich Drepper <drepper@gmail.com>
44093 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44094 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44096 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44100 * iconvdata/Makefile (tests): Add bug-iconv9.
44101 * iconvdata/bug-iconv9.c: New file.
44103 2011-05-27 Andreas Schwab <schwab@redhat.com>
44106 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44108 2011-05-25 Jakub Jelinek <jakub@redhat.com>
44110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44111 (struct user_regs_struct): Change intcs field back to cs.
44113 2011-05-25 Ulrich Drepper <drepper@gmail.com>
44115 * po/ja.po: Update from translation team.
44117 2011-05-23 Ulrich Drepper <drepper@gmail.com>
44120 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44121 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44123 2011-05-20 Andreas Schwab <schwab@redhat.com>
44125 * stdlib/longlong.h: Update from GCC.
44127 2011-05-23 Andreas Schwab <schwab@redhat.com>
44129 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44131 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44132 Add parameter name.
44133 (__sysconf): Pass it down.
44135 2011-05-22 Ulrich Drepper <drepper@gmail.com>
44138 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44140 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44141 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44142 add in in __libc_use_alloca calls. Adjust callers.
44143 (glob): Use malloc in some situations.
44145 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44146 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44149 2011-05-21 Ulrich Drepper <drepper@gmail.com>
44151 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44152 and CLOCK_BOOTTIME_ALARM.
44155 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44158 * string/_strerror.c (__strerror_r): Print negative errors as signed
44162 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44163 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44164 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44166 * configure.in: Fix typo in redirection and correct removal of test
44167 files in two cases.
44170 * locale/setlocale.c (new_composite_name): Fix test to check for
44171 identical name of all categories.
44174 * libio/filedoalloc.c (local_isatty): New function.
44175 (_IO_file_doallocate): Use local_isatty.
44176 * stdio-common/perror.c (perror): In case a new stream is used
44177 forward the stream error.
44178 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44181 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44186 * include/alloca.h (extend_alloca_account): Define.
44189 * posix/regex.h: Fix comments with documentation of user-accessible
44190 fields after compilation and describe correct free'ing of pattern
44191 after re_compile_pattern.
44192 Patch by Reuben Thomas <rrt@sc3d.org>.
44194 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44196 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44197 and -mno-altivec to prevent the compiler from using Altivec and/or
44198 VSX instructions when the corresponding registers are not available.
44200 2011-05-19 Andreas Schwab <schwab@redhat.com>
44202 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44204 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44206 * libio/freopen.c (freopen): Use __dup2, not dup2.
44207 * libio/freopen64.c (freopen64): Likewise.
44209 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44212 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44213 * math/Makefile (tests): Add test-powl.
44214 (CFLAGS-test-powl.c): Define.
44215 * math/test-powl.c: New file.
44217 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44219 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44221 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44224 * iconvdata/gb18030.c: Update to GB18020-2005.
44226 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44228 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44229 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44230 Patch by Aharon Robbins <arnold@skeeve.com>.
44233 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44237 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44238 through underflows.
44241 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44242 point to strings before performing equality test for error_one_per_line
44246 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44249 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44250 (struct user_fpregs_struct): Avoid __uint*_t types.
44253 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44254 symbol info. Use it instead of calling _dl_addr locally.
44255 (lock_and_info): New function.
44256 (tr_freehook): Call lock_and_info and pass symbol info as additional
44257 parameter to tr_where.
44258 (tr_mallochook): Likewise.
44259 (tr_reallochook): Likewise.
44260 (tr_memalignhook): Likewise.
44262 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44263 used and couldn't be at all thread-safe.
44265 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44267 * libio/freopen.c (freopen): Don't close old file descriptor
44268 before the new one is opened. Instead dup the new file descriptor
44269 to the old one after the new stream is created.
44270 * libio/freopen64.c (freopen64): Likewise.
44271 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44272 * libio/fileops.c (_IO_new_file_close_it): Handle new
44273 _IO_FLAGS2_NOCLOSE flag.
44274 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44275 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44276 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44277 _IO_FLAGS2_NOCLOSE flag.
44278 * include/unistd.h: Add hidden_proto for dup3.
44279 Define __have_dup3.
44280 * io/dup3.c: Define hidden symbol.
44281 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44284 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44285 when an incomplete long option is used.
44286 * posix/tst-getopt_long1.c: New file.
44287 * posix/Makefile (tests): Add tst-getopt_long1.
44290 * scripts/config.guess: Update from autoconf-2.68.
44291 * scripts/config.sub: Likewise.
44294 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44296 (has_cpuclock): ...this. New function.
44297 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44298 macro here based on has_cpuclock code.
44301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44302 First byte (not low byte) is now always NUL.
44303 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44306 Use non-cancelable interfaces.
44309 * locale/iso-639.def: Add entry for Sorani.
44312 * include/stdlib.h: Move include protection to the right place.
44313 Define abort_msg_s. Declare __abort_msg with it.
44314 * stdlib/abort.c (__abort_msg): Adjust type.
44315 * assert/assert.c (__assert_fail_base): New function. Majority
44316 of code from __assert_fail. Allocate memory for __abort_msg with
44318 (__assert_fail): Now call __assert_fail_base.
44319 * assert/assert-perr.c: Remove bulk of implementation. Use
44320 __assert_fail_base.
44321 * include/assert.hL Declare __assert_fail_base.
44322 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44324 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44326 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44330 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44331 until all modules are registered in the DTV.
44332 * elf/Makefile: Add rules to build and run tst-tls19.
44333 * elf/tst-tls19.c: New file.
44334 * elf/tst-tls19mod1.c: New file.
44335 * elf/tst-tls19mod2.c: New file.
44336 * elf/tst-tls19mod3.c: New file.
44337 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44340 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44344 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44345 two-byte sequence errors.
44346 * iconvdata/Makefile (tests): Add bug-iconv8.
44347 * iconvdata/bug-iconv8.c: New file.
44350 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44353 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44356 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44357 (dummy_getcfa): New function.
44358 (init): Get _Unwind_GetCFA address, use dummy if not found.
44359 (backtrace_helper): In recursion check, also check whether CFA changes.
44360 (__backtrace): Completely initialize arg.
44362 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44363 storing incomplete byte sequence in state object. Avoid testing for
44364 guaranteed too small input if we know there is enough data available.
44366 2011-05-11 Andreas Schwab <schwab@redhat.com>
44368 * Makeconfig (+link-pie): Indent.
44369 * Rules (binaries-pie): Define if $(have-fpie) and
44371 (binaries-shared): Also filter out $(binaries-pie).
44372 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44373 * nscd/Makefile (others-pie): Add nscd.
44374 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44375 ($(objpfx)nscd): Remove command override.
44376 * login/Makefile (others-pie): Add pt_chown.
44377 ($(objpfx)pt_chown): Remove command override.
44378 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44379 remove command overrides.
44381 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44383 * libio/tst_putwc.c: Fix error messages.
44386 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44387 currently writing and seek to current position when not.
44388 * libio/Makefile (tests): Add bug-fclose1.
44389 * libio/bug-fclose1.c: New file.
44391 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44394 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44395 don't set DF_1_NODELETE here.
44396 (do_lookup_x): When entering new entry test for copy relocation
44397 and if necessary set DF_1_NODELETE flag.
44398 * elf/tst-unique4.cc: New file.
44399 * elf/tst-unique4.h: New file.
44400 * elf/tst-unique4lib.cc: New file.
44401 * elf/Makefile: Add rules to build and run tst-unique4.
44402 Patch by Piotr Bury <pbury@goahead.com>.
44404 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44407 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44410 * misc/mntent_r.c (addmntent): Flush the stream after the output
44413 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44414 (is_trusted_path_normalize): Skip initial colon. Append slash
44415 to empty buffer. Duplicate is_trusted_path code but allow
44416 constructed patch to be prefix.
44417 (is_dst): Allow $ORIGIN followed by /.
44418 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44419 Correct testing of result of is_trusted_path_normalize
44420 (decompose_rpath): Fix warning.
44422 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44425 * grp/initgroups.c (internal_getgrouplist): When we found the service
44426 list through the initgroups entry in nsswitch.conf do not always
44427 continue on a successful lookup. Don't always use the
44428 __nss_group_database value if it is set.
44429 * nss/nsswitch.conf (initgroups): Change action for successful db
44430 lookup to continue for compatibility.
44432 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44435 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44437 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44439 * iconvdata/tst-tables.sh: Likewise.
44440 * iconvdata/cp770.c: New file.
44441 * iconvdata/cp771.c: New file.
44442 * iconvdata/cp772.c: New file.
44443 * iconvdata/cp773.c: New file.
44444 * iconvdata/cp774.c: New file.
44445 * iconvdata/testdata/CP770: New file.
44446 * iconvdata/testdata/CP770..UTF8: New file.
44447 * iconvdata/testdata/CP771: New file.
44448 * iconvdata/testdata/CP771..UTF8: New file.
44449 * iconvdata/testdata/CP772: New file.
44450 * iconvdata/testdata/CP772..UTF8: New file.
44451 * iconvdata/testdata/CP773: New file.
44452 * iconvdata/testdata/CP773..UTF8: New file.
44453 * iconvdata/testdata/CP774: New file.
44454 * iconvdata/testdata/CP774..UTF8: New file.
44456 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44458 * iconvdata/gen-8bit-gap.sh: Likewise.
44459 * iconvdata/gen-8bit.sh: Likewise.
44461 * locale/iso-639.def: Add ary entry.
44464 * locale/C-translit.h.in: Add U20A1 transliteration.
44467 * locale/iso-639.def: Add wae entry.
44468 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44471 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44475 * locale/C-translit.h.in: Add entry for U20B9.
44476 Patch by pravin.d.s@gmail.com.
44478 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44481 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44482 ENAMETOOLONG use generic getcwd.
44483 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44484 in rtld. Use *stat64.
44485 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44486 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44487 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44488 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44489 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44490 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44491 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44492 __fstatat64 macros.
44493 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44494 * dirent/rewinddir.c: Add libc_hidden_def.
44495 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44496 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44498 * include/dirent.h (__alloc_dir): Add flags parameter.
44499 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44500 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44502 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44503 from fdopendir if O_CLOEXEC is already set.
44505 2011-03-15 Alan Modra <amodra@gmail.com>
44507 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44508 l_tls_firstbyte_offset non-zero. Save padding offset in
44509 l_tls_firstbyte_offset for later use.
44510 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44511 freeing static tls block.
44513 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44515 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44516 where #ifdef was intended. The intent is to prevent ARG_MAX from
44517 being defined by the kernel headers.
44519 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44522 * resolv/resolv.h: Define RES_NOTLDQUERY.
44523 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44524 no-tld-query and set RES_NOTLDQUERY.
44525 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44526 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44527 modern BIND to search name as TLD unless forbidden.
44529 2011-05-07 Petr Baudis <pasky@suse.cz>
44530 Ulrich Drepper <drepper@gmail.com>
44533 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44534 (is_trusted_path): ...to here.
44535 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44536 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44537 using is_trusted_path_normalize() in setuid scripts.
44539 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44541 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44542 __BEGIN/__END_DECLS.
44544 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44547 NSS_STATUS_NOTFOUND if no record was found.
44549 2011-05-05 Andreas Schwab <schwab@redhat.com>
44551 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44552 (headers-not-in-tirpc): Remove rpc/netdb.h
44553 * resolv/netdb.h: Revert last change.
44555 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44557 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44558 circular dependency between libgcc.a and libc.a.
44560 2011-05-05 Andreas Schwab <schwab@redhat.com>
44562 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44563 * nis/Makefile: Don't install rpcsvc/*.
44564 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44565 instead of <rpc/types.h>.
44566 (MAXHOSTNAMELEN): Define.
44568 2011-05-03 Andreas Schwab <schwab@redhat.com>
44570 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44572 2011-04-28 Maciej Babinski <mbabinski@google.com>
44575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44576 gethostbyname4_r when IPv6 results are possible.
44578 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44581 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44582 _PC_PIPE_BUF handling.
44584 2011-04-30 Bruno Haible <bruno@clisp.org>
44587 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44588 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44590 * inet/getnameinfo.c (getnameinfo): Likewise.
44592 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44594 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44595 to groups setting in database lookup.
44596 * nss/nsswitch.conf: Add initgroups entry.
44598 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44601 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44603 Patch by Eric Blake <eblake@redhat.com>.
44605 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44607 * sunrpc/Makefile (need-export-routines): Add svc_run.
44608 (routines): Remove svc_run.
44609 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44610 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44611 * sunrpc/svc_run.c (svc_run): Likewise.
44612 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44614 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44617 problem in reallocation in last patch.
44619 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44621 * sunrpc/Makefile: Move inclusion of Rules.
44623 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44625 * nss/nss_files/files-initgroups.c: New file.
44626 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44627 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44628 _nss_files_initgroups_dyn.
44630 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44632 * elf/elf.h (R_ARM_IRELATIVE): Define.
44634 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44636 * po/ru.po: Update from translation team.
44638 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44640 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44643 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44646 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44647 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44648 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44649 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44650 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44652 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44654 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44656 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44657 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44658 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44660 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44663 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44665 * stdlib/bug-getcontext.c: New file.
44666 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44668 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44670 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44671 instructions into .machine "z9-109".
44672 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44673 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44675 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44677 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44678 between environment variables and auxiliary vector.
44680 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44682 * Makefile: Add rules to build linkobj/libc.so.
44683 * include/libc-symbols.h: Define libc_hidden_nolink.
44684 * include/rpc/auth.h: Mark functions which are to be hidden.
44685 * include/rpc/auth_des.h: Likewise.
44686 * include/rpc/auth_unix.h: Likewise.
44687 * include/rpc/clnt.h: Likewise.
44688 * include/rpc/des_crypt.h: Likewise.
44689 * include/rpc/key_prot.h: Likewise.
44690 * include/rpc/pmap_clnt.h: Likewise.
44691 * include/rpc/pmap_prot.h: Likewise.
44692 * include/rpc/pmap_rmt.h: Likewise.
44693 * include/rpc/rpc_msg.h: Likewise.
44694 * include/rpc/svc.h: Likewise.
44695 * include/rpc/svc_auth.h: Likewise.
44696 * include/rpc/xdr.h: Likewise.
44697 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44698 * nss/Makefile: Likewise.
44699 * sunrpc/Makefile: Don't install headers. Build library with normal
44700 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44701 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44702 for the compat linking library. Remove use of INTDEF/INTUSE.
44703 * sunrpc/auth_none.c: Likewise.
44704 * sunrpc/auth_unix.c: Likewise.
44705 * sunrpc/authdes_prot.c: Likewise.
44706 * sunrpc/authuxprot.c: Likewise.
44707 * sunrpc/clnt_gen.c: Likewise.
44708 * sunrpc/clnt_perr.c: Likewise.
44709 * sunrpc/clnt_raw.c: Likewise.
44710 * sunrpc/clnt_simp.c: Likewise.
44711 * sunrpc/clnt_tcp.c: Likewise.
44712 * sunrpc/clnt_udp.c: Likewise.
44713 * sunrpc/clnt_unix.c: Likewise.
44714 * sunrpc/des_crypt.c: Likewise.
44715 * sunrpc/des_soft.c: Likewise.
44716 * sunrpc/get_myaddr.c: Likewise.
44717 * sunrpc/key_call.c: Likewise.
44718 * sunrpc/key_prot.c: Likewise.
44719 * sunrpc/netname.c: Likewise.
44720 * sunrpc/pm_getmaps.c: Likewise.
44721 * sunrpc/pm_getport.c: Likewise.
44722 * sunrpc/pmap_clnt.c: Likewise.
44723 * sunrpc/pmap_prot.c: Likewise.
44724 * sunrpc/pmap_prot2.c: Likewise.
44725 * sunrpc/pmap_rmt.c: Likewise.
44726 * sunrpc/publickey.c: Likewise.
44727 * sunrpc/rpc_cmsg.c: Likewise.
44728 * sunrpc/rpc_common.c: Likewise.
44729 * sunrpc/rpc_dtable.c: Likewise.
44730 * sunrpc/rpc_prot.c: Likewise.
44731 * sunrpc/rpc_thread.c: Likewise.
44732 * sunrpc/rtime.c: Likewise.
44733 * sunrpc/svc.c: Likewise.
44734 * sunrpc/svc_auth.c: Likewise.
44735 * sunrpc/svc_authux.c: Likewise.
44736 * sunrpc/svc_raw.c: Likewise.
44737 * sunrpc/svc_run.c: Likewise.
44738 * sunrpc/svc_simple.c: Likewise.
44739 * sunrpc/svc_tcp.c: Likewise.
44740 * sunrpc/svc_udp.c: Likewise.
44741 * sunrpc/svc_unix.c: Likewise.
44742 * sunrpc/svcauth_des.c: Likewise.
44743 * sunrpc/xcrypt.c: Likewise.
44744 * sunrpc/xdr.c: Likewise.
44745 * sunrpc/xdr_array.c: Likewise.
44746 * sunrpc/xdr_float.c: Likewise.
44747 * sunrpc/xdr_intXX_t.c: Likewise.
44748 * sunrpc/xdr_mem.c: Likewise.
44749 * sunrpc/xdr_rec.c: Likewise.
44750 * sunrpc/xdr_ref.c: Likewise.
44751 * sunrpc/xdr_sizeof.c: Likewise.
44752 * sunrpc/xdr_stdio.c: Likewise.
44754 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44757 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44758 * sysdeps/ia64/dl-tls.h: Likewise.
44759 * sysdeps/powerpc/dl-tls.h: Likewise.
44760 * sysdeps/s390/dl-tls.h: Likewise.
44761 * sysdeps/sh/dl-tls.h: Likewise.
44762 * sysdeps/sparc/dl-tls.h: Likewise.
44763 * sysdeps/x86_64/dl-tls.h: Likewise.
44764 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44766 2011-03-14 Andreas Schwab <schwab@redhat.com>
44768 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44769 rpath element also skip the following colon.
44770 (expand_dynamic_string_token): Add is_path parameter and pass
44771 down to DL_DST_REQUIRED and _dl_dst_substitute.
44772 (decompose_rpath): Call expand_dynamic_string_token with
44773 non-zero is_path. Ignore empty rpaths.
44774 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44777 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44782 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44785 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44786 Patch by Filipe David Manana <fdmanana@apache.org>.
44788 2011-04-07 Andreas Schwab <schwab@redhat.com>
44790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44791 Maintain aligned stack.
44792 (CHECK_RSP): Remove unused macro.
44794 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44796 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44797 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44799 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44801 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44803 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44805 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44808 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44809 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44810 * sysdeps/x86_64/memmove.c: New file.
44811 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44812 (memcpy): Renamed to ...
44813 (__new_memcpy): This.
44814 (memcpy): Provide GLIBC_2_14 memcpy.
44815 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44816 (memcpy): Provide GLIBC_2_2_5 memcpy.
44818 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44821 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44823 2011-03-30 Andreas Schwab <schwab@redhat.com>
44825 * misc/syncfs.c: New file.
44826 * misc/Makefile (routines): Add syncfs.
44827 * posix/unistd.h: Declare syncfs.
44828 * sysdeps/unix/syscalls.list: Add syncfs.
44830 2011-04-01 Andreas Schwab <schwab@redhat.com>
44832 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44834 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44835 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44837 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44839 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44842 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44844 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44845 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44846 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44847 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44848 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44849 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44852 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44853 sync_file_range.c with -fexceptions.
44854 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44855 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44856 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44857 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44858 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44859 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44860 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44861 sync_file_range as cancellation point
44862 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44863 now a wrapper around __call_sync_file_range with cancellation handling.
44864 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44865 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44866 function name to __call_sync_file_range.
44867 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44868 Add call_sync_file_range.
44870 2011-04-01 Andreas Schwab <schwab@redhat.com>
44872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44875 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44877 * iconv/iconv.h: Fix typo in comment.
44878 * io/fcntl.h: Likewise.
44879 * libio/stdio.h: Likewise.
44880 * posix/spawn.h: Likewise.
44881 * posix/unistd.h: Likewise.
44882 * stdlib/stdlib.h: Likewise.
44883 * time/time.h: Likewise.
44884 * wcsmbs/wchar.h: Likewise.
44886 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44887 open_by_handle): Add.
44888 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44889 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44890 Augment a few comments.
44891 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44893 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44896 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44899 * io/fcntl.h (AT_EMPTY_PATH): Define.
44901 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44903 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44904 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44905 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44907 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44908 * Versions.def: Add GLIBC_2.14.
44909 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44912 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44914 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44916 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44918 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44921 * string/test-strncmp.c (do_page_test): New function.
44922 (check2): Likewise.
44923 (test_main): Call check2.
44924 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44926 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44929 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44930 Handle cache information in CPU leaf 4.
44931 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44933 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44936 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44937 character representation.
44938 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44940 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44942 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44943 END(__isnan) to END(__isnanf) to match function entry point/label
44944 EALIGN(__isnanf,...).
44946 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44948 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44950 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44953 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44954 copy from the symbol referenced in the relocation to initialize the
44956 Patch by Piotr Bury <pbury@goahead.com>.
44957 * elf/Makefile: Add rules to build and tst-unique3.
44958 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44959 * elf/tst-unique3.cc: New file.
44960 * elf/tst-unique3.h: New file.
44961 * elf/tst-unique3lib.cc: New file.
44962 * elf/tst-unique3lib2.cc: New file.
44964 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44966 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44968 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44969 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44972 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44974 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44975 to-be-loaded object along a path to loader is ld.so.
44977 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44978 Ulrich Drepper <drepper@gmail.com>
44980 * sysdeps/x86_64/memset.S: After aligning destination, code
44981 branches to different locations depending on the value of
44982 misalignment, when multiarch is enabled. Fix this.
44984 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44986 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44987 Set _x86_64_preferred_memory_instruction for AMD processsors.
44988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44989 Set bit_Prefer_SSE_for_memop for AMD processors.
44991 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44993 * libio/fmemopen.c (fmemopen): Optimize a bit.
44995 2011-03-03 Andreas Schwab <schwab@redhat.com>
44997 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44999 2011-03-03 Roland McGrath <roland@redhat.com>
45001 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45003 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45005 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45006 __bzero_ultra1 instead of __memset_ultra1.
45008 2011-02-23 Andreas Schwab <schwab@redhat.com>
45009 Ulrich Drepper <drepper@gmail.com>
45012 * include/link.h (struct link_map): Add l_orig_initfini.
45013 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45014 returning unsuccessfully.
45015 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45016 close of a file loaded at startup, restore the original l_initfini
45018 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45019 list, store the pointer.
45020 * elf/Makefile ($(objpfx)noload-mem): New rule.
45021 (noload-ENV): Define.
45022 (tests): Add $(objpfx)noload-mem.
45023 * elf/noload.c: Include <memcheck.h>.
45024 (main): Call mtrace. Close all opened handles.
45026 2011-02-17 Andreas Schwab <schwab@redhat.com>
45029 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45030 dependencies are missing.
45032 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45034 Fix __if_freereq crash: Unlike the generic version which uses free,
45036 * sysdeps/mach/hurd/ifreq.h: New file.
45038 2011-01-27 Petr Baudis <pasky@suse.cz>
45039 Ulrich Drepper <drepper@gmail.com>
45042 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45043 to extend_alloca().
45044 * stdio-common/bug23.c: New file.
45045 * stdio-common/Makefile (tests): Add bug23.
45047 2010-09-28 Andreas Schwab <schwab@redhat.com>
45048 Ulrich Drepper <drepper@gmail.com>
45051 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45052 before performing relro protection. At old place add assertion
45053 to make sure nothing changed.
45055 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45056 Glauber de Oliveira Costa <glommer@gmail.com>
45058 * elf/elf.h: Add new ARM TLS relocs.
45060 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45063 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45065 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45067 * sysdeps/wordsize-64/tst-writev.c: New file.
45069 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45071 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45072 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45073 insns in _dl_start to prevent a TOC reference before relocs are
45076 2011-02-15 Ulrich Drepper <drepper@gmail.com>
45079 * Makeconfig: Remove RANLIB definition.
45080 * Makerules: Don't use RANLIB.
45081 * aclocal.m4: Remove ranlib test.
45082 * configure.in: No need to check for ranlib.
45083 * elf/rtld-Rules: Don't use RANLIB.
45085 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45087 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45089 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45090 inclusion protection macro.
45092 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45093 SIGRTMIN and SIGRTMAX and print information in that case only when
45094 SIGRTMIN is defined.
45096 2011-02-11 Jakub Jelinek <jakub@redhat.com>
45098 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45099 arginfo fn returning -1.
45101 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45102 and thousands string is zero terminated.
45104 2011-02-03 Andreas Schwab <schwab@redhat.com>
45106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45107 sysdeps/unix/sysv/linux/bits/socket.h.
45109 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45111 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45112 (__CPU_COUNT): Remove old macros.
45113 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45114 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45115 (__CPU_ALLOC, __CPU_FREE): Add macros.
45116 (__sched_cpualloc, __sched_cpufree): Add declarations.
45118 2011-02-05 Ulrich Drepper <drepper@gmail.com>
45120 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45121 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45122 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45123 (readdhstai): Return value of addhstaiX call.
45124 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45125 (addgrbyX): Return value returned by cache_addgr.
45126 (readdgrbyname): Return value returned by addgrbyX.
45127 (readdgrbygid): Likewise.
45128 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45129 (addpwbyX): Return value returned by cache_addpw.
45130 (readdpwbyname): Return value returned by addhstbyX.
45131 (readdpwbyuid): Likewise.
45132 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45133 (addservbyX): Return value returned by cache_addserv.
45134 (readdservbyname): Return value returned by addservbyX:
45135 (readdservbyport): Likewise.
45136 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45137 (addhstbyX): Return value returned by cache_addhst.
45138 (readdhstbyname): Return value returned by addhstbyX.
45139 (readdhstbyaddr): Likewise.
45140 (readdhstbynamev6): Likewise.
45141 (readdhstbyaddrv6): Likewise.
45142 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45143 (readdinitgroups): Return value returned by addinitgroupsX.
45144 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45145 (prune_cache): Keep track of timeout value of re-added entries.
45146 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45147 * nscd/nscd.h: Adjust prototypes of readd* functions.
45149 2011-02-04 Roland McGrath <roland@redhat.com>
45151 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45152 (nis_stats): Likewise.
45153 * nis/nis_modify.c (nis_modify): Likewise.
45154 * nis/nis_remove.c (nis_remove): Likewise.
45155 * nis/nis_add.c (nis_add): Likewise.
45157 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45159 * posix/fnmatch_loop.c: Add some consts.
45161 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45163 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45166 * config.make.in (config-cflags-novzeroupper): Define.
45167 * configure.in: Substitute libc_cv_cc_novzeroupper.
45168 * elf/Makefile (AVX-CFLAGS): Define.
45169 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45170 (CFLAGS-tst-auditmod4a.c): Likewise.
45171 (CFLAGS-tst-auditmod4b.c): Likewise.
45172 (CFLAGS-tst-auditmod6b.c): Likewise.
45173 (CFLAGS-tst-auditmod6c.c): Likewise.
45174 (CFLAGS-tst-auditmod7b.c): Likewise.
45175 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45177 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45179 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45180 function to the callback.
45181 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45183 2011-02-02 Andreas Schwab <schwab@redhat.com>
45185 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45188 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45191 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45193 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45195 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45198 * elf/Makefile: Add rules to build and run new test.
45199 * elf/tst-initorder.c: New file.
45200 * elf/tst-initorder.exp: New file.
45201 * elf/tst-initordera1.c: New file.
45202 * elf/tst-initordera2.c: New file.
45203 * elf/tst-initordera3.c: New file.
45204 * elf/tst-initordera4.c: New file.
45205 * elf/tst-initorderb1.c: New file.
45206 * elf/tst-initorderb2.c: New file.
45207 * elf/tst-order-a1.c: New file.
45208 * elf/tst-order-a2.c: New file.
45209 * elf/tst-order-a3.c: New file.
45210 * elf/tst-order-a4.c: New file.
45211 * elf/tst-order-b1.c: New file.
45212 * elf/tst-order-b2.c: New file.
45213 * elf/tst-order-main.c: New file.
45214 New test case by George Gensure <werkt0@gmail.com>.
45216 2010-10-01 Andreas Schwab <schwab@redhat.com>
45218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45219 decoding ACE if AI_CANONIDN.
45221 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45223 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45225 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45227 * version.h (RELEASE): Bump for 2.13 release.
45228 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45230 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45232 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45234 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45236 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45237 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45241 * posix/getconf.c: Update copyright year.
45242 * catgets/gencat.c: Likewise.
45243 * csu/version.c: Likewise.
45244 * debug/catchsegv.sh: Likewise.
45245 * debug/xtrace.sh: Likewise.
45246 * elf/ldconfig.c: Likewise.
45247 * elf/ldd.bash.in: Likewise.
45248 * elf/sprof.c (print_version): Likewise.
45249 * iconv/iconv_prog.c: Likewise.
45250 * iconv/iconvconfig.c: Likewise.
45251 * locale/programs/locale.c: Likewise.
45252 * locale/programs/localedef.c: Likewise.
45253 * malloc/memusage.sh: Likewise.
45254 * malloc/mtrace.pl: Likewise.
45255 * nscd/nscd.c (print_version): Likewise.
45256 * nss/getent.c: Likewise.
45258 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45259 PF_CAIF, and PF_ALG.
45260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45262 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45264 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45265 (modules-names): Use them.
45266 (ifunc-test-modules, ifunc-pie-tests): Define.
45267 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45268 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45269 (test-extras): Likewise.
45270 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45271 $(compile-command.c).
45272 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45273 (all-built-dso): Define.
45274 (check-textrel.out, check-execstack.out): Depend on it.
45276 * configure.in: Don't override --enable-multi-arch.
45278 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45281 * nscd/hstcache.c (tryagain): Define.
45282 (cache_addhst): Return tryagain not notfound for temporary errors.
45283 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45286 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45289 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45290 to make the syscall.
45291 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45294 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45295 and fall back to matching as normal character if the string ends before
45296 the matching ']' is found. This is what POSIX requires.
45297 * posix/testfnm.c: Adjust test result.
45298 * posix/globtest.sh: Adjust test result. Add new test.
45299 * posix/tst-fnmatch.input: Likewise.
45300 * posix/tst-fnmatch2.c: Add new test.
45302 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45304 * elf/Makefile (check-execstack): Revert last change. Depend on
45306 (check-execstack.h): New target.
45307 (generated): Add check-execstack.h.
45308 * elf/check-execstack.c: Include "check-execstack.h".
45309 (main): Revert last change.
45310 (handle_file): Return zero if GNU_STACK is absent and
45311 DEFAULT_STACK_PERMS doesn't include PF_X.
45313 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45315 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45316 in child fails because the descriptor is already closed.
45317 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45318 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45319 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45322 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45326 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45327 temporary buffer used to handle multi lookups locally.
45328 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45330 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45332 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45335 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45337 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45338 alignment for SSE2.
45340 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45343 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45344 characters. When rounding increased number of integer digits recompute
45346 * stdio-common/tst-grouping.c: New file.
45347 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45349 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45351 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45352 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45354 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45356 * bits/select.h: Likewise.
45358 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45360 * po/ja.po: Update from translation team.
45362 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45365 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45366 implementation just like for lxstat, fxstatat, et al.
45368 2010-12-27 Jim Meyering <meyering@redhat.com>
45371 * posix/regexec.c (build_trtable): Return failure indication upon
45372 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45374 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45377 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45378 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45379 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45380 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45383 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45386 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45387 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45389 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45391 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45392 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45393 script has SORT_BY_INIT_PRIORITY.
45394 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45395 NO_CTORS_DTORS_SECTIONS is defined.
45396 * elf/soinit.c: Likewise.
45397 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45398 NO_CTORS_DTORS_SECTIONS is defined.
45399 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45400 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45401 * sysdeps/sh/init-first.c: Likewise.
45402 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45404 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45406 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45407 always use the slow path.
45409 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45411 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45412 similar rule which adds the sysdep directories to the header search in
45413 order to pick up the correct platform stackinfo.h.
45414 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45415 perform test if it is, otherwise return successfully without testing.
45416 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45417 DEFAULT_STACK_PERMS define in stackinfo.h.
45418 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45419 defined in stackinfo.h.
45420 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45421 DEFAULT_STACK_PERMS defined in stackinfo.h.
45422 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45423 * sysdeps/ia64/stackinfo.h: Likewise.
45424 * sysdeps/s390/stackinfo.h: Likewise.
45425 * sysdeps/sh/stackinfo.h: Likewise.
45426 * sysdeps/sparc/stackinfo.h: Likewise.
45427 * sysdeps/x86_64/stackinfo.h: Likewise.
45428 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45429 PF_X for powerpc64. Retain PF_X for powerpc32.
45431 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45433 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45435 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45436 GETDENTS_64BIT_ALIGNED.
45438 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45440 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45442 2010-12-10 Andreas Schwab <schwab@redhat.com>
45444 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45447 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45448 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45450 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45451 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45453 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45456 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45459 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45461 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45463 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45465 * po/it.po: Update from translation team.
45467 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45472 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45474 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45476 2010-11-24 Andreas Schwab <schwab@redhat.com>
45478 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45480 (gaih_getanswer_slice): Likewise.
45482 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45486 2010-05-31 Petr Baudis <pasky@suse.cz>
45489 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45490 silently even in the chroot mode.
45492 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45494 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45495 last patch a bit. Pretty printing
45497 2010-05-31 Petr Baudis <pasky@suse.cz>
45500 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45501 initialization of skip_initgroups_dyn.
45503 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45505 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45506 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45508 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45510 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45512 2010-11-11 Andreas Schwab <schwab@redhat.com>
45514 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45515 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45516 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45517 ($(objpfx)tst-fnmatch-mem): New rule.
45518 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45519 * posix/tst-fnmatch.c (main): Call mtrace.
45521 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45524 Support Intel processor model 6 and model 0x2c.
45526 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45528 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45531 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45534 * string/test-strncasecmp.c (check_result): New function.
45535 (do_one_test): Use it.
45536 (check1): New function.
45537 (test_main): Use it.
45538 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45539 Support strcasecmp and strncasecmp.
45541 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45544 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45547 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45549 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45553 * sysdeps/x86_64/multiarch/bzero.S: New file.
45554 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45555 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45556 * sysdeps/x86_64/multiarch/memset.S: New file.
45557 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45559 Set bit_Prefer_SSE_for_memop for Intel processors.
45560 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45562 (index_Prefer_SSE_for_memop): Define.
45563 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45565 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45567 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45568 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45570 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45573 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45574 (__x86_64_raw_data_cache_size_half): Likewise.
45575 (__x86_64_raw_shared_cache_size): Likewise.
45576 (__x86_64_raw_shared_cache_size_half): Likewise.
45578 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45579 (__x86_64_raw_data_cache_size_half): Likewise.
45580 (__x86_64_raw_shared_cache_size): Likewise.
45581 (__x86_64_raw_shared_cache_size_half): Likewise.
45582 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45583 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45584 and __x86_64_raw_shared_cache_size_half. Round
45585 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45586 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45587 to multiple of 256 bytes.
45589 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45592 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45593 of inacessible symlinks. Verify result of symlink before returning it.
45594 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45595 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45597 2010-10-28 Erich Ritz <erichritz@gmail.com>
45599 * math/math.h (isinf): Fix typo in comment.
45601 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45603 * po/da.po: Update from translation team.
45605 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45607 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45608 is added to the list.
45610 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45611 Ulrich Drepper <drepper@gmail.com>
45613 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45614 the global list here. Move code to...
45615 (_dl_add_to_namespace_list): ...here. New function.
45616 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45617 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45618 * elf/dl-load.c (lose): Don't remove the element from the list.
45619 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45620 (_dl_map_object): Likewise.
45622 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45625 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45626 into all bytes of SSE register.
45627 Patch by Richard Li <richardpku@gmail.com>.
45629 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45632 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45635 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45637 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45638 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45639 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45640 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45645 2010-10-22 Andreas Schwab <schwab@redhat.com>
45647 * include/dlfcn.h (__RTLD_SECURE): Define.
45648 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45649 mode & __RTLD_SECURE instead.
45650 (open_path): Rename preloaded parameter to secure.
45651 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45652 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45653 * elf/dl-deps.c (openaux): Likewise.
45654 * elf/rtld.c (struct map_args): Remove is_preloaded.
45655 (map_doit): Don't use it.
45656 (dl_main): Likewise.
45657 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45658 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45660 2010-09-09 Andreas Schwab <schwab@redhat.com>
45662 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45663 (sysd-rules-targets): Remove duplicates.
45664 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45665 rtld-%.$o dependency.
45667 2010-10-18 Andreas Schwab <schwab@redhat.com>
45669 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45670 _dl_map_object do it.
45672 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45674 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45675 fast fma builtins, define the macros in the C99 standard.
45676 (FP_FAST_FMAF): Likewise.
45677 (FP_FAST_FMAL): Likewise.
45678 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45680 * bits/mathdef.h: Update copyright year.
45681 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45683 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45685 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45686 builtins, define the macros in the C99 standard.
45687 (FP_FAST_FMAF): Likewise.
45688 (FP_FAST_FMAL): Likewise.
45689 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45691 (FP_FAST_FMAF): Likewise.
45693 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45696 * math/libm-test.inc (fma_test): Some new testcases.
45697 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45699 y and infinite z. Do multiplication by C already in long double.
45700 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45702 y and infinite z. Do bitwise or of inexact bit into u.d.
45703 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45704 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45705 * sysdeps/i386/fpu/s_fma.S: Removed.
45706 * sysdeps/i386/fpu/s_fmal.S: Removed.
45708 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45711 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45713 computation is not scheduled after fetestexcept. Fix value
45714 of minimum denormal long double.
45716 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45719 * math/libm-test.inc (fma_test): Add some more tests.
45720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45723 2010-10-15 Andreas Schwab <schwab@redhat.com>
45725 * scripts/data/localplt-s390-linux-gnu.data: New file.
45726 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45728 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45731 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45732 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45734 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45736 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45738 if one of x and y is very large and the other is subnormal.
45739 * sysdeps/s390/fpu/s_fmaf.c: New file.
45740 * sysdeps/s390/fpu/s_fma.c: New file.
45741 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45742 * sysdeps/powerpc/fpu/s_fma.S: New file.
45743 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45744 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45745 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45747 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45750 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45752 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45753 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45754 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45755 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45756 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45757 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45758 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45760 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45763 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45764 * posix/bug-regex31.input: Add test case.
45766 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45768 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45769 * posix/bug-regex31.input: New file.
45772 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45773 (parse_sub_exp): Fix last change, use postorder.
45775 * posix/bug-regex31.c: New file.
45776 * posix/Makefile: Add rules to build and run bug-regex31.
45778 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45781 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45784 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45785 to have entries in sys_siglist.
45788 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45791 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45794 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45795 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45796 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45797 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45798 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45799 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45800 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45801 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45802 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45803 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45804 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45805 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45806 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45807 * math/ftestexcept.c (fetestexcept): Likewise.
45808 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45809 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45810 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45811 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45812 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45813 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45814 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45816 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45819 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45822 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45824 * string/bug-strstr1.c: New file.
45825 * string/Makefile: Add rules to build and run bug-strstr1.
45827 2010-10-05 Eric Blake <eblake@redhat.com>
45830 * string/str-two-way.h (two_way_long_needle): Always clear memory
45831 when skipping input due to the shift table.
45833 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45836 * malloc/mcheck.c: Handle large requests.
45839 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45840 for strncmp and strncasecmp.
45841 * string/stratcliff.c: Add tests for strcmp and strncmp.
45842 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45844 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45846 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45849 2010-09-30 Andreas Jaeger <aj@suse.de>
45851 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45852 (CGROUP_SUPER_MAGIC): Define.
45853 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45854 Handle btrfs and cgroup file systems.
45855 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45858 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45860 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45861 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45863 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45866 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45867 trying to locate the ELF header.
45869 2010-09-27 Andreas Schwab <schwab@redhat.com>
45872 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45873 Mask out sign-bit copies when constructing f_fsid.
45875 2010-09-24 Petr Baudis <pasky@suse.cz>
45877 * debug/stack_chk_fail_local.c: Add missing licence exception.
45878 * debug/warning-nop.c: Likewise.
45880 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45882 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45883 implementing getdents64 using getdents syscall, set d_type if
45884 __ASSUME_GETDENTS32_D_TYPE.
45886 2010-09-16 Andreas Schwab <schwab@redhat.com>
45888 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45889 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45891 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45894 * posix/unistd.h: Undo change of feature selection for ftruncate from
45897 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45899 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45902 2010-09-20 Andreas Schwab <schwab@redhat.com>
45904 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45906 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45908 2010-09-14 Andreas Schwab <schwab@redhat.com>
45910 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45911 variables after CHECK_SP call.
45912 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45914 2010-09-13 Andreas Schwab <schwab@redhat.com>
45915 Ulrich Drepper <drepper@redhat.com>
45917 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45918 re-relocationg ld.so.
45919 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45920 _dl_init_paths call.
45921 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45924 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45926 * resolv/res_init.c (__res_vinit): Count the default server we added.
45928 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45929 Ulrich Drepper <drepper@redhat.com>
45932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45933 (____longjmp_chk): Use %ebx for saving value across system call.
45936 2010-09-06 Andreas Schwab <schwab@redhat.com>
45938 * manual/Makefile: Don't mix pattern rules with normal rules.
45940 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45942 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45944 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45945 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45946 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45947 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45948 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45951 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45954 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45955 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45957 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45959 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45960 * sysdeps/x86_64/addmul_1.S: Likewise.
45961 * sysdeps/x86_64/lshift.S: Likewise.
45962 * sysdeps/x86_64/mul_1.S: Likewise.
45963 * sysdeps/x86_64/rshift.S: Likewise.
45964 * sysdeps/x86_64/sub_n.S: Likewise.
45965 * sysdeps/x86_64/submul_1.S: Likewise.
45967 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45969 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45970 Define __sched_param instead of SCHED_* and sched_param when
45971 <bits/sched.h> is included with __need_schedparam defined.
45972 * bits/sched.h [__need_schedparam]
45973 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45974 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45975 (__defined_schedparam): Define to 1.
45976 (__sched_param): New structure, identical to sched_param.
45977 (__need_schedparam): Undefine.
45979 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45981 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45982 (epoll_create1): Declare.
45984 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45986 2010-08-31 Andreas Schwab <schwab@redhat.com>
45989 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45990 shifting retval into place.
45992 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45994 * nis/rpcsvc/nis.h: Update copyright notice.
45995 * nis/rpcsvc/nis.x: Likewise.
45996 * nis/rpcsvc/nis_callback.h: Likewise.
45997 * nis/rpcsvc/nis_callback.x: Likewise.
45998 * nis/rpcsvc/nis_object.x: Likewise.
45999 * nis/rpcsvc/nis_tags.h: Likewise.
46000 * nis/rpcsvc/yp.h: Likewise.
46001 * nis/rpcsvc/yp.x: Likewise.
46002 * nis/rpcsvc/ypupd.h: Likewise.
46003 * nis/yp_xdr.c: Likewise.
46004 * nis/ypupdate_xdr.c: Likewise.
46006 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46007 mainly the body of pmap_getport. Add parameters to specify timeouts.
46008 (pmap_getport): Use __libc_rpc_getport.
46009 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46010 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46011 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46013 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46018 2010-08-27 Roland McGrath <roland@redhat.com>
46020 * sysdeps/i386/i686/multiarch/Makefile
46021 (CFLAGS-varshift.c): New variable.
46023 2010-08-27 Ulrich Drepper <drepper@redhat.com>
46025 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46026 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46030 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46032 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46034 * sysdeps/x86_64/strlen.S: Unroll the loop.
46035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46036 strlen-sse2 strlen-sse2-bsf.
46037 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46038 __strlen_no_bsf if bit_Slow_BSF is set.
46039 (__strlen_sse42): Removed.
46040 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46041 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46043 2010-08-25 Roland McGrath <roland@redhat.com>
46045 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46046 * sysdeps/x86_64/multiarch/varshift.c: New file.
46047 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46048 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46049 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46050 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46052 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46055 strlen-sse2 strlen-sse2-bsf.
46056 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46057 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46058 (__strlen_sse2): Removed.
46059 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46060 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46062 bit_Slow_BSF for Atom.
46063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46064 (index_Slow_BSF): Define.
46065 (HAS_SLOW_BSF): Define.
46067 2010-08-25 Ulrich Drepper <drepper@redhat.com>
46070 * resolv/res_init.c (__res_vinit): When no server address at all
46071 is given default to loopback.
46073 2010-08-24 Roland McGrath <roland@redhat.com>
46075 * configure.in: Remove config-name.h generation.
46076 * configure: Regenerated.
46077 * config-name.in: File removed.
46078 * scripts/config-uname.sh: New file.
46079 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46080 ($(objdir)config-name.h): New target.
46082 * sunrpc/rpc_parse.h: Avoid nested comment.
46084 2010-08-24 Richard Henderson <rth@redhat.com>
46085 Ulrich Drepper <drepper@redhat.com>
46086 H.J. Lu <hongjiu.lu@intel.com>
46088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46090 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46091 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46092 _mm_alignr_epi8 with _mm_loadu_si128.
46093 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46094 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46095 (__m128i_shift_right): Removed.
46096 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46097 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46098 * sysdeps/x86_64/multiarch/varshift.h: New file.
46099 * sysdeps/x86_64/multiarch/varshift.S: New file.
46101 2010-08-21 Mike Frysinger <vapier@gentoo.org>
46103 * configure.in: Move assembler checks to before sysdep dir checking.
46105 2010-08-20 Petr Baudis <pasky@suse.cz>
46107 * LICENSES: Sync the sunrpc license.
46109 2010-08-19 Ulrich Drepper <drepper@redhat.com>
46111 * sunrpc/auth_des.c: Update copyright notice once again.
46112 * sunrpc/auth_none.c: Likewise.
46113 * sunrpc/auth_unix.c: Likewise.
46114 * sunrpc/authdes_prot.c: Likewise.
46115 * sunrpc/authuxprot.c: Likewise.
46116 * sunrpc/bindrsvprt.c: Likewise.
46117 * sunrpc/clnt_gen.c: Likewise.
46118 * sunrpc/clnt_perr.c: Likewise.
46119 * sunrpc/clnt_raw.c: Likewise.
46120 * sunrpc/clnt_simp.c: Likewise.
46121 * sunrpc/clnt_tcp.c: Likewise.
46122 * sunrpc/clnt_udp.c: Likewise.
46123 * sunrpc/clnt_unix.c: Likewise.
46124 * sunrpc/des_crypt.c: Likewise.
46125 * sunrpc/des_soft.c: Likewise.
46126 * sunrpc/get_myaddr.c: Likewise.
46127 * sunrpc/getrpcport.c: Likewise.
46128 * sunrpc/key_call.c: Likewise.
46129 * sunrpc/key_prot.c: Likewise.
46130 * sunrpc/openchild.c: Likewise.
46131 * sunrpc/pm_getmaps.c: Likewise.
46132 * sunrpc/pm_getport.c: Likewise.
46133 * sunrpc/pmap_clnt.c: Likewise.
46134 * sunrpc/pmap_prot.c: Likewise.
46135 * sunrpc/pmap_prot2.c: Likewise.
46136 * sunrpc/pmap_rmt.c: Likewise.
46137 * sunrpc/rpc/auth.h: Likewise.
46138 * sunrpc/rpc/auth_unix.h: Likewise.
46139 * sunrpc/rpc/clnt.h: Likewise.
46140 * sunrpc/rpc/des_crypt.h: Likewise.
46141 * sunrpc/rpc/key_prot.h: Likewise.
46142 * sunrpc/rpc/netdb.h: Likewise.
46143 * sunrpc/rpc/pmap_clnt.h: Likewise.
46144 * sunrpc/rpc/pmap_prot.h: Likewise.
46145 * sunrpc/rpc/pmap_rmt.h: Likewise.
46146 * sunrpc/rpc/rpc.h: Likewise.
46147 * sunrpc/rpc/rpc_des.h: Likewise.
46148 * sunrpc/rpc/rpc_msg.h: Likewise.
46149 * sunrpc/rpc/svc.h: Likewise.
46150 * sunrpc/rpc/svc_auth.h: Likewise.
46151 * sunrpc/rpc/types.h: Likewise.
46152 * sunrpc/rpc/xdr.h: Likewise.
46153 * sunrpc/rpc_clntout.c: Likewise.
46154 * sunrpc/rpc_cmsg.c: Likewise.
46155 * sunrpc/rpc_common.c: Likewise.
46156 * sunrpc/rpc_cout.c: Likewise.
46157 * sunrpc/rpc_dtable.c: Likewise.
46158 * sunrpc/rpc_hout.c: Likewise.
46159 * sunrpc/rpc_main.c: Likewise.
46160 * sunrpc/rpc_parse.c: Likewise.
46161 * sunrpc/rpc_parse.h: Likewise.
46162 * sunrpc/rpc_prot.c: Likewise.
46163 * sunrpc/rpc_sample.c: Likewise.
46164 * sunrpc/rpc_scan.c: Likewise.
46165 * sunrpc/rpc_scan.h: Likewise.
46166 * sunrpc/rpc_svcout.c: Likewise.
46167 * sunrpc/rpc_tblout.c: Likewise.
46168 * sunrpc/rpc_util.c: Likewise.
46169 * sunrpc/rpc_util.h: Likewise.
46170 * sunrpc/rpcinfo.c: Likewise.
46171 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46172 * sunrpc/rpcsvc/key_prot.x: Likewise.
46173 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46174 * sunrpc/rpcsvc/mount.x: Likewise.
46175 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46176 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46177 * sunrpc/rpcsvc/rex.x: Likewise.
46178 * sunrpc/rpcsvc/rstat.x: Likewise.
46179 * sunrpc/rpcsvc/rusers.x: Likewise.
46180 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46181 * sunrpc/rpcsvc/spray.x: Likewise.
46182 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46183 * sunrpc/rtime.c: Likewise.
46184 * sunrpc/svc.c: Likewise.
46185 * sunrpc/svc_auth.c: Likewise.
46186 * sunrpc/svc_authux.c: Likewise.
46187 * sunrpc/svc_raw.c: Likewise.
46188 * sunrpc/svc_run.c: Likewise.
46189 * sunrpc/svc_simple.c: Likewise.
46190 * sunrpc/svc_tcp.c: Likewise.
46191 * sunrpc/svc_udp.c: Likewise.
46192 * sunrpc/svc_unix.c: Likewise.
46193 * sunrpc/svcauth_des.c: Likewise.
46194 * sunrpc/xcrypt.c: Likewise.
46195 * sunrpc/xdr.c: Likewise.
46196 * sunrpc/xdr_array.c: Likewise.
46197 * sunrpc/xdr_float.c: Likewise.
46198 * sunrpc/xdr_mem.c: Likewise.
46199 * sunrpc/xdr_rec.c: Likewise.
46200 * sunrpc/xdr_ref.c: Likewise.
46201 * sunrpc/xdr_sizeof.c: Likewise.
46202 * sunrpc/xdr_stdio.c: Likewise.
46204 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46207 2010-08-19 Andreas Schwab <schwab@redhat.com>
46209 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46211 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46213 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46214 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46215 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46216 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46217 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46218 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46219 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46220 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46221 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46222 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46223 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46224 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46225 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46226 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46228 2010-07-26 Anton Blanchard <anton@samba.org>
46230 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46231 * malloc/arena.c (heap_trim): Likewise.
46233 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46235 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46237 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46238 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46240 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46242 * sysdeps/i386/elf/Makefile: New file.
46244 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46246 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46247 from fanotify_init.
46248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46251 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46253 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46255 * sysdeps/multiarch/strcmp.S: Likewise.
46257 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46259 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46260 strncase_l-nonascii.
46261 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46262 Add strncase_l-ssse3.
46263 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46264 * sysdeps/x86_64/strcmp.S: Likewise.
46265 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46266 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46267 * sysdeps/x86_64/strncase.S: New file.
46268 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46269 * sysdeps/x86_64/strncase_l.S: New file.
46270 * string/Makefile (strop-tests): Add strncasecmp.
46271 * string/test-strncasecmp.c: New file.
46273 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46276 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46277 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46279 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46281 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46283 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46285 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46286 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46287 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46289 2010-05-01 Alan Modra <amodra@gmail.com>
46291 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46292 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46293 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46294 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46295 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46296 tidying. Don't tail-call __sigjmp_save for static lib.
46297 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46299 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46300 (CALL_MCOUNT): Add eh info, and nop after bl.
46301 (TAIL_CALL_SYSCALL_ERROR): New macro.
46302 (PSEUDO_RET): Use it.
46303 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46304 Correct save location of integer regs and cr.
46305 (_dl_profile_resolve): Correct cr save location. Delete nops
46306 after bl when SHARED. Reduce cfi size a little by better
46307 placement of cfi directives.
46308 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46309 make a stack frame. Instead use parm save area as a temp.
46310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46311 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46313 Don't make a stack frame for parent, use parm save area.
46314 Increase child stack frame to 112 bytes. Don't save unused reg,
46315 and adjust reg usage. Set up cfi on error recovery and
46316 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46318 (__makecontext): Add dummy nop after jump to exit.
46319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46320 Use correct parm save area and cr save, reduce stack frame.
46321 Correct cfi for possible PSEUDO_RET frame setup.
46322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46323 Branch to local label emitted by PSEUDO_RET rather than
46326 2010-08-12 Andreas Schwab <schwab@redhat.com>
46329 * locale/programs/locale.c (print_assignment): New function.
46330 (show_locale_vars): Use it.
46332 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46334 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46336 (struct statfs64): Likewise.
46337 (_STATFS_F_FLAGS): Define.
46338 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46339 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46340 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46341 (ST_VALID): Define locally.
46342 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46343 __statvfs_getflags, use the provided value.
46344 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46345 __ASSUME_STATFS_F_FLAGS.
46347 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46349 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46350 Add sys/fanotify.h.
46351 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46352 fanotify_mask for GLIBC_2.13.
46353 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46354 fanotify_init and fanotify_mark.
46355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46356 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46358 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46360 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46361 prlimit64 for GLIBC_2.13.
46362 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46364 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46367 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46368 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46369 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46370 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46372 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46375 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46376 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46378 * nss/Makefile: Add rules to build and run tst-nss-test1.
46379 * shlib-versions: Add entry for libnss_test1.
46380 * nss/nss_test1.c: New file.
46381 * nss/tst-nss-test1.c: New file.
46383 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46384 (__nss_configure_lookup): Set appropriate entry in
46385 __nss_configure_lookup to true.
46386 * nss/nsswitch.h: Define enum with indeces of databases in
46387 databases and __nss_database_custom arrays. Declare
46388 __nss_database_custom.
46389 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46390 to avoid using nscd when custom rules are installed.
46391 * nss/getXXbyYY_r.c: Likewise.
46392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46394 * nss/nss_files/files-parse.c: Whitespace fixes.
46396 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46399 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46400 * posix/fnmatch_loop.c: Likewise.
46402 2010-07-17 Andi Kleen <ak@linux.intel.com>
46404 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46405 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46406 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46407 * Versions.def [GLIBC_2.13]: Add.
46409 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46411 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46412 Also fail if tpwd after pwuid call is NULL.
46414 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46416 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46417 when converting to ms.
46419 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46421 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46422 EOPNOTSUPP errors with ENOTTY.
46423 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46424 EOPNOTSUPP errors with ENOTTY.
46426 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46428 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46429 Add strcasecmp_l-ssse3.
46430 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46432 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46433 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46434 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46436 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46438 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46440 * string/Makefile (strop-tests): Add strcasecmp.
46441 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46442 strcasecmp_l-nonascii.
46443 (gen-as-const-headers): Add locale-defines.sym.
46444 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46445 * sysdeps/x86_64/strcasecmp.S: New file.
46446 * sysdeps/x86_64/strcasecmp_l.S: New file.
46447 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46448 * sysdeps/x86_64/locale-defines.sym: New file.
46449 * string/test-strcasecmp.c: New file.
46451 * string/test-strcasestr.c: Test both ends of the range of characters.
46452 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46454 2010-07-29 Roland McGrath <roland@redhat.com>
46457 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46459 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46461 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46464 2010-07-27 Andreas Schwab <schwab@redhat.com>
46466 * manual/memory.texi (Malloc Tunable Parameters): Document
46469 2010-07-26 Roland McGrath <roland@redhat.com>
46472 * configure.in (-fgnu89-inline check): Set and substitute
46473 gnu89_inline, not libc_cv_gnu89_inline.
46474 * configure: Regenerated.
46475 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46477 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46479 * string/test-strnlen.c: New file.
46480 * string/Makefile (strop-tests): Add strnlen.
46481 * string/tester.c (test_strnlen): Add a few more test cases.
46482 * string/tst-strlen.c: Better error reporting.
46484 * sysdeps/x86_64/strnlen.S: New file.
46486 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46488 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46489 lower-latency instructions.
46491 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46493 * string/test-strcasestr.c: New file.
46494 * string/test-strstr.c: New file.
46495 * string/Makefile (strop-tests): Add strstr and strcasestr.
46496 * string/str-two-way.h: Don't undefine MAX.
46497 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46499 2010-07-21 Andreas Schwab <schwab@redhat.com>
46501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46502 strcasestr-nonascii.
46503 (CFLAGS-strcasestr-nonascii.c): Define.
46504 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46505 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46506 Remove unused attribute.
46508 2010-07-20 Roland McGrath <roland@redhat.com>
46510 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46511 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46512 ld.so.cache was broken. With it, there is no way to disable dsocaps
46513 like LD_HWCAP_MASK can disable hwcaps.
46515 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46517 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46519 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46521 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46522 call in strcasestr.
46523 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46524 __strcasestr_sse42_nonascii.
46525 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46526 strcasestr-nonascii.c.
46527 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46529 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46531 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46532 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46534 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46536 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46538 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46541 2010-07-06 Andreas Schwab <schwab@redhat.com>
46544 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46547 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46549 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46550 _PC_PIPE_BUF using F_GETPIPE_SZ.
46552 2010-07-05 Roland McGrath <roland@redhat.com>
46554 * manual/arith.texi (Rounding Functions): Fix rint description
46555 implicit in round description.
46557 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46559 * elf/Makefile: Fix linking for a few tests to make recent linker
46562 2010-06-30 Andreas Schwab <schwab@redhat.com>
46564 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46565 $(common-objpfx)libc_nonshared.a.
46567 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46569 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46570 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46571 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46572 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46573 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46574 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46575 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46576 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46591 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46592 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46593 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46594 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46595 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46596 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46597 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46598 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46599 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46600 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46601 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46602 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46618 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46620 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46621 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46622 * string/memmove.c (memmove): Renamed to ...
46623 (MEMMOVE): ...this. Default to memmove.
46624 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46625 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46628 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46629 mempcpy-ssse3-back memmove-ssse3-back.
46630 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46633 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46634 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46635 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46636 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46637 * sysdeps/x86_64/multiarch/memmove.c: New file.
46638 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46639 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46640 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46641 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46642 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46645 (index_Fast_Copy_Backward): Define.
46646 (HAS_ARCH_FEATURE): Define.
46647 (HAS_FAST_REP_STRING): Define.
46648 (HAS_FAST_COPY_BACKWARD): Define.
46650 2010-06-21 Andreas Schwab <schwab@redhat.com>
46652 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46653 Restore proper fallback handling.
46655 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46658 * posix/group_member.c (__group_member): Correct checking loop.
46660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46661 OOM in getpwuid_r correctly. Return error number when the caller
46662 should return, otherwise -1.
46663 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46664 call returning > 0 value.
46665 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46667 2010-06-07 Andreas Schwab <schwab@redhat.com>
46669 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46670 libc_nonshared.a from targets in modules-names.
46672 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46674 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46677 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46679 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46680 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46681 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46682 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46684 2010-06-02 Andreas Schwab <schwab@redhat.com>
46686 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46688 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46690 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46692 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46693 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46696 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46697 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46699 2010-06-14 Roland McGrath <roland@redhat.com>
46701 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46703 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46705 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46706 __REDIRECT followed by __THROW.
46707 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46708 * posix/getopt.h (getopt): Likewise.
46710 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46712 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46713 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46714 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46716 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46717 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46719 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46721 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46723 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46727 Properly check family and model.
46729 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46731 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46733 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46735 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46737 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46739 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46742 2010-05-19 Andreas Schwab <schwab@redhat.com>
46744 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46747 2010-05-21 Andreas Schwab <schwab@redhat.com>
46749 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46750 and internal_recvmmsg.
46751 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46752 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46753 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46754 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46756 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46757 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46758 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46760 2010-05-20 Andreas Schwab <schwab@redhat.com>
46762 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46764 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46766 POWER7 optimizations.
46767 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46768 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46770 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46772 * version.h: Update for 2.13 development version.
46774 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46776 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46777 exceptions. Return 0.
46779 2010-05-07 Roland McGrath <roland@redhat.com>
46781 * elf/ldconfig.c (main): Add a const.
46783 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46785 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46786 (args_options): Add no-idn option.
46787 (ahosts_keys_int): Add idn_flags to ai_flags.
46788 (parse_option): Handle 'i' option to clear idn_flags.
46790 * malloc/malloc.c (_int_free): Possible race in the most recently
46791 added check. Only act on the data if no current modification
46794 See ChangeLog.17 for earlier changes.